/* Options: Date: 2026-09-24 05:45:56 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateVossSubscriptionScheduledChange.* //ExcludeTypes: //DefaultImports: */ // @ts-nocheck export interface IReturn { createResponse(): T; } export enum TypeEnum { AtSubscriptionBillingPeriodEnd = 'AtSubscriptionBillingPeriodEnd', AtBindingPeriodEnd = 'AtBindingPeriodEnd', } export enum StatusEnum { Active = 'Active', Terminated = 'Terminated', } // @DataContract(Name="SubscriptionScheduledChangePackageResult") export class SubscriptionScheduledChangePackageResult { // @DataMember(Name="id", IsRequired=true) public id: string; // @DataMember(Name="versionId", IsRequired=true) public versionId: string; // @DataMember(Name="name", IsRequired=true) public name: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract(Name="SubscriptionScheduledChangeTierResult") export class SubscriptionScheduledChangeTierResult { // @DataMember(Name="id", IsRequired=true) public id: string; // @DataMember(Name="name", IsRequired=true) public name: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract(Name="SubscriptionScheduledChangePlanResult") export class SubscriptionScheduledChangePlanResult { // @DataMember(Name="id", IsRequired=true) public id: string; // @DataMember(Name="name", IsRequired=true) public name: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract(Name="SubscriptionScheduledChangeSalesInformationResult") export class SubscriptionScheduledChangeSalesInformationResult { // @DataMember(Name="salesPersonId") public salesPersonId: string; // @DataMember(Name="salesDepartmentId") public salesDepartmentId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract(Name="SubscriptionScheduledChangeResult") export class SubscriptionScheduledChangeResult { // @DataMember(Name="type") public type: TypeEnum; // @DataMember(Name="status", IsRequired=true) public status: StatusEnum; // @DataMember(Name="id", IsRequired=true) public id: string; // @DataMember(Name="package") public package: SubscriptionScheduledChangePackageResult; // @DataMember(Name="tier") public tier: SubscriptionScheduledChangeTierResult; // @DataMember(Name="plan") public plan: SubscriptionScheduledChangePlanResult; // @DataMember(Name="scheduledDate", IsRequired=true) public scheduledDate: string; // @DataMember(Name="salesInformation") public salesInformation: SubscriptionScheduledChangeSalesInformationResult; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/voss/subscriptions/{SubscriptionId}/scheduledChanges/{Id}", "PUT") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) export class UpdateVossSubscriptionScheduledChange implements IReturn { /** @description The subscription id */ // @ApiMember(Description="The subscription id", IsRequired=true) public SubscriptionId: string; /** @description The subscription scheduled change id */ // @ApiMember(Description="The subscription scheduled change id", IsRequired=true) public Id: string; /** @description Controls when the scheduled change will be executed: <br />AtSubscriptionBillingPeriodEnd - after the currently latest subscription billing period ends <br />AtBindingPeriodEnd - after the currently latest subscription binding period ends */ // @ApiMember(Description="Controls when the scheduled change will be executed: <br />AtSubscriptionBillingPeriodEnd - after the currently latest subscription billing period ends <br />AtBindingPeriodEnd - after the currently latest subscription binding period ends", IsRequired=true) public Type: TypeEnum; /** @description Optional package version id; if omitted the current version of the subscription package is used */ // @ApiMember(Description="Optional package version id; if omitted the current version of the subscription package is used") public VersionId?: string; /** @description The id of a package which will be active after the scheduled change is executed; if provided the tier id and plan id have to be provided as well */ // @ApiMember(Description="The id of a package which will be active after the scheduled change is executed; if provided the tier id and plan id have to be provided as well") public PackageId?: string; /** @description The id of a tier which will be active after the scheduled change is executed; can be omitted if PlanId is provided instead */ // @ApiMember(Description="The id of a tier which will be active after the scheduled change is executed; can be omitted if PlanId is provided instead") public TierId?: string; /** @description The id of a plan which will be active after the scheduled change is executed; can be omitted if TierId is provided instead */ // @ApiMember(Description="The id of a plan which will be active after the scheduled change is executed; can be omitted if TierId is provided instead") public PlanId?: string; /** @description How many periods (counting from the latest period) must pass before the scheduled change is executed; if omitted the change is executed on the latest period end */ // @ApiMember(Description="How many periods (counting from the latest period) must pass before the scheduled change is executed; if omitted the change is executed on the latest period end") public PeriodIterationCount?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UpdateVossSubscriptionScheduledChange'; } public getMethod() { return 'PUT'; } public createResponse() { return new SubscriptionScheduledChangeResult(); } }