@arrowsphere/api-client 3.70.4 → 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,16 @@
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
+
11
+ ## [3.70.5] - 2023-11-29
12
+
13
+ ### Fixed
14
+ - Fix update issue support center
15
+
6
16
  ## [3.70.4] - 2023-11-29
7
17
 
8
18
  ### Changed
@@ -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");
@@ -44,7 +44,7 @@ class SupportCenterClient extends abstractRestfulClient_1.AbstractRestfulClient
44
44
  }
45
45
  async updateIssue(issueId, payload, parameters = {}) {
46
46
  this.path = `/issues/${issueId}`;
47
- return new getResult_1.GetResult(issue_1.Issue, await this.patch(payload, parameters));
47
+ return await this.patch(payload, parameters);
48
48
  }
49
49
  async listIssueComments(issueId, parameters = {}) {
50
50
  this.path = `/issues/${issueId}/comments`;
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.4",
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",