' Options: 'Date: 2025-05-04 23:08:06 'Version: 8.71 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://team.evovoice.io ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: PatchSystemSettings.* '''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 Voice.Api.Flows.Data Imports Voice.Api.Endpoints Imports Voice.Api.Settings Imports Voice.Api 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.Endpoints Public Enum EndpointTypes PhoneNumber User FaxNumber EmailAddress Unused_1 Unused_2 Unused_3 Unused_4 Unused_5 Team Assistant End Enum Public Enum TwilioSipRegions NorthAmericaVirginia NorthAmericaOregon EuropeIreland EuropeFrankfurt AsiaPacificSingapore AsiaPacificTokyo AsiaPacificSydney SouthAmericaSanPaolo End Enum Public Enum UserDataFieldModes Hidden [ReadOnly] ReadWrite End Enum End Namespace Namespace Voice.Api.Flows.Data Public Partial Class DataField Public Overridable Property Id As String Public Overridable Property Name As String Public Overridable Property Type As ValueTypes Public Overridable Property UIHint As UIHints Public Overridable Property UITab As String Public Overridable Property IsAsync As Boolean Public Overridable Property DisableBinding As Boolean Public Overridable Property StructType As DataType Public Overridable Property ListType As DataType Public Overridable Property Description As String Public Overridable Property PossibleValues As List(Of String) Public Overridable Property IsOutput As Boolean Public Overridable Property CustomFieldValuesUrl As String Public Overridable Property DefaultValue As Value Public Overridable Property TransitionNameFormat As String Public Overridable Property Uniqueness As DataFieldUniqueness Public Overridable Property VoiceOnly As Boolean Public Overridable Property ConditionalVisibilityField As String Public Overridable Property ConditionalVisibilityValue As String Public Overridable Property NoEvalTemplate As Boolean Public Overridable Property UserMode As UserDataFieldModes Public Overridable Property AnyValueType As Boolean End Class Public Enum DataFieldUniqueness NotUnique Unique UniqueToCustomer End Enum Public Partial Class DataType Public Overridable Property TypeName As String Public Overridable Property Fields As List(Of DataField) End Class Public Partial Class Struct Inherits Dictionary(Of String, Value) End Class Public Enum UIHints None LargeText InlineForm Password InlineStruct End Enum Public Partial Class Value Public Overridable Property BoolValue As Boolean? Public Overridable Property StringValue As String Public Overridable Property NumberValue As Double? Public Overridable Property ListValue As List(Of Struct) Public Overridable Property StructValue As Struct End Class Public Enum ValueTypes NotSpecified [String] [Boolean] Number List Struct Transition Custom [Date] AudioFile TimeZoneId PhoneNumber User Endpoint Time File FaxNumber EmailAccount Customer Flow Team FlowReference Integration Assistant End Enum End Namespace Namespace Voice.Api.Settings Public Partial Class CustomerDataField Inherits DataField Public Overridable Property ShowInSearch As Boolean End Class Public Partial Class EmailAccount Public Overridable Property Id As String Public Overridable Property Server As String Public Overridable Property UserName As String Public Overridable Property Port As Integer Public Overridable Property EmailAddress As String Public Overridable Property DisplayName As String Public Overridable Property Password As String End Class Public Partial Class EndpointDataField Inherits DataField Public Overridable Property ShowInSearch As Boolean Public Overridable Property ShowInLists As Boolean Public Overridable Property EndpointType As EndpointTypes? Public Overridable Property IsCallerId As Boolean Public Overridable Property IsKnob As Boolean End Class ''' '''Updates the system settings ''' Public Partial Class PatchSystemSettings Implements IReturn(Of SystemSettingsInfo) Implements IPatch ''' '''Use to override the system time for testing ''' Public Overridable Property OverrideSystemTime As Boolean? ''' '''The system override time zone ''' Public Overridable Property OverrideSystemTimeZoneId As String ''' '''The system override date/time ''' Public Overridable Property OverrideSystemDateTime As String ''' '''The account ID of the system settings ''' Public Overridable Property AccountId As String ''' '''The list of system settings fields ''' Public Overridable Property SystemFields As List(Of SystemSettingsField) ''' '''The list of customer fields ''' Public Overridable Property CustomerFields As List(Of CustomerDataField) ''' '''The list of endpoint fields ''' Public Overridable Property EndpointFields As List(Of EndpointDataField) ''' '''The list of email accounts ''' Public Overridable Property EmailAccounts As List(Of EmailAccount) ''' '''The list of tags ''' Public Overridable Property Tags As List(Of Tag) ''' '''Documentation for the account ''' Public Overridable Property Documentation As String ''' '''The number of days recordings are retained ''' Public Overridable Property RecordingRetentionDays As Integer? ''' '''Enable the SIP refer beta ''' Public Overridable Property EnableSipRefer As Boolean? ''' '''The number of seconds after which we automatically logoff a not ready agent ''' Public Overridable Property AutoAgentLogoffSeconds As Integer? ''' '''The default SIP region for new devices ''' Public Overridable Property DefaultSipRegion As TwilioSipRegions? End Class Public Partial Class SystemSettingsField Inherits DataField Public Overridable Property Value As Value End Class Public Partial Class SystemSettingsInfo Inherits EntityInfo ''' '''Use to override the system time for testing ''' Public Overridable Property OverrideSystemTime As Boolean ''' '''The system override time zone ''' Public Overridable Property OverrideSystemTimeZoneId As String ''' '''The system override date/time ''' Public Overridable Property OverrideSystemDateTime As String ''' '''The list of system settings fields ''' Public Overridable Property SystemFields As List(Of SystemSettingsField) ''' '''The list of customer metadata fields ''' Public Overridable Property CustomerFields As List(Of CustomerDataField) ''' '''The list of endpoint metadata fields ''' Public Overridable Property EndpointFields As List(Of EndpointDataField) ''' '''The list of email accounts ''' Public Overridable Property EmailAccounts As List(Of EmailAccount) ''' '''The list of tags in the system ''' Public Overridable Property Tags As List(Of Tag) ''' '''Documentation for the account ''' Public Overridable Property Documentation As String ''' '''The number of days recordings are retained ''' Public Overridable Property RecordingRetentionDays As Integer ''' '''Enable the SIP refer beta ''' Public Overridable Property EnableSipRefer As Boolean ''' '''The number of seconds after which we automatically logoff a not ready agent ''' Public Overridable Property AutoAgentLogoffSeconds As Integer ''' '''The default SIP region for new devices ''' Public Overridable Property DefaultSipRegion As TwilioSipRegions? End Class 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