' Options: 'Date: 2025-05-04 23:28:50 '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: ListIntegrations.* '''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 Imports Voice.Api.Flows.Data Imports Voice.Api.Endpoints Imports Voice.Api.Integrations 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 Public Partial Class ListRequest(Of T) Implements IGet ''' '''The page of data to retrieve ''' Public Overridable Property Page As Integer ''' '''If you want all objects to be returned. This should be used with care ''' Public Overridable Property All As Boolean ''' '''The number per page to retrieve ''' Public Overridable Property CountPerPage As Integer ''' '''Specific IDs ''' Public Overridable Property SpecificIds As List(Of String) ''' '''Specify a sort field ''' Public Overridable Property SortField As String ''' '''Specify a sort order ''' Public Overridable Property SortOrder As SortOrders ''' '''Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array ''' Public Overridable Property SimplifiedPaging As Boolean End Class Public Partial Class ListResponse(Of T) ''' '''The items ''' Public Overridable Property Items As List(Of IntegrationInfo) ''' '''The total number of items ''' Public Overridable Property TotalCount As Integer ''' '''The total number of pages ''' Public Overridable Property TotalPages As Integer ''' '''Are there more pages of items? Used with simplified paging ''' Public Overridable Property HasMorePages As Boolean End Class Public Enum SortOrders Ascend Descend End Enum 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.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.Integrations Public Enum IntegrationFeatures CrmSync OAuth2 End Enum Public Partial Class IntegrationInfo Inherits EntityInfo ''' '''The ID of the account associated with this integration ''' Public Overridable Property AccountId As String ''' '''The ID of the customer this integration is associated with ''' Public Overridable Property CustomerId As String ''' '''The name of the customer this integration is associated with ''' Public Overridable Property CustomerName As String ''' '''The date the integration was sync'd last ''' Public Overridable Property DateLastSync As String ''' '''The breadcrumb to the customer for this integration ''' Public Overridable Property CustomerBreadcrumb As List(Of CustomerBreadcrumb) ''' '''The name of the integration (e.g. HostedSuite Dallas) ''' Public Overridable Property Name As String ''' '''Automatically create new customers / users when sync'ing with CRM? ''' Public Overridable Property AutomaticallyCreateCustomers As Boolean ''' '''The type of integration ''' Public Overridable Property Type As IntegrationTypes ''' '''The status of the integration ''' Public Overridable Property Status As IntegrationStatuses ''' '''The status of the integration ''' Public Overridable Property StatusMessage As String ''' '''The settings type for this integration ''' Public Overridable Property SettingsDataType As DataType ''' '''The settings for this integration ''' Public Overridable Property Settings As Struct ''' '''The features supported by this integration ''' Public Overridable Property Features As List(Of IntegrationFeatures) ''' '''Is this integration authorized (OAuth)? ''' Public Overridable Property IsAuthorized As Boolean End Class Public Enum IntegrationStatuses NotConfigured [Error] OK End Enum Public Enum IntegrationTypes HostedSuite OfficeRnd Zoho End Enum ''' '''Retrieve integrations ''' Public Partial Class ListIntegrations Inherits ListRequest(Of IntegrationInfo) Implements IReturn(Of ListResponse(Of IntegrationInfo)) ''' '''Filter by accounts ''' Public Overridable Property AccountIds As List(Of String) ''' '''Filter by name ''' Public Overridable Property NameFilter As String ''' '''The IDs of the parent customers you want to filter by ''' Public Overridable Property CustomerIds As List(Of String) ''' '''If you want a shall customer integration filter (e.g. no deep children) ''' Public Overridable Property ShallowParent As Boolean End Class End Namespace End Namespace