@compassdigital/sdk.typescript 4.822.0 → 4.823.0

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/lib/index.js CHANGED
@@ -5956,6 +5956,16 @@ class ServiceClient extends base_1.BaseServiceClient {
5956
5956
  patch_consumer_order_cancel(id, body, options) {
5957
5957
  return this.request('consumer', '/consumer/order/{id}/cancel', 'PATCH', `/consumer/order/${id}/cancel`, body, options);
5958
5958
  }
5959
+ /**
5960
+ * POST /consumer/order/{id}/issue - Report an issue with an existing order
5961
+ *
5962
+ * @param id - a valid CDL order id
5963
+ * @param body - Order issue payload. If reporting a dispute use type 'DISPUTE'. In case of dispute, item id and reason are mandatory.
5964
+ * @param options - additional request options
5965
+ */
5966
+ post_consumer_order_issue(id, body, options) {
5967
+ return this.request('consumer', '/consumer/order/{id}/issue', 'POST', `/consumer/order/${id}/issue`, body, options);
5968
+ }
5959
5969
  /**
5960
5970
  * POST /consumer/review/order-items - Submit reviews for order items
5961
5971
  *