@arrowsphere/api-client 3.72.0 → 3.73.0-rc.bdj.2
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/CHANGELOG.md +5 -0
- package/build/licenses/entities/getLicense/licenseGetResult.d.ts +5 -1
- package/build/licenses/entities/getLicense/licenseGetResult.js +13 -3
- package/build/licenses/entities/getLicense/priceBandGetResult.d.ts +14 -0
- package/build/licenses/entities/getLicense/priceBandGetResult.js +43 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
4
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [3.73.0] - 2023-12-06
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- Add License priceBand saleConstrainst
|
|
10
|
+
|
|
6
11
|
## [3.72.0] - 2023-12-05
|
|
7
12
|
|
|
8
13
|
### Changed
|
|
@@ -8,6 +8,7 @@ import { SecurityFindResult, SecurityFindResultData } from '../license/securityF
|
|
|
8
8
|
import { PromotionData, PromotionFindResult } from './promotionFindResult';
|
|
9
9
|
import { AssetsData, AssetsFindResult } from './assetsFindResult';
|
|
10
10
|
import { ExtraData, ExtraDataFindResult } from './extraDataFindResult';
|
|
11
|
+
import { PriceBandData, PriceBandGetResult } from './priceBandGetResult';
|
|
11
12
|
export declare enum LicenseGetFields {
|
|
12
13
|
COLUMN_LICENSE_ID = "license_id",
|
|
13
14
|
COLUMN_PARENT_LICENSE_ID = "parent_license_id",
|
|
@@ -45,7 +46,8 @@ export declare enum LicenseGetFields {
|
|
|
45
46
|
COLUMN_PROMOTION = "promotion",
|
|
46
47
|
COLUMN_ASSETS = "assets",
|
|
47
48
|
COLUMN_VENDOR_BILLING_ID = "vendorBillingId",
|
|
48
|
-
COLUMN_EXTRA_DATA = "extraData"
|
|
49
|
+
COLUMN_EXTRA_DATA = "extraData",
|
|
50
|
+
COLUMN_PRICE_BAND = "priceBand"
|
|
49
51
|
}
|
|
50
52
|
export declare type LicenseGetData = {
|
|
51
53
|
[LicenseGetFields.COLUMN_LICENSE_ID]: string;
|
|
@@ -85,6 +87,7 @@ export declare type LicenseGetData = {
|
|
|
85
87
|
[LicenseGetFields.COLUMN_ASSETS]?: AssetsData;
|
|
86
88
|
[LicenseGetFields.COLUMN_VENDOR_BILLING_ID]?: string | null;
|
|
87
89
|
[LicenseGetFields.COLUMN_EXTRA_DATA]?: ExtraData[];
|
|
90
|
+
[LicenseGetFields.COLUMN_PRICE_BAND]?: PriceBandData;
|
|
88
91
|
};
|
|
89
92
|
export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
|
|
90
93
|
#private;
|
|
@@ -126,5 +129,6 @@ export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
|
|
|
126
129
|
get assets(): AssetsFindResult | undefined;
|
|
127
130
|
get vendorBillingId(): string | null | undefined;
|
|
128
131
|
get extraData(): ExtraDataFindResult[] | undefined;
|
|
132
|
+
get priceBand(): PriceBandGetResult | undefined;
|
|
129
133
|
toJSON(): LicenseGetData;
|
|
130
134
|
}
|
|
@@ -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 _LicenseGetResult_license_id, _LicenseGetResult_parent_license_id, _LicenseGetResult_friendlyName, _LicenseGetResult_customer_ref, _LicenseGetResult_state, _LicenseGetResult_statusCode, _LicenseGetResult_isTrial, _LicenseGetResult_isAddon, _LicenseGetResult_service_ref, _LicenseGetResult_sku, _LicenseGetResult_name, _LicenseGetResult_seats, _LicenseGetResult_activeSeats, _LicenseGetResult_security, _LicenseGetResult_activation_datetime, _LicenseGetResult_expiry_datetime, _LicenseGetResult_autoRenew, _LicenseGetResult_message, _LicenseGetResult_actions, _LicenseGetResult_actionMessages, _LicenseGetResult_order_reference, _LicenseGetResult_order, _LicenseGetResult_vendor_license_id, _LicenseGetResult_periodicity, _LicenseGetResult_periodicityCode, _LicenseGetResult_term, _LicenseGetResult_termCode, _LicenseGetResult_category, _LicenseGetResult_program, _LicenseGetResult_associatedSubscriptionProgram, _LicenseGetResult_price, _LicenseGetResult_arrowSubCategories, _LicenseGetResult_nextRenewalDate, _LicenseGetResult_promotion, _LicenseGetResult_assets, _LicenseGetResult_vendorBillingId, _LicenseGetResult_extraData;
|
|
13
|
+
var _LicenseGetResult_license_id, _LicenseGetResult_parent_license_id, _LicenseGetResult_friendlyName, _LicenseGetResult_customer_ref, _LicenseGetResult_state, _LicenseGetResult_statusCode, _LicenseGetResult_isTrial, _LicenseGetResult_isAddon, _LicenseGetResult_service_ref, _LicenseGetResult_sku, _LicenseGetResult_name, _LicenseGetResult_seats, _LicenseGetResult_activeSeats, _LicenseGetResult_security, _LicenseGetResult_activation_datetime, _LicenseGetResult_expiry_datetime, _LicenseGetResult_autoRenew, _LicenseGetResult_message, _LicenseGetResult_actions, _LicenseGetResult_actionMessages, _LicenseGetResult_order_reference, _LicenseGetResult_order, _LicenseGetResult_vendor_license_id, _LicenseGetResult_periodicity, _LicenseGetResult_periodicityCode, _LicenseGetResult_term, _LicenseGetResult_termCode, _LicenseGetResult_category, _LicenseGetResult_program, _LicenseGetResult_associatedSubscriptionProgram, _LicenseGetResult_price, _LicenseGetResult_arrowSubCategories, _LicenseGetResult_nextRenewalDate, _LicenseGetResult_promotion, _LicenseGetResult_assets, _LicenseGetResult_vendorBillingId, _LicenseGetResult_extraData, _LicenseGetResult_priceBand;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.LicenseGetResult = exports.LicenseGetFields = void 0;
|
|
16
16
|
const actionsGetResult_1 = require("./actionsGetResult");
|
|
@@ -23,6 +23,7 @@ const securityFindResult_1 = require("../license/securityFindResult");
|
|
|
23
23
|
const promotionFindResult_1 = require("./promotionFindResult");
|
|
24
24
|
const assetsFindResult_1 = require("./assetsFindResult");
|
|
25
25
|
const extraDataFindResult_1 = require("./extraDataFindResult");
|
|
26
|
+
const priceBandGetResult_1 = require("./priceBandGetResult");
|
|
26
27
|
var LicenseGetFields;
|
|
27
28
|
(function (LicenseGetFields) {
|
|
28
29
|
LicenseGetFields["COLUMN_LICENSE_ID"] = "license_id";
|
|
@@ -62,6 +63,7 @@ var LicenseGetFields;
|
|
|
62
63
|
LicenseGetFields["COLUMN_ASSETS"] = "assets";
|
|
63
64
|
LicenseGetFields["COLUMN_VENDOR_BILLING_ID"] = "vendorBillingId";
|
|
64
65
|
LicenseGetFields["COLUMN_EXTRA_DATA"] = "extraData";
|
|
66
|
+
LicenseGetFields["COLUMN_PRICE_BAND"] = "priceBand";
|
|
65
67
|
})(LicenseGetFields = exports.LicenseGetFields || (exports.LicenseGetFields = {}));
|
|
66
68
|
class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
67
69
|
constructor(licenseGetDataInput) {
|
|
@@ -104,6 +106,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
104
106
|
_LicenseGetResult_assets.set(this, void 0);
|
|
105
107
|
_LicenseGetResult_vendorBillingId.set(this, void 0);
|
|
106
108
|
_LicenseGetResult_extraData.set(this, void 0);
|
|
109
|
+
_LicenseGetResult_priceBand.set(this, void 0);
|
|
107
110
|
__classPrivateFieldSet(this, _LicenseGetResult_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_LICENSE_ID], "f");
|
|
108
111
|
__classPrivateFieldSet(this, _LicenseGetResult_parent_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_PARENT_LICENSE_ID], "f");
|
|
109
112
|
__classPrivateFieldSet(this, _LicenseGetResult_friendlyName, licenseGetDataInput[LicenseGetFields.COLUMN_FRIENDLY_NAME], "f");
|
|
@@ -149,6 +152,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
149
152
|
? new assetsFindResult_1.AssetsFindResult(licenseGetDataInput[LicenseGetFields.COLUMN_ASSETS])
|
|
150
153
|
: undefined, "f");
|
|
151
154
|
__classPrivateFieldSet(this, _LicenseGetResult_extraData, (_b = licenseGetDataInput[LicenseGetFields.COLUMN_EXTRA_DATA]) === null || _b === void 0 ? void 0 : _b.map((result) => new extraDataFindResult_1.ExtraDataFindResult(result)), "f");
|
|
155
|
+
__classPrivateFieldSet(this, _LicenseGetResult_priceBand, licenseGetDataInput[LicenseGetFields.COLUMN_PRICE_BAND] !== undefined
|
|
156
|
+
? new priceBandGetResult_1.PriceBandGetResult(licenseGetDataInput[LicenseGetFields.COLUMN_PRICE_BAND])
|
|
157
|
+
: undefined, "f");
|
|
152
158
|
}
|
|
153
159
|
get id() {
|
|
154
160
|
return __classPrivateFieldGet(this, _LicenseGetResult_license_id, "f");
|
|
@@ -261,8 +267,11 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
261
267
|
get extraData() {
|
|
262
268
|
return __classPrivateFieldGet(this, _LicenseGetResult_extraData, "f");
|
|
263
269
|
}
|
|
270
|
+
get priceBand() {
|
|
271
|
+
return __classPrivateFieldGet(this, _LicenseGetResult_priceBand, "f");
|
|
272
|
+
}
|
|
264
273
|
toJSON() {
|
|
265
|
-
var _a, _b, _c, _d, _e, _f;
|
|
274
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
266
275
|
return {
|
|
267
276
|
[LicenseGetFields.COLUMN_LICENSE_ID]: this.id,
|
|
268
277
|
[LicenseGetFields.COLUMN_PARENT_LICENSE_ID]: this.parentLicenseId,
|
|
@@ -302,9 +311,10 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
302
311
|
[LicenseGetFields.COLUMN_PROMOTION]: (_d = this.promotion) === null || _d === void 0 ? void 0 : _d.toJSON(),
|
|
303
312
|
[LicenseGetFields.COLUMN_ASSETS]: (_e = this.assets) === null || _e === void 0 ? void 0 : _e.toJSON(),
|
|
304
313
|
[LicenseGetFields.COLUMN_EXTRA_DATA]: (_f = this.extraData) === null || _f === void 0 ? void 0 : _f.map((extraData) => extraData.toJSON()),
|
|
314
|
+
[LicenseGetFields.COLUMN_PRICE_BAND]: (_g = this.priceBand) === null || _g === void 0 ? void 0 : _g.toJSON(),
|
|
305
315
|
};
|
|
306
316
|
}
|
|
307
317
|
}
|
|
308
318
|
exports.LicenseGetResult = LicenseGetResult;
|
|
309
|
-
_LicenseGetResult_license_id = new WeakMap(), _LicenseGetResult_parent_license_id = new WeakMap(), _LicenseGetResult_friendlyName = new WeakMap(), _LicenseGetResult_customer_ref = new WeakMap(), _LicenseGetResult_state = new WeakMap(), _LicenseGetResult_statusCode = new WeakMap(), _LicenseGetResult_isTrial = new WeakMap(), _LicenseGetResult_isAddon = new WeakMap(), _LicenseGetResult_service_ref = new WeakMap(), _LicenseGetResult_sku = new WeakMap(), _LicenseGetResult_name = new WeakMap(), _LicenseGetResult_seats = new WeakMap(), _LicenseGetResult_activeSeats = new WeakMap(), _LicenseGetResult_security = new WeakMap(), _LicenseGetResult_activation_datetime = new WeakMap(), _LicenseGetResult_expiry_datetime = new WeakMap(), _LicenseGetResult_autoRenew = new WeakMap(), _LicenseGetResult_message = new WeakMap(), _LicenseGetResult_actions = new WeakMap(), _LicenseGetResult_actionMessages = new WeakMap(), _LicenseGetResult_order_reference = new WeakMap(), _LicenseGetResult_order = new WeakMap(), _LicenseGetResult_vendor_license_id = new WeakMap(), _LicenseGetResult_periodicity = new WeakMap(), _LicenseGetResult_periodicityCode = new WeakMap(), _LicenseGetResult_term = new WeakMap(), _LicenseGetResult_termCode = new WeakMap(), _LicenseGetResult_category = new WeakMap(), _LicenseGetResult_program = new WeakMap(), _LicenseGetResult_associatedSubscriptionProgram = new WeakMap(), _LicenseGetResult_price = new WeakMap(), _LicenseGetResult_arrowSubCategories = new WeakMap(), _LicenseGetResult_nextRenewalDate = new WeakMap(), _LicenseGetResult_promotion = new WeakMap(), _LicenseGetResult_assets = new WeakMap(), _LicenseGetResult_vendorBillingId = new WeakMap(), _LicenseGetResult_extraData = new WeakMap();
|
|
319
|
+
_LicenseGetResult_license_id = new WeakMap(), _LicenseGetResult_parent_license_id = new WeakMap(), _LicenseGetResult_friendlyName = new WeakMap(), _LicenseGetResult_customer_ref = new WeakMap(), _LicenseGetResult_state = new WeakMap(), _LicenseGetResult_statusCode = new WeakMap(), _LicenseGetResult_isTrial = new WeakMap(), _LicenseGetResult_isAddon = new WeakMap(), _LicenseGetResult_service_ref = new WeakMap(), _LicenseGetResult_sku = new WeakMap(), _LicenseGetResult_name = new WeakMap(), _LicenseGetResult_seats = new WeakMap(), _LicenseGetResult_activeSeats = new WeakMap(), _LicenseGetResult_security = new WeakMap(), _LicenseGetResult_activation_datetime = new WeakMap(), _LicenseGetResult_expiry_datetime = new WeakMap(), _LicenseGetResult_autoRenew = new WeakMap(), _LicenseGetResult_message = new WeakMap(), _LicenseGetResult_actions = new WeakMap(), _LicenseGetResult_actionMessages = new WeakMap(), _LicenseGetResult_order_reference = new WeakMap(), _LicenseGetResult_order = new WeakMap(), _LicenseGetResult_vendor_license_id = new WeakMap(), _LicenseGetResult_periodicity = new WeakMap(), _LicenseGetResult_periodicityCode = new WeakMap(), _LicenseGetResult_term = new WeakMap(), _LicenseGetResult_termCode = new WeakMap(), _LicenseGetResult_category = new WeakMap(), _LicenseGetResult_program = new WeakMap(), _LicenseGetResult_associatedSubscriptionProgram = new WeakMap(), _LicenseGetResult_price = new WeakMap(), _LicenseGetResult_arrowSubCategories = new WeakMap(), _LicenseGetResult_nextRenewalDate = new WeakMap(), _LicenseGetResult_promotion = new WeakMap(), _LicenseGetResult_assets = new WeakMap(), _LicenseGetResult_vendorBillingId = new WeakMap(), _LicenseGetResult_extraData = new WeakMap(), _LicenseGetResult_priceBand = new WeakMap();
|
|
310
320
|
//# sourceMappingURL=licenseGetResult.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
import { SaleConstraintsFindResult, SaleConstraintsFindResultData } from '../offer/priceband/saleConstraintsFindResult';
|
|
3
|
+
export declare enum PriceBandDataFields {
|
|
4
|
+
SALE_CONTRAINSTS = "saleConstraints"
|
|
5
|
+
}
|
|
6
|
+
export declare type PriceBandData = {
|
|
7
|
+
[PriceBandDataFields.SALE_CONTRAINSTS]?: SaleConstraintsFindResultData;
|
|
8
|
+
};
|
|
9
|
+
export declare class PriceBandGetResult extends AbstractEntity<PriceBandData> {
|
|
10
|
+
#private;
|
|
11
|
+
constructor(data: PriceBandData);
|
|
12
|
+
get saleConstraints(): SaleConstraintsFindResult | undefined;
|
|
13
|
+
toJSON(): PriceBandData;
|
|
14
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 _PriceBandGetResult_saleConstraints;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.PriceBandGetResult = exports.PriceBandDataFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
17
|
+
const saleConstraintsFindResult_1 = require("../offer/priceband/saleConstraintsFindResult");
|
|
18
|
+
var PriceBandDataFields;
|
|
19
|
+
(function (PriceBandDataFields) {
|
|
20
|
+
PriceBandDataFields["SALE_CONTRAINSTS"] = "saleConstraints";
|
|
21
|
+
})(PriceBandDataFields = exports.PriceBandDataFields || (exports.PriceBandDataFields = {}));
|
|
22
|
+
class PriceBandGetResult extends abstractEntity_1.AbstractEntity {
|
|
23
|
+
constructor(data) {
|
|
24
|
+
super(data);
|
|
25
|
+
_PriceBandGetResult_saleConstraints.set(this, void 0);
|
|
26
|
+
__classPrivateFieldSet(this, _PriceBandGetResult_saleConstraints, data[PriceBandDataFields.SALE_CONTRAINSTS] !== undefined
|
|
27
|
+
? new saleConstraintsFindResult_1.SaleConstraintsFindResult(data[PriceBandDataFields.SALE_CONTRAINSTS])
|
|
28
|
+
: undefined, "f");
|
|
29
|
+
}
|
|
30
|
+
get saleConstraints() {
|
|
31
|
+
return __classPrivateFieldGet(this, _PriceBandGetResult_saleConstraints, "f");
|
|
32
|
+
}
|
|
33
|
+
toJSON() {
|
|
34
|
+
return {
|
|
35
|
+
[PriceBandDataFields.SALE_CONTRAINSTS]: this.saleConstraints
|
|
36
|
+
? this.saleConstraints.toJSON()
|
|
37
|
+
: undefined,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.PriceBandGetResult = PriceBandGetResult;
|
|
42
|
+
_PriceBandGetResult_saleConstraints = new WeakMap();
|
|
43
|
+
//# sourceMappingURL=priceBandGetResult.js.map
|
package/package.json
CHANGED