' Options: 'Date: 2026-11-01 12:49:11 '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: BranchCalendarRequest.* '''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 BranchCalendarBranch Public Overridable Property Id As Guid Public Overridable Property Name As String Public Overridable Property Street As String Public Overridable Property TimeZone As String Public Overridable Property Windows As Integer Public Overridable Property Hours As List(Of BranchCalendarHours) = New List(Of BranchCalendarHours) End Class Public Partial Class BranchCalendarCustomer Public Overridable Property ContactId As Integer Public Overridable Property ContactGuid As Guid? Public Overridable Property Name As String Public Overridable Property Phone As String Public Overridable Property Email As String End Class Public Partial Class BranchCalendarEvent Public Overridable Property CalendarEventId As Integer Public Overridable Property Kind As String Public Overridable Property Title As String Public Overridable Property StartLocal As Date Public Overridable Property EndLocal As Date? Public Overridable Property AllDay As Boolean Public Overridable Property Description As String Public Overridable Property Customer As BranchCalendarCustomer Public Overridable Property Services As List(Of BranchCalendarServiceItem) = New List(Of BranchCalendarServiceItem) Public Overridable Property Status As BranchCalendarStatus Public Overridable Property CheckInId As Guid? Public Overridable Property Paperwork As BranchCalendarPaperwork End Class Public Partial Class BranchCalendarHistory Public Overridable Property ByWeekdayHour As List(Of BranchCalendarWeekdayHour) = New List(Of BranchCalendarWeekdayHour) Public Overridable Property ByHour As List(Of BranchCalendarHourMean) = New List(Of BranchCalendarHourMean) End Class Public Partial Class BranchCalendarHourMean Public Overridable Property Hour As Integer Public Overridable Property Windows As Decimal Public Overridable Property Days As Integer End Class Public Partial Class BranchCalendarHours Public Overridable Property [Date] As String Public Overridable Property Opens As String Public Overridable Property Closes As String Public Overridable Property Closed As Boolean End Class Public Partial Class BranchCalendarLine Public Overridable Property Id As Guid Public Overridable Property Name As String Public Overridable Property Minutes As Integer Public Overridable Property Color As String End Class Public Partial Class BranchCalendarPaperwork Public Overridable Property AsksQuestionnaire As Boolean Public Overridable Property AsksUpload As Boolean Public Overridable Property Submitted As Boolean End Class Public Partial Class BranchCalendarRequest Implements IReturn(Of BranchCalendarResponse) Public Overridable Property LocationId As Guid Public Overridable Property From As Date? Public Overridable Property [To] As Date? Public Overridable Property IncludeCancelled As Boolean End Class Public Partial Class BranchCalendarResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Branch As BranchCalendarBranch Public Overridable Property Lines As List(Of BranchCalendarLine) = New List(Of BranchCalendarLine) Public Overridable Property Events As List(Of BranchCalendarEvent) = New List(Of BranchCalendarEvent) Public Overridable Property Staffing As List(Of BranchCalendarStaffHour) = New List(Of BranchCalendarStaffHour) Public Overridable Property History As BranchCalendarHistory Public Overridable Property ColorByService As Boolean Public Overridable Property ServerNowLocal As Date End Class Public Partial Class BranchCalendarServiceItem Public Overridable Property LineId As Guid? Public Overridable Property Name As String Public Overridable Property Minutes As Integer End Class Public Partial Class BranchCalendarStaffHour Public Overridable Property [Date] As String Public Overridable Property Hour As Integer Public Overridable Property Windows As Decimal Public Overridable Property Source As String End Class Public Partial Class BranchCalendarStatus Public Overridable Property State As String Public Overridable Property TicketLabel As String Public Overridable Property Window As String Public Overridable Property ArrivedAt As Date? Public Overridable Property CalledAt As Date? Public Overridable Property ServedAt As Date? Public Overridable Property NoShowAt As Date? Public Overridable Property CancelledAt As Date? Public Overridable Property CancelledBy As String Public Overridable Property Source As String Public Overridable Property CanCheckIn As Boolean Public Overridable Property CanNoShow As Boolean Public Overridable Property CanReopen As Boolean Public Overridable Property CanChange As Boolean Public Overridable Property CanCancel As Boolean End Class Public Partial Class BranchCalendarWeekdayHour Public Overridable Property Weekday As Integer Public Overridable Property Hour As Integer Public Overridable Property Windows As Decimal Public Overridable Property Days As Integer 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