@ikonintegration/mod-license-client 2.0.42 → 2.0.44

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.
@@ -13,6 +13,12 @@ export default class License {
13
13
  req.path = "/license/" + externalID + "/unassign/" + activationKey;
14
14
  return await req.exec();
15
15
  }
16
+ async assignLicenseCount(externalID, licenseID, body) {
17
+ const req = await this.api.newBaseRequest("PUT");
18
+ req.path = "/license/" + externalID + "/adjust/" + licenseID;
19
+ req.body = { ...body };
20
+ return await req.exec();
21
+ }
16
22
  async redeemLicenseByProduct(productID, externalID, sessionID) {
17
23
  const req = await this.api.newBaseRequest("POST");
18
24
  req.path = "/license/redeem/available";
@@ -111,7 +111,7 @@ export default class Order {
111
111
  async exportOrderRefunds(filterObj) {
112
112
  const req = await this.api.newBaseRequest("POST");
113
113
  req.path = `/orders/refunds/export`;
114
- req.bodyType = "BLOB";
114
+ req.bodyType = "JSON/BLOB";
115
115
  req.body = { ...filterObj };
116
116
  return await req.exec();
117
117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonintegration/mod-license-client",
3
- "version": "2.0.42",
3
+ "version": "2.0.44",
4
4
  "description": "Shared module license API client",
5
5
  "main": "index.js",
6
6
  "scripts": {