/* Options: Date: 2026-08-27 08:07:47 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: GetSalesReps.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/salesReps/{brand}/{posCode}", "GET") public class GetSalesReps : IReturn, Codable { public typealias Return = GetSalesRepsResponse /** * Brand Triagram, e.g. CAR, IWC, VAC */ // @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true) public var brand:String? /** * Point of Sale Code, e.g. ES100:102048 */ // @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true) public var posCode:String? /** * Booster Customer Id */ // @ApiMember(Description="Booster Customer Id") public var boosterCustomerId:Int? /** * Whether the sales representative's account is locked. */ // @ApiMember(Description="Whether the sales representative's account is locked.") public var accountLocked:Bool? /** * Whether the sales representative's account is pinned. */ // @ApiMember(Description="Whether the sales representative's account is pinned.") public var isPinned:Bool? required public init(){} } public class GetSalesRepsResponse : 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 SalesRep : Codable { /** * The first name of the sales representative. */ // @ApiMember(Description="The first name of the sales representative.", IsRequired=true) public var firstName:String? /** * The last name of the sales representative. */ // @ApiMember(Description="The last name of the sales representative.", IsRequired=true) public var lastName:String? /** * The email address of the sales representative. */ // @ApiMember(Description="The email address of the sales representative.", IsRequired=true) public var email:String? /** * The unique user ID of the sales representative. */ // @ApiMember(Description="The unique user ID of the sales representative.", IsRequired=true) public var userId:String? /** * Whether the sales representative's account is locked. */ // @ApiMember(Description="Whether the sales representative's account is locked.", IsRequired=true) public var accountLocked:Bool? /** * Whether the sales representative's account is pinned. */ // @ApiMember(Description="Whether the sales representative's account is pinned.", IsRequired=true) public var isPinned:Bool? required public init(){} }