' Options: 'Date: 2025-05-04 23:13:44 '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: NewUser.* '''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.Authentication Namespace Global Namespace Voice.Api.Authentication Public Enum DashboardPermissions ViewFiles ViewNotifications ViewSessions ViewEndpoints ViewReports ViewCustomers ViewFlows End Enum ''' '''Creates a new login with the specified email address and password. Note: Any given email address can only exist once in the entire Evo Voice system. ''' Public Partial Class NewUser Implements IReturn(Of UserInfo) Implements IPost ''' '''The account ID you want to create this user under ''' Public Overridable Property AccountId As String ''' '''The email address of the new user ''' Public Overridable Property EmailAddress As String ''' '''The user's first name ''' Public Overridable Property FirstName As String ''' '''The user's last name ''' Public Overridable Property LastName As String ''' '''The password for the new user ''' Public Overridable Property Password As String End Class Public Partial Class UserInfo Public Overridable Property Id As String Public Overridable Property IsAuthenticated As Boolean Public Overridable Property FirstName As String Public Overridable Property LastName As String Public Overridable Property Name As String Public Overridable Property AvatarUrl As String Public Overridable Property EmailAddress As String Public Overridable Property Roles As List(Of String) Public Overridable Property AccountIds As List(Of String) Public Overridable Property AccountNames As List(Of String) Public Overridable Property DashboardPermissions As List(Of DashboardPermissions) End Class End Namespace End Namespace