@compassdigital/sdk.typescript 4.620.0 → 4.621.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
@@ -5573,6 +5573,15 @@ class ServiceClient extends base_1.BaseServiceClient {
5573
5573
  get_customer_orders(userId, options) {
5574
5574
  return this.request('consumer', '/consumer/customer-orders/{userId}', 'GET', `/consumer/customer-orders/${userId}`, null, options);
5575
5575
  }
5576
+ /**
5577
+ * GET /consumer/v2/customer-orders/{userId} - Get customer orders
5578
+ *
5579
+ * @param userId - a valid CDL user id
5580
+ * @param options - additional request options
5581
+ */
5582
+ get_customer_orders_v2(userId, options) {
5583
+ return this.request('consumer', '/consumer/v2/customer-orders/{userId}', 'GET', `/consumer/v2/customer-orders/${userId}`, null, options);
5584
+ }
5576
5585
  /**
5577
5586
  * POST /consumer/order - Create a new order
5578
5587
  *