@compassdigital/sdk.typescript 4.971.0 → 4.973.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.d.ts +17 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +19 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +20 -0
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +1 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +47 -1
- package/src/interface/consumer.ts +39 -0
- package/src/interface/mealplan.ts +1 -1
package/lib/index.js
CHANGED
|
@@ -6248,6 +6248,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6248
6248
|
post_payment_cashless_consumer(id, body, options) {
|
|
6249
6249
|
return this.request('consumer', '/consumer/payment/{id}/cashless', 'POST', `/consumer/payment/${id}/cashless`, body, options);
|
|
6250
6250
|
}
|
|
6251
|
+
/**
|
|
6252
|
+
* DELETE /consumer/payment/{id}/cashless - Delete payment cashless tenders
|
|
6253
|
+
*
|
|
6254
|
+
* @param id - Payment ID
|
|
6255
|
+
* @param body - Delete Payment Cashless Body
|
|
6256
|
+
* @param options - additional request options
|
|
6257
|
+
*/
|
|
6258
|
+
delete_consumer_payment_cashless(id, body, options) {
|
|
6259
|
+
return this.request('consumer', '/consumer/payment/{id}/cashless', 'DELETE', `/consumer/payment/${id}/cashless`, body, options);
|
|
6260
|
+
}
|
|
6251
6261
|
/**
|
|
6252
6262
|
* GET /consumer/payment/{id}/clienttoken - get payment client token
|
|
6253
6263
|
*
|
|
@@ -6282,6 +6292,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6282
6292
|
post_consumer_payment_token(body, options) {
|
|
6283
6293
|
return this.request('consumer', '/consumer/payment/token', 'POST', `/consumer/payment/token`, body, options);
|
|
6284
6294
|
}
|
|
6295
|
+
/**
|
|
6296
|
+
* DELETE /consumer/payment/token - Delete a saved payment token from the user profile
|
|
6297
|
+
*
|
|
6298
|
+
* @param body
|
|
6299
|
+
* @param options - additional request options
|
|
6300
|
+
*/
|
|
6301
|
+
delete_consumer_payment_token(body, options) {
|
|
6302
|
+
return this.request('consumer', '/consumer/payment/token', 'DELETE', `/consumer/payment/token`, body, options);
|
|
6303
|
+
}
|
|
6285
6304
|
/**
|
|
6286
6305
|
* GET /consumer/shoppingcart/{id} - Get a shopping cart by ID
|
|
6287
6306
|
*
|