@arrowsphere/api-client 3.4.0 → 3.5.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 CHANGED
@@ -3,6 +3,13 @@
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.5.0] - 2022-05-02
7
+
8
+ ### Changed
9
+
10
+ - Object LicenseGetResult:
11
+ - Add field termCode and periodicityCode
12
+
6
13
  ## [3.4.0] - 2022-04-28
7
14
 
8
15
  ### Changed
@@ -28,7 +28,9 @@ export declare enum LicenseGetFields {
28
28
  COLUMN_ORDER = "order",
29
29
  COLUMN_VENDOR_LICENSE_ID = "vendor_license_id",
30
30
  COLUMN_PERIODICITY = "periodicity",
31
+ COLUMN_PERIODICITY_CODE = "periodicityCode",
31
32
  COLUMN_TERM = "term",
33
+ COLUMN_TERM_CODE = "termCode",
32
34
  COLUMN_CATEGORY = "category",
33
35
  COLUMN_PROGRAM = "program",
34
36
  COLUMN_ASSOCIATED_SUBSCRIPTION_PROGRAM = "associatedSubscriptionProgram",
@@ -59,7 +61,9 @@ export declare type LicenseGetData = {
59
61
  [LicenseGetFields.COLUMN_ORDER]: OrderGetData;
60
62
  [LicenseGetFields.COLUMN_VENDOR_LICENSE_ID]: string | null;
61
63
  [LicenseGetFields.COLUMN_PERIODICITY]: string;
64
+ [LicenseGetFields.COLUMN_PERIODICITY_CODE]: number;
62
65
  [LicenseGetFields.COLUMN_TERM]: string;
66
+ [LicenseGetFields.COLUMN_TERM_CODE]: number;
63
67
  [LicenseGetFields.COLUMN_CATEGORY]: string;
64
68
  [LicenseGetFields.COLUMN_PROGRAM]: string;
65
69
  [LicenseGetFields.COLUMN_ASSOCIATED_SUBSCRIPTION_PROGRAM]: string;
@@ -92,7 +96,9 @@ export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
92
96
  get order(): OrderGetResult;
93
97
  get vendorLicenseId(): string | null;
94
98
  get periodicity(): string;
99
+ get periodicityCode(): number;
95
100
  get term(): string;
101
+ get termCode(): number;
96
102
  get category(): string;
97
103
  get program(): string;
98
104
  get associatedSubscriptionProgram(): string;
@@ -12,7 +12,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
12
12
  }
13
13
  return privateMap.get(receiver);
14
14
  };
15
- var _license_id, _parent_license_id, _friendlyName, _customer_ref, _state, _statusCode, _isTrial, _isAddon, _service_ref, _sku, _name, _seats, _activeSeats, _activation_datetime, _expiry_datetime, _autoRenew, _message, _actions, _actionMessages, _order_reference, _order, _vendor_license_id, _periodicity, _term, _category, _program, _associatedSubscriptionProgram, _price, _arrowSubCategories;
15
+ var _license_id, _parent_license_id, _friendlyName, _customer_ref, _state, _statusCode, _isTrial, _isAddon, _service_ref, _sku, _name, _seats, _activeSeats, _activation_datetime, _expiry_datetime, _autoRenew, _message, _actions, _actionMessages, _order_reference, _order, _vendor_license_id, _periodicity, _periodicityCode, _term, _termCode, _category, _program, _associatedSubscriptionProgram, _price, _arrowSubCategories;
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.LicenseGetResult = exports.LicenseGetFields = void 0;
18
18
  const actionsGetResult_1 = require("./actionsGetResult");
@@ -46,7 +46,9 @@ var LicenseGetFields;
46
46
  LicenseGetFields["COLUMN_ORDER"] = "order";
47
47
  LicenseGetFields["COLUMN_VENDOR_LICENSE_ID"] = "vendor_license_id";
48
48
  LicenseGetFields["COLUMN_PERIODICITY"] = "periodicity";
49
+ LicenseGetFields["COLUMN_PERIODICITY_CODE"] = "periodicityCode";
49
50
  LicenseGetFields["COLUMN_TERM"] = "term";
51
+ LicenseGetFields["COLUMN_TERM_CODE"] = "termCode";
50
52
  LicenseGetFields["COLUMN_CATEGORY"] = "category";
51
53
  LicenseGetFields["COLUMN_PROGRAM"] = "program";
52
54
  LicenseGetFields["COLUMN_ASSOCIATED_SUBSCRIPTION_PROGRAM"] = "associatedSubscriptionProgram";
@@ -80,7 +82,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
80
82
  _order.set(this, void 0);
81
83
  _vendor_license_id.set(this, void 0);
82
84
  _periodicity.set(this, void 0);
85
+ _periodicityCode.set(this, void 0);
83
86
  _term.set(this, void 0);
87
+ _termCode.set(this, void 0);
84
88
  _category.set(this, void 0);
85
89
  _program.set(this, void 0);
86
90
  _associatedSubscriptionProgram.set(this, void 0);
@@ -111,7 +115,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
111
115
  __classPrivateFieldSet(this, _order, new orderGetResult_1.OrderGetResult(licenseGetDataInput[LicenseGetFields.COLUMN_ORDER]));
