@arrowsphere/api-client 3.430.0 → 3.432.0
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 +8 -0
- package/build/licenses/entities/event/licenseEvent.d.ts +12 -1
- package/build/licenses/entities/event/licenseEvent.js +2 -0
- package/build/licenses/entities/getLicense/licenseGetResult.d.ts +4 -0
- package/build/licenses/entities/getLicense/licenseGetResult.js +22 -14
- package/build/licenses/entities/getLicense/licensePricingRuleGetResult.d.ts +28 -0
- package/build/licenses/entities/getLicense/licensePricingRuleGetResult.js +65 -0
- package/build/licenses/index.d.ts +1 -0
- package/build/licenses/index.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.432.0] - 2026.11.27
|
|
7
|
+
### Added
|
|
8
|
+
- [Licenses] Add `pricingRules` (tier, type, rateType, value) to `LicenseGetResult`
|
|
9
|
+
|
|
10
|
+
## [3.431.0] - 2026.11.24
|
|
11
|
+
### Added
|
|
12
|
+
- [Licenses] Add `parameters` in license events
|
|
13
|
+
|
|
6
14
|
## [3.430.0] - 2026.11.20
|
|
7
15
|
### Added
|
|
8
16
|
- [Orders] Add `updateStatusOrder` (`PATCH /orders/{orderReference}/status`) to set any status on an order
|
|
@@ -12,7 +12,9 @@ export declare enum LicenseEventActionType {
|
|
|
12
12
|
PRORATA = "prorata",
|
|
13
13
|
RECURRING = "recurring",
|
|
14
14
|
CONVERSION = "conversion",
|
|
15
|
-
FRIENDLY_NAME = "friendlyName"
|
|
15
|
+
FRIENDLY_NAME = "friendlyName",
|
|
16
|
+
SCHEDULED_TASK_CREATED = "scheduledTaskCreated",
|
|
17
|
+
SCHEDULED_TASK_USER_CANCELLED = "scheduledTaskUserCancelled"
|
|
16
18
|
}
|
|
17
19
|
export declare enum LicenseEventType {
|
|
18
20
|
ACKNOWLEDGED = "acknowledged",
|
|
@@ -75,9 +77,18 @@ export interface LicenseEventUser {
|
|
|
75
77
|
name?: string;
|
|
76
78
|
email?: string;
|
|
77
79
|
}
|
|
80
|
+
export declare type LicenseEventParameters = {
|
|
81
|
+
term?: number | null;
|
|
82
|
+
periodicity?: number | null;
|
|
83
|
+
quantity?: number | null;
|
|
84
|
+
customTermEndDate?: string | null;
|
|
85
|
+
pricebandVendorSku?: string | null;
|
|
86
|
+
executionDate?: string | null;
|
|
87
|
+
};
|
|
78
88
|
export interface LicenseEventDetails {
|
|
79
89
|
message?: string;
|
|
80
90
|
source?: string | null;
|
|
91
|
+
parameters?: LicenseEventParameters;
|
|
81
92
|
}
|
|
82
93
|
export declare type LicenseEventImpersonatorType = {
|
|
83
94
|
email?: string;
|
|
@@ -17,6 +17,8 @@ var LicenseEventActionType;
|
|
|
17
17
|
LicenseEventActionType["RECURRING"] = "recurring";
|
|
18
18
|
LicenseEventActionType["CONVERSION"] = "conversion";
|
|
19
19
|
LicenseEventActionType["FRIENDLY_NAME"] = "friendlyName";
|
|
20
|
+
LicenseEventActionType["SCHEDULED_TASK_CREATED"] = "scheduledTaskCreated";
|
|
21
|
+
LicenseEventActionType["SCHEDULED_TASK_USER_CANCELLED"] = "scheduledTaskUserCancelled";
|
|
20
22
|
})(LicenseEventActionType = exports.LicenseEventActionType || (exports.LicenseEventActionType = {}));
|
|
21
23
|
var LicenseEventType;
|
|
22
24
|
(function (LicenseEventType) {
|
|
@@ -10,6 +10,7 @@ import { AssetsData, AssetsFindResult } from './assetsFindResult';
|
|
|
10
10
|
import { ExtraDataResult, ExtraDataType } from './extraDataGetResult';
|
|
11
11
|
import { PriceBandData, PriceBandGetResult } from './priceBandGetResult';
|
|
12
12
|
import { RatesGetData, RatesGetResult } from './ratesGetResult';
|
|
13
|
+
import { LicensePricingRuleData, LicensePricingRuleGetResult } from './licensePricingRuleGetResult';
|
|
13
14
|
import { RelationGetData, RelationGetResult } from './relationGetResult';
|
|
14
15
|
import { ConfigFindResult, ConfigFindResultData } from '../license/configFindResult';
|
|
15
16
|
import { WarningFindResult, WarningFindResultData } from '../license/warningFindResult';
|
|
@@ -62,6 +63,7 @@ export declare enum LicenseGetFields {
|
|
|
62
63
|
COLUMN_VENDOR_CODE_2 = "vendor_code",
|
|
63
64
|
COLUMN_VENDOR_SKU = "vendorSku",
|
|
64
65
|
COLUMN_RATES = "rates",
|
|
66
|
+
COLUMN_PRICING_RULES = "pricingRules",
|
|
65
67
|
COLUMN_ORGANIZATION_UNIT_ID = "organizationUnitId",
|
|
66
68
|
COLUMN_RELATION = "relation",
|
|
67
69
|
COLUMN_MARKET_SEGMENT = "marketSegment",
|
|
@@ -126,6 +128,7 @@ export declare type LicenseGetData = {
|
|
|
126
128
|
[LicenseGetFields.COLUMN_VENDOR_CODE_2]?: string;
|
|
127
129
|
[LicenseGetFields.COLUMN_VENDOR_SKU]?: string;
|
|
128
130
|
[LicenseGetFields.COLUMN_RATES]?: RatesGetData;
|
|
131
|
+
[LicenseGetFields.COLUMN_PRICING_RULES]?: Array<LicensePricingRuleData>;
|
|
129
132
|
[LicenseGetFields.COLUMN_ORGANIZATION_UNIT_ID]?: number;
|
|
130
133
|
[LicenseGetFields.COLUMN_RELATION]?: RelationGetData[];
|
|
131
134
|
[LicenseGetFields.COLUMN_MARKET_SEGMENT]?: string | null;
|
|
@@ -187,6 +190,7 @@ export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
|
|
|
187
190
|
get vendor_code(): string | undefined;
|
|
188
191
|
get vendorSku(): string | undefined;
|
|
189
192
|
get rates(): RatesGetResult | undefined;
|
|
193
|
+
get pricingRules(): Array<LicensePricingRuleGetResult> | undefined;
|
|
190
194
|
get organizationUnitId(): number | undefined;
|
|
191
195
|
get relation(): RelationGetResult[] | undefined;
|
|
192
196
|
get marketSegment(): string | null | 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 _LicenseGetResult_additionalInformation, _LicenseGetResult_classification, _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_seatSync, _LicenseGetResult_security, _LicenseGetResult_activation_datetime, _LicenseGetResult_expiry_datetime, _LicenseGetResult_autoRenew, _LicenseGetResult_renewalPolicy, _LicenseGetResult_marketplace, _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, _LicenseGetResult_vendorCode, _LicenseGetResult_vendor_code, _LicenseGetResult_vendorSku, _LicenseGetResult_rates, _LicenseGetResult_organizationUnitId, _LicenseGetResult_relation, _LicenseGetResult_marketSegment, _LicenseGetResult_configs, _LicenseGetResult_warnings, _LicenseGetResult_endDate, _LicenseGetResult_attributes, _LicenseGetResult_customFields, _LicenseGetResult_bundleUuid, _LicenseGetResult_bundleArrowSphereSku;
|
|
13
|
+
var _LicenseGetResult_additionalInformation, _LicenseGetResult_classification, _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_seatSync, _LicenseGetResult_security, _LicenseGetResult_activation_datetime, _LicenseGetResult_expiry_datetime, _LicenseGetResult_autoRenew, _LicenseGetResult_renewalPolicy, _LicenseGetResult_marketplace, _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, _LicenseGetResult_vendorCode, _LicenseGetResult_vendor_code, _LicenseGetResult_vendorSku, _LicenseGetResult_rates, _LicenseGetResult_pricingRules, _LicenseGetResult_organizationUnitId, _LicenseGetResult_relation, _LicenseGetResult_marketSegment, _LicenseGetResult_configs, _LicenseGetResult_warnings, _LicenseGetResult_endDate, _LicenseGetResult_attributes, _LicenseGetResult_customFields, _LicenseGetResult_bundleUuid, _LicenseGetResult_bundleArrowSphereSku;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.LicenseGetResult = exports.RenewalPolicyEnum = exports.LicenseGetFields = void 0;
|
|
16
16
|
const actionsGetResult_1 = require("./actionsGetResult");
|
|
@@ -25,6 +25,7 @@ const assetsFindResult_1 = require("./assetsFindResult");
|
|
|
25
25
|
const extraDataGetResult_1 = require("./extraDataGetResult");
|
|
26
26
|
const priceBandGetResult_1 = require("./priceBandGetResult");
|
|
27
27
|
const ratesGetResult_1 = require("./ratesGetResult");
|
|
28
|
+
const licensePricingRuleGetResult_1 = require("./licensePricingRuleGetResult");
|
|
28
29
|
const relationGetResult_1 = require("./relationGetResult");
|
|
29
30
|
const configFindResult_1 = require("../license/configFindResult");
|
|
30
31
|
const warningFindResult_1 = require("../license/warningFindResult");
|
|
@@ -78,6 +79,7 @@ var LicenseGetFields;
|
|
|
78
79
|
LicenseGetFields["COLUMN_VENDOR_CODE_2"] = "vendor_code";
|
|
79
80
|
LicenseGetFields["COLUMN_VENDOR_SKU"] = "vendorSku";
|
|
80
81
|
LicenseGetFields["COLUMN_RATES"] = "rates";
|
|
82
|
+
LicenseGetFields["COLUMN_PRICING_RULES"] = "pricingRules";
|
|
81
83
|
LicenseGetFields["COLUMN_ORGANIZATION_UNIT_ID"] = "organizationUnitId";
|
|
82
84
|
LicenseGetFields["COLUMN_RELATION"] = "relation";
|
|
83
85
|
LicenseGetFields["COLUMN_MARKET_SEGMENT"] = "marketSegment";
|
|
@@ -97,7 +99,7 @@ var RenewalPolicyEnum;
|
|
|
97
99
|
})(RenewalPolicyEnum = exports.RenewalPolicyEnum || (exports.RenewalPolicyEnum = {}));
|
|
98
100
|
class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
99
101
|
constructor(licenseGetDataInput) {
|
|
100
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
102
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
101
103
|
super(licenseGetDataInput);
|
|
102
104
|
_LicenseGetResult_additionalInformation.set(this, void 0);
|
|
103
105
|
_LicenseGetResult_classification.set(this, void 0);
|
|
@@ -146,6 +148,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
146
148
|
_LicenseGetResult_vendor_code.set(this, void 0);
|
|
147
149
|
_LicenseGetResult_vendorSku.set(this, void 0);
|
|
148
150
|
_LicenseGetResult_rates.set(this, void 0);
|
|
151
|
+
_LicenseGetResult_pricingRules.set(this, void 0);
|
|
149
152
|
_LicenseGetResult_organizationUnitId.set(this, void 0);
|
|
150
153
|
_LicenseGetResult_relation.set(this, void 0);
|
|
151
154
|
_LicenseGetResult_marketSegment.set(this, void 0);
|
|
@@ -215,16 +218,17 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
215
218
|
__classPrivateFieldSet(this, _LicenseGetResult_rates, licenseGetDataInput[LicenseGetFields.COLUMN_RATES]
|
|
216
219
|
? new ratesGetResult_1.RatesGetResult(licenseGetDataInput[LicenseGetFields.COLUMN_RATES])
|
|
217
220
|
: undefined, "f");
|
|
221
|
+
__classPrivateFieldSet(this, _LicenseGetResult_pricingRules, (_c = licenseGetDataInput[LicenseGetFields.COLUMN_PRICING_RULES]) === null || _c === void 0 ? void 0 : _c.map((rule) => new licensePricingRuleGetResult_1.LicensePricingRuleGetResult(rule)), "f");
|
|
218
222
|
__classPrivateFieldSet(this, _LicenseGetResult_organizationUnitId, licenseGetDataInput[LicenseGetFields.COLUMN_ORGANIZATION_UNIT_ID], "f");
|
|
219
223
|
__classPrivateFieldSet(this, _LicenseGetResult_relation, licenseGetDataInput[LicenseGetFields.COLUMN_RELATION]
|
|
220
|
-
? (
|
|
224
|
+
? (_d = licenseGetDataInput[LicenseGetFields.COLUMN_RELATION]) === null || _d === void 0 ? void 0 : _d.map((v) => new relationGetResult_1.RelationGetResult(v))
|
|
221
225
|
: undefined, "f");
|
|
222
226
|
__classPrivateFieldSet(this, _LicenseGetResult_marketSegment, licenseGetDataInput[LicenseGetFields.COLUMN_MARKET_SEGMENT], "f");
|
|
223
|
-
__classPrivateFieldSet(this, _LicenseGetResult_configs, (
|
|
224
|
-
__classPrivateFieldSet(this, _LicenseGetResult_warnings, (
|
|
225
|
-
__classPrivateFieldSet(this, _LicenseGetResult_endDate, (
|
|
226
|
-
__classPrivateFieldSet(this, _LicenseGetResult_attributes, (
|
|
227
|
-
__classPrivateFieldSet(this, _LicenseGetResult_customFields, (
|
|
227
|
+
__classPrivateFieldSet(this, _LicenseGetResult_configs, (_e = licenseGetDataInput[LicenseGetFields.COLUMN_CONFIGS]) === null || _e === void 0 ? void 0 : _e.map((configData) => new configFindResult_1.ConfigFindResult(configData)), "f");
|
|
228
|
+
__classPrivateFieldSet(this, _LicenseGetResult_warnings, (_f = licenseGetDataInput[LicenseGetFields.COLUMN_WARNINGS]) === null || _f === void 0 ? void 0 : _f.map((warningData) => new warningFindResult_1.WarningFindResult(warningData)), "f");
|
|
229
|
+
__classPrivateFieldSet(this, _LicenseGetResult_endDate, (_g = licenseGetDataInput[LicenseGetFields.COLUMN_END_DATE]) !== null && _g !== void 0 ? _g : '', "f");
|
|
230
|
+
__classPrivateFieldSet(this, _LicenseGetResult_attributes, (_h = licenseGetDataInput[LicenseGetFields.COLUMN_ATTRIBUTES]) !== null && _h !== void 0 ? _h : {}, "f");
|
|
231
|
+
__classPrivateFieldSet(this, _LicenseGetResult_customFields, (_j = licenseGetDataInput[LicenseGetFields.COLUMN_CUSTOM_FIELDS]) === null || _j === void 0 ? void 0 : _j.map((field) => new licenseCustomField_1.LicenseCustomField(field)), "f");
|
|
228
232
|
__classPrivateFieldSet(this, _LicenseGetResult_bundleUuid, licenseGetDataInput[LicenseGetFields.COLUMN_BUNDLE_UUID], "f");
|
|
229
233
|
__classPrivateFieldSet(this, _LicenseGetResult_bundleArrowSphereSku, licenseGetDataInput[LicenseGetFields.COLUMN_BUNDLE_ARROW_SPHERE_SKU], "f");
|
|
230
234
|
}
|
|
@@ -372,6 +376,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
372
376
|
get rates() {
|
|
373
377
|
return __classPrivateFieldGet(this, _LicenseGetResult_rates, "f");
|
|
374
378
|
}
|
|
379
|
+
get pricingRules() {
|
|
380
|
+
return __classPrivateFieldGet(this, _LicenseGetResult_pricingRules, "f");
|
|
381
|
+
}
|
|
375
382
|
get organizationUnitId() {
|
|
376
383
|
return __classPrivateFieldGet(this, _LicenseGetResult_organizationUnitId, "f");
|
|
377
384
|
}
|
|
@@ -403,7 +410,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
403
410
|
return __classPrivateFieldGet(this, _LicenseGetResult_bundleArrowSphereSku, "f");
|
|
404
411
|
}
|
|
405
412
|
toJSON() {
|
|
406
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
413
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
407
414
|
return {
|
|
408
415
|
[LicenseGetFields.COLUMN_ADDITIONAL_INFORMATION]: this
|
|
409
416
|
.additionalInformation,
|
|
@@ -454,14 +461,15 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
454
461
|
[LicenseGetFields.COLUMN_VENDOR_CODE_2]: this.vendor_code,
|
|
455
462
|
[LicenseGetFields.COLUMN_VENDOR_SKU]: this.vendorSku,
|
|
456
463
|
[LicenseGetFields.COLUMN_RATES]: (_h = this.rates) === null || _h === void 0 ? void 0 : _h.toJSON(),
|
|
464
|
+
[LicenseGetFields.COLUMN_PRICING_RULES]: (_j = this.pricingRules) === null || _j === void 0 ? void 0 : _j.map((rule) => rule.toJSON()),
|
|
457
465
|
[LicenseGetFields.COLUMN_ORGANIZATION_UNIT_ID]: this.organizationUnitId,
|
|
458
|
-
[LicenseGetFields.COLUMN_RELATION]: (
|
|
466
|
+
[LicenseGetFields.COLUMN_RELATION]: (_k = this.relation) === null || _k === void 0 ? void 0 : _k.map((v) => v.toJSON()),
|
|
459
467
|
[LicenseGetFields.COLUMN_MARKET_SEGMENT]: this.marketSegment,
|
|
460
|
-
[LicenseGetFields.COLUMN_CONFIGS]: (
|
|
461
|
-
[LicenseGetFields.COLUMN_WARNINGS]: (
|
|
468
|
+
[LicenseGetFields.COLUMN_CONFIGS]: (_l = this.configs) === null || _l === void 0 ? void 0 : _l.map((config) => config.toJSON()),
|
|
469
|
+
[LicenseGetFields.COLUMN_WARNINGS]: (_m = this.warnings) === null || _m === void 0 ? void 0 : _m.map((warning) => warning.toJSON()),
|
|
462
470
|
[LicenseGetFields.COLUMN_END_DATE]: this.endDate,
|
|
463
471
|
[LicenseGetFields.COLUMN_ATTRIBUTES]: this.attributes,
|
|
464
|
-
[LicenseGetFields.COLUMN_CUSTOM_FIELDS]: (
|
|
472
|
+
[LicenseGetFields.COLUMN_CUSTOM_FIELDS]: (_o = this.customFields) === null || _o === void 0 ? void 0 : _o.map((field) => field.toJSON()),
|
|
465
473
|
[LicenseGetFields.COLUMN_BUNDLE_UUID]: this.bundleUuid,
|
|
466
474
|
[LicenseGetFields.COLUMN_BUNDLE_ARROW_SPHERE_SKU]: this
|
|
467
475
|
.bundleArrowSphereSku,
|
|
@@ -469,5 +477,5 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
469
477
|
}
|
|
470
478
|
}
|
|
471
479
|
exports.LicenseGetResult = LicenseGetResult;
|
|
472
|
-
_LicenseGetResult_additionalInformation = new WeakMap(), _LicenseGetResult_classification = new WeakMap(), _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_seatSync = new WeakMap(), _LicenseGetResult_security = new WeakMap(), _LicenseGetResult_activation_datetime = new WeakMap(), _LicenseGetResult_expiry_datetime = new WeakMap(), _LicenseGetResult_autoRenew = new WeakMap(), _LicenseGetResult_renewalPolicy = new WeakMap(), _LicenseGetResult_marketplace = 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(), _LicenseGetResult_vendorCode = new WeakMap(), _LicenseGetResult_vendor_code = new WeakMap(), _LicenseGetResult_vendorSku = new WeakMap(), _LicenseGetResult_rates = new WeakMap(), _LicenseGetResult_organizationUnitId = new WeakMap(), _LicenseGetResult_relation = new WeakMap(), _LicenseGetResult_marketSegment = new WeakMap(), _LicenseGetResult_configs = new WeakMap(), _LicenseGetResult_warnings = new WeakMap(), _LicenseGetResult_endDate = new WeakMap(), _LicenseGetResult_attributes = new WeakMap(), _LicenseGetResult_customFields = new WeakMap(), _LicenseGetResult_bundleUuid = new WeakMap(), _LicenseGetResult_bundleArrowSphereSku = new WeakMap();
|
|
480
|
+
_LicenseGetResult_additionalInformation = new WeakMap(), _LicenseGetResult_classification = new WeakMap(), _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_seatSync = new WeakMap(), _LicenseGetResult_security = new WeakMap(), _LicenseGetResult_activation_datetime = new WeakMap(), _LicenseGetResult_expiry_datetime = new WeakMap(), _LicenseGetResult_autoRenew = new WeakMap(), _LicenseGetResult_renewalPolicy = new WeakMap(), _LicenseGetResult_marketplace = 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(), _LicenseGetResult_vendorCode = new WeakMap(), _LicenseGetResult_vendor_code = new WeakMap(), _LicenseGetResult_vendorSku = new WeakMap(), _LicenseGetResult_rates = new WeakMap(), _LicenseGetResult_pricingRules = new WeakMap(), _LicenseGetResult_organizationUnitId = new WeakMap(), _LicenseGetResult_relation = new WeakMap(), _LicenseGetResult_marketSegment = new WeakMap(), _LicenseGetResult_configs = new WeakMap(), _LicenseGetResult_warnings = new WeakMap(), _LicenseGetResult_endDate = new WeakMap(), _LicenseGetResult_attributes = new WeakMap(), _LicenseGetResult_customFields = new WeakMap(), _LicenseGetResult_bundleUuid = new WeakMap(), _LicenseGetResult_bundleArrowSphereSku = new WeakMap();
|
|
473
481
|
//# sourceMappingURL=licenseGetResult.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
import { RateTypeEnum } from '../pricingRate/getPricingRateResult';
|
|
3
|
+
export declare enum LicensePricingRuleFields {
|
|
4
|
+
COLUMN_TIER = "tier",
|
|
5
|
+
COLUMN_TYPE = "type",
|
|
6
|
+
COLUMN_RATE_TYPE = "rateType",
|
|
7
|
+
COLUMN_VALUE = "value"
|
|
8
|
+
}
|
|
9
|
+
export declare enum LicensePricingRuleTierEnum {
|
|
10
|
+
ARROW = 1,
|
|
11
|
+
PARTNER = 2,
|
|
12
|
+
END_CUSTOMER = 3
|
|
13
|
+
}
|
|
14
|
+
export declare type LicensePricingRuleData = {
|
|
15
|
+
[LicensePricingRuleFields.COLUMN_TIER]?: LicensePricingRuleTierEnum;
|
|
16
|
+
[LicensePricingRuleFields.COLUMN_TYPE]?: string;
|
|
17
|
+
[LicensePricingRuleFields.COLUMN_RATE_TYPE]?: RateTypeEnum;
|
|
18
|
+
[LicensePricingRuleFields.COLUMN_VALUE]?: number;
|
|
19
|
+
};
|
|
20
|
+
export declare class LicensePricingRuleGetResult extends AbstractEntity<LicensePricingRuleData> {
|
|
21
|
+
#private;
|
|
22
|
+
constructor(data: LicensePricingRuleData);
|
|
23
|
+
get tier(): LicensePricingRuleTierEnum | undefined;
|
|
24
|
+
get type(): string | undefined;
|
|
25
|
+
get rateType(): RateTypeEnum | undefined;
|
|
26
|
+
get value(): number | undefined;
|
|
27
|
+
toJSON(): LicensePricingRuleData;
|
|
28
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 _LicensePricingRuleGetResult_tier, _LicensePricingRuleGetResult_type, _LicensePricingRuleGetResult_rateType, _LicensePricingRuleGetResult_value;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.LicensePricingRuleGetResult = exports.LicensePricingRuleTierEnum = exports.LicensePricingRuleFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
17
|
+
var LicensePricingRuleFields;
|
|
18
|
+
(function (LicensePricingRuleFields) {
|
|
19
|
+
LicensePricingRuleFields["COLUMN_TIER"] = "tier";
|
|
20
|
+
LicensePricingRuleFields["COLUMN_TYPE"] = "type";
|
|
21
|
+
LicensePricingRuleFields["COLUMN_RATE_TYPE"] = "rateType";
|
|
22
|
+
LicensePricingRuleFields["COLUMN_VALUE"] = "value";
|
|
23
|
+
})(LicensePricingRuleFields = exports.LicensePricingRuleFields || (exports.LicensePricingRuleFields = {}));
|
|
24
|
+
var LicensePricingRuleTierEnum;
|
|
25
|
+
(function (LicensePricingRuleTierEnum) {
|
|
26
|
+
LicensePricingRuleTierEnum[LicensePricingRuleTierEnum["ARROW"] = 1] = "ARROW";
|
|
27
|
+
LicensePricingRuleTierEnum[LicensePricingRuleTierEnum["PARTNER"] = 2] = "PARTNER";
|
|
28
|
+
LicensePricingRuleTierEnum[LicensePricingRuleTierEnum["END_CUSTOMER"] = 3] = "END_CUSTOMER";
|
|
29
|
+
})(LicensePricingRuleTierEnum = exports.LicensePricingRuleTierEnum || (exports.LicensePricingRuleTierEnum = {}));
|
|
30
|
+
class LicensePricingRuleGetResult extends abstractEntity_1.AbstractEntity {
|
|
31
|
+
constructor(data) {
|
|
32
|
+
super(data);
|
|
33
|
+
_LicensePricingRuleGetResult_tier.set(this, void 0);
|
|
34
|
+
_LicensePricingRuleGetResult_type.set(this, void 0);
|
|
35
|
+
_LicensePricingRuleGetResult_rateType.set(this, void 0);
|
|
36
|
+
_LicensePricingRuleGetResult_value.set(this, void 0);
|
|
37
|
+
__classPrivateFieldSet(this, _LicensePricingRuleGetResult_tier, data[LicensePricingRuleFields.COLUMN_TIER], "f");
|
|
38
|
+
__classPrivateFieldSet(this, _LicensePricingRuleGetResult_type, data[LicensePricingRuleFields.COLUMN_TYPE], "f");
|
|
39
|
+
__classPrivateFieldSet(this, _LicensePricingRuleGetResult_rateType, data[LicensePricingRuleFields.COLUMN_RATE_TYPE], "f");
|
|
40
|
+
__classPrivateFieldSet(this, _LicensePricingRuleGetResult_value, data[LicensePricingRuleFields.COLUMN_VALUE], "f");
|
|
41
|
+
}
|
|
42
|
+
get tier() {
|
|
43
|
+
return __classPrivateFieldGet(this, _LicensePricingRuleGetResult_tier, "f");
|
|
44
|
+
}
|
|
45
|
+
get type() {
|
|
46
|
+
return __classPrivateFieldGet(this, _LicensePricingRuleGetResult_type, "f");
|
|
47
|
+
}
|
|
48
|
+
get rateType() {
|
|
49
|
+
return __classPrivateFieldGet(this, _LicensePricingRuleGetResult_rateType, "f");
|
|
50
|
+
}
|
|
51
|
+
get value() {
|
|
52
|
+
return __classPrivateFieldGet(this, _LicensePricingRuleGetResult_value, "f");
|
|
53
|
+
}
|
|
54
|
+
toJSON() {
|
|
55
|
+
return {
|
|
56
|
+
[LicensePricingRuleFields.COLUMN_TIER]: this.tier,
|
|
57
|
+
[LicensePricingRuleFields.COLUMN_TYPE]: this.type,
|
|
58
|
+
[LicensePricingRuleFields.COLUMN_RATE_TYPE]: this.rateType,
|
|
59
|
+
[LicensePricingRuleFields.COLUMN_VALUE]: this.value,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.LicensePricingRuleGetResult = LicensePricingRuleGetResult;
|
|
64
|
+
_LicensePricingRuleGetResult_tier = new WeakMap(), _LicensePricingRuleGetResult_type = new WeakMap(), _LicensePricingRuleGetResult_rateType = new WeakMap(), _LicensePricingRuleGetResult_value = new WeakMap();
|
|
65
|
+
//# sourceMappingURL=licensePricingRuleGetResult.js.map
|
|
@@ -13,6 +13,7 @@ export * from './entities/getLicense/extraDataGetResult';
|
|
|
13
13
|
export * from './entities/getLicense/licenseGetResult';
|
|
14
14
|
export * from './entities/getLicense/relationGetResult';
|
|
15
15
|
export * from './entities/getLicense/ratesGetResult';
|
|
16
|
+
export * from './entities/getLicense/licensePricingRuleGetResult';
|
|
16
17
|
export * from './entities/getLicense/licensePriceGetResult';
|
|
17
18
|
export * from './entities/getLicense/orderGetResult';
|
|
18
19
|
export * from './entities/getLicense/priceBandGetResult';
|
package/build/licenses/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __exportStar(require("./entities/getLicense/extraDataGetResult"), exports);
|
|
|
29
29
|
__exportStar(require("./entities/getLicense/licenseGetResult"), exports);
|
|
30
30
|
__exportStar(require("./entities/getLicense/relationGetResult"), exports);
|
|
31
31
|
__exportStar(require("./entities/getLicense/ratesGetResult"), exports);
|
|
32
|
+
__exportStar(require("./entities/getLicense/licensePricingRuleGetResult"), exports);
|
|
32
33
|
__exportStar(require("./entities/getLicense/licensePriceGetResult"), exports);
|
|
33
34
|
__exportStar(require("./entities/getLicense/orderGetResult"), exports);
|
|
34
35
|
__exportStar(require("./entities/getLicense/priceBandGetResult"), exports);
|
package/package.json
CHANGED