(* Options: Date: 2024-05-15 04:25:20 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://evovoice.io //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: NewCustomer.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace Voice.Api open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.IO [] type BillingItem() = member val BaseCost:Double = new Double() with get,set member val RawUnitMultiplier:Double = new Double() with get,set member val UnitCost:Double = new Double() with get,set member val Allowance:Int32 = new Int32() with get,set [] type BillingSettings() = member val Base:BillingItem = null with get,set member val LocalNumbers:BillingItem = null with get,set member val TollFreeNumbers:BillingItem = null with get,set member val InboundVoiceCalls:BillingItem = null with get,set member val OutboundVoiceCalls:BillingItem = null with get,set member val InboundFaxes:BillingItem = null with get,set member val OutboundFaxes:BillingItem = null with get,set member val InboundSmsMessages:BillingItem = null with get,set member val OutboundSmsMessages:BillingItem = null with get,set [] type Struct() = inherit Dictionary() [] type Value() = member val BoolValue:Nullable = new Nullable() with get,set member val StringValue:String = null with get,set member val NumberValue:Nullable = new Nullable() with get,set member val ListValue:ResizeArray = new ResizeArray() with get,set member val StructValue:Struct = null with get,set [] type AppSettings() = member val EnablePhoneNumberManagement:Boolean = new Boolean() with get,set member val EnableDeviceManagement:Boolean = new Boolean() with get,set member val EnableDialer:Boolean = new Boolean() with get,set member val EnableCallHistory:Boolean = new Boolean() with get,set member val ShowFileNameInMessageCenter:Boolean = new Boolean() with get,set member val ChakraTheme:String = null with get,set member val CustomCss:String = null with get,set member val PageTitle:String = null with get,set member val StringMappings:String = null with get,set member val LogoutUrl:String = null with get,set member val PortMyNumberUrl:String = null with get,set type TagColors = | Magenta = 0 | Red = 1 | Volcano = 2 | Orange = 3 | Gold = 4 | Lime = 5 | Green = 6 | Cyan = 7 | Blue = 8 | GeekBlue = 9 | Purple = 10 [] type Tag() = member val Id:String = null with get,set member val Name:String = null with get,set member val Color:TagColors = new TagColors() with get,set [] type EntityInfo() = /// ///The ID of the object /// [] member val Id:String = null with get,set /// ///The date the object was created /// [] member val DateCreated:String = null with get,set /// ///The date the object was last modified /// [] member val DateLastModified:String = null with get,set /// ///The user that created this object /// [] member val CreatedBy:String = null with get,set /// ///The user that last modified this object /// [] member val LastModifiedBy:String = null with get,set [] type CustomerBreadcrumb() = member val Id:String = null with get,set member val Name:String = null with get,set [] type IntegrationData() = member val ThirdPartyId:String = null with get,set [] type EntityIntegrationData() = inherit Dictionary() [] type Schedule() = member val TimeZoneId:String = null with get,set member val Inherit:Boolean = new Boolean() with get,set member val ForceClosed:Boolean = new Boolean() with get,set member val Rules:ResizeArray = new ResizeArray() with get,set member val DefaultState:String = null with get,set [] type CustomerInfo() = inherit EntityInfo() /// ///The ID of the account associated with this customer /// [] member val AccountId:String = null with get,set /// ///The parent customer ID for this customer /// [] member val ParentCustomerId:String = null with get,set /// ///The breadcrumb to this customer /// [] member val Breadcrumb:ResizeArray = new ResizeArray() with get,set /// ///The name of the account associated with this customer /// [] member val AccountName:String = null with get,set /// ///Is this customer staging or production? /// [] member val IsStaging:Boolean = new Boolean() with get,set /// ///The name of the company /// [] member val Name:String = null with get,set /// ///The reference ID for this company /// [] member val ReferenceId:String = null with get,set /// ///This customer's data values /// [] member val Data:Struct = null with get,set /// ///The list of tags for this customer /// [] member val Tags:ResizeArray = new ResizeArray() with get,set /// ///This customer's schedule /// [] member val Schedule:Schedule = null with get,set /// ///Integration data for this customer /// [] member val IntegrationData:EntityIntegrationData = null with get,set /// ///Override this customer's billing settings? Otherwise inherits from parent /// [] member val OverrideBillingSettings:Boolean = new Boolean() with get,set /// ///Billing settings for this customer /// [] member val BillingSettings:BillingSettings = null with get,set /// ///Should this customer override the parent customer's app settings /// [] member val OverrideAppSettings:Boolean = new Boolean() with get,set /// ///App / Portal settings for this customer /// [] member val AppSettings:AppSettings = null with get,set /// ///Creates a new customer /// [] [] [] type NewCustomer() = interface IReturn interface IPost /// ///The account ID to associate this customer with /// [] member val AccountId:String = null with get,set /// ///The name of the customer /// [] member val Name:String = null with get,set /// ///The parent customer for this customer /// [] member val ParentCustomerId:String = null with get,set /// ///The reference ID for this customer (e.g. in a third party system) /// [] member val ReferenceId:String = null with get,set /// ///Data values for this customer /// [] member val Data:Struct = null with get,set