@managesome/eposmatic-toolkit 0.2.240 → 0.2.242

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.
@@ -92,7 +92,7 @@ export interface ISimplifiedCategory {
92
92
  subtitle: string;
93
93
  active: boolean;
94
94
  sort_id: number;
95
- display_type: string;
95
+ display_type: CATEGORY_DISPLAY_TYPE_ENUM;
96
96
  }
97
97
  export interface ISimplifiedItem {
98
98
  hide_name?: boolean;
@@ -97,6 +97,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
97
97
  cash_in_hand_limit: number;
98
98
  restaurant_address: string;
99
99
  business_website: string;
100
+ staff_ordering_domain: string;
100
101
  business_type: string;
101
102
  track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
102
103
  order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
@@ -142,7 +143,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
142
143
  rider_pickup_food_image_mandatory?: boolean | null | undefined;
143
144
  rider_dropoff_food_image_mandatory?: boolean | null | undefined;
144
145
  disable_reason_for_discount?: boolean | null | undefined;
145
- staff_ordering_domain?: string | null | undefined;
146
146
  card_processing_provider?: import("../../constants").CARD_PROCESSING_PROVIDERS_ENUM | null | undefined;
147
147
  card_processing_account_id?: string | null | undefined;
148
148
  _card_processing_account_token?: string | null | undefined;
@@ -265,6 +265,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
265
265
  cash_in_hand_limit: number;
266
266
  restaurant_address: string;
267
267
  business_website: string;
268
+ staff_ordering_domain: string;
268
269
  business_type: string;
269
270
  track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
270
271
  order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
@@ -310,7 +311,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
310
311
  rider_pickup_food_image_mandatory?: boolean | null | undefined;
311
312
  rider_dropoff_food_image_mandatory?: boolean | null | undefined;
312
313
  disable_reason_for_discount?: boolean | null | undefined;
313
- staff_ordering_domain?: string | null | undefined;
314
314
  card_processing_provider?: import("../../constants").CARD_PROCESSING_PROVIDERS_ENUM | null | undefined;
315
315
  card_processing_account_id?: string | null | undefined;
316
316
  _card_processing_account_token?: string | null | undefined;
@@ -433,6 +433,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
433
433
  cash_in_hand_limit: number;
434
434
  restaurant_address: string;
435
435
  business_website: string;
436
+ staff_ordering_domain: string;
436
437
  business_type: string;
437
438
  track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
438
439
  order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
@@ -478,7 +479,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
478
479
  rider_pickup_food_image_mandatory?: boolean | null | undefined;
479
480
  rider_dropoff_food_image_mandatory?: boolean | null | undefined;
480
481
  disable_reason_for_discount?: boolean | null | undefined;
481
- staff_ordering_domain?: string | null | undefined;
482
482
  card_processing_provider?: import("../../constants").CARD_PROCESSING_PROVIDERS_ENUM | null | undefined;
483
483
  card_processing_account_id?: string | null | undefined;
484
484
  _card_processing_account_token?: string | null | undefined;
@@ -379,7 +379,7 @@ exports.TenantSchema = new mongoose_1.Schema({
379
379
  },
380
380
  staff_ordering_domain: {
381
381
  type: String,
382
- required: false,
382
+ default: null,
383
383
  },
384
384
  business_type: {
385
385
  type: String,
@@ -91,7 +91,7 @@ export interface ITenant {
91
91
  public_business_name: string;
92
92
  support_email: string;
93
93
  business_website: string | null;
94
- staff_ordering_domain?: string | null;
94
+ staff_ordering_domain: string | null;
95
95
  business_type: string;
96
96
  tax_business_number: string;
97
97
  track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.240",
3
+ "version": "0.2.242",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",