@arrowsphere/api-client 3.65.0 → 3.65.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.65.1] - 2023-11-17
7
+
8
+ ### Changed
9
+ - Fixes License security property
10
+
6
11
  ## [3.65.0] - 2023-11-15
7
12
 
8
13
  ### Changed
@@ -53,7 +53,7 @@ export declare type LicenseGetData = {
53
53
  [LicenseGetFields.COLUMN_NAME]: string;
54
54
  [LicenseGetFields.COLUMN_SEATS]: number;
55
55
  [LicenseGetFields.COLUMN_ACTIVE_SEATS]: ActiveSeatsFindResultData;
56
- [LicenseGetFields.COLUMN_SECURITY]: SecurityFindResultData;
56
+ [LicenseGetFields.COLUMN_SECURITY]?: SecurityFindResultData;
57
57
  [LicenseGetFields.COLUMN_ACTIVATION_DATETIME]: string | null;
58
58
  [LicenseGetFields.COLUMN_EXPIRY_DATETIME]: string | null;
59
59
  [LicenseGetFields.COLUMN_AUTO_RENEW]?: boolean;
@@ -89,7 +89,7 @@ export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
89
89
  get name(): string;
90
90
  get seats(): number;
91
91
  get activeSeats(): ActiveSeatsFindResult;
92
- get security(): SecurityFindResult;
92
+ get security(): SecurityFindResult | undefined;
93
93
  get activationDatetime(): string | null;
94
94
  get expiryDatetime(): string | null;
95
95
  get autoRenew(): boolean | undefined;
@@ -104,7 +104,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
104
104
  __classPrivateFieldSet(this, _LicenseGetResult_name, licenseGetDataInput[LicenseGetFields.COLUMN_NAME], "f");
105
105
  __classPrivateFieldSet(this, _LicenseGetResult_seats, licenseGetDataInput[LicenseGetFields.COLUMN_SEATS], "f");
106
106
  __classPrivateFieldSet(this, _LicenseGetResult_activeSeats, new activeSeatsFindResult_1.ActiveSeatsFindResult(licenseGetDataInput[LicenseGetFields.COLUMN_ACTIVE_SEATS]), "f");
107
- __classPrivateFieldSet(this, _LicenseGetResult_security, new securityFindResult_1.SecurityFindResult(licenseGetDataInput[LicenseGetFields.COLUMN_SECURITY]), "f");
107
+ __classPrivateFieldSet(this, _LicenseGetResult_security, licenseGetDataInput[LicenseGetFields.COLUMN_SECURITY]
108
+ ? new securityFindResult_1.SecurityFindResult(licenseGetDataInput[LicenseGetFields.COLUMN_SECURITY])
109
+ : undefined, "f");
108
110
  __classPrivateFieldSet(this, _LicenseGetResult_activation_datetime, licenseGetDataInput[LicenseGetFields.COLUMN_ACTIVATION_DATETIME], "f");
109
111
  __classPrivateFieldSet(this, _LicenseGetResult_expiry_datetime, licenseGetDataInput[LicenseGetFields.COLUMN_EXPIRY_DATETIME], "f");
110
112
  __classPrivateFieldSet(this, _LicenseGetResult_autoRenew, licenseGetDataInput[LicenseGetFields.COLUMN_AUTO_RENEW], "f");
@@ -223,7 +225,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
223
225
  return __classPrivateFieldGet(this, _LicenseGetResult_arrowSubCategories, "f");
224
226
  }
225
227
  toJSON() {
226
- var _a, _b;
228
+ var _a, _b, _c;
227
229
  return {
228
230
  [LicenseGetFields.COLUMN_LICENSE_ID]: this.id,
229
231
  [LicenseGetFields.COLUMN_PARENT_LICENSE_ID]: this.parentLicenseId,
@@ -238,13 +240,13 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
238
240
  [LicenseGetFields.COLUMN_NAME]: this.name,
239
241
  [LicenseGetFields.COLUMN_SEATS]: this.seats,
240
242
  [LicenseGetFields.COLUMN_ACTIVE_SEATS]: this.activeSeats.toJSON(),
241
- [LicenseGetFields.COLUMN_SECURITY]: this.security.toJSON(),
243
+ [LicenseGetFields.COLUMN_SECURITY]: (_a = this.security) === null || _a === void 0 ? void 0 : _a.toJSON(),
242
244
  [LicenseGetFields.COLUMN_ACTIVATION_DATETIME]: this.activationDatetime,
243
245
  [LicenseGetFields.COLUMN_EXPIRY_DATETIME]: this.expiryDatetime,
244
246
  [LicenseGetFields.COLUMN_AUTO_RENEW]: this.autoRenew,
245
247
  [LicenseGetFields.COLUMN_MESSAGE]: this.message,
246
- [LicenseGetFields.COLUMN_ACTIONS]: (_a = this.actions) === null || _a === void 0 ? void 0 : _a.toJSON(),
247
- [LicenseGetFields.COLUMN_ACTION_MESSAGES]: (_b = this.actionMessages) === null || _b === void 0 ? void 0 : _b.map((result) => result.toJSON()),
248
+ [LicenseGetFields.COLUMN_ACTIONS]: (_b = this.actions) === null || _b === void 0 ? void 0 : _b.toJSON(),
249
+ [LicenseGetFields.COLUMN_ACTION_MESSAGES]: (_c = this.actionMessages) === null || _c === void 0 ? void 0 : _c.map((result) => result.toJSON()),
248
250
  [LicenseGetFields.COLUMN_ORDER_REFERENCE]: this.orderReference,
249
251
  [LicenseGetFields.COLUMN_ORDER]: this.order.toJSON(),
250
252
  [LicenseGetFields.COLUMN_VENDOR_LICENSE_ID]: this.vendorLicenseId,
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.65.0",
7
+ "version": "3.65.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",