@managesome/eposmatic-toolkit 0.2.534 → 0.2.536
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.
- package/lib/helpers/utils/simplified-tenant.d.ts +1 -0
- package/lib/helpers/utils/simplified-tenant.js +1 -0
- package/lib/schemas/models/tenant_vendors.js +0 -1
- package/lib/schemas/models/tenants.d.ts +3 -0
- package/lib/schemas/models/tenants.js +4 -0
- package/lib/schemas/models/warehouse_vendors.js +0 -1
- package/lib/schemas/types/tenants.d.ts +1 -0
- package/package.json +1 -1
|
@@ -261,6 +261,7 @@ export interface ISettingsForCloud {
|
|
|
261
261
|
currency_code: ITenant['currency_code'];
|
|
262
262
|
operational_time_zone_offset_gmt: ITenant['operational_time_zone_offset_gmt'];
|
|
263
263
|
auto_accept_order_for_platforms: ITenant['auto_accept_order_for_platforms'];
|
|
264
|
+
kds_status_flow_platforms: ITenant['kds_status_flow_platforms'];
|
|
264
265
|
send_sms_on_order_status: ITenant['send_sms_on_order_status'];
|
|
265
266
|
auto_sms_platforms: ITenant['auto_sms_platforms'];
|
|
266
267
|
send_email_on_order_status: ITenant['send_email_on_order_status'];
|
|
@@ -346,6 +346,7 @@ function getSettingsForCloud(settings) {
|
|
|
346
346
|
currency_code: settings.currency_code,
|
|
347
347
|
operational_time_zone_offset_gmt: settings.operational_time_zone_offset_gmt,
|
|
348
348
|
auto_accept_order_for_platforms: settings.auto_accept_order_for_platforms,
|
|
349
|
+
kds_status_flow_platforms: settings.kds_status_flow_platforms,
|
|
349
350
|
provider_id: settings.provider_id,
|
|
350
351
|
card_gst: settings.card_gst,
|
|
351
352
|
tax_invoice_generation_id: settings.tax_invoice_generation_id,
|
|
@@ -116,6 +116,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
116
116
|
alert_email_addresses: string[];
|
|
117
117
|
alert_when: string[];
|
|
118
118
|
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
119
|
+
kds_status_flow_platforms: PLATFORMS_ENUM[];
|
|
119
120
|
custom_payment_types: string[];
|
|
120
121
|
expense_payment_types: string[];
|
|
121
122
|
reservation_enabled: boolean;
|
|
@@ -296,6 +297,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
296
297
|
alert_email_addresses: string[];
|
|
297
298
|
alert_when: string[];
|
|
298
299
|
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
300
|
+
kds_status_flow_platforms: PLATFORMS_ENUM[];
|
|
299
301
|
custom_payment_types: string[];
|
|
300
302
|
expense_payment_types: string[];
|
|
301
303
|
reservation_enabled: boolean;
|
|
@@ -476,6 +478,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
476
478
|
alert_email_addresses: string[];
|
|
477
479
|
alert_when: string[];
|
|
478
480
|
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
481
|
+
kds_status_flow_platforms: PLATFORMS_ENUM[];
|
|
479
482
|
custom_payment_types: string[];
|
|
480
483
|
expense_payment_types: string[];
|
|
481
484
|
reservation_enabled: boolean;
|
|
@@ -583,6 +583,10 @@ exports.TenantSchema = new mongoose_1.Schema({
|
|
|
583
583
|
constants_1.PLATFORMS_ENUM.POS_WALK_IN,
|
|
584
584
|
],
|
|
585
585
|
},
|
|
586
|
+
kds_status_flow_platforms: {
|
|
587
|
+
type: [items_1.PlatformsSchema],
|
|
588
|
+
default: [],
|
|
589
|
+
},
|
|
586
590
|
custom_payment_types: {
|
|
587
591
|
type: [String],
|
|
588
592
|
default: [],
|
|
@@ -132,6 +132,7 @@ export interface ITenant {
|
|
|
132
132
|
alert_email_addresses: string[];
|
|
133
133
|
alert_when: ALERT_NOTIFICATIONS_TYPE_ENUM[];
|
|
134
134
|
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
135
|
+
kds_status_flow_platforms: PLATFORMS_ENUM[];
|
|
135
136
|
custom_payment_types: string[];
|
|
136
137
|
expense_payment_types: string[];
|
|
137
138
|
im_custom_payment_types?: string[] | null;
|