@ikonintegration/mod-license-client 2.0.38 → 2.0.40

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.
@@ -108,10 +108,28 @@ export default class Order {
108
108
  req.path = `/order/${orderID}`;
109
109
  return await req.exec();
110
110
  }
111
+ async exportOrderRefunds(filterObj) {
112
+ const req = await this.api.newBaseRequest("POST");
113
+ req.path = `/orders/refunds/export`;
114
+ req.body = { ...filterObj };
115
+ return await req.exec();
116
+ }
117
+ async searchOrderRefunds(filterObj) {
118
+ const req = await this.api.newBaseRequest("POST");
119
+ req.path = `/orders/refunds`;
120
+ req.body = { ...filterObj };
121
+ return await req.exec();
122
+ }
111
123
  async updateOrder(externalID, orderID, orderObj) {
112
124
  const req = await this.api.newBaseRequest("PUT");
113
125
  req.path = `/order/${externalID}/${orderID}`;
114
126
  req.body = orderObj;
115
127
  return await req.exec();
116
128
  }
129
+ async updateOrderRefund(externalID, orderID, refundedOn, orderRefundObj) {
130
+ const req = await this.api.newBaseRequest("PUT");
131
+ req.path = `/order/${externalID}/${orderID}/refund/${refundedOn}`;
132
+ req.body = orderRefundObj;
133
+ return await req.exec();
134
+ }
117
135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonintegration/mod-license-client",
3
- "version": "2.0.38",
3
+ "version": "2.0.40",
4
4
  "description": "Shared module license API client",
5
5
  "main": "index.js",
6
6
  "scripts": {