@arrowsphere/api-client 3.354.0-rc.jpb.1 → 3.354.0-rc.jpb.3

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.
@@ -64,6 +64,7 @@ export declare class ActionsGetResult extends AbstractEntity<ActionsGetData> {
64
64
  get autoRenewToEst(): string | undefined;
65
65
  get cancel(): string | undefined;
66
66
  get conversion(): string | undefined;
67
+ get lateRenewal(): string | undefined;
67
68
  get pause(): string | undefined;
68
69
  get upgrade(): string | undefined;
69
70
  get updateFriendlyName(): string | undefined;
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _ActionsGetResult_history, _ActionsGetResult_update, _ActionsGetResult_increaseSeats, _ActionsGetResult_decreaseSeats, _ActionsGetResult_addons_catalog, _ActionsGetResult_suspend, _ActionsGetResult_reactivate, _ActionsGetResult_autoRenewOff, _ActionsGetResult_autoRenewOn, _ActionsGetResult_autoRenewToEst, _ActionsGetResult_cancel, _ActionsGetResult_conversion, _ActionsGetResult_pause, _ActionsGetResult_upgrade, _ActionsGetResult_updateFriendlyName, _ActionsGetResult_scheduledTask, _ActionsGetResult_scheduledTaskDetails;
13
+ var _ActionsGetResult_history, _ActionsGetResult_update, _ActionsGetResult_increaseSeats, _ActionsGetResult_decreaseSeats, _ActionsGetResult_addons_catalog, _ActionsGetResult_suspend, _ActionsGetResult_reactivate, _ActionsGetResult_autoRenewOff, _ActionsGetResult_autoRenewOn, _ActionsGetResult_autoRenewToEst, _ActionsGetResult_cancel, _ActionsGetResult_conversion, _ActionsGetResult_lateRenewal, _ActionsGetResult_pause, _ActionsGetResult_upgrade, _ActionsGetResult_updateFriendlyName, _ActionsGetResult_scheduledTask, _ActionsGetResult_scheduledTaskDetails;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ActionsGetResult = exports.ActionsGetFields = exports.ScheduledTaskDetailsFields = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -56,6 +56,7 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
56
56
  _ActionsGetResult_autoRenewToEst.set(this, void 0);
57
57
  _ActionsGetResult_cancel.set(this, void 0);
58
58
  _ActionsGetResult_conversion.set(this, void 0);
59
+ _ActionsGetResult_lateRenewal.set(this, void 0);
59
60
  _ActionsGetResult_pause.set(this, void 0);
60
61
  _ActionsGetResult_upgrade.set(this, void 0);
61
62
  _ActionsGetResult_updateFriendlyName.set(this, void 0);
@@ -73,6 +74,7 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
73
74
  __classPrivateFieldSet(this, _ActionsGetResult_autoRenewToEst, data[ActionsGetFields.COLUMN_AUTO_RENEW_TO_EST], "f");
74
75
  __classPrivateFieldSet(this, _ActionsGetResult_cancel, data[ActionsGetFields.COLUMN_CANCEL], "f");
75
76
  __classPrivateFieldSet(this, _ActionsGetResult_conversion, data[ActionsGetFields.COLUMN_CONVERSION], "f");
77
+ __classPrivateFieldSet(this, _ActionsGetResult_lateRenewal, data[ActionsGetFields.COLUMN_LATE_RENEWAL], "f");
76
78
  __classPrivateFieldSet(this, _ActionsGetResult_pause, data[ActionsGetFields.COLUMN_PAUSE], "f");
77
79
  __classPrivateFieldSet(this, _ActionsGetResult_upgrade, data[ActionsGetFields.COLUMN_UPGRADE], "f");
78
80
  __classPrivateFieldSet(this, _ActionsGetResult_updateFriendlyName, data[ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME], "f");
@@ -115,6 +117,9 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
115
117
  get conversion() {
116
118
  return __classPrivateFieldGet(this, _ActionsGetResult_conversion, "f");
117
119
  }
120
+ get lateRenewal() {
121
+ return __classPrivateFieldGet(this, _ActionsGetResult_lateRenewal, "f");
122
+ }
118
123
  get pause() {
119
124
  return __classPrivateFieldGet(this, _ActionsGetResult_pause, "f");
120
125
  }
@@ -144,6 +149,7 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
144
149
  [ActionsGetFields.COLUMN_AUTO_RENEW_TO_EST]: this.autoRenewToEst,
145
150
  [ActionsGetFields.COLUMN_CANCEL]: this.cancel,
146
151
  [ActionsGetFields.COLUMN_CONVERSION]: this.conversion,
152
+ [ActionsGetFields.COLUMN_LATE_RENEWAL]: this.lateRenewal,
147
153
  [ActionsGetFields.COLUMN_PAUSE]: this.pause,
148
154
  [ActionsGetFields.COLUMN_UPGRADE]: this.upgrade,
149
155
  [ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME]: this.updateFriendlyName,
@@ -154,5 +160,5 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
154
160
  }
