' Options: 'Date: 2026-10-16 00:20:30 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.dev.dynamics.trendsic.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: KpiV2BranchRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Net Imports CRM.AgencyPlatform.API.Internal Namespace Global Namespace CRM.AgencyPlatform.API.Internal Public Partial Class KpiV2BranchRequest Implements IReturn(Of KpiV2BranchResponse) Public Overridable Property BranchId As Guid Public Overridable Property FromDate As Date Public Overridable Property ToDate As Date Public Overridable Property Compare As String End Class Public Partial Class KpiV2BranchResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Branch As SvcBranchDetail End Class Public Partial Class SvcAlert Public Overridable Property Level As String Public Overridable Property View As String Public Overridable Property Code As String Public Overridable Property StationId As Guid? Public Overridable Property EmployeeId As Guid? Public Overridable Property BranchId As Guid? Public Overridable Property LineId As Guid? Public Overridable Property Name As String Public Overridable Property OtherLineId As Guid? Public Overridable Property OtherName As String Public Overridable Property StationIds As List(Of Guid) = New List(Of Guid) Public Overridable Property Values As Dictionary(Of String, Double) = New Dictionary(Of String, Double) End Class Public Partial Class SvcAverage Public Overridable Property Count As Integer Public Overridable Property Served As Double Public Overridable Property AvgServiceSec As Double? Public Overridable Property MedianServiceSec As Double? Public Overridable Property AvgWaitSec As Double? Public Overridable Property Utilization As Double? Public Overridable Property IdleSec As Double Public Overridable Property PausedSec As Double Public Overridable Property NoShows As Double Public Overridable Property SignedSec As Double Public Overridable Property FeesEarned As Decimal? Public Overridable Property FeesPerStaffedHour As Decimal? Public Overridable Property LaborCost As Decimal? Public Overridable Property Contribution As Decimal? Public Overridable Property LostNoShowFees As Decimal? End Class Public Partial Class SvcBranchDetail Public Overridable Property Branch As SvcBranchRow Public Overridable Property Windows As List(Of SvcWindowRow) = New List(Of SvcWindowRow) Public Overridable Property Clerks As List(Of SvcClerkRow) = New List(Of SvcClerkRow) Public Overridable Property Unassigned As SvcMetrics Public Overridable Property NoClerk As SvcMetrics Public Overridable Property PerWindowAverage As SvcAverage Public Overridable Property PerClerkAverage As SvcAverage Public Overridable Property OpenDays As Integer Public Overridable Property IsLive As Boolean Public Overridable Property Comparison As SvcComparison Public Overridable Property Coverage As SvcCoverage Public Overridable Property Services As List(Of SvcServiceRow) = New List(Of SvcServiceRow) Public Overridable Property ByHour As List(Of SvcHourRow) = New List(Of SvcHourRow) Public Overridable Property Alerts As List(Of SvcAlert) = New List(Of SvcAlert) Public Overridable Property TotalsAgree As Boolean Public Overridable Property CanSeeStaff As Boolean Public Overridable Property CanSeeFinancial As Boolean Public Overridable Property CanSeePay As Boolean End Class Public Partial Class SvcBranchRow Public Overridable Property BranchId As Guid Public Overridable Property Name As String Public Overridable Property StateCode As String Public Overridable Property ZoneCode As String Public Overridable Property TimeZone As String Public Overridable Property Windows As Integer Public Overridable Property RecordingSinceUtc As Date? Public Overridable Property SessionsSinceUtc As Date? Public Overridable Property Metrics As SvcMetrics End Class Public Partial Class SvcClerkRow Public Overridable Property EmployeeId As Guid Public Overridable Property Name As String Public Overridable Property Windows As List(Of SvcNamedTime) = New List(Of SvcNamedTime) Public Overridable Property LoadedRate As Decimal? Public Overridable Property RateSet As Boolean Public Overridable Property RateLocked As Boolean Public Overridable Property Metrics As SvcMetrics End Class Public Partial Class SvcComparison Public Overridable Property Mode As String Public Overridable Property FromDate As Date? Public Overridable Property ToDate As Date? Public Overridable Property CutoffMinute As Integer? Public Overridable Property HasData As Boolean Public Overridable Property Metrics As SvcMetrics End Class Public Partial Class SvcCoverage Public Overridable Property StartLocalMinute As Integer Public Overridable Property BucketMinutes As Integer Public Overridable Property Rows As List(Of SvcCoverageRow) = New List(Of SvcCoverageRow) Public Overridable Property InLine As List(Of Double) = New List(Of Double) Public Overridable Property GapBands As List(Of Integer()) = New List(Of Integer()) Public Overridable Property Days As Integer Public Overridable Property NotRecorded As Boolean Public Overridable Property FutureFromIndex As Integer? End Class Public Partial Class SvcCoverageBucket Public Overridable Property ServingPct As Double Public Overridable Property IdlePct As Double Public Overridable Property PausedPct As Double Public Overridable Property UnstaffedPct As Double End Class Public Partial Class SvcCoverageRow Public Overridable Property StationId As Guid Public Overridable Property Name As String Public Overridable Property Buckets As List(Of SvcCoverageBucket) = New List(Of SvcCoverageBucket) End Class Public Partial Class SvcFeeChange Public Overridable Property LocationId As Guid Public Overridable Property OnDate As Date Public Overridable Property FromFee As Decimal Public Overridable Property ToFee As Decimal End Class Public Partial Class SvcHourRow Public Overridable Property LocalHour As Integer Public Overridable Property Served As Integer Public Overridable Property FeesEarned As Decimal? Public Overridable Property CostToStaff As Decimal? End Class Public Partial Class SvcMetrics Public Overridable Property Checkins As Integer Public Overridable Property Walkins As Integer Public Overridable Property Appts As Integer Public Overridable Property Served As Integer Public Overridable Property NoShows As Integer Public Overridable Property ApptNoShows As Integer Public Overridable Property CancelledAtWindow As Integer Public Overridable Property Abandoned As Integer Public Overridable Property Called As Integer Public Overridable Property CalledUp As Integer Public Overridable Property AbandonRate As Double? Public Overridable Property NoShowRate As Double? Public Overridable Property AvgServiceSec As Double? Public Overridable Property MedianServiceSec As Double? Public Overridable Property AvgWaitSec As Double? Public Overridable Property MaxWaitSec As Integer Public Overridable Property AvgWalkUpSec As Double? Public Overridable Property ExpectedServiceSec As Double? Public Overridable Property SignedSec As Long Public Overridable Property ServingSec As Long Public Overridable Property PausedSec As Long Public Overridable Property IdleSec As Long Public Overridable Property UnstaffedSec As Long Public Overridable Property Utilization As Double? Public Overridable Property IdleShare As Double? Public Overridable Property PausedShare As Double? Public Overridable Property Sessions As Integer Public Overridable Property OpenDays As Integer Public Overridable Property FeesEarned As Decimal? Public Overridable Property AvgFee As Decimal? Public Overridable Property FeesPerStaffedHour As Decimal? Public Overridable Property ExpectedFeesPerStaffedHour As Decimal? Public Overridable Property LaborCost As Decimal? Public Overridable Property LaborPartial As Boolean Public Overridable Property MissingCostEmployeeIds As List(Of Guid) = New List(Of Guid) Public Overridable Property MissingCost As List(Of SvcNamedTime) = New List(Of SvcNamedTime) Public Overridable Property LaborLocked As Boolean Public Overridable Property Contribution As Decimal? Public Overridable Property LostFees As Decimal? Public Overridable Property LostNoShowFees As Decimal? Public Overridable Property Mix As Dictionary(Of Guid, Integer) = New Dictionary(Of Guid, Integer) Public Overridable Property HourlyServed As Integer() = New Integer(){} Public Overridable Property HourlyFees As Decimal() = New Decimal(){} Public Overridable Property HourlyCost As Decimal() = New Decimal(){} Public Overridable Property Tints As List(Of SvcTint) = New List(Of SvcTint) End Class Public Partial Class SvcNamedTime Public Overridable Property Id As Guid Public Overridable Property Name As String Public Overridable Property SignedSec As Long Public Overridable Property Served As Integer End Class Public Partial Class SvcServiceRow Public Overridable Property LineId As Guid Public Overridable Property Name As String Public Overridable Property Completed As Integer Public Overridable Property AvgServiceSec As Double? Public Overridable Property BranchAvgServiceSec As Double? Public Overridable Property FeesEarned As Decimal? Public Overridable Property FeeCurrent As Decimal? Public Overridable Property FeeMin As Decimal? Public Overridable Property FeeMax As Decimal? Public Overridable Property FeePerMinute As Decimal? Public Overridable Property BranchFeePerMinute As Decimal? Public Overridable Property FeeChanges As List(Of SvcFeeChange) = New List(Of SvcFeeChange) End Class Public Partial Class SvcTint Public Overridable Property Field As String Public Overridable Property Tone As String Public Overridable Property Reason As String Public Overridable Property Value As Double? Public Overridable Property Reference As Double? Public Overridable Property BranchValue As Double? End Class Public Partial Class SvcWindowRow Public Overridable Property StationId As Guid Public Overridable Property Name As String Public Overridable Property Clerks As List(Of SvcNamedTime) = New List(Of SvcNamedTime) Public Overridable Property NeverStaffed As Boolean Public Overridable Property LastStaffedUtc As Date? Public Overridable Property LastStaffedBy As String Public Overridable Property Metrics As SvcMetrics End Class End Namespace Namespace ServiceStack Public Partial Class ResponseStatus Implements IMeta Public Overridable Property ErrorCode As String Public Overridable Property Message As String Public Overridable Property StackTrace As String Public Overridable Property Errors As List(Of ResponseError) = New List(Of ResponseError) Public Overridable Property Meta As Dictionary(Of String, String) Implements IMeta.Meta = New Dictionary(Of String, String) End Class End Namespace End Namespace