@managesome/eposmatic-toolkit 0.2.505 → 0.2.507

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.
@@ -8,7 +8,9 @@ export declare const WORKER_ENDPOINTS: {
8
8
  readonly RESERVE_CUSTOMER_REDEMPTIONS_FOR_ORDER: "/reserve-customer-redemptions-for-order";
9
9
  readonly RELEASE_CUSTOMER_REDEMPTIONS_FOR_ORDER: "/release-customer-redemptions-for-order";
10
10
  readonly UPDATE_CUSTOMER_REDEMPTIONS_ON_WALLET_ASSIGNMENT: "/update-customer-redemptions-on-wallet-assignment";
11
- readonly WA_ORDER_NOTIFICATION: "/wa-order-notification";
11
+ readonly SEND_WA_ORDER_NOTIFICATION: "/send-wa-order-notification";
12
+ readonly SEND_EMAIL_ORDER_NOTIFICATION: "/send-email-order-notification";
13
+ readonly SEND_APP_ORDER_NOTIFICATION: "/send-app-order-notification";
12
14
  readonly NOTIFY_TO_RATE_ORDER: "/notify-to-rate-order";
13
15
  readonly CREATE_VOID_ORDER_ITEMS: "/create-void-order-items";
14
16
  readonly CREATE_VOID_ORDER_ITEMS_ON_OFFLINE_SYNC: "/create-void-order-items-on-offline-sync";
@@ -12,7 +12,9 @@ exports.WORKER_ENDPOINTS = {
12
12
  RESERVE_CUSTOMER_REDEMPTIONS_FOR_ORDER: '/reserve-customer-redemptions-for-order',
13
13
  RELEASE_CUSTOMER_REDEMPTIONS_FOR_ORDER: '/release-customer-redemptions-for-order',
14
14
  UPDATE_CUSTOMER_REDEMPTIONS_ON_WALLET_ASSIGNMENT: '/update-customer-redemptions-on-wallet-assignment',
15
- WA_ORDER_NOTIFICATION: '/wa-order-notification',
15
+ SEND_WA_ORDER_NOTIFICATION: '/send-wa-order-notification',
16
+ SEND_EMAIL_ORDER_NOTIFICATION: '/send-email-order-notification',
17
+ SEND_APP_ORDER_NOTIFICATION: '/send-app-order-notification',
16
18
  NOTIFY_TO_RATE_ORDER: '/notify-to-rate-order',
17
19
  CREATE_VOID_ORDER_ITEMS: '/create-void-order-items',
18
20
  CREATE_VOID_ORDER_ITEMS_ON_OFFLINE_SYNC: '/create-void-order-items-on-offline-sync',
@@ -46,7 +46,35 @@ export interface IWorker_ReleaseCustomerRedemptionsForOrder {
46
46
  brand_id: string;
47
47
  phoneNumber?: string;
48
48
  }
49
- export interface IWorker_WhatsAppOrderNotification {
49
+ export interface IWorker_SendWhatsAppOrderNotification {
50
+ tenantName: string;
51
+ takeaway_is_pickup: boolean | undefined;
52
+ image_url: string;
53
+ orderType: string;
54
+ rider_name: string | null | undefined;
55
+ rider_phone: string | null | undefined;
56
+ cancel_reason: string | null | undefined;
57
+ order_status: ORDER_STATUS_ENUM;
58
+ order_id: string;
59
+ customer_phone: string;
60
+ tenant_id: string;
61
+ order_number: number | null;
62
+ }
63
+ export interface IWorker_SendEmailOrderNotification {
64
+ tenantName: string;
65
+ takeaway_is_pickup: boolean | undefined;
66
+ image_url: string;
67
+ orderType: string;
68
+ rider_name: string | null | undefined;
69
+ rider_phone: string | null | undefined;
70
+ cancel_reason: string | null | undefined;
71
+ order_status: ORDER_STATUS_ENUM;
72
+ order_id: string;
73
+ customer_phone: string;
74
+ tenant_id: string;
75
+ order_number: number | null;
76
+ }
77
+ export interface IWorker_SendAppOrderNotification {
50
78
  tenantName: string;
51
79
  takeaway_is_pickup: boolean | undefined;
52
80
  image_url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.505",
3
+ "version": "0.2.507",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",