155
161
  }
156
162
  exports.ActionsGetResult = ActionsGetResult;
157
- _ActionsGetResult_history = new WeakMap(), _ActionsGetResult_update = new WeakMap(), _ActionsGetResult_increaseSeats = new WeakMap(), _ActionsGetResult_decreaseSeats = new WeakMap(), _ActionsGetResult_addons_catalog = new WeakMap(), _ActionsGetResult_suspend = new WeakMap(), _ActionsGetResult_reactivate = new WeakMap(), _ActionsGetResult_autoRenewOff = new WeakMap(), _ActionsGetResult_autoRenewOn = new WeakMap(), _ActionsGetResult_autoRenewToEst = new WeakMap(), _ActionsGetResult_cancel = new WeakMap(), _ActionsGetResult_conversion = new WeakMap(), _ActionsGetResult_pause = new WeakMap(), _ActionsGetResult_upgrade = new WeakMap(), _ActionsGetResult_updateFriendlyName = new WeakMap(), _ActionsGetResult_scheduledTask = new WeakMap(), _ActionsGetResult_scheduledTaskDetails = new WeakMap();
163
+ _ActionsGetResult_history = new WeakMap(), _ActionsGetResult_update = new WeakMap(), _ActionsGetResult_increaseSeats = new WeakMap(), _ActionsGetResult_decreaseSeats = new WeakMap(), _ActionsGetResult_addons_catalog = new WeakMap(), _ActionsGetResult_suspend = new WeakMap(), _ActionsGetResult_reactivate = new WeakMap(), _ActionsGetResult_autoRenewOff = new WeakMap(), _ActionsGetResult_autoRenewOn = new WeakMap(), _ActionsGetResult_autoRenewToEst = new WeakMap(), _ActionsGetResult_cancel = new WeakMap(), _ActionsGetResult_conversion = new WeakMap(), _ActionsGetResult_lateRenewal = new WeakMap(), _ActionsGetResult_pause = new WeakMap(), _ActionsGetResult_upgrade = new WeakMap(), _ActionsGetResult_updateFriendlyName = new WeakMap(), _ActionsGetResult_scheduledTask = new WeakMap(), _ActionsGetResult_scheduledTaskDetails = new WeakMap();
158
164
  //# sourceMappingURL=actionsGetResult.js.map
