' Options: 'Date: 2026-10-13 00:47:14 '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: CourierVansRequest.* '''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 CourierDeskRow Public Overridable Property Code As String Public Overridable Property CourierProfileId As Integer Public Overridable Property FacilityName As String Public Overridable Property LevelCode As String Public Overridable Property LevelName As String Public Overridable Property DueUtc As Date? Public Overridable Property DueText As String Public Overridable Property Units As Integer Public Overridable Property UnitsFound As Integer? Public Overridable Property UnitMany As String Public Overridable Property Fare As Decimal? Public Overridable Property FinalPrice As Decimal? Public Overridable Property TipAmount As Decimal? Public Overridable Property PayMode As String Public Overridable Property CaptureMode As String Public Overridable Property CustomerName As String Public Overridable Property Area As String Public Overridable Property IntakeUtc As Date? Public Overridable Property IntakeMinAgo As Integer? Public Overridable Property DamageNote As String Public Overridable Property FinalPriceAfterCount As Boolean Public Overridable Property NeedsPrice As Boolean Public Overridable Property ItemCount As Integer Public Overridable Property MissingCount As Integer Public Overridable Property PhotoCount As Integer End Class Public Partial Class CourierDriverOption Public Overridable Property ContactId As Integer Public Overridable Property Code As String Public Overridable Property Name As String Public Overridable Property Online As Boolean Public Overridable Property Zone As String Public Overridable Property VehicleUnit As String Public Overridable Property EquipmentID As Integer? Public Overridable Property SentToFacility As Boolean End Class Public Partial Class CourierFacilityOption Public Overridable Property CourierFacilityID As Integer Public Overridable Property Code As String Public Overridable Property Name As String Public Overridable Property Address As String Public Overridable Property IntakeMin As Integer End Class Public Partial Class CourierHeldView Public Overridable Property Code As String Public Overridable Property Area As String Public Overridable Property Units As Integer Public Overridable Property UnitMany As String Public Overridable Property Miles As Decimal? Public Overridable Property LevelCode As String Public Overridable Property LevelName As String Public Overridable Property DueText As String Public Overridable Property HeldReason As String Public Overridable Property HeldMin As Integer? Public Overridable Property Why As List(Of String) = New List(Of String) Public Overridable Property BestDriverContactId As Integer? Public Overridable Property BestName As String Public Overridable Property BestLeaveByText As String End Class Public Partial Class CourierMoveTarget Public Overridable Property DriverContactId As Integer Public Overridable Property Name As String Public Overridable Property Ok As Boolean Public Overridable Property Why As String Public Overridable Property LeaveByText As String End Class Public Partial Class CourierOfficeResponse Public Overridable Property Office As CourierOfficeView Public Overridable Property Available As Boolean Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class CourierOfficeVan Public Overridable Property DriverContactId As Integer Public Overridable Property DriverCode As String Public Overridable Property Name As String Public Overridable Property Online As Boolean Public Overridable Property Zone As String Public Overridable Property VehicleUnit As String Public Overridable Property FacilityName As String Public Overridable Property State As String Public Overridable Property LeaveByUtc As Date? Public Overridable Property LeaveByText As String Public Overridable Property SlackMin As Integer? Public Overridable Property InVan As Integer Public Overridable Property Committed As Integer Public Overridable Property Cap As Decimal? Public Overridable Property CapUnit As String Public Overridable Property UnitMany As String Public Overridable Property CriticalCode As String Public Overridable Property DriveMin As Integer Public Overridable Property SendNote As String Public Overridable Property Aboard As List(Of CourierVanChip) = New List(Of CourierVanChip) Public Overridable Property Queued As List(Of CourierVanChip) = New List(Of CourierVanChip) End Class Public Partial Class CourierOfficeView Public Overridable Property ServerUtc As Date Public Overridable Property Vans As List(Of CourierOfficeVan) = New List(Of CourierOfficeVan) Public Overridable Property Held As List(Of CourierHeldView) = New List(Of CourierHeldView) Public Overridable Property Vehicles As List(Of CourierVehicleOption) = New List(Of CourierVehicleOption) Public Overridable Property Profiles As List(Of CourierProfileOption) = New List(Of CourierProfileOption) Public Overridable Property Drivers As List(Of CourierDriverOption) = New List(Of CourierDriverOption) Public Overridable Property Desk As List(Of CourierDeskRow) = New List(Of CourierDeskRow) Public Overridable Property GoCount As Integer Public Overridable Property HeldCount As Integer Public Overridable Property ReadyToOffer As Integer Public Overridable Property IntakeMin As Integer? Public Overridable Property FacilityNoun As String End Class Public Partial Class CourierProfileOption Public Overridable Property CourierProfileID As Integer Public Overridable Property Name As String Public Overridable Property RouteShape As String Public Overridable Property Enabled As Boolean Public Overridable Property UnitOne As String Public Overridable Property UnitMany As String Public Overridable Property FacilityNoun As String Public Overridable Property Facilities As List(Of CourierFacilityOption) = New List(Of CourierFacilityOption) End Class Public Partial Class CourierVanChip Public Overridable Property Code As String Public Overridable Property CourierStep As String Public Overridable Property LevelCode As String Public Overridable Property LevelName As String Public Overridable Property Units As Integer Public Overridable Property Area As String Public Overridable Property DueUtc As Date? Public Overridable Property DueText As String Public Overridable Property Movable As Boolean Public Overridable Property NoMoveWhy As String Public Overridable Property Targets As List(Of CourierMoveTarget) = New List(Of CourierMoveTarget) End Class Public Partial Class CourierVansRequest Implements IReturn(Of CourierOfficeResponse) End Class Public Partial Class CourierVehicleOption Public Overridable Property CourierProfileId As Integer Public Overridable Property EquipmentID As Integer Public Overridable Property UnitNumber As String Public Overridable Property VehicleType As String Public Overridable Property CapacityUnit As String Public Overridable Property CapacityLimit As Decimal? Public Overridable Property IsRefrigerated As Boolean Public Overridable Property Status As String 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