@managesome/eposmatic-toolkit 0.2.510 → 0.2.511

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.
@@ -75,6 +75,7 @@ export interface IWorker_SendEmailOrderNotification {
75
75
  tenant_id: string;
76
76
  order_number: number | null;
77
77
  brand_color: string;
78
+ estimated_time: Date | null;
78
79
  }
79
80
  export interface IWorker_SendAppOrderNotification {
80
81
  tenantName: string;
@@ -89,6 +90,7 @@ export interface IWorker_SendAppOrderNotification {
89
90
  customer_phone: string;
90
91
  tenant_id: string;
91
92
  order_number: number | null;
93
+ estimated_time: Date | null;
92
94
  }
93
95
  export interface IWorker_NotifyToRateOrder {
94
96
  order_id: string;
@@ -259,6 +259,10 @@ export interface ISettingsForCloud {
259
259
  currency_code: ITenant['currency_code'];
260
260
  operational_time_zone_offset_gmt: ITenant['operational_time_zone_offset_gmt'];
261
261
  auto_accept_order_for_platforms: ITenant['auto_accept_order_for_platforms'];
262
+ send_sms_on_order_status: ITenant['send_sms_on_order_status'];
263
+ auto_sms_platforms: ITenant['auto_sms_platforms'];
264
+ send_email_on_order_status: ITenant['send_email_on_order_status'];
265
+ auto_email_platforms: ITenant['auto_email_platforms'];
262
266
  provider_id: ITenant['provider_id'];
263
267
  card_gst: ITenant['card_gst'];
264
268
  tax_invoice_generation_id: ITenant['tax_invoice_generation_id'];
@@ -268,7 +272,6 @@ export interface ISettingsForCloud {
268
272
  operational_start_time: ITenant['operational_start_time'];
269
273
  exempt_gst_for_platforms: ITenant['exempt_gst_for_platforms'];
270
274
  takeaway_is_pickup: ITenant['takeaway_is_pickup'];
271
- send_sms_on_order_status: ITenant['send_sms_on_order_status'];
272
275
  pos_end_seating_when_order_paid_off: ITenant['pos_end_seating_when_order_paid_off'];
273
276
  review_phone_numbers: ITenant['review_phone_numbers'];
274
277
  support_email: ITenant['support_email'];
@@ -277,8 +280,6 @@ export interface ISettingsForCloud {
277
280
  cash_gst: ITenant['cash_gst'];
278
281
  default_gst_type: ITenant['default_gst_type'];
279
282
  coordinates: ITenant['coordinates'];
280
- auto_sms_platforms: ITenant['auto_sms_platforms'];
281
- auto_email_platforms: ITenant['auto_email_platforms'];
282
283
  alert_phone_numbers: ITenant['alert_phone_numbers'];
283
284
  alert_email_addresses: ITenant['alert_email_addresses'];
284
285
  alert_when: ITenant['alert_when'];
@@ -353,7 +353,6 @@ function getSettingsForCloud(settings) {
353
353
  operational_start_time: settings.operational_start_time,
354
354
  exempt_gst_for_platforms: settings.exempt_gst_for_platforms,
355
355
  takeaway_is_pickup: settings.takeaway_is_pickup,
356
- send_sms_on_order_status: settings.send_sms_on_order_status,
357
356
  pos_end_seating_when_order_paid_off: settings.pos_end_seating_when_order_paid_off,
358
357
  review_phone_numbers: settings.review_phone_numbers,
359
358
  support_email: settings.support_email,
@@ -363,7 +362,9 @@ function getSettingsForCloud(settings) {
363
362
  default_gst_type: settings.default_gst_type,
364
363
  coordinates: settings.coordinates,
365
364
  auto_sms_platforms: settings.auto_sms_platforms,
365
+ send_sms_on_order_status: settings.send_sms_on_order_status,
366
366
  auto_email_platforms: settings.auto_email_platforms,
367
+ send_email_on_order_status: settings.send_email_on_order_status,
367
368
  alert_phone_numbers: settings.alert_phone_numbers,
368
369
  alert_email_addresses: settings.alert_email_addresses,
369
370
  alert_when: settings.alert_when,
@@ -10,8 +10,8 @@ export type IWarehouseInventoryLotSerialNumberCommon = {
10
10
  ref_type: WAREHOUSE_REF_TYPE_ENUM;
11
11
  inventory_code: string;
12
12
  tracking_mode: TWarehouseTrackedMode;
13
- lot_number?: string;
14
- serial_number?: string;
13
+ lot_number?: string | null;
14
+ serial_number?: string | null;
15
15
  expiry_date?: Date | null;
16
16
  best_before_date?: Date | null;
17
17
  removal_date?: Date | null;
@@ -37,14 +37,14 @@ export interface IWarehouseInventoryLotSerialNumberMovement extends IWarehouseIn
37
37
  occurred_at: Date;
38
38
  occurred_by?: IWarehouseInventoryLotSerialActorRef | null;
39
39
  source: WAREHOUSE_LOT_SERIAL_MOVEMENT_SOURCE_ENUM;
40
- source_id?: string;
40
+ source_id?: string | null;
41
41
  }
42
42
  export type IWarehouseInventoryLotSerialNumber = IWarehouseInventoryLotSerialNumberBalance | IWarehouseInventoryLotSerialNumberMovement;
43
43
  export interface IWarehouseInventoryLotSerialMutationItem {
44
44
  inventory_code: string;
45
45
  tracking_mode: TWarehouseTrackedMode;
46
- lot_number?: string;
47
- serial_number?: string;
46
+ lot_number?: string | null;
47
+ serial_number?: string | null;
48
48
  quantity: number;
49
49
  occurred_at?: Date | string;
50
50
  expiry_date?: Date | string | null;
@@ -57,7 +57,7 @@ export interface IWarehousePostInventoryLotSerialMutationBody {
57
57
  ref_type: WAREHOUSE_REF_TYPE_ENUM;
58
58
  action: WAREHOUSE_INVENTORY_LOT_SERIAL_MUTATION_ACTION_ENUM;
59
59
  source: WAREHOUSE_LOT_SERIAL_MOVEMENT_SOURCE_ENUM;
60
- source_id?: string;
60
+ source_id?: string | null;
61
61
  items: IWarehouseInventoryLotSerialMutationItem[];
62
62
  }
63
63
  export interface IWarehousePostInventoryLotSerialMutationResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.510",
3
+ "version": "0.2.511",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",