@managesome/eposmatic-toolkit 0.2.265 → 0.2.267

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.
@@ -22,12 +22,16 @@ export interface IWorker_CustomerUpdateOnCreateOrder {
22
22
  brand_id: string;
23
23
  tenant_id: string;
24
24
  }
25
- export interface IWorker_CustomerUpdateOnUpdateOrder {
26
- updatedOrderJson: IOrder;
27
- prevOrderJson: IOrder;
25
+ export interface IWorker_CustomerUpdateOnSettleOrder {
26
+ order: IOrder;
28
27
  newPaymentsForOrder: IOrderPayment[] | undefined;
28
+ isNewOrder: boolean;
29
+ customerUid?: string;
29
30
  brand_id: string;
31
+ tenant_id: string;
30
32
  phoneNumber: string;
33
+ settled_at: Date;
34
+ idempotency_key?: string;
31
35
  }
32
36
  export interface IWorker_WhatsAppOrderNotification {
33
37
  tenantName: string;
@@ -103,10 +107,6 @@ export interface IWorker_UpdateModifierNameInItems {
103
107
  prevModifier: IModifierExtra;
104
108
  newModifier: IModifierExtra;
105
109
  }
106
- export interface IWorker_UpdateCustomerInfoOnCancelOrder {
107
- brand_id: string;
108
- order: IOrder;
109
- }
110
110
  export interface IWorker_ProcessSwitchpayPaymentForOrder {
111
111
  order_id: string;
112
112
  tenant_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.265",
3
+ "version": "0.2.267",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",