@arrowsphere/api-client 3.349.0 → 3.350.0-rc-cpe-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -245,7 +245,10 @@ export declare type PostUpgrade = {
245
245
  billingCycle: number;
246
246
  term: number;
247
247
  quantity: number;
248
- };
248
+ } & ExtraInformationType;
249
+ export declare type PostUpgradeToExisting = {
250
+ quantity: number;
251
+ } & ExtraInformationType;
249
252
  export declare enum SaveBillingCommentsInputFields {
250
253
  COLUMN_COMMENT_ONE = "comment1",
251
254
  COLUMN_COMMENT_TWO = "comment2"
@@ -434,7 +437,7 @@ export declare class LicensesClient extends AbstractRestfulClient {
434
437
  reactivateAutoRenew(licenseReference: string, payload?: PutReactivateAutoRenew, parameters?: Parameters): Promise<void>;
435
438
  activeRenewExtendedServiceTerm(licenseReference: string, payload?: PutActivateRenewEst, parameters?: Parameters): Promise<void>;
436
439
  upgrade(licenseReference: string, payload: PostUpgrade, parameters?: Parameters): Promise<GetResult<UpgradeResult>>;
437
- upgradeToExisting(licenseReference: string, targetLicenseReference: string, quantity: number, parameters?: Parameters): Promise<void>;
440
+ upgradeToExisting(licenseReference: string, targetLicenseReference: string, payload: PostUpgradeToExisting, parameters?: Parameters): Promise<void>;
438
441
  saveBillingComments(licenseReference: string, payload: SaveBillingCommentsInputType, parameters?: Parameters): Promise<void>;
439
442
  getConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
440
443
  getExistingConversionSku(licenseReference: string, parameters?: Parameters): Promise<GetResult<LicenseConversionSkuResult>>;
@@ -460,9 +460,9 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
460
460
  this.path = `/${licenseReference}${this.UPGRADE_PATH}`;
461
461
  return new getResult_1.GetResult(upgradeResult_1.UpgradeResult, await this.post(payload, parameters));
462
462
  }
463
- async upgradeToExisting(licenseReference, targetLicenseReference, quantity, parameters = {}) {
463
+ async upgradeToExisting(licenseReference, targetLicenseReference, payload, parameters = {}) {
464
464
  this.path = `/${licenseReference}${this.UPGRADE_PATH}/${targetLicenseReference}`;
465
- await this.post({ quantity }, parameters);
465
+ await this.post(payload, parameters);
466
466
  }
467
467
  async saveBillingComments(licenseReference, payload, parameters = {}) {
468
468
  this.path = `/${licenseReference}${this.SAVE_BILLING_COMMENTS_PATH}`;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.349.0",
7
+ "version": "3.350.0-rc-cpe-1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",