@compassdigital/sdk.typescript 4.696.0 → 4.698.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
@@ -7632,6 +7632,24 @@ class ServiceClient extends base_1.BaseServiceClient {
7632
7632
  post_delivery_order_status(id, body, options) {
7633
7633
  return this.request('delivery', '/delivery/order/{id}/status', 'POST', `/delivery/order/${id}/status`, body, options);
7634
7634
  }
7635
+ /**
7636
+ * POST /delivery/order - Create an AVRIDE scheduled order before payment processing
7637
+ *
7638
+ * @param body
7639
+ * @param options - additional request options
7640
+ */
7641
+ post_delivery_order_create(body, options) {
7642
+ return this.request('delivery', '/delivery/order', 'POST', `/delivery/order`, body, options);
7643
+ }
7644
+ /**
7645
+ * POST /delivery/order/{id}/cancel - Cancel an AVRIDE order (payment-failure compensation)
7646
+ *
7647
+ * @param id
7648
+ * @param options - additional request options
7649
+ */
7650
+ post_delivery_order_cancel(id, options) {
7651
+ return this.request('delivery', '/delivery/order/{id}/cancel', 'POST', `/delivery/order/${id}/cancel`, null, options);
7652
+ }
7635
7653
  }
7636
7654
  exports.ServiceClient = ServiceClient;
7637
7655
  //# sourceMappingURL=index.js.map