' Options: 'Date: 2025-05-04 22:28:37 '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: CopyFlow.* '''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.Flows Imports Voice.Api.Settings Imports Voice.Api Imports Voice.Api.Customers 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.Customers Public Partial Class CustomerBreadcrumb Public Overridable Property Id As String Public Overridable Property Name As String End Class End Namespace Namespace Voice.Api.Endpoints Public Enum UserDataFieldModes Hidden [ReadOnly] ReadWrite End Enum End Namespace Namespace Voice.Api.Flows ''' '''Make a copy of the flow ''' Public Partial Class CopyFlow Implements IReturn(Of FlowInfo) Implements IPost ''' '''The ID of the flow to copy ''' Public Overridable Property FlowId As String End Class Public Enum FlowChannels Voice Chat Fax End Enum Public Partial Class FlowExit ''' '''The unique ID for this exit ''' Public Overridable Property Id As String ''' '''The name of this exit ''' Public Overridable Property Name As String ''' '''The UI for the exit ''' Public Overridable Property UI As FlowNodeUI End Class Public Partial Class FlowInfo Inherits EntityInfo ''' '''The name of this flow ''' Public Overridable Property Name As String ''' '''The roles that this flow has ''' Public Overridable Property Roles As List(Of FlowRoles) ''' '''What this flow does ''' Public Overridable Property Description As String ''' '''Any notes for this flow ''' Public Overridable Property Notes As String ''' '''The ID of the account associated with the flow ''' Public Overridable Property AccountId As String ''' '''The name of the account associated with the flow ''' Public Overridable Property AccountName As String ''' '''The ID of the customer this flow is associated with ''' Public Overridable Property CustomerId As String ''' '''The name of the customer this flow is associated with ''' Public Overridable Property CustomerName As String ''' '''The breadcrumb to the flow for this endpoint ''' Public Overridable Property CustomerBreadcrumb As List(Of CustomerBreadcrumb) ''' '''The nodes in this flow ''' Public Overridable Property Nodes As List(Of FlowNode) ''' '''The flow's parameters ''' Public Overridable Property Parameters As List(Of FlowParameter) ''' '''The flow's exits ''' Public Overridable Property Exits As List(Of FlowExit) ''' '''The UI data for the flow ''' Public Overridable Property UI As FlowUI ''' '''The list of tags for this flow ''' Public Overridable Property Tags As List(Of Tag) ''' '''The number of nodes in this flow ''' Public Overridable Property NodeCount As Integer End Class Public Partial Class FlowNode ''' '''The ID of this node. Must be unique within the flow but can be anything ''' Public Overridable Property Id As String ''' '''Is this the starting node for the flow. Only one node can have this set ''' Public Overridable Property IsStartNode As Boolean ''' '''The name of the node, descriptive to be used as a reminder in the GUI ''' Public Overridable Property Name As String ''' '''The specification for the node ''' Public Overridable Property Spec As FlowNodeSpec ''' '''The UI data for the node ''' Public Overridable Property UI As FlowNodeUI ''' '''The data for this node. These will be POST'd to the endpoint when it is called. ''' Public Overridable Property Parameters As NodeParameterMap End Class Public Enum FlowNodeCategories General Voice Logic DateAndTime Audio Messaging Assistant Flows Fax Network Cookies CallCenter Intelligence End Enum Public Partial Class FlowNodeSpec ''' '''The name of this node ''' Public Overridable Property Name As String ''' '''A description of this node ''' Public Overridable Property Description As String ''' '''Icon class for this node (FontAwesome) ''' Public Overridable Property IconClass As String ''' '''The type name for this node ''' Public Overridable Property TypeName As String ''' '''The category this node should be grouped under ''' Public Overridable Property Category As FlowNodeCategories ''' '''The URL where this node is located ''' Public Overridable Property Url As String ''' '''The data type for this node ''' Public Overridable Property DataType As DataType ''' '''URL for documentation for this node ''' Public Overridable Property DocumentationUrl As String ''' '''The channels that this node is restricted to ''' Public Overridable Property RestrictToChannels As List(Of FlowChannels) End Class Public Partial Class FlowNodeUI ''' '''The X position of the node ''' Public Overridable Property X As Double ''' '''The Y position of the node ''' Public Overridable Property Y As Double ''' '''Notes for this node ''' Public Overridable Property Notes As String End Class Public Partial Class FlowParameter Inherits DataField Public Overridable Property IsPublic As Boolean Public Overridable Property IsKnob As Boolean End Class Public Enum FlowRoles UI Reference PhoneNumberRouting UserDialOut FaxNumberRouting End Enum Public Partial Class FlowUI Public Overridable Property SelectedNode As String Public Overridable Property CanvasX As Double Public Overridable Property CanvasY As Double Public Overridable Property CanvasZoom As Double End Class 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 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