@arrowsphere/api-client 3.83.0 → 3.84.1-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/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.84.0] - 2024-01-04
7
+
8
+ ### Added
9
+ - [license] add license relation
10
+
6
11
  ## [3.83.0] - 2024-01-04
7
12
 
8
13
  ### Added
@@ -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",
@@ -51,7 +52,8 @@ export declare enum LicenseGetFields {
51
52
  COLUMN_PRICE_BAND = "priceBand",
52
53
  COLUMN_VENDOR_CODE = "vendorCode",
53
54
  COLUMN_RATES = "rates",
54
- COLUMN_ORGANIZATION_UNIT_ID = "organizationUnitId"
55
+ COLUMN_ORGANIZATION_UNIT_ID = "organizationUnitId",
56
+ COLUMN_RELATION = "relation"
55
57
  }
56
58
  export declare type LicenseGetData = {
57
59
  [LicenseGetFields.COLUMN_LICENSE_ID]: string;
@@ -95,6 +97,7 @@ export declare type LicenseGetData = {
95
97
  [LicenseGetFields.COLUMN_VENDOR_CODE]?: string;
96
98
  [LicenseGetFields.COLUMN_RATES]?: RatesGetData;
97
99
  [LicenseGetFields.COLUMN_ORGANIZATION_UNIT_ID]?: number;
100
+ [LicenseGetFields.COLUMN_RELATION]?: RelationGetData[];
98
101
  };
99
102
  export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
100
103
  #private;
@@ -140,5 +143,6 @@ export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
140
143
  get vendorCode(): string | undefined;
141
144
  get rates(): RatesGetResult | undefined;
142
145
  get organizationUnitId(): number | undefined;
146
+ get relation(): RelationGetResult[] | undefined;
143
147
  toJSON(): LicenseGetData;
144
148
  }
@@ -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, _LicenseGetResult_organizationUnitId;
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_organizationUnitId, _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";
@@ -68,10 +69,11 @@ var LicenseGetFields;
68
69
  LicenseGetFields["COLUMN_VENDOR_CODE"] = "vendorCode";
69
70
  LicenseGetFields["COLUMN_RATES"] = "rates";
70
71
  LicenseGetFields["COLUMN_ORGANIZATION_UNIT_ID"] = "organizationUnitId";
72
+ LicenseGetFields["COLUMN_RELATION"] = "relation";
71
73
  })(LicenseGetFields = exports.LicenseGetFields || (exports.LicenseGetFields = {}));
72
74
  class LicenseGetResult extends abstractEntity_1.AbstractEntity {
73
75
  constructor(licenseGetDataInput) {
74
- var _a, _b;
76
+ var _a, _b, _c;
75
77
  super(licenseGetDataInput);
76
78
  _LicenseGetResult_license_id.set(this, void 0);
77
79
  _LicenseGetResult_parent_license_id.set(this, void 0);
@@ -114,6 +116,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
114
116
  _LicenseGetResult_vendorCode.set(this, void 0);
115
117
  _LicenseGetResult_rates.set(this, void 0);
116
118
  _LicenseGetResult_organizationUnitId.set(this, void 0);
119
+ _LicenseGetResult_relation.set(this, void 0);
117
120
  __classPrivateFieldSet(this, _LicenseGetResult_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_LICENSE_ID], "f");
118
121
  __classPrivateFieldSet(this, _LicenseGetResult_parent_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_PARENT_LICENSE_ID], "f");
119
122
  __classPrivateFieldSet(this, _LicenseGetResult_friendlyName, licenseGetDataInput[LicenseGetFields.COLUMN_FRIENDLY_NAME], "f");
@@ -167,6 +170,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
167
170
  ? new ratesGetResult_1.RatesGetResult(licenseGetDataInput[LicenseGetFields.COLUMN_RATES])
168
171
  : undefined, "f");
169
172
  __classPrivateFieldSet(this, _LicenseGetResult_organizationUnitId, licenseGetDataInput[LicenseGetFields.COLUMN_ORGANIZATION_UNIT_ID], "f");
173
+ __classPrivateFieldSet(this, _LicenseGetResult_relation, licenseGetDataInput[LicenseGetFields.COLUMN_RELATION]
174
+ ? (_c = licenseGetDataInput[LicenseGetFields.COLUMN_RELATION]) === null || _c === void 0 ? void 0 : _c.map((v) => new relationGetResult_1.RelationGetResult(v))
175
+ : undefined, "f");
170
176
  }
171
177
  get id() {
172
178
  return __classPrivateFieldGet(this, _LicenseGetResult_license_id, "f");
@@ -291,8 +297,11 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
291
297
  get organizationUnitId() {
292
298
  return __classPrivateFieldGet(this, _LicenseGetResult_organizationUnitId, "f");
293
299
  }
300
+ get relation() {
301
+ return __classPrivateFieldGet(this, _LicenseGetResult_relation, "f");
302
+ }
294
303
  toJSON() {
295
- var _a, _b, _c, _d, _e, _f, _g, _h;
304
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
296
305
  return {
297
306
  [LicenseGetFields.COLUMN_LICENSE_ID]: this.id,
298
307
  [LicenseGetFields.COLUMN_PARENT_LICENSE_ID]: this.parentLicenseId,
@@ -336,9 +345,10 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
336
345
  [LicenseGetFields.COLUMN_VENDOR_CODE]: this.vendorCode,
337
346
  [LicenseGetFields.COLUMN_RATES]: (_h = this.rates) === null || _h === void 0 ? void 0 : _h.toJSON(),
338
347
  [LicenseGetFields.COLUMN_ORGANIZATION_UNIT_ID]: this.organizationUnitId,
348
+ [LicenseGetFields.COLUMN_RELATION]: (_j = this.relation) === null || _j === void 0 ? void 0 : _j.map((v) => v.toJSON()),
339
349
  };
340
350
  }
341
351
  }
342
352
  exports.LicenseGetResult = LicenseGetResult;
343
- _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_organizationUnitId = new WeakMap();
353
+ _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_organizationUnitId = new WeakMap(), _LicenseGetResult_relation = new WeakMap();
344
354
  //# 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';
@@ -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
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.83.0",
7
+ "version": "3.84.1-rc.bdj.1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",