@managesome/eposmatic-toolkit 0.2.538 → 0.2.540

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.
Files changed (65) hide show
  1. package/lib/helpers/types/common.d.ts +1 -0
  2. package/lib/helpers/utils/index.d.ts +1 -1
  3. package/lib/helpers/utils/index.js +1 -1
  4. package/lib/helpers/utils/tenant_cash_in_hand_transactions.d.ts +3 -0
  5. package/lib/helpers/utils/{cash_in_hand_transactions.js → tenant_cash_in_hand_transactions.js} +4 -4
  6. package/lib/helpers/utils/time-helpers.d.ts +1 -0
  7. package/lib/helpers/utils/time-helpers.js +3 -0
  8. package/lib/schemas/models/customer_redemptions.d.ts +3 -3
  9. package/lib/schemas/models/deliveries.d.ts +3 -3
  10. package/lib/schemas/models/discounts.d.ts +6 -6
  11. package/lib/schemas/models/expense_categories.d.ts +3 -3
  12. package/lib/schemas/models/expense_details.d.ts +3 -3
  13. package/lib/schemas/models/gift_cards.d.ts +3 -3
  14. package/lib/schemas/models/halfhalf_setup.d.ts +6 -6
  15. package/lib/schemas/models/index.d.ts +6 -6
  16. package/lib/schemas/models/index.js +6 -6
  17. package/lib/schemas/models/internal_invoices.d.ts +3 -3
  18. package/lib/schemas/models/internal_leads.d.ts +3 -3
  19. package/lib/schemas/models/inventory_transactions.d.ts +6 -6
  20. package/lib/schemas/models/item_transactions.d.ts +3 -3
  21. package/lib/schemas/models/items.d.ts +15 -15
  22. package/lib/schemas/models/modifier_extras.d.ts +3 -3
  23. package/lib/schemas/models/offers.d.ts +3 -3
  24. package/lib/schemas/models/specials.d.ts +12 -12
  25. package/lib/schemas/models/{cash_drawer_sessions.d.ts → tenant_cash_drawer_sessions.d.ts} +5 -5
  26. package/lib/schemas/models/{cash_drawer_sessions.js → tenant_cash_drawer_sessions.js} +3 -3
  27. package/lib/schemas/models/{cash_drawers.d.ts → tenant_cash_drawers.d.ts} +2 -2
  28. package/lib/schemas/models/{cash_drawers.js → tenant_cash_drawers.js} +3 -3
  29. package/lib/schemas/models/{cash_in_hand_transactions.d.ts → tenant_cash_in_hand_transactions.d.ts} +8 -8
  30. package/lib/schemas/models/{cash_in_hand_transactions.js → tenant_cash_in_hand_transactions.js} +3 -3
  31. package/lib/schemas/models/{cash_in_out.d.ts → tenant_cash_in_out.d.ts} +5 -5
  32. package/lib/schemas/models/{cash_in_out.js → tenant_cash_in_out.js} +3 -3
  33. package/lib/schemas/models/tenant_days.d.ts +3 -3
  34. package/lib/schemas/models/{instore_shift_sessions.d.ts → tenant_instore_shift_sessions.d.ts} +11 -11
  35. package/lib/schemas/models/{instore_shift_sessions.js → tenant_instore_shift_sessions.js} +7 -7
  36. package/lib/schemas/models/{instore_shifts.d.ts → tenant_instore_shifts.d.ts} +2 -2
  37. package/lib/schemas/models/{instore_shifts.js → tenant_instore_shifts.js} +3 -3
  38. package/lib/schemas/models/tenant_inventory_department_transactions.d.ts +6 -6
  39. package/lib/schemas/models/tenant_shifts.d.ts +3 -3
  40. package/lib/schemas/models/tenants.d.ts +60 -60
  41. package/lib/schemas/models/terminal_devices.d.ts +3 -3
  42. package/lib/schemas/models/vouchers.d.ts +6 -6
  43. package/lib/schemas/models/wallet_transactions.d.ts +3 -3
  44. package/lib/schemas/models/warehouse_internal_movements.d.ts +3 -3
  45. package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
  46. package/lib/schemas/models/warehouse_item_transactions.d.ts +3 -3
  47. package/lib/schemas/models/warehouse_items.d.ts +6 -6
  48. package/lib/schemas/models/warehouse_operational_roles.d.ts +3 -3
  49. package/lib/schemas/models/warehouses.d.ts +12 -12
  50. package/lib/schemas/types/index.d.ts +6 -6
  51. package/lib/schemas/types/index.js +6 -6
  52. package/lib/schemas/types/{cash_drawer_sessions.d.ts → tenant_cash_drawer_sessions.d.ts} +1 -1
  53. package/lib/schemas/types/{cash_drawers.d.ts → tenant_cash_drawers.d.ts} +1 -1
  54. package/lib/schemas/types/{cash_in_hand_transactions.d.ts → tenant_cash_in_hand_transactions.d.ts} +3 -3
  55. package/lib/schemas/types/{cash_in_out.d.ts → tenant_cash_in_out.d.ts} +1 -1
  56. package/lib/schemas/types/{instore_shift_sessions.d.ts → tenant_instore_shift_sessions.d.ts} +5 -5
  57. package/lib/schemas/types/{instore_shifts.d.ts → tenant_instore_shifts.d.ts} +1 -1
  58. package/package.json +1 -1
  59. package/lib/helpers/utils/cash_in_hand_transactions.d.ts +0 -3
  60. /package/lib/schemas/types/{cash_drawer_sessions.js → tenant_cash_drawer_sessions.js} +0 -0
  61. /package/lib/schemas/types/{cash_drawers.js → tenant_cash_drawers.js} +0 -0
  62. /package/lib/schemas/types/{cash_in_hand_transactions.js → tenant_cash_in_hand_transactions.js} +0 -0
  63. /package/lib/schemas/types/{cash_in_out.js → tenant_cash_in_out.js} +0 -0
  64. /package/lib/schemas/types/{instore_shift_sessions.js → tenant_instore_shift_sessions.js} +0 -0
  65. /package/lib/schemas/types/{instore_shifts.js → tenant_instore_shifts.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { Schema } from 'mongoose';
2
- export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
2
+ export declare const TenantInstoreShiftSessionSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
3
  timestamps: true;
4
4
  versionKey: false;
5
5
  minimize: false;
@@ -11,8 +11,8 @@ export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").M
11
11
  tenant_id: string;
12
12
  createdAt: NativeDate;
13
13
  updatedAt: NativeDate;
14
- shift_id: import("mongoose").Types.ObjectId;
15
14
  status: import("../../constants").POS_SHIFT_STATUS_ENUM;
15
+ shift_id: import("mongoose").Types.ObjectId;
16
16
  day_index: import("../../constants").DAY_INDEX_ENUM;
17
17
  localSecond: number;
18
18
  localMinute: number;
@@ -28,7 +28,7 @@ export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").M
28
28
  localTime: string;
29
29
  localDayOfYear: number;
30
30
  shift_number: number;
31
- day_id: import("mongoose").Types.ObjectId;
31
+ difference: number;
32
32
  opening: {
33
33
  staff_id: string;
34
34
  staff_name: string;
@@ -43,11 +43,11 @@ export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").M
43
43
  cash_amount: number;
44
44
  closed_at: NativeDate;
45
45
  };
46
+ day_id: import("mongoose").Types.ObjectId;
46
47
  cash_in_total: number;
47
48
  cash_out_total: number;
48
49
  expected_drawer_total: number;
49
50
  actual_drawer_total: number;
50
- difference: number;
51
51
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
52
52
  createdAt: NativeDate;
53
53
  updatedAt: NativeDate;
@@ -56,8 +56,8 @@ export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").M
56
56
  tenant_id: string;
57
57
  createdAt: NativeDate;
58
58
  updatedAt: NativeDate;
59
- shift_id: import("mongoose").Types.ObjectId;
60
59
  status: import("../../constants").POS_SHIFT_STATUS_ENUM;
60
+ shift_id: import("mongoose").Types.ObjectId;
61
61
  day_index: import("../../constants").DAY_INDEX_ENUM;
62
62
  localSecond: number;
63
63
  localMinute: number;
@@ -73,7 +73,7 @@ export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").M
73
73
  localTime: string;
74
74
  localDayOfYear: number;
75
75
  shift_number: number;
76
- day_id: import("mongoose").Types.ObjectId;
76
+ difference: number;
77
77
  opening: {
78
78
  staff_id: string;
79
79
  staff_name: string;
@@ -88,11 +88,11 @@ export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").M
88
88
  cash_amount: number;
89
89
  closed_at: NativeDate;
90
90
  };
91
+ day_id: import("mongoose").Types.ObjectId;
91
92
  cash_in_total: number;
92
93
  cash_out_total: number;
93
94
  expected_drawer_total: number;
94
95
  actual_drawer_total: number;
95
- difference: number;
96
96
  }>> & import("mongoose").FlatRecord<{
97
97
  createdAt: NativeDate;
98
98
  updatedAt: NativeDate;
@@ -101,8 +101,8 @@ export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").M
101
101
  tenant_id: string;
102
102
  createdAt: NativeDate;
103
103
  updatedAt: NativeDate;
104
- shift_id: import("mongoose").Types.ObjectId;
105
104
  status: import("../../constants").POS_SHIFT_STATUS_ENUM;
105
+ shift_id: import("mongoose").Types.ObjectId;
106
106
  day_index: import("../../constants").DAY_INDEX_ENUM;
107
107
  localSecond: number;
108
108
  localMinute: number;
@@ -118,7 +118,7 @@ export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").M
118
118
  localTime: string;
119
119
  localDayOfYear: number;
120
120
  shift_number: number;
121
- day_id: import("mongoose").Types.ObjectId;
121
+ difference: number;
122
122
  opening: {
123
123
  staff_id: string;
124
124
  staff_name: string;
@@ -133,14 +133,14 @@ export declare const InstoreShiftSessionSchema: Schema<any, import("mongoose").M
133
133
  cash_amount: number;
134
134
  closed_at: NativeDate;
135
135
  };
136
+ day_id: import("mongoose").Types.ObjectId;
136
137
  cash_in_total: number;
137
138
  cash_out_total: number;
138
139
  expected_drawer_total: number;
139
140
  actual_drawer_total: number;
140
- difference: number;
141
141
  }> & Required<{
142
142
  _id: import("mongoose").Types.ObjectId;
143
143
  }> & {
144
144
  __v: number;
145
145
  }>;
