/* Options: Date: 2025-05-04 22:56:15 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: NewUser.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * 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(Path="/users", Verbs="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.") open 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") open var accountId:String? = null /** * The email address of the new user */ @ApiMember(Description="The email address of the new user") open var emailAddress:String? = null /** * The user's first name */ @ApiMember(Description="The user's first name") open var firstName:String? = null /** * The user's last name */ @ApiMember(Description="The user's last name") open var lastName:String? = null /** * The password for the new user */ @ApiMember(Description="The password for the new user") open var password:String? = null companion object { private val responseType = UserInfo::class.java } override fun getResponseType(): Any? = NewUser.responseType } open class UserInfo { open var id:String? = null open var isAuthenticated:Boolean? = null open var firstName:String? = null open var lastName:String? = null open var name:String? = null open var avatarUrl:String? = null open var emailAddress:String? = null open var roles:ArrayList? = null open var accountIds:ArrayList? = null open var accountNames:ArrayList? = null open var dashboardPermissions:ArrayList? = null } enum class DashboardPermissions { ViewFiles, ViewNotifications, ViewSessions, ViewEndpoints, ViewReports, ViewCustomers, ViewFlows, }