/* Options: Date: 2025-01-18 06:55:28 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SyncCompanyCustomerMembers.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class MemberTag { public Id: number; public Name: string; public DateAdded?: string; public Status: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class MemberResponse { public EmailAddress: string; public FullName: string; public Tags: MemberTag[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SyncMembersResponse { public FailedSyncedMembers: MemberResponse[]; public SuccessSyncedMembers: MemberResponse[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/mailchimp/member/company/customer/sync", "PUT") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) export class SyncCompanyCustomerMembers implements IReturn, ICompany { /** @description 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 CompanyId?: string; /** @description Should we delete emails that do not exist in BokaMera. */ // @ApiMember(Description="Should we delete emails that do not exist in BokaMera.") public DeleteNonExisting: boolean; /** @description Should we target only subscribed to newsletter customers. */ // @ApiMember(Description="Should we target only subscribed to newsletter customers.") public OnlySubscribed: boolean; /** @description Determines if it is a test user */ // @ApiMember(Description="Determines if it is a test user") public Test: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SyncCompanyCustomerMembers'; } public getMethod() { return 'PUT'; } public createResponse() { return new SyncMembersResponse(); } }