@arrowsphere/api-client 3.70.5 → 3.70.6

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.70.6] - 2023-11-30
7
+
8
+ ### Fixed
9
+ - Fix empty assets and promotion in LicenseGetResult
10
+
6
11
  ## [3.70.5] - 2023-11-29
7
12
 
8
13
  ### Fixed
@@ -139,8 +139,12 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
139
139
  __classPrivateFieldSet(this, _LicenseGetResult_arrowSubCategories, licenseGetDataInput[LicenseGetFields.COLUMN_ARROW_SUB_CATEGORIES], "f");
140
140
  __classPrivateFieldSet(this, _LicenseGetResult_nextRenewalDate, licenseGetDataInput[LicenseGetFields.COLUMN_NEXT_RENEWAL_DATE], "f");
141
141
  __classPrivateFieldSet(this, _LicenseGetResult_vendorBillingId, licenseGetDataInput[LicenseGetFields.COLUMN_VENDOR_BILLING_ID], "f");
142
- __classPrivateFieldSet(this, _LicenseGetResult_promotion, new promotionFindResult_1.PromotionFindResult(licenseGetDataInput[LicenseGetFields.COLUMN_PROMOTION] || {}), "f");
143
- __classPrivateFieldSet(this, _LicenseGetResult_assets, new assetsFindResult_1.AssetsFindResult(licenseGetDataInput[LicenseGetFields.COLUMN_ASSETS] || {}), "f");
142
+ __classPrivateFieldSet(this, _LicenseGetResult_promotion, licenseGetDataInput[LicenseGetFields.COLUMN_PROMOTION]
143
+ ? new promotionFindResult_1.PromotionFindResult(licenseGetDataInput[LicenseGetFields.COLUMN_PROMOTION])
144
+ : undefined, "f");
145
+ __classPrivateFieldSet(this, _LicenseGetResult_assets, licenseGetDataInput[LicenseGetFields.COLUMN_ASSETS]
146
+ ? new assetsFindResult_1.AssetsFindResult(licenseGetDataInput[LicenseGetFields.COLUMN_ASSETS])
147
+ : undefined, "f");
144
148
  }
145
149
  get id() {
146
150
  return __classPrivateFieldGet(this, _LicenseGetResult_license_id, "f");
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.70.5",
7
+ "version": "3.70.6",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",