/* Options: Date: 2025-09-13 18:26:46 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: SyncCompanyMembers.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/mailchimp/member/company/sync", "PUT") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) public class SyncCompanyMembers : IReturn, Codable { public typealias Return = SyncMembersResponse /** * Should we delete emails that do not exist in BokaMera. */ // @ApiMember(Description="Should we delete emails that do not exist in BokaMera.") public var deleteNonExisting:Bool? /** * Determines if it is a test user */ // @ApiMember(Description="Determines if it is a test user") public var test:Bool? /** * The company id of member of which members you want to sync. */ // @ApiMember(Description="The company id of member of which members you want to sync.") public var memberCompanyId:String? required public init(){} } public class SyncMembersResponse : Codable { public var failedSyncedMembers:[MemberResponse]? public var successfullySyncedMemberCount:Int? required public init(){} } public class MemberResponse : Codable { public var emailAddress:String? public var fullName:String? public var tags:[MemberTag]? required public init(){} } public class MemberTag : Codable { public var name:String? public var status:String? required public init(){} }