112
116
  __classPrivateFieldSet(this, _vendor_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_VENDOR_LICENSE_ID]);
113
117
  __classPrivateFieldSet(this, _periodicity, licenseGetDataInput[LicenseGetFields.COLUMN_PERIODICITY]);
118
+ __classPrivateFieldSet(this, _periodicityCode, licenseGetDataInput[LicenseGetFields.COLUMN_PERIODICITY_CODE]);
114
119
  __classPrivateFieldSet(this, _term, licenseGetDataInput[LicenseGetFields.COLUMN_TERM]);
120
+ __classPrivateFieldSet(this, _termCode, licenseGetDataInput[LicenseGetFields.COLUMN_TERM_CODE]);
115
121
  __classPrivateFieldSet(this, _category, licenseGetDataInput[LicenseGetFields.COLUMN_CATEGORY]);
116
122
  __classPrivateFieldSet(this, _program, licenseGetDataInput[LicenseGetFields.COLUMN_PROGRAM]);
117
123
  __classPrivateFieldSet(this, _associatedSubscriptionProgram, licenseGetDataInput[LicenseGetFields.COLUMN_ASSOCIATED_SUBSCRIPTION_PROGRAM]);
@@ -187,9 +193,15 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
187
193
  get periodicity() {
188
194
  return __classPrivateFieldGet(this, _periodicity);
189
195
  }
196
+ get periodicityCode() {
197
+ return __classPrivateFieldGet(this, _periodicityCode);
198
+ }
190
199
  get term() {
191
200
  return __classPrivateFieldGet(this, _term);
192
201
  }
202
+ get termCode() {
203
+ return __classPrivateFieldGet(this, _termCode);
204
+ }
193
205
  get category() {
194
206
  return __classPrivateFieldGet(this, _category);
195
207
  }
@@ -231,7 +243,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
231
243
  [LicenseGetFields.COLUMN_ORDER]: this.order.toJSON(),
232
244
  [LicenseGetFields.COLUMN_VENDOR_LICENSE_ID]: this.vendorLicenseId,
233
245
  [LicenseGetFields.COLUMN_PERIODICITY]: this.periodicity,
246
+ [LicenseGetFields.COLUMN_PERIODICITY_CODE]: this.periodicityCode,
234
247
  [LicenseGetFields.COLUMN_TERM]: this.term,
248
+ [LicenseGetFields.COLUMN_TERM_CODE]: this.termCode,
235
249
  [LicenseGetFields.COLUMN_CATEGORY]: this.category,
236
250
  [LicenseGetFields.COLUMN_PROGRAM]: this.program,
237
251
  [LicenseGetFields.COLUMN_ASSOCIATED_SUBSCRIPTION_PROGRAM]: this
@@ -242,5 +256,5 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
242
256
  }
243
257
  }
244
258
  exports.LicenseGetResult = LicenseGetResult;
245
- _license_id = new WeakMap(), _parent_license_id = new WeakMap(), _friendlyName = new WeakMap(), _customer_ref = new WeakMap(), _state = new WeakMap(), _statusCode = new WeakMap(), _isTrial = new WeakMap(), _isAddon = new WeakMap(), _service_ref = new WeakMap(), _sku = new WeakMap(), _name = new WeakMap(), _seats = new WeakMap(), _activeSeats = new WeakMap(), _activation_datetime = new WeakMap(), _expiry_datetime = new WeakMap(), _autoRenew = new WeakMap(), _message = new WeakMap(), _actions = new WeakMap(), _actionMessages = new WeakMap(), _order_reference = new WeakMap(), _order = new WeakMap(), _vendor_license_id = new WeakMap(), _periodicity = new WeakMap(), _term = new WeakMap(), _category = new WeakMap(), _program = new WeakMap(), _associatedSubscriptionProgram = new WeakMap(), _price = new WeakMap(), _arrowSubCategories = new WeakMap();
259
+ _license_id = new WeakMap(), _parent_license_id = new WeakMap(), _friendlyName = new WeakMap(), _customer_ref = new WeakMap(), _state = new WeakMap(), _statusCode = new WeakMap(), _isTrial = new WeakMap(), _isAddon = new WeakMap(), _service_ref = new WeakMap(), _sku = new WeakMap(), _name = new WeakMap(), _seats = new WeakMap(), _activeSeats = new WeakMap(), _activation_datetime = new WeakMap(), _expiry_datetime = new WeakMap(), _autoRenew = new WeakMap(), _message = new WeakMap(), _actions = new WeakMap(), _actionMessages = new WeakMap(), _order_reference = new WeakMap(), _order = new WeakMap(), _vendor_license_id = new WeakMap(), _periodicity = new WeakMap(), _periodicityCode = new WeakMap(), _term = new WeakMap(), _termCode = new WeakMap(), _category = new WeakMap(), _program = new WeakMap(), _associatedSubscriptionProgram = new WeakMap(), _price = new WeakMap(), _arrowSubCategories = new WeakMap();
246
260
  //# sourceMappingURL=licenseGetResult.js.map
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.4.0",
7
+ "version": "3.5.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",