/* Options: Date: 2026-09-23 05:51:36 SwiftVersion: 6.0 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.dev //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: ArticleMappingsQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/articles/mappings", "GET") // @ValidateRequest(Validator="IsAuthenticated") public class ArticleMappingsQuery : IReturn, ICompany, Codable { public typealias Return = [ArticleMappingResponse] /** * Company to show article mappings for */ // @ApiMember(Description="Company to show article mappings for") public var companyId:String? /** * The Reference Type to filter on: StripeArticle, EAccountingArticle */ // @ApiMember(Description="The Reference Type to filter on: StripeArticle, EAccountingArticle") public var referenceType:String? /** * Article to show mappings for */ // @ApiMember(Description="Article to show mappings for") public var articleId:Int? required public init(){} } public protocol ICompany { var companyId:String? { get set } } public class ArticleMappingResponse : Codable { /** * The company id */ // @ApiMember(Description="The company id") public var companyId:String? /** * The id */ // @ApiMember(Description="The id") public var id:String? /** * The BokaMera article id */ // @ApiMember(Description="The BokaMera article id") public var articleId:Int? /** * The external reference */ // @ApiMember(Description="The external reference") public var externalReference:String? /** * The Reference Type */ // @ApiMember(Description="The Reference Type") public var referenceType:String? required public init(){} }