@@ -0,0 +1,6 @@
1
+ export declare type LateRenewableLicenseData = {
2
+ vendorSku: string;
3
+ quantity: number;
4
+ licenseRef?: string;
5
+ offerName?: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=LicenseRenewableLicenseData.js.map
@@ -0,0 +1,7 @@
1
+ import { AbstractEntity } from '../../../abstractEntity';
2
+ import { LateRenewableLicenseData } from './LicenseRenewableLicenseData';
3
+ export declare class LateRenewableLicenseResult extends AbstractEntity<LateRenewableLicenseData> {
4
+ #private;
5
+ constructor(data: LateRenewableLicenseData);
6
+ toJSON(): LateRenewableLicenseData;
7
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _LateRenewableLicenseResult_vendorSku, _LateRenewableLicenseResult_quantity, _LateRenewableLicenseResult_licenseRef, _LateRenewableLicenseResult_offerName;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.LateRenewableLicenseResult = void 0;
16
+ const abstractEntity_1 = require("../../../abstractEntity");
17
+ class LateRenewableLicenseResult extends abstractEntity_1.AbstractEntity {
18
+ constructor(data) {
19
+ super(data !== null && data !== void 0 ? data : {});
20
+ _LateRenewableLicenseResult_vendorSku.set(this, void 0);
21
+ _LateRenewableLicenseResult_quantity.set(this, void 0);
22
+ _LateRenewableLicenseResult_licenseRef.set(this, void 0);
23
+ _LateRenewableLicenseResult_offerName.set(this, void 0);
24
+ __classPrivateFieldSet(this, _LateRenewableLicenseResult_vendorSku, data.vendorSku, "f");
25
+ __classPrivateFieldSet(this, _LateRenewableLicenseResult_quantity, data.quantity, "f");
26
+ __classPrivateFieldSet(this, _LateRenewableLicenseResult_licenseRef, data === null || data === void 0 ? void 0 : data.licenseRef, "f");
27
+ __classPrivateFieldSet(this, _LateRenewableLicenseResult_offerName, data === null || data === void 0 ? void 0 : data.offerName, "f");
28
+ }
29
+ toJSON() {
30
+ return {
31
+ vendorSku: __classPrivateFieldGet(this, _LateRenewableLicenseResult_vendorSku, "f"),
32
+ quantity: __classPrivateFieldGet(this, _LateRenewableLicenseResult_quantity, "f"),
33
+ ...(__classPrivateFieldGet(this, _LateRenewableLicenseResult_licenseRef, "f") ? { licenseRef: __classPrivateFieldGet(this, _LateRenewableLicenseResult_licenseRef, "f") } : {}),
34
+ ...(__classPrivateFieldGet(this, _LateRenewableLicenseResult_offerName, "f") ? { offerName: __classPrivateFieldGet(this, _LateRenewableLicenseResult_offerName, "f") } : {}),
35
+ };
36
+ }
37
+ }
38
+ exports.LateRenewableLicenseResult = LateRenewableLicenseResult;
39
+ _LateRenewableLicenseResult_vendorSku = new WeakMap(), _LateRenewableLicenseResult_quantity = new WeakMap(), _LateRenewableLicenseResult_licenseRef = new WeakMap(), _LateRenewableLicenseResult_offerName = new WeakMap();
40
+ //# sourceMappingURL=lateRenewableLicenseResult.js.map
@@ -31,6 +31,7 @@ import { LicenceCouponCodeHistoryResult } from './entities/history/licenceCoupon
31
31
  import { GetLicenseAttachmentsResult } from './entities/attachment/GetLicenseAttachmentsResult';
32
32
  import { PostLicenseAttachmentResult } from './entities/attachment/PostLicenseAttachmentResult';
33
33
  import { DynamicAttributesMappingResult } from './entities/license/dynamicMappingResult';
34
+ import { LateRenewableLicenseResult } from './entities/lateRenewalLicense/lateRenewableLicenseResult';
34
35
  /**
35
36
  * Parameters passable to the request for refining search.
36
37
  */
@@ -422,6 +423,7 @@ export declare class LicensesClient extends AbstractRestfulClient {
422
423
  bulkAction(bulkData: BulkBodyArgument): Promise<void>;
423
424
  updateConfig(reference: string, config: ConfigFindResult): Promise<GetResult<ConfigFindResult>>;
424
425
  getLicense(licenseReference: string, parameters?: Parameters): Promise<GetResult<GetLicenseResult>>;
426
+ getLateRenewableLicenses(parameters?: Parameters): Promise<GetResult<LateRenewableLicenseResult>>;
425
427
  updateLicense(licenseReference: string, payload: UpdateLicenseData, parameters?: Parameters): Promise<void | PartialResponse>;
426
428
  updateSeats(licenseReference: string, putData: UpdateSeatsData, parameters?: Parameters): Promise<void>;
427
429
  suspendLicense(licenseReference: string, payload?: PutSuspend, parameters?: Parameters): Promise<void>;
@@ -25,6 +25,7 @@ const licenceCouponCodeHistoryResult_1 = require("./entities/history/licenceCoup
25
25
  const GetLicenseAttachmentsResult_1 = require("./entities/attachment/GetLicenseAttachmentsResult");
26
26
  const PostLicenseAttachmentResult_1 = require("./entities/attachment/PostLicenseAttachmentResult");
27
27
  const dynamicMappingResult_1 = require("./entities/license/dynamicMappingResult");
28
+ const lateRenewableLicenseResult_1 = require("./entities/lateRenewalLicense/lateRenewableLicenseResult");
28
29
  /**
29
30
  * Parameters passable to the request for refining search.
30
31
  */
@@ -409,6 +410,10 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
409
410
  this.path = `/${licenseReference}`;
410
411
  return new getResult_1.GetResult(getLicenseResult_1.GetLicenseResult, await this.get(parameters));
411
412
  }
413
+ async getLateRenewableLicenses(parameters = {}) {
414
+ this.path = `/listEligibleAdobeLateRenew`;
415
+ return new getResult_1.GetResult(lateRenewableLicenseResult_1.LateRenewableLicenseResult, await this.get(parameters));
416
+ }
412
417
  async updateLicense(licenseReference, payload, parameters = {}) {
413
418
  this.path = `/${licenseReference}`;
414
419
  const response = await this.patch(payload, parameters);
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.354.0-rc.jpb.1",
7
+ "version": "3.354.0-rc.jpb.3",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",