/* Options: Date: 2025-05-04 22:19:20 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: 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 */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Voice.Api.Authentication; namespace Voice.Api.Authentication { public enum DashboardPermissions { ViewFiles, ViewNotifications, ViewSessions, ViewEndpoints, ViewReports, ViewCustomers, ViewFlows, } /// ///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. /// [Route("/users", "POST")] [Api(Description="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 : IReturn, IPost { /// ///The account ID you want to create this user under /// [ApiMember(Description="The account ID you want to create this user under")] public virtual string AccountId { get; set; } /// ///The email address of the new user /// [ApiMember(Description="The email address of the new user")] public virtual string EmailAddress { get; set; } /// ///The user's first name /// [ApiMember(Description="The user's first name")] public virtual string FirstName { get; set; } /// ///The user's last name /// [ApiMember(Description="The user's last name")] public virtual string LastName { get; set; } /// ///The password for the new user /// [ApiMember(Description="The password for the new user")] public virtual string Password { get; set; } } public partial class UserInfo { public virtual string Id { get; set; } public virtual bool IsAuthenticated { get; set; } public virtual string FirstName { get; set; } public virtual string LastName { get; set; } public virtual string Name { get; set; } public virtual string AvatarUrl { get; set; } public virtual string EmailAddress { get; set; } public virtual List Roles { get; set; } public virtual List AccountIds { get; set; } public virtual List AccountNames { get; set; } public virtual List DashboardPermissions { get; set; } } }