@arrowsphere/api-client 3.82.0 → 3.83.0-rc.bdj.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.
- package/build/licenses/entities/getLicense/licenseGetResult.d.ts +5 -1
- package/build/licenses/entities/getLicense/licenseGetResult.js +14 -4
- package/build/licenses/entities/getLicense/relationGetResult.d.ts +16 -0
- package/build/licenses/entities/getLicense/relationGetResult.js +45 -0
- package/build/licenses/index.d.ts +1 -0
- package/build/licenses/index.js +1 -0
- package/package.json +1 -1
|
@@ -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 { RelationGetData, RelationGetResult } from './relationGetResult';
|
|
13
14
|
export declare enum LicenseGetFields {
|
|
14
15
|
COLUMN_LICENSE_ID = "license_id",
|
|
15
16
|
COLUMN_PARENT_LICENSE_ID = "parent_license_id",
|
|
@@ -50,7 +51,8 @@ export declare enum LicenseGetFields {
|
|
|
50
51
|
COLUMN_EXTRA_DATA = "extraData",
|
|
51
52
|
COLUMN_PRICE_BAND = "priceBand",
|
|
52
53
|
COLUMN_VENDOR_CODE = "vendorCode",
|
|
53
|
-
COLUMN_RATES = "rates"
|
|
54
|
+
COLUMN_RATES = "rates",
|
|
55
|
+
COLUMN_RELATION = "relation"
|
|
54
56
|
}
|
|
55
57
|
export declare type LicenseGetData = {
|
|
56
58
|
[LicenseGetFields.COLUMN_LICENSE_ID]: string;
|
|
@@ -93,6 +95,7 @@ export declare type LicenseGetData = {
|
|
|
93
95
|
[LicenseGetFields.COLUMN_PRICE_BAND]?: PriceBandData;
|
|
94
96
|
[LicenseGetFields.COLUMN_VENDOR_CODE]?: string;
|
|
95
97
|
[LicenseGetFields.COLUMN_RATES]?: RatesGetData;
|
|
98
|
+
[LicenseGetFields.COLUMN_RELATION]?: RelationGetData[];
|
|
96
99
|
};
|
|
97
100
|
export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
|
|
98
101
|
#private;
|
|
@@ -137,5 +140,6 @@ export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
|
|
|
137
140
|
get priceBand(): PriceBandGetResult | undefined;
|
|
138
141
|
get vendorCode(): string | undefined;
|
|
139
142
|
get rates(): RatesGetResult | undefined;
|
|
143
|
+
get relation(): RelationGetResult[] | undefined;
|
|
140
144
|
toJSON(): LicenseGetData;
|
|
141
145
|
}
|
|
@@ -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, _LicenseGetResult_priceBand, _LicenseGetResult_vendorCode, _LicenseGetResult_rates;
|
|
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, _LicenseGetResult_vendorCode, _LicenseGetResult_rates, _LicenseGetResult_relation;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.LicenseGetResult = 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 relationGetResult_1 = require("./relationGetResult");
|
|
28
29
|
var LicenseGetFields;
|
|
29
30
|
(function (LicenseGetFields) {
|
|
30
31
|
LicenseGetFields["COLUMN_LICENSE_ID"] = "license_id";
|
|
@@ -67,10 +68,11 @@ var LicenseGetFields;
|
|
|
67
68
|
LicenseGetFields["COLUMN_PRICE_BAND"] = "priceBand";
|
|
68
69
|
LicenseGetFields["COLUMN_VENDOR_CODE"] = "vendorCode";
|
|
69
70
|
LicenseGetFields["COLUMN_RATES"] = "rates";
|
|
71
|
+
LicenseGetFields["COLUMN_RELATION"] = "relation";
|
|
70
72
|
})(LicenseGetFields = exports.LicenseGetFields || (exports.LicenseGetFields = {}));
|
|
71
73
|
class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
72
74
|
constructor(licenseGetDataInput) {
|
|
73
|
-
var _a, _b;
|
|
75
|
+
var _a, _b, _c;
|
|
74
76
|
super(licenseGetDataInput);
|
|
75
77
|
_LicenseGetResult_license_id.set(this, void 0);
|
|
76
78
|
_LicenseGetResult_parent_license_id.set(this, void 0);
|
|
@@ -112,6 +114,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
112
114
|
_LicenseGetResult_priceBand.set(this, void 0);
|
|
113
115
|
_LicenseGetResult_vendorCode.set(this, void 0);
|
|
114
116
|
_LicenseGetResult_rates.set(this, void 0);
|
|
117
|
+
_LicenseGetResult_relation.set(this, void 0);
|
|
115
118
|
__classPrivateFieldSet(this, _LicenseGetResult_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_LICENSE_ID], "f");
|
|
116
119
|
__classPrivateFieldSet(this, _LicenseGetResult_parent_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_PARENT_LICENSE_ID], "f");
|
|
117
120
|
__classPrivateFieldSet(this, _LicenseGetResult_friendlyName, licenseGetDataInput[LicenseGetFields.COLUMN_FRIENDLY_NAME], "f");
|
|
@@ -164,6 +167,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
164
167
|
__classPrivateFieldSet(this, _LicenseGetResult_rates, licenseGetDataInput[LicenseGetFields.COLUMN_RATES]
|
|
165
168
|
? new ratesGetResult_1.RatesGetResult(licenseGetDataInput[LicenseGetFields.COLUMN_RATES])
|
|
166
169
|
: undefined, "f");
|
|
170
|
+
__classPrivateFieldSet(this, _LicenseGetResult_relation, licenseGetDataInput[LicenseGetFields.COLUMN_RELATION]
|
|
171
|
+
? (_c = licenseGetDataInput[LicenseGetFields.COLUMN_RELATION]) === null || _c === void 0 ? void 0 : _c.map((v) => new relationGetResult_1.RelationGetResult(v))
|
|
172
|
+
: undefined, "f");
|
|
167
173
|
}
|
|
168
174
|
get id() {
|
|
169
175
|
return __classPrivateFieldGet(this, _LicenseGetResult_license_id, "f");
|
|
@@ -285,8 +291,11 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
285
291
|
get rates() {
|
|
286
292
|
return __classPrivateFieldGet(this, _LicenseGetResult_rates, "f");
|
|
287
293
|
}
|
|
294
|
+
get relation() {
|
|
295
|
+
return __classPrivateFieldGet(this, _LicenseGetResult_relation, "f");
|
|
296
|
+
}
|
|
288
297
|
toJSON() {
|
|
289
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
298
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
290
299
|
return {
|
|
291
300
|
[LicenseGetFields.COLUMN_LICENSE_ID]: this.id,
|
|
292
301
|
[LicenseGetFields.COLUMN_PARENT_LICENSE_ID]: this.parentLicenseId,
|
|
@@ -329,9 +338,10 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
329
338
|
[LicenseGetFields.COLUMN_PRICE_BAND]: (_g = this.priceBand) === null || _g === void 0 ? void 0 : _g.toJSON(),
|
|
330
339
|
[LicenseGetFields.COLUMN_VENDOR_CODE]: this.vendorCode,
|
|
331
340
|
[LicenseGetFields.COLUMN_RATES]: (_h = this.rates) === null || _h === void 0 ? void 0 : _h.toJSON(),
|
|
341
|
+
[LicenseGetFields.COLUMN_RELATION]: (_j = this.relation) === null || _j === void 0 ? void 0 : _j.map((v) => v.toJSON()),
|
|
332
342
|
};
|
|
333
343
|
}
|
|
334
344
|
}
|
|
335
345
|
exports.LicenseGetResult = LicenseGetResult;
|
|
336
|
-
_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(), _LicenseGetResult_vendorCode = new WeakMap(), _LicenseGetResult_rates = new WeakMap();
|
|
346
|
+
_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(), _LicenseGetResult_vendorCode = new WeakMap(), _LicenseGetResult_rates = new WeakMap(), _LicenseGetResult_relation = new WeakMap();
|
|
337
347
|
//# sourceMappingURL=licenseGetResult.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
export declare enum RelationGetDataFields {
|
|
3
|
+
COLUMN_PARTNER_REF = "partnerRef",
|
|
4
|
+
COLUMN_TYPE = "type"
|
|
5
|
+
}
|
|
6
|
+
export declare type RelationGetData = {
|
|
7
|
+
[RelationGetDataFields.COLUMN_PARTNER_REF]: string;
|
|
8
|
+
[RelationGetDataFields.COLUMN_TYPE]: string;
|
|
9
|
+
};
|
|
10
|
+
export declare class RelationGetResult extends AbstractEntity<RelationGetData> {
|
|
11
|
+
#private;
|
|
12
|
+
constructor(data: RelationGetData);
|
|
13
|
+
get rate(): string;
|
|
14
|
+
get type(): string;
|
|
15
|
+
toJSON(): RelationGetData;
|
|
16
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 _RelationGetResult_rate, _RelationGetResult_type;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.RelationGetResult = exports.RelationGetDataFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
17
|
+
var RelationGetDataFields;
|
|
18
|
+
(function (RelationGetDataFields) {
|
|
19
|
+
RelationGetDataFields["COLUMN_PARTNER_REF"] = "partnerRef";
|
|
20
|
+
RelationGetDataFields["COLUMN_TYPE"] = "type";
|
|
21
|
+
})(RelationGetDataFields = exports.RelationGetDataFields || (exports.RelationGetDataFields = {}));
|
|
22
|
+
class RelationGetResult extends abstractEntity_1.AbstractEntity {
|
|
23
|
+
constructor(data) {
|
|
24
|
+
super(data);
|
|
25
|
+
_RelationGetResult_rate.set(this, void 0);
|
|
26
|
+
_RelationGetResult_type.set(this, void 0);
|
|
27
|
+
__classPrivateFieldSet(this, _RelationGetResult_rate, data[RelationGetDataFields.COLUMN_PARTNER_REF], "f");
|
|
28
|
+
__classPrivateFieldSet(this, _RelationGetResult_type, data[RelationGetDataFields.COLUMN_TYPE], "f");
|
|
29
|
+
}
|
|
30
|
+
get rate() {
|
|
31
|
+
return __classPrivateFieldGet(this, _RelationGetResult_rate, "f");
|
|
32
|
+
}
|
|
33
|
+
get type() {
|
|
34
|
+
return __classPrivateFieldGet(this, _RelationGetResult_type, "f");
|
|
35
|
+
}
|
|
36
|
+
toJSON() {
|
|
37
|
+
return {
|
|
38
|
+
[RelationGetDataFields.COLUMN_PARTNER_REF]: this.rate,
|
|
39
|
+
[RelationGetDataFields.COLUMN_TYPE]: this.type,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.RelationGetResult = RelationGetResult;
|
|
44
|
+
_RelationGetResult_rate = new WeakMap(), _RelationGetResult_type = new WeakMap();
|
|
45
|
+
//# sourceMappingURL=relationGetResult.js.map
|
|
@@ -9,6 +9,7 @@ export * from './entities/getLicense/actionsGetResult';
|
|
|
9
9
|
export * from './entities/getLicense/buySellFindResult';
|
|
10
10
|
export * from './entities/getLicense/extraDataGetResult';
|
|
11
11
|
export * from './entities/getLicense/licenseGetResult';
|
|
12
|
+
export * from './entities/getLicense/relationGetResult';
|
|
12
13
|
export * from './entities/getLicense/ratesGetResult';
|
|
13
14
|
export * from './entities/getLicense/licensePriceGetResult';
|
|
14
15
|
export * from './entities/getLicense/orderGetResult';
|
package/build/licenses/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./entities/getLicense/actionsGetResult"), exports);
|
|
|
25
25
|
__exportStar(require("./entities/getLicense/buySellFindResult"), exports);
|
|
26
26
|
__exportStar(require("./entities/getLicense/extraDataGetResult"), exports);
|
|
27
27
|
__exportStar(require("./entities/getLicense/licenseGetResult"), exports);
|
|
28
|
+
__exportStar(require("./entities/getLicense/relationGetResult"), exports);
|
|
28
29
|
__exportStar(require("./entities/getLicense/ratesGetResult"), exports);
|
|
29
30
|
__exportStar(require("./entities/getLicense/licensePriceGetResult"), exports);
|
|
30
31
|
__exportStar(require("./entities/getLicense/orderGetResult"), exports);
|
package/package.json
CHANGED