/* Options: Date: 2024-06-26 09:19:12 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: EAccountingCheckAuthentication.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/eaccounting/check", "GET") public class EAccountingCheckAuthentication : IReturn, ICompany, Codable { public typealias Return = EaccountingToken public var companyId:String? required public init(){} } public class EaccountingToken : Codable { public var accessToken:String public var refreshToken:String public var tokenType:String public var expiresIn:Int public var expiresAt:Date required public init(){} } public protocol ICompany { var companyId:String? { get set } }