/* Options: Date: 2025-08-04 04:08:39 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://szallitoiportal-be.veolia.hu //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BrowseCurrentUser.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/user/current", Verbs="GET") open class BrowseCurrentUser : IReturn, IGet { companion object { private val responseType = BrowseCurrentUserResponse::class.java } override fun getResponseType(): Any? = BrowseCurrentUser.responseType } open class BrowseCurrentUserResponse : ResponseBase() { var User:CurrentUser? = null } enum class BusinessType(val value:Int) { @SerializedName("0") Company(0), @SerializedName("1") PrivateEntrepreneur(1), @SerializedName("2") NonProfit(2), @SerializedName("3") LawOffice(3), } enum class SupplierStatus(val value:Int) { @SerializedName("0") Registered(0), @SerializedName("1") AwaitingVeoliaConfirmation(1), @SerializedName("2") Active(2), @SerializedName("3") Rejected(3), @SerializedName("4") Locked(4), @SerializedName("5") Deleted(5), } open class ResponseBase { var ResponseStatus:ResponseStatus? = null } open class SupplierSimple { var Id:Int? = null var OwnerId:Int? = null var VatNumber:String? = null var BusinessType:BusinessType? = null var CountryId:Int? = null var Name:String? = null var ShortName:String? = null var RegistrationNumber:String? = null var EstablishedDate:Date? = null var RegistrationDate:Date? = null var Duns:String? = null var OperatingLicenseNumber:String? = null var IsAccounting:Boolean? = null var IsSmallTaxPayer:Boolean? = null var Email:String? = null var PhoneNumber:String? = null var Website:String? = null } open class CurrentUser { var Id:Int? = null var Email:String? = null var UserName:String? = null var PhoneNumber:String? = null var DisplayName:String? = null var OrganizationUnit:String? = null var Position:String? = null var Status:Int? = null var Supplier:CurrentSupplier? = null var Roles:ArrayList = ArrayList() var Permissions:ArrayList = ArrayList() } open class CurrentSupplier : SupplierSimple() { var Status:SupplierStatus? = null }