(* Options: Date: 2025-05-05 01:19:49 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: ListCustomers.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace Voice.Api open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] 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 member val AIInsights:BillingItem = null with get,set member val AILiveMinutes:BillingItem = null with get,set type SortOrders = | Ascend = 0 | Descend = 1 [] type ListRequest() = interface IGet /// ///The page of data to retrieve /// [] member val Page:Int32 = new Int32() with get,set /// ///If you want all objects to be returned. This should be used with care /// [] member val All:Boolean = new Boolean() with get,set /// ///The number per page to retrieve /// [] member val CountPerPage:Int32 = new Int32() with get,set /// ///Specific IDs /// [] member val SpecificIds:ResizeArray = null with get,set /// ///Specify a sort field /// [] member val SortField:String = null with get,set /// ///Specify a sort order /// [] member val SortOrder:SortOrders = new SortOrders() with get,set /// ///Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array /// [] member val SimplifiedPaging:Boolean = new Boolean() 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 = null 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 EnableAssistants: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 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 = null with get,set member val DefaultState:String = null with get,set [] type IntegrationData() = member val ThirdPartyId:String = null with get,set [] type EntityIntegrationData() = inherit Dictionary() [] 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 = null 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 = null 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 [] type ListResponse() = /// ///The items /// [] member val Items:ResizeArray = null with get,set /// ///The total number of items /// [] member val TotalCount:Int32 = new Int32() with get,set /// ///The total number of pages /// [] member val TotalPages:Int32 = new Int32() with get,set /// ///Are there more pages of items? Used with simplified paging /// [] member val HasMorePages:Boolean = new Boolean() with get,set /// ///Retrieve customers /// [] [] [] type ListCustomers() = inherit ListRequest() interface IReturn> /// ///Filter by accounts /// [] member val AccountIds:ResizeArray = null with get,set /// ///Filter by name /// [] member val NameFilter:String = null with get,set /// ///The IDs of the parent customers you want to filter by /// [] member val ParentCustomerIds:ResizeArray = null with get,set /// ///If you want a shall parent customer filter (e.g. no deep children) /// [] member val ShallowParent:Boolean = new Boolean() with get,set /// ///The list of tag IDs to filter by (must contain all) /// [] member val TagIds:ResizeArray = null with get,set