' Options: 'Date: 2026-10-16 01:07:33 '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: KpiV2LiveRequest.* '''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 KpiV2LiveRequest Implements IReturn(Of KpiV2LiveResponse) Public Overridable Property BranchId As Guid End Class Public Partial Class KpiV2LiveResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Live As SvcLive 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 SvcLive Public Overridable Property BranchId As Guid Public Overridable Property NowUtc As Date Public Overridable Property LocalOffMin As Integer Public Overridable Property ZoneCode As String Public Overridable Property Windows As List(Of SvcLiveWindow) = New List(Of SvcLiveWindow) Public Overridable Property Line As List(Of SvcLiveLine) = New List(Of SvcLiveLine) Public Overridable Property InLine As Integer Public Overridable Property LongestWaitSec As Integer Public Overridable Property Staffed As Integer Public Overridable Property Alerts As List(Of SvcAlert) = New List(Of SvcAlert) End Class Public Partial Class SvcLiveLine Public Overridable Property LineId As Guid Public Overridable Property Name As String Public Overridable Property Waiting As Integer Public Overridable Property OldestHereUtc As Date? End Class Public Partial Class SvcLiveWindow Public Overridable Property StationId As Guid Public Overridable Property Name As String Public Overridable Property Status As String Public Overridable Property EmployeeId As Guid? Public Overridable Property EmployeeName As String Public Overridable Property SignedInUtc As Date? Public Overridable Property LastSeenUtc As Date? Public Overridable Property SinceUtc As Date? Public Overridable Property PauseReason As String Public Overridable Property CheckinId As Guid? Public Overridable Property TicketLabel As String Public Overridable Property CustomerName As String Public Overridable Property ServiceName As String Public Overridable Property StartUtc As Date? Public Overridable Property CalledUtc As Date? Public Overridable Property ServedToday As Integer Public Overridable Property LastCalledUtc As Date? 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