@arrowsphere/api-client 3.354.0-rc.jpb.2 → 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.
- package/build/licenses/entities/lateRenewalLicense/LicenseRenewableLicenseData.d.ts +6 -0
- package/build/licenses/entities/lateRenewalLicense/LicenseRenewableLicenseData.js +3 -0
- package/build/licenses/entities/lateRenewalLicense/lateRenewableLicenseResult.d.ts +7 -0
- package/build/licenses/entities/lateRenewalLicense/lateRenewableLicenseResult.js +40 -0
- package/build/licenses/licensesClient.d.ts +2 -0
- package/build/licenses/licensesClient.js +5 -0
- package/package.json +1 -1
|
@@ -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.
|
|
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",
|