@compassdigital/sdk.typescript 4.846.0 → 4.847.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 +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/order.d.ts +10 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +24 -0
- package/src/interface/order.ts +18 -0
package/lib/index.js
CHANGED
|
@@ -386,6 +386,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
386
386
|
post_order_apex_sns(body, options) {
|
|
387
387
|
return this.request('order', '/order/apex/sns', 'POST', `/order/apex/sns`, body, options);
|
|
388
388
|
}
|
|
389
|
+
/**
|
|
390
|
+
* POST /order/{id}/pos-receipt - Send POS receipt email
|
|
391
|
+
*
|
|
392
|
+
* @param id - The order ID
|
|
393
|
+
* @param body - Email address to send the receipt to
|
|
394
|
+
* @param options - additional request options
|
|
395
|
+
*/
|
|
396
|
+
post_order_pos_receipt(id, body, options) {
|
|
397
|
+
return this.request('order', '/order/{id}/pos-receipt', 'POST', `/order/${id}/pos-receipt`, body, options);
|
|
398
|
+
}
|
|
389
399
|
/**
|
|
390
400
|
* PATCH /order/{id}/receipt-email - Update order receipt email
|
|
391
401
|
*
|