/* Options: Date: 2026-08-27 07:59:46 SwiftVersion: 6.0 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetUserAuth.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/user/{userId}/authorize", "GET") public class GetUserAuth : IReturn, Codable { public typealias Return = GetUserAuthResponse /** * User's UserID */ // @ApiMember(Description="User's UserID", IsRequired=true) public var userId:String? required public init(){} } public class GetUserAuthResponse : List { required public init(){ super.init() } required public init(from decoder: Decoder) throws { try super.init(from: decoder) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) } } public class Auth : Codable { /** * Brand Trigram */ // @ApiMember(Description="Brand Trigram", IsRequired=true) public var brand:String? /** * List of Pos Group - in case of internal user */ // @ApiMember(Description="List of Pos Group - in case of internal user") public var posGroups:[Int]? /** * Pos Code - in case of external users */ // @ApiMember(Description="Pos Code - in case of external users") public var posCode:String? /** * Country ID of the POS */ // @ApiMember(Description="Country ID of the POS", IsRequired=true) public var countryId:String? /** * List of user roles */ // @ApiMember(Description="List of user roles", IsRequired=true) public var roles:[String] = [] required public init(){} }