@ikonintegration/mod-license-client 2.0.20 → 2.0.22

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.
@@ -48,6 +48,11 @@ export default class Order {
48
48
  req.path = `/productOrder/${externalID}/${orderID}`;
49
49
  return await req.exec();
50
50
  }
51
+ async getProductOrderExpanded(externalID, orderID) {
52
+ const req = await this.api.newBaseRequest("GET");
53
+ req.path = `/productOrder/${externalID}/${orderID}/expanded`;
54
+ return await req.exec();
55
+ }
51
56
  async getProductOrdersByExternalID(externalID) {
52
57
  const req = await this.api.newBaseRequest("GET");
53
58
  req.path = "/productOrders/" + externalID;
@@ -76,9 +81,9 @@ export default class Order {
76
81
  req.path = `/productOrder/${orderID}`;
77
82
  return await req.exec();
78
83
  }
79
- async searchProductOrdersByExternalID(externalID, filters) {
84
+ async searchProductOrders(filters) {
80
85
  const req = await this.api.newBaseRequest("POST");
81
- req.path = "/productOrders/" + externalID;
86
+ req.path = "/productOrders/search";
82
87
  if (filters) req.body = filters;
83
88
  return await req.exec();
84
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonintegration/mod-license-client",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "description": "Shared module license API client",
5
5
  "main": "index.js",
6
6
  "scripts": {