/* Options: Date: 2026-04-26 18:44:38 SwiftVersion: 6.0 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: CreateAxemaUserSync.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/codelock/axema/usersync", "POST") // @ValidateRequest(Validator="IsAuthenticated") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privileges to call this service", StatusCode=403) public class CreateAxemaUserSync : IReturn, ICompany, Codable { public typealias Return = AxemaUserSyncJobResponse /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public var companyId:String? required public init(){} } public class AxemaUserSyncJobResponse : Codable { public var id:String? public var companyId:String? public var status:Int? public var statusName:String? public var usersFound:Int? public var usersCreated:Int? public var usersUpdated:Int? public var errorMessage:String? public var createdDate:Date? public var updatedDate:Date? required public init(){} } public protocol ICompany { var companyId:String? { get set } }