146
- export declare const INSTORE_SHIFT_SESSIONS_COLLECTION_NAME = "instore_shift_sessions";
146
+ export declare const TENANT_INSTORE_SHIFT_SESSIONS_COLLECTION_NAME = "tenant_instore_shift_sessions";
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.INSTORE_SHIFT_SESSIONS_COLLECTION_NAME = exports.InstoreShiftSessionSchema = void 0;
3
+ exports.TENANT_INSTORE_SHIFT_SESSIONS_COLLECTION_NAME = exports.TenantInstoreShiftSessionSchema = void 0;
4
4
  const mongoose_1 = require("mongoose");
5
5
  const constants_1 = require("../../constants");
6
6
  const common_models_1 = require("./common-models");
7
- const InstoreShiftOpeningSchema = new mongoose_1.Schema({
7
+ const TenantInstoreShiftOpeningSchema = new mongoose_1.Schema({
8
8
  staff_id: {
9
9
  type: String,
10
10
  required: true,
@@ -26,7 +26,7 @@ const InstoreShiftOpeningSchema = new mongoose_1.Schema({
26
26
  required: true,
27
27
  },
28
28
  }, { _id: false, minimize: false });
29
- const InstoreShiftClosingSchema = new mongoose_1.Schema({
29
+ const TenantInstoreShiftClosingSchema = new mongoose_1.Schema({
30
30
  staff_id: {
31
31
  type: String,
32
32
  required: true,
@@ -48,7 +48,7 @@ const InstoreShiftClosingSchema = new mongoose_1.Schema({
48
48
  required: true,
49
49
  },
50
50
  }, { _id: false, minimize: false });
51
- exports.InstoreShiftSessionSchema = new mongoose_1.Schema({
51
+ exports.TenantInstoreShiftSessionSchema = new mongoose_1.Schema({
52
52
  _id: {
53
53
  type: mongoose_1.Schema.Types.ObjectId,
54
54
  required: true,
@@ -78,11 +78,11 @@ exports.InstoreShiftSessionSchema = new mongoose_1.Schema({
78
78
  required: true,
79
79
  },
80
80
  opening: {
81
- type: InstoreShiftOpeningSchema,
81
+ type: TenantInstoreShiftOpeningSchema,
82
82
  default: null,
83
83
  },
84
84
  closing: {
85
- type: InstoreShiftClosingSchema,
85
+ type: TenantInstoreShiftClosingSchema,
86
86
  default: null,
87
87
  },
88
88
  cash_in_total: {
@@ -122,4 +122,4 @@ exports.InstoreShiftSessionSchema = new mongoose_1.Schema({
122
122
  versionKey: false,
123
123
  minimize: false,
124
124
  });
125
- exports.INSTORE_SHIFT_SESSIONS_COLLECTION_NAME = 'instore_shift_sessions';
125
+ exports.TENANT_INSTORE_SHIFT_SESSIONS_COLLECTION_NAME = 'tenant_instore_shift_sessions';
@@ -1,5 +1,5 @@
1
1
  import { Schema } from 'mongoose';
2
- export declare const InstoreShiftSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
2
+ export declare const TenantInstoreShiftSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
3
  timestamps: true;
4
4
  versionKey: false;
5
5
  minimize: false;
@@ -47,4 +47,4 @@ export declare const InstoreShiftSchema: Schema<any, import("mongoose").Model<an
47
47
  }> & {
48
48
  __v: number;
49
49
  }>;
50
- export declare const INSTORE_SHIFTS_COLLECTION_NAME = "instore_shifts";
50
+ export declare const TENANT_INSTORE_SHIFTS_COLLECTION_NAME = "tenant_instore_shifts";
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.INSTORE_SHIFTS_COLLECTION_NAME = exports.InstoreShiftSchema = void 0;
3
+ exports.TENANT_INSTORE_SHIFTS_COLLECTION_NAME = exports.TenantInstoreShiftSchema = void 0;
4
4
  const mongoose_1 = require("mongoose");
5
5
  const constants_1 = require("../../constants");
6
- exports.InstoreShiftSchema = new mongoose_1.Schema({
6
+ exports.TenantInstoreShiftSchema = new mongoose_1.Schema({
7
7
  _id: {
8
8
  type: mongoose_1.Schema.Types.ObjectId,
9
9
  required: true,
@@ -52,4 +52,4 @@ exports.InstoreShiftSchema = new mongoose_1.Schema({
52
52
  versionKey: false,
53
53
  minimize: false,
54
54
  });
55
- exports.INSTORE_SHIFTS_COLLECTION_NAME = 'instore_shifts';
55
+ exports.TENANT_INSTORE_SHIFTS_COLLECTION_NAME = 'tenant_instore_shifts';
@@ -12,8 +12,6 @@ export declare const TenantInventoryDepartmentTransactionsSchema: Schema<any, im
12
12
  createdAt_mins: number;
13
13
  createdAt: NativeDate;
14
14
  updatedAt: NativeDate;
15
- transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
16
- transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
17
15
  inventory_code: string;
18
16
  department_code: string;
19
17
  quantity_left: number;
@@ -23,6 +21,8 @@ export declare const TenantInventoryDepartmentTransactionsSchema: Schema<any, im
23
21
  previous_unit_price: number;
24
22
  previous_remaining_stock_price: number;
25
23
  transaction_quantity: number;
24
+ transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
25
+ transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
26
26
  order_id?: import("mongoose").Types.ObjectId | null | undefined;
27
27
  description?: string | null | undefined;
28
28
  ref_id?: import("mongoose").Types.ObjectId | null | undefined;
@@ -38,8 +38,6 @@ export declare const TenantInventoryDepartmentTransactionsSchema: Schema<any, im
38
38
  createdAt_mins: number;
39
39
  createdAt: NativeDate;
40
40
  updatedAt: NativeDate;
41
- transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
42
- transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
43
41
  inventory_code: string;
44
42
  department_code: string;
45
43
  quantity_left: number;
@@ -49,6 +47,8 @@ export declare const TenantInventoryDepartmentTransactionsSchema: Schema<any, im
49
47
  previous_unit_price: number;
50
48
  previous_remaining_stock_price: number;
51
49
  transaction_quantity: number;
50
+ transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
51
+ transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
52
52
  order_id?: import("mongoose").Types.ObjectId | null | undefined;
53
53
  description?: string | null | undefined;
54
54
  ref_id?: import("mongoose").Types.ObjectId | null | undefined;
@@ -64,8 +64,6 @@ export declare const TenantInventoryDepartmentTransactionsSchema: Schema<any, im
64
64
  createdAt_mins: number;
65
65
  createdAt: NativeDate;
66
66
  updatedAt: NativeDate;
67
- transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
68
- transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
69
67
  inventory_code: string;
70
68
  department_code: string;
71
69
  quantity_left: number;
@@ -75,6 +73,8 @@ export declare const TenantInventoryDepartmentTransactionsSchema: Schema<any, im
75
73
  previous_unit_price: number;
76
74
  previous_remaining_stock_price: number;
77
75
  transaction_quantity: number;
76
+ transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
77
+ transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
78
78
  order_id?: import("mongoose").Types.ObjectId | null | undefined;
79
79
  description?: string | null | undefined;
80
80
  ref_id?: import("mongoose").Types.ObjectId | null | undefined;
@@ -12,11 +12,11 @@ export declare const TenantShiftSchema: Schema<any, import("mongoose").Model<any
12
12
  tenants: string[];
13
13
  createdAt: NativeDate;
14
14
  updatedAt: NativeDate;
15
- day_index: import("../../constants").DAY_INDEX_ENUM;
16
15
  active: boolean;
17
16
  start_time: number;
18
17
  end_time: number;
19
18
  included_platforms: import("../../constants").PLATFORMS_ENUM[];
19
+ day_index: import("../../constants").DAY_INDEX_ENUM;
20
20
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
21
21
  createdAt: NativeDate;
22
22
  updatedAt: NativeDate;
@@ -26,11 +26,11 @@ export declare const TenantShiftSchema: Schema<any, import("mongoose").Model<any
26
26
  tenants: string[];
27
27
  createdAt: NativeDate;
28
28
  updatedAt: NativeDate;
29
- day_index: import("../../constants").DAY_INDEX_ENUM;
30
29
  active: boolean;
31
30
  start_time: number;
32
31
  end_time: number;
33
32
  included_platforms: import("../../constants").PLATFORMS_ENUM[];
33
+ day_index: import("../../constants").DAY_INDEX_ENUM;
34
34
  }>> & import("mongoose").FlatRecord<{
35
35
  createdAt: NativeDate;
36
36
  updatedAt: NativeDate;
@@ -40,11 +40,11 @@ export declare const TenantShiftSchema: Schema<any, import("mongoose").Model<any
40
40
  tenants: string[];
41
41
  createdAt: NativeDate;
42
42
  updatedAt: NativeDate;
43
- day_index: import("../../constants").DAY_INDEX_ENUM;
44
43
  active: boolean;
45
44
  start_time: number;
46
45
  end_time: number;
47
46
  included_platforms: import("../../constants").PLATFORMS_ENUM[];
47
+ day_index: import("../../constants").DAY_INDEX_ENUM;
48
48
  }> & Required<{
49
49
  _id: import("mongoose").Types.ObjectId;
50
50
  }> & {
@@ -18,23 +18,33 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
18
18
  city: string;
19
19
  country_code: COUNTRY_CODE_ENUM;
20
20
  delivery_free_over: number;
21
+ business_website: string;
22
+ staff_ordering_domain: string;
23
+ public_business_name: string;
24
+ restaurant_address: string;
25
+ store_description: string;
26
+ web_favicon: string;
27
+ brand_color: string;
28
+ business_type: string;
29
+ web_enable_takeaway: boolean;
30
+ web_enable_delivery: boolean;
31
+ web_enable_dine_in: boolean;
32
+ country_name: COUNTRY_NAME_ENUM;
33
+ coordinates: number[];
34
+ web_cover_image: string;
21
35
  currency_symbol: CURRENCY_SYMBOL_ENUM;
22
36
  country_alpha_2: COUNTRY_ALPHA_2_ENUM;
23
37
  packaging_charges: number;
24
38
  delivery_min_cost: number;
25
- restaurant_address: string;
26
39
  support_email: string;
27
40
  public_phone_numbers: string[];
28
41
  tax_business_number: string;
29
- business_website: string;
30
42
  google_review_link: string;
31
43
  provider_id: string;
32
44
  currency_code: CURRENCY_CODE_ENUM;
33
45
  currency_name: CURRENCY_NAME_ENUM;
34
46
  country_alpha_3: COUNTRY_ALPHA_3_ENUM;
35
- country_name: COUNTRY_NAME_ENUM;
36
47
  country_flag: COUNTRY_FLAG_ENUM;
37
- coordinates: number[];
38
48
  takeaway_time: number;
39
49
  delivery_time: number;
40
50
  enable_inventory: boolean;
@@ -59,9 +69,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
59
69
  pos_end_seating_when_order_paid_off: boolean;
60
70
  web_charge_customer_for_online_processing: boolean;
61
71
  web_allow_ordering_till_closing_time: boolean;
62
- web_enable_takeaway: boolean;
63
- web_enable_delivery: boolean;
64
- web_enable_dine_in: boolean;
65
72
  default_prep_minutes: number;
66
73
  web_opt_in_for_holiday_surcharge: boolean;
67
74
  web_holiday_surcharge: number;
@@ -90,10 +97,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
90
97
  packaging_charges_free_over: number;
91
98
  min_packaging_charges_order_value: number;
92
99
  cash_in_hand_limit: number;
93
- brand_color: string;
94
- public_business_name: string;
95
- staff_ordering_domain: string;
96
- business_type: string;
97
100
  track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
98
101
  order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
99
102
  web_show_featured_items: boolean;
@@ -101,10 +104,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
101
104
  card_gst: number;
102
105
  cash_gst: number;
103
106
  default_gst_type: GST_TYPE_ENUM;
104
- web_cover_image: string;
105
- web_favicon: string;
106
107
  web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
107
- store_description: string;
108
108
  operational_time_zone_offset_gmt: number;
109
109
  operational_start_time: number;
110
110
  operational_end_time: number;
@@ -123,6 +123,12 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
123
123
  exempt_gst_for_platforms: PLATFORMS_ENUM[];
124
124
  enabled_rating_types: import("../../constants").RATING_TYPE_ENUM[];
125
125
  order_completion_type: ORDER_COMPLETION_TYPE_ENUM;
126
+ fb_link?: string | null | undefined;
127
+ instagram_link?: string | null | undefined;
128
+ twitter_link?: string | null | undefined;
129
+ tiktok_link?: string | null | undefined;
130
+ dark_mode?: boolean | null | undefined;
131
+ delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
126
132
  tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
127
133
  is_gst_inclusive?: boolean | null | undefined;
128
134
  is_surcharge_percentage?: boolean | null | undefined;
@@ -136,10 +142,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
136
142
  receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
137
143
  playstore_url?: string | null | undefined;
138
144
  appstore_url?: string | null | undefined;
139
- fb_link?: string | null | undefined;
140
- instagram_link?: string | null | undefined;
141
- twitter_link?: string | null | undefined;
142
- tiktok_link?: string | null | undefined;
143
145
  pos_pre_ordering_days?: number | null | undefined;
144
146
  pos_accedental_touch_protection_enabled?: boolean | null | undefined;
145
147
  web_enable_pre_ordering?: boolean | null | undefined;
@@ -174,10 +176,8 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
174
176
  web_hide_order_total_for_staff?: boolean | null | undefined;
175
177
  apply_tax_on_complimentary_payment?: boolean | null | undefined;
176
178
  web_auth_type?: import("../../constants").WEB_AUTH_TYPE_ENUM | null | undefined;
177
- delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
178
179
  omit_offers_for_anonymous?: boolean | null | undefined;
179
180
  edit_settled_order?: boolean | null | undefined;
180
- dark_mode?: boolean | null | undefined;
181
181
  subscription_expiry?: NativeDate | null | undefined;
182
182
  digital_menu_images?: string[] | null | undefined;
183
183
  web_slider_images?: string[] | null | undefined;
@@ -199,23 +199,33 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
199
199
  city: string;
200
200
  country_code: COUNTRY_CODE_ENUM;
201
201
  delivery_free_over: number;
202
+ business_website: string;
203
+ staff_ordering_domain: string;
204
+ public_business_name: string;
205
+ restaurant_address: string;
206
+ store_description: string;
207
+ web_favicon: string;
208
+ brand_color: string;
209
+ business_type: string;
210
+ web_enable_takeaway: boolean;
211
+ web_enable_delivery: boolean;
212
+ web_enable_dine_in: boolean;
213
+ country_name: COUNTRY_NAME_ENUM;
214
+ coordinates: number[];
215
+ web_cover_image: string;
202
216
  currency_symbol: CURRENCY_SYMBOL_ENUM;
203
217
  country_alpha_2: COUNTRY_ALPHA_2_ENUM;
204
218
  packaging_charges: number;
205
219
  delivery_min_cost: number;
206
- restaurant_address: string;
207
220
  support_email: string;
208
221
  public_phone_numbers: string[];
209
222
  tax_business_number: string;
210
- business_website: string;
211
223
  google_review_link: string;
212
224
  provider_id: string;
213
225
  currency_code: CURRENCY_CODE_ENUM;
214
226
  currency_name: CURRENCY_NAME_ENUM;
215
227
  country_alpha_3: COUNTRY_ALPHA_3_ENUM;
216
- country_name: COUNTRY_NAME_ENUM;
217
228
  country_flag: COUNTRY_FLAG_ENUM;
218
- coordinates: number[];
219
229
  takeaway_time: number;
220
230
  delivery_time: number;
221
231
  enable_inventory: boolean;
@@ -240,9 +250,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
240
250
  pos_end_seating_when_order_paid_off: boolean;
241
251
  web_charge_customer_for_online_processing: boolean;
242
252
  web_allow_ordering_till_closing_time: boolean;
243
- web_enable_takeaway: boolean;
244
- web_enable_delivery: boolean;
245
- web_enable_dine_in: boolean;
246
253
  default_prep_minutes: number;
247
254
  web_opt_in_for_holiday_surcharge: boolean;
248
255
  web_holiday_surcharge: number;
@@ -271,10 +278,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
271
278
  packaging_charges_free_over: number;
272
279
  min_packaging_charges_order_value: number;
273
280
  cash_in_hand_limit: number;
274
- brand_color: string;
275
- public_business_name: string;
276
- staff_ordering_domain: string;
277
- business_type: string;
278
281
  track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
279
282
  order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
280
283
  web_show_featured_items: boolean;
@@ -282,10 +285,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
282
285
  card_gst: number;
283
286
  cash_gst: number;
284
287
  default_gst_type: GST_TYPE_ENUM;
285
- web_cover_image: string;
286
- web_favicon: string;
287
288
  web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
288
- store_description: string;
289
289
  operational_time_zone_offset_gmt: number;
290
290
  operational_start_time: number;
291
291
  operational_end_time: number;
@@ -304,6 +304,12 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
304
304
  exempt_gst_for_platforms: PLATFORMS_ENUM[];
305
305
  enabled_rating_types: import("../../constants").RATING_TYPE_ENUM[];
306
306
  order_completion_type: ORDER_COMPLETION_TYPE_ENUM;
307
+ fb_link?: string | null | undefined;
308
+ instagram_link?: string | null | undefined;
309
+ twitter_link?: string | null | undefined;
310
+ tiktok_link?: string | null | undefined;
311
+ dark_mode?: boolean | null | undefined;
312
+ delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
307
313
  tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
308
314
  is_gst_inclusive?: boolean | null | undefined;
309
315
  is_surcharge_percentage?: boolean | null | undefined;
@@ -317,10 +323,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
317
323
  receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
318
324
  playstore_url?: string | null | undefined;
319
325
  appstore_url?: string | null | undefined;
320
- fb_link?: string | null | undefined;
321
- instagram_link?: string | null | undefined;
322
- twitter_link?: string | null | undefined;
323
- tiktok_link?: string | null | undefined;
324
326
  pos_pre_ordering_days?: number | null | undefined;
325
327
  pos_accedental_touch_protection_enabled?: boolean | null | undefined;
326
328
  web_enable_pre_ordering?: boolean | null | undefined;
@@ -355,10 +357,8 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
355
357
  web_hide_order_total_for_staff?: boolean | null | undefined;
356
358
  apply_tax_on_complimentary_payment?: boolean | null | undefined;
357
359
  web_auth_type?: import("../../constants").WEB_AUTH_TYPE_ENUM | null | undefined;
358
- delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
359
360
  omit_offers_for_anonymous?: boolean | null | undefined;
360
361
  edit_settled_order?: boolean | null | undefined;
361
- dark_mode?: boolean | null | undefined;
362
362
  subscription_expiry?: NativeDate | null | undefined;
363
363
  digital_menu_images?: string[] | null | undefined;
364
364
  web_slider_images?: string[] | null | undefined;
@@ -380,23 +380,33 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
380
380
  city: string;
381
381
  country_code: COUNTRY_CODE_ENUM;
382
382
  delivery_free_over: number;
383
+ business_website: string;
384
+ staff_ordering_domain: string;
385
+ public_business_name: string;
386
+ restaurant_address: string;
387
+ store_description: string;
388
+ web_favicon: string;
389
+ brand_color: string;
390
+ business_type: string;
391
+ web_enable_takeaway: boolean;
392
+ web_enable_delivery: boolean;
393
+ web_enable_dine_in: boolean;
394
+ country_name: COUNTRY_NAME_ENUM;
395
+ coordinates: number[];
396
+ web_cover_image: string;
383
397
  currency_symbol: CURRENCY_SYMBOL_ENUM;
384
398
  country_alpha_2: COUNTRY_ALPHA_2_ENUM;
385
399
  packaging_charges: number;
386
400
  delivery_min_cost: number;
387
- restaurant_address: string;
388
401
  support_email: string;
389
402
  public_phone_numbers: string[];
390
403
  tax_business_number: string;
391
- business_website: string;
392
404
  google_review_link: string;
393
405
  provider_id: string;
394
406
  currency_code: CURRENCY_CODE_ENUM;
395
407
  currency_name: CURRENCY_NAME_ENUM;
396
408
  country_alpha_3: COUNTRY_ALPHA_3_ENUM;
397
- country_name: COUNTRY_NAME_ENUM;
398
409
  country_flag: COUNTRY_FLAG_ENUM;
399
- coordinates: number[];
400
410
  takeaway_time: number;
401
411
  delivery_time: number;
402
412
  enable_inventory: boolean;
@@ -421,9 +431,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
421
431
  pos_end_seating_when_order_paid_off: boolean;
422
432
  web_charge_customer_for_online_processing: boolean;
423
433
  web_allow_ordering_till_closing_time: boolean;
424
- web_enable_takeaway: boolean;
425
- web_enable_delivery: boolean;
426
- web_enable_dine_in: boolean;
427
434
  default_prep_minutes: number;
428
435
  web_opt_in_for_holiday_surcharge: boolean;
429
436
  web_holiday_surcharge: number;
@@ -452,10 +459,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
452
459
  packaging_charges_free_over: number;
453
460
  min_packaging_charges_order_value: number;
454
461
  cash_in_hand_limit: number;
455
- brand_color: string;
456
- public_business_name: string;
457
- staff_ordering_domain: string;
458
- business_type: string;
459
462
  track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
460
463
  order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
461
464
  web_show_featured_items: boolean;
@@ -463,10 +466,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
463
466
  card_gst: number;
464
467
  cash_gst: number;
465
468
  default_gst_type: GST_TYPE_ENUM;
466
- web_cover_image: string;
467
- web_favicon: string;
468
469
  web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
469
- store_description: string;
470
470
  operational_time_zone_offset_gmt: number;
471
471
  operational_start_time: number;
472
472
  operational_end_time: number;
@@ -485,6 +485,12 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
485
485
  exempt_gst_for_platforms: PLATFORMS_ENUM[];
486
486
  enabled_rating_types: import("../../constants").RATING_TYPE_ENUM[];
487
487
  order_completion_type: ORDER_COMPLETION_TYPE_ENUM;
488
+ fb_link?: string | null | undefined;
489
+ instagram_link?: string | null | undefined;
490
+ twitter_link?: string | null | undefined;
491
+ tiktok_link?: string | null | undefined;
492
+ dark_mode?: boolean | null | undefined;
493
+ delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
488
494
  tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
489
495
  is_gst_inclusive?: boolean | null | undefined;
490
496
  is_surcharge_percentage?: boolean | null | undefined;
@@ -498,10 +504,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
498
504
  receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
499
505
  playstore_url?: string | null | undefined;
500
506
  appstore_url?: string | null | undefined;
501
- fb_link?: string | null | undefined;
502
- instagram_link?: string | null | undefined;
503
- twitter_link?: string | null | undefined;
504
- tiktok_link?: string | null | undefined;
505
507
  pos_pre_ordering_days?: number | null | undefined;
506
508
  pos_accedental_touch_protection_enabled?: boolean | null | undefined;
507
509
  web_enable_pre_ordering?: boolean | null | undefined;
@@ -536,10 +538,8 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
536
538
  web_hide_order_total_for_staff?: boolean | null | undefined;
537
539
  apply_tax_on_complimentary_payment?: boolean | null | undefined;
538
540
  web_auth_type?: import("../../constants").WEB_AUTH_TYPE_ENUM | null | undefined;
539
- delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
540
541
  omit_offers_for_anonymous?: boolean | null | undefined;
541
542
  edit_settled_order?: boolean | null | undefined;
542
- dark_mode?: boolean | null | undefined;
543
543
  subscription_expiry?: NativeDate | null | undefined;
544
544
  digital_menu_images?: string[] | null | undefined;
545
545
  web_slider_images?: string[] | null | undefined;
@@ -11,9 +11,9 @@ export declare const TerminalDevicesSchema: Schema<any, import("mongoose").Model
11
11
  tenant_id: string;
12
12
  createdAt: NativeDate;
13
13
  updatedAt: NativeDate;
14
+ active: boolean;
14
15
  payment_provider: import("../../constants").TERMINAL_PROVIDER_ENUM;
15
16
  payment_type: import("../../constants").TERMINAL_PAYMENT_TYPE_ENUM;
16
- active: boolean;
17
17
  is_public: boolean;
18
18
  _pairing_code: string;
19
19
  register_id: string;
@@ -26,9 +26,9 @@ export declare const TerminalDevicesSchema: Schema<any, import("mongoose").Model
26
26
  tenant_id: string;
27
27
  createdAt: NativeDate;
28
28
  updatedAt: NativeDate;
29
+ active: boolean;
29
30
  payment_provider: import("../../constants").TERMINAL_PROVIDER_ENUM;
30
31
  payment_type: import("../../constants").TERMINAL_PAYMENT_TYPE_ENUM;
31
- active: boolean;
32
32
  is_public: boolean;
33
33
  _pairing_code: string;
34
34
  register_id: string;
@@ -41,9 +41,9 @@ export declare const TerminalDevicesSchema: Schema<any, import("mongoose").Model
41
41
  tenant_id: string;
42
42
  createdAt: NativeDate;
43
43
  updatedAt: NativeDate;
44
+ active: boolean;
44
45
  payment_provider: import("../../constants").TERMINAL_PROVIDER_ENUM;
45
46
  payment_type: import("../../constants").TERMINAL_PAYMENT_TYPE_ENUM;
46
- active: boolean;
47
47
  is_public: boolean;
48
48
  _pairing_code: string;
49
49
  register_id: string;
@@ -13,12 +13,12 @@ export declare const VouchersSchema: Schema<any, import("mongoose").Model<any, a
13
13
  tenants: string[];
14
14
  createdAt: NativeDate;
15
15
  updatedAt: NativeDate;
16
- description: string;
17
16
  brand_id: string;
18
17
  active: boolean;
19
- is_public: boolean;
18
+ description: string;
20
19
  used_count: number;
21
20
  assigned_count: number;
21
+ is_public: boolean;
22
22
  max_assignments_per_customer?: number | null | undefined;
23
23
  max_uses_per_customer?: number | null | undefined;
24
24
  last_used_at?: NativeDate | null | undefined;
@@ -36,12 +36,12 @@ export declare const VouchersSchema: Schema<any, import("mongoose").Model<any, a
36
36
  tenants: string[];
37
37
  createdAt: NativeDate;
38
38
  updatedAt: NativeDate;
39
- description: string;
40
39
  brand_id: string;
41
40
  active: boolean;
42
- is_public: boolean;
41
+ description: string;
43
42
  used_count: number;
44
43
  assigned_count: number;
44
+ is_public: boolean;
45
45
  max_assignments_per_customer?: number | null | undefined;
46
46
  max_uses_per_customer?: number | null | undefined;
47
47
  last_used_at?: NativeDate | null | undefined;
@@ -59,12 +59,12 @@ export declare const VouchersSchema: Schema<any, import("mongoose").Model<any, a
59
59
  tenants: string[];
60
60
  createdAt: NativeDate;
61
61
  updatedAt: NativeDate;
62
- description: string;
63
62
  brand_id: string;
64
63
  active: boolean;
65
- is_public: boolean;
64
+ description: string;
66
65
  used_count: number;
67
66
  assigned_count: number;
67
+ is_public: boolean;
68
68
  max_assignments_per_customer?: number | null | undefined;
69
69
  max_uses_per_customer?: number | null | undefined;
70
70
  last_used_at?: NativeDate | null | undefined;