' Options: 'Date: 2024-05-16 21:15:21 'Version: 6.40 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://evovoice.io ' '''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: NewCustomer.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.IO Imports Voice.Api.Accounts Imports Voice.Api.Flows.Data Imports Voice.Api.Customers Imports Voice.Api.Settings Imports Voice.Api Imports Voice.Api.Integrations Imports Voice.Api.Scheduling Namespace Global Namespace Voice.Api Public Partial Class EntityInfo ''' '''The ID of the object ''' Public Overridable Property Id As String ''' '''The date the object was created ''' Public Overridable Property DateCreated As String ''' '''The date the object was last modified ''' Public Overridable Property DateLastModified As String ''' '''The user that created this object ''' Public Overridable Property CreatedBy As String ''' '''The user that last modified this object ''' Public Overridable Property LastModifiedBy As String End Class End Namespace Namespace Voice.Api.Accounts Public Partial Class BillingItem Public Overridable Property BaseCost As Double Public Overridable Property RawUnitMultiplier As Double Public Overridable Property UnitCost As Double Public Overridable Property Allowance As Integer End Class Public Partial Class BillingSettings Public Overridable Property Base As BillingItem Public Overridable Property LocalNumbers As BillingItem Public Overridable Property TollFreeNumbers As BillingItem Public Overridable Property InboundVoiceCalls As BillingItem Public Overridable Property OutboundVoiceCalls As BillingItem Public Overridable Property InboundFaxes As BillingItem Public Overridable Property OutboundFaxes As BillingItem Public Overridable Property InboundSmsMessages As BillingItem Public Overridable Property OutboundSmsMessages As BillingItem End Class End Namespace Namespace Voice.Api.Customers Public Partial Class AppSettings Public Overridable Property EnablePhoneNumberManagement As Boolean Public Overridable Property EnableDeviceManagement As Boolean Public Overridable Property EnableDialer As Boolean Public Overridable Property EnableCallHistory As Boolean Public Overridable Property ShowFileNameInMessageCenter As Boolean Public Overridable Property ChakraTheme As String Public Overridable Property CustomCss As String Public Overridable Property PageTitle As String Public Overridable Property StringMappings As String Public Overridable Property LogoutUrl As String Public Overridable Property PortMyNumberUrl As String End Class Public Partial Class CustomerBreadcrumb Public Overridable Property Id As String Public Overridable Property Name As String End Class Public Partial Class CustomerInfo Inherits EntityInfo Public Sub New() Breadcrumb = New List(Of CustomerBreadcrumb) Tags = New List(Of Tag) End Sub ''' '''The ID of the account associated with this customer ''' Public Overridable Property AccountId As String ''' '''The parent customer ID for this customer ''' Public Overridable Property ParentCustomerId As String ''' '''The breadcrumb to this customer ''' Public Overridable Property Breadcrumb As List(Of CustomerBreadcrumb) ''' '''The name of the account associated with this customer ''' Public Overridable Property AccountName As String ''' '''Is this customer staging or production? ''' Public Overridable Property IsStaging As Boolean ''' '''The name of the company ''' Public Overridable Property Name As String ''' '''The reference ID for this company ''' Public Overridable Property ReferenceId As String ''' '''This customer's data values ''' Public Overridable Property Data As Struct ''' '''The list of tags for this customer ''' Public Overridable Property Tags As List(Of Tag) ''' '''This customer's schedule ''' Public Overridable Property Schedule As Schedule ''' '''Integration data for this customer ''' Public Overridable Property IntegrationData As EntityIntegrationData ''' '''Override this customer's billing settings? Otherwise inherits from parent ''' Public Overridable Property OverrideBillingSettings As Boolean ''' '''Billing settings for this customer ''' Public Overridable Property BillingSettings As BillingSettings ''' '''Should this customer override the parent customer's app settings ''' Public Overridable Property OverrideAppSettings As Boolean ''' '''App / Portal settings for this customer ''' Public Overridable Property AppSettings As AppSettings End Class ''' '''Creates a new customer ''' Public Partial Class NewCustomer Implements IReturn(Of CustomerInfo) Implements IPost ''' '''The account ID to associate this customer with ''' Public Overridable Property AccountId As String ''' '''The name of the customer ''' Public Overridable Property Name As String ''' '''The parent customer for this customer ''' Public Overridable Property ParentCustomerId As String ''' '''The reference ID for this customer (e.g. in a third party system) ''' Public Overridable Property ReferenceId As String ''' '''Data values for this customer ''' Public Overridable Property Data As Struct End Class End Namespace Namespace Voice.Api.Flows.Data Public Partial Class Struct Inherits Dictionary(Of String, Value) End Class Public Partial Class Value Public Sub New() ListValue = New List(Of Struct) End Sub Public Overridable Property BoolValue As Nullable(Of Boolean) Public Overridable Property StringValue As String Public Overridable Property NumberValue As Nullable(Of Double) Public Overridable Property ListValue As List(Of Struct) Public Overridable Property StructValue As Struct End Class End Namespace Namespace Voice.Api.Integrations Public Partial Class EntityIntegrationData Inherits Dictionary(Of String, IntegrationData) End Class Public Partial Class IntegrationData Public Overridable Property ThirdPartyId As String End Class End Namespace Namespace Voice.Api.Scheduling Public Partial Class Schedule Public Sub New() Rules = New List(Of SchedulingRule) End Sub Public Overridable Property TimeZoneId As String Public Overridable Property Inherit As Boolean Public Overridable Property ForceClosed As Boolean Public Overridable Property Rules As List(Of SchedulingRule) Public Overridable Property DefaultState As String End Class End Namespace Namespace Voice.Api.Settings Public Partial Class Tag Public Overridable Property Id As String Public Overridable Property Name As String Public Overridable Property Color As TagColors End Class Public Enum TagColors Magenta Red Volcano Orange Gold Lime Green Cyan Blue GeekBlue Purple End Enum End Namespace End Namespace