@feedmepos/mf-order-setting 0.0.31 → 0.0.33
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/dist/{KioskDevicesView-CWzmu0rZ.js → KioskDevicesView-CxZI99me.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CldPl8BW.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-EGj4fxeN.js} +2 -2
- package/dist/{KioskSettingView-BsxOiUdj.js → KioskSettingView-CTDY8__s.js} +1 -1
- package/dist/{KioskView-DBnQe7Mp.js → KioskView-IUQTvUF8.js} +4 -4
- package/dist/{OrderSettingsView-BvDtRpI_.js → OrderSettingsView-VLE9yxNt.js} +9404 -9191
- package/dist/{app-G3iTmEHp.js → app-cd45Ryph.js} +12 -8
- package/dist/app.js +1 -1
- package/dist/common/convertor/index.d.ts +2 -0
- package/dist/{dayjs.min-ChzYZzP1.js → dayjs.min-CRAlrjJy.js} +1 -1
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/app.d.ts +4 -0
- package/dist/frontend/mf-order/src/main.d.ts +4 -0
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +3 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue.d.ts +46 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +4 -4
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-Bacw_1Kj.js → index-DLWAy-3K.js} +2 -2
- package/dist/{queue.do-BtfSllT8.js → menu.dto-DGDI6XwH.js} +24399 -23624
- package/dist/package/entity/booking/booking.do.d.ts +20 -20
- package/dist/package/entity/delivery/delivery.dto.d.ts +4 -4
- package/dist/package/entity/food-court/food-court.dto.d.ts +29 -29
- package/dist/package/entity/food-court/order.do.d.ts +4 -2
- package/dist/package/entity/food-court/order.dto.d.ts +9524 -91
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +4 -4
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +126 -0
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +12 -12
- package/dist/package/entity/index.d.ts +23 -1
- package/dist/package/entity/kiosk/kiosk.do.d.ts +6 -6
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +6 -6
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +64 -17
- package/dist/package/entity/marketing/marketing.dto.d.ts +239 -0
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +10 -2
- package/dist/package/entity/order/order.dto.d.ts +24 -16
- package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +523 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-order.do.d.ts +7814 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-order.dto.d.ts +15 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +37 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo.enum.d.ts +31 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo.menu.dto.d.ts +2341 -0
- package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +2073 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +736 -214
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +3 -3
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +3 -3
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +4 -4
- package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +2 -2
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +4 -4
- package/dist/package/entity/order-platform/menu.dto.d.ts +44 -44
- package/dist/package/entity/order-platform/order-platform.enum.d.ts +6 -1
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +59 -4
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +32 -0
- package/dist/package/entity/queue/queue.do.d.ts +12 -0
- package/dist/package/entity/queue/queue.dto.d.ts +9 -9
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +9 -9
- package/package.json +2 -2
- package/src/api/remoteOrder/index.ts +20 -2
- package/src/locales/en-US.json +1 -0
- package/src/locales/th-TH.json +1 -0
- package/src/locales/zh-CN.json +2 -0
- package/src/stores/restaurant/index.ts +12 -7
- package/src/views/order-settings/delivery/DeliverySetting.vue +141 -57
- package/src/views/order-settings/delivery/delivery.data.ts +10 -1
- package/src/views/order-settings/delivery/delivery.ts +34 -9
- package/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue +109 -0
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +11 -10
|
@@ -92,13 +92,16 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
92
92
|
item_discount_amount: z.ZodNumber;
|
|
93
93
|
item_voucher_amount: z.ZodNumber;
|
|
94
94
|
merchant_voucher_subsidy_amount: z.ZodNumber;
|
|
95
|
+
merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
95
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
96
98
|
shipping_discount_amount: number;
|
|
97
99
|
shipping_voucher_amount: number;
|
|
98
100
|
item_discount_amount: number;
|
|
99
101
|
item_voucher_amount: number;
|
|
100
102
|
merchant_voucher_subsidy_amount: number;
|
|
101
103
|
}, {
|
|
104
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
102
105
|
shipping_discount_amount: number;
|
|
103
106
|
shipping_voucher_amount: number;
|
|
104
107
|
item_discount_amount: number;
|
|
@@ -109,6 +112,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
109
112
|
tax_amount: z.ZodNumber;
|
|
110
113
|
total_amount: z.ZodNumber;
|
|
111
114
|
merchant_surcharge_fee: z.ZodNumber;
|
|
115
|
+
unit_list_price_subtotal: z.ZodNumber;
|
|
112
116
|
}, "strip", z.ZodTypeAny, {
|
|
113
117
|
subtotal: number;
|
|
114
118
|
merchant_service_fee: number;
|
|
@@ -118,6 +122,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
118
122
|
shipping_surge_fee: number;
|
|
119
123
|
small_order_fee: number;
|
|
120
124
|
promotion: {
|
|
125
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
121
126
|
shipping_discount_amount: number;
|
|
122
127
|
shipping_voucher_amount: number;
|
|
123
128
|
item_discount_amount: number;
|
|
@@ -127,6 +132,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
127
132
|
tax_amount: number;
|
|
128
133
|
total_amount: number;
|
|
129
134
|
merchant_surcharge_fee: number;
|
|
135
|
+
unit_list_price_subtotal: number;
|
|
130
136
|
}, {
|
|
131
137
|
subtotal: number;
|
|
132
138
|
merchant_service_fee: number;
|
|
@@ -136,6 +142,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
136
142
|
shipping_surge_fee: number;
|
|
137
143
|
small_order_fee: number;
|
|
138
144
|
promotion: {
|
|
145
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
139
146
|
shipping_discount_amount: number;
|
|
140
147
|
shipping_voucher_amount: number;
|
|
141
148
|
item_discount_amount: number;
|
|
@@ -145,6 +152,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
145
152
|
tax_amount: number;
|
|
146
153
|
total_amount: number;
|
|
147
154
|
merchant_surcharge_fee: number;
|
|
155
|
+
unit_list_price_subtotal: number;
|
|
148
156
|
}>;
|
|
149
157
|
items: z.ZodArray<z.ZodObject<{
|
|
150
158
|
detail: z.ZodObject<{
|
|
@@ -380,6 +388,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
380
388
|
shipping_surge_fee: number;
|
|
381
389
|
small_order_fee: number;
|
|
382
390
|
promotion: {
|
|
391
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
383
392
|
shipping_discount_amount: number;
|
|
384
393
|
shipping_voucher_amount: number;
|
|
385
394
|
item_discount_amount: number;
|
|
@@ -389,6 +398,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
389
398
|
tax_amount: number;
|
|
390
399
|
total_amount: number;
|
|
391
400
|
merchant_surcharge_fee: number;
|
|
401
|
+
unit_list_price_subtotal: number;
|
|
392
402
|
};
|
|
393
403
|
currency: "MYR";
|
|
394
404
|
payment_method: "CASH_ON_DELIVERY" | "ONLINE_PAYMENT";
|
|
@@ -453,6 +463,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
453
463
|
shipping_surge_fee: number;
|
|
454
464
|
small_order_fee: number;
|
|
455
465
|
promotion: {
|
|
466
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
456
467
|
shipping_discount_amount: number;
|
|
457
468
|
shipping_voucher_amount: number;
|
|
458
469
|
item_discount_amount: number;
|
|
@@ -462,6 +473,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
462
473
|
tax_amount: number;
|
|
463
474
|
total_amount: number;
|
|
464
475
|
merchant_surcharge_fee: number;
|
|
476
|
+
unit_list_price_subtotal: number;
|
|
465
477
|
};
|
|
466
478
|
currency: "MYR";
|
|
467
479
|
payment_method: "CASH_ON_DELIVERY" | "ONLINE_PAYMENT";
|
|
@@ -528,6 +540,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
528
540
|
shipping_surge_fee: number;
|
|
529
541
|
small_order_fee: number;
|
|
530
542
|
promotion: {
|
|
543
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
531
544
|
shipping_discount_amount: number;
|
|
532
545
|
shipping_voucher_amount: number;
|
|
533
546
|
item_discount_amount: number;
|
|
@@ -537,6 +550,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
537
550
|
tax_amount: number;
|
|
538
551
|
total_amount: number;
|
|
539
552
|
merchant_surcharge_fee: number;
|
|
553
|
+
unit_list_price_subtotal: number;
|
|
540
554
|
};
|
|
541
555
|
currency: "MYR";
|
|
542
556
|
payment_method: "CASH_ON_DELIVERY" | "ONLINE_PAYMENT";
|
|
@@ -605,6 +619,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
605
619
|
shipping_surge_fee: number;
|
|
606
620
|
small_order_fee: number;
|
|
607
621
|
promotion: {
|
|
622
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
608
623
|
shipping_discount_amount: number;
|
|
609
624
|
shipping_voucher_amount: number;
|
|
610
625
|
item_discount_amount: number;
|
|
@@ -614,6 +629,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
|
|
|
614
629
|
tax_amount: number;
|
|
615
630
|
total_amount: number;
|
|
616
631
|
merchant_surcharge_fee: number;
|
|
632
|
+
unit_list_price_subtotal: number;
|
|
617
633
|
};
|
|
618
634
|
currency: "MYR";
|
|
619
635
|
payment_method: "CASH_ON_DELIVERY" | "ONLINE_PAYMENT";
|
|
@@ -703,13 +719,16 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
703
719
|
item_discount_amount: z.ZodNumber;
|
|
704
720
|
item_voucher_amount: z.ZodNumber;
|
|
705
721
|
merchant_voucher_subsidy_amount: z.ZodNumber;
|
|
722
|
+
merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
706
723
|
}, "strip", z.ZodTypeAny, {
|
|
724
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
707
725
|
shipping_discount_amount: number;
|
|
708
726
|
shipping_voucher_amount: number;
|
|
709
727
|
item_discount_amount: number;
|
|
710
728
|
item_voucher_amount: number;
|
|
711
729
|
merchant_voucher_subsidy_amount: number;
|
|
712
730
|
}, {
|
|
731
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
713
732
|
shipping_discount_amount: number;
|
|
714
733
|
shipping_voucher_amount: number;
|
|
715
734
|
item_discount_amount: number;
|
|
@@ -720,6 +739,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
720
739
|
tax_amount: z.ZodNumber;
|
|
721
740
|
total_amount: z.ZodNumber;
|
|
722
741
|
merchant_surcharge_fee: z.ZodNumber;
|
|
742
|
+
unit_list_price_subtotal: z.ZodNumber;
|
|
723
743
|
}, "strip", z.ZodTypeAny, {
|
|
724
744
|
subtotal: number;
|
|
725
745
|
merchant_service_fee: number;
|
|
@@ -729,6 +749,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
729
749
|
shipping_surge_fee: number;
|
|
730
750
|
small_order_fee: number;
|
|
731
751
|
promotion: {
|
|
752
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
732
753
|
shipping_discount_amount: number;
|
|
733
754
|
shipping_voucher_amount: number;
|
|
734
755
|
item_discount_amount: number;
|
|
@@ -738,6 +759,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
738
759
|
tax_amount: number;
|
|
739
760
|
total_amount: number;
|
|
740
761
|
merchant_surcharge_fee: number;
|
|
762
|
+
unit_list_price_subtotal: number;
|
|
741
763
|
}, {
|
|
742
764
|
subtotal: number;
|
|
743
765
|
merchant_service_fee: number;
|
|
@@ -747,6 +769,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
747
769
|
shipping_surge_fee: number;
|
|
748
770
|
small_order_fee: number;
|
|
749
771
|
promotion: {
|
|
772
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
750
773
|
shipping_discount_amount: number;
|
|
751
774
|
shipping_voucher_amount: number;
|
|
752
775
|
item_discount_amount: number;
|
|
@@ -756,6 +779,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
756
779
|
tax_amount: number;
|
|
757
780
|
total_amount: number;
|
|
758
781
|
merchant_surcharge_fee: number;
|
|
782
|
+
unit_list_price_subtotal: number;
|
|
759
783
|
}>;
|
|
760
784
|
items: z.ZodArray<z.ZodObject<{
|
|
761
785
|
detail: z.ZodObject<{
|
|
@@ -991,6 +1015,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
991
1015
|
shipping_surge_fee: number;
|
|
992
1016
|
small_order_fee: number;
|
|
993
1017
|
promotion: {
|
|
1018
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
994
1019
|
shipping_discount_amount: number;
|
|
995
1020
|
shipping_voucher_amount: number;
|
|
996
1021
|
item_discount_amount: number;
|
|
@@ -1000,6 +1025,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
1000
1025
|
tax_amount: number;
|
|
1001
1026
|
total_amount: number;
|
|
1002
1027
|
merchant_surcharge_fee: number;
|
|
1028
|
+
unit_list_price_subtotal: number;
|
|
1003
1029
|
};
|
|
1004
1030
|
currency: "MYR";
|
|
1005
1031
|
payment_method: "CASH_ON_DELIVERY" | "ONLINE_PAYMENT";
|
|
@@ -1064,6 +1090,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
1064
1090
|
shipping_surge_fee: number;
|
|
1065
1091
|
small_order_fee: number;
|
|
1066
1092
|
promotion: {
|
|
1093
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1067
1094
|
shipping_discount_amount: number;
|
|
1068
1095
|
shipping_voucher_amount: number;
|
|
1069
1096
|
item_discount_amount: number;
|
|
@@ -1073,6 +1100,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
1073
1100
|
tax_amount: number;
|
|
1074
1101
|
total_amount: number;
|
|
1075
1102
|
merchant_surcharge_fee: number;
|
|
1103
|
+
unit_list_price_subtotal: number;
|
|
1076
1104
|
};
|
|
1077
1105
|
currency: "MYR";
|
|
1078
1106
|
payment_method: "CASH_ON_DELIVERY" | "ONLINE_PAYMENT";
|
|
@@ -1139,6 +1167,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
1139
1167
|
shipping_surge_fee: number;
|
|
1140
1168
|
small_order_fee: number;
|
|
1141
1169
|
promotion: {
|
|
1170
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1142
1171
|
shipping_discount_amount: number;
|
|
1143
1172
|
shipping_voucher_amount: number;
|
|
1144
1173
|
item_discount_amount: number;
|
|
@@ -1148,6 +1177,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
1148
1177
|
tax_amount: number;
|
|
1149
1178
|
total_amount: number;
|
|
1150
1179
|
merchant_surcharge_fee: number;
|
|
1180
|
+
unit_list_price_subtotal: number;
|
|
1151
1181
|
};
|
|
1152
1182
|
currency: "MYR";
|
|
1153
1183
|
payment_method: "CASH_ON_DELIVERY" | "ONLINE_PAYMENT";
|
|
@@ -1216,6 +1246,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
1216
1246
|
shipping_surge_fee: number;
|
|
1217
1247
|
small_order_fee: number;
|
|
1218
1248
|
promotion: {
|
|
1249
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1219
1250
|
shipping_discount_amount: number;
|
|
1220
1251
|
shipping_voucher_amount: number;
|
|
1221
1252
|
item_discount_amount: number;
|
|
@@ -1225,6 +1256,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
|
|
|
1225
1256
|
tax_amount: number;
|
|
1226
1257
|
total_amount: number;
|
|
1227
1258
|
merchant_surcharge_fee: number;
|
|
1259
|
+
unit_list_price_subtotal: number;
|
|
1228
1260
|
};
|
|
1229
1261
|
currency: "MYR";
|
|
1230
1262
|
payment_method: "CASH_ON_DELIVERY" | "ONLINE_PAYMENT";
|
|
@@ -1183,6 +1183,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1183
1183
|
}>, "many">>>;
|
|
1184
1184
|
unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1185
1185
|
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1186
|
+
subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1186
1187
|
}, "strip", z.ZodTypeAny, {
|
|
1187
1188
|
unit?: string | null | undefined;
|
|
1188
1189
|
categoryName?: string | null | undefined;
|
|
@@ -1228,6 +1229,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1228
1229
|
systemCode: string;
|
|
1229
1230
|
}[] | null | undefined;
|
|
1230
1231
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1232
|
+
subCategories?: string[] | null | undefined;
|
|
1231
1233
|
code: string;
|
|
1232
1234
|
name: string;
|
|
1233
1235
|
price: {
|
|
@@ -1280,6 +1282,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1280
1282
|
systemCode: string;
|
|
1281
1283
|
}[] | null | undefined;
|
|
1282
1284
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1285
|
+
subCategories?: string[] | null | undefined;
|
|
1283
1286
|
code: string;
|
|
1284
1287
|
name: string;
|
|
1285
1288
|
price: {
|
|
@@ -1376,6 +1379,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1376
1379
|
systemCode: string;
|
|
1377
1380
|
}[] | null | undefined;
|
|
1378
1381
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1382
|
+
subCategories?: string[] | null | undefined;
|
|
1379
1383
|
code: string;
|
|
1380
1384
|
name: string;
|
|
1381
1385
|
price: {
|
|
@@ -1559,6 +1563,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1559
1563
|
systemCode: string;
|
|
1560
1564
|
}[] | null | undefined;
|
|
1561
1565
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1566
|
+
subCategories?: string[] | null | undefined;
|
|
1562
1567
|
code: string;
|
|
1563
1568
|
name: string;
|
|
1564
1569
|
price: {
|
|
@@ -2525,6 +2530,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2525
2530
|
}>, "many">>>;
|
|
2526
2531
|
unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2527
2532
|
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2533
|
+
subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2528
2534
|
}, "strip", z.ZodTypeAny, {
|
|
2529
2535
|
unit?: string | null | undefined;
|
|
2530
2536
|
categoryName?: string | null | undefined;
|
|
@@ -2570,6 +2576,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2570
2576
|
systemCode: string;
|
|
2571
2577
|
}[] | null | undefined;
|
|
2572
2578
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2579
|
+
subCategories?: string[] | null | undefined;
|
|
2573
2580
|
code: string;
|
|
2574
2581
|
name: string;
|
|
2575
2582
|
price: {
|
|
@@ -2622,6 +2629,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2622
2629
|
systemCode: string;
|
|
2623
2630
|
}[] | null | undefined;
|
|
2624
2631
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2632
|
+
subCategories?: string[] | null | undefined;
|
|
2625
2633
|
code: string;
|
|
2626
2634
|
name: string;
|
|
2627
2635
|
price: {
|
|
@@ -2718,6 +2726,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2718
2726
|
systemCode: string;
|
|
2719
2727
|
}[] | null | undefined;
|
|
2720
2728
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2729
|
+
subCategories?: string[] | null | undefined;
|
|
2721
2730
|
code: string;
|
|
2722
2731
|
name: string;
|
|
2723
2732
|
price: {
|
|
@@ -2901,6 +2910,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2901
2910
|
systemCode: string;
|
|
2902
2911
|
}[] | null | undefined;
|
|
2903
2912
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2913
|
+
subCategories?: string[] | null | undefined;
|
|
2904
2914
|
code: string;
|
|
2905
2915
|
name: string;
|
|
2906
2916
|
price: {
|
|
@@ -3105,6 +3115,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3105
3115
|
systemCode: string;
|
|
3106
3116
|
}[] | null | undefined;
|
|
3107
3117
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3118
|
+
subCategories?: string[] | null | undefined;
|
|
3108
3119
|
code: string;
|
|
3109
3120
|
name: string;
|
|
3110
3121
|
price: {
|
|
@@ -3309,6 +3320,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3309
3320
|
systemCode: string;
|
|
3310
3321
|
}[] | null | undefined;
|
|
3311
3322
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3323
|
+
subCategories?: string[] | null | undefined;
|
|
3312
3324
|
code: string;
|
|
3313
3325
|
name: string;
|
|
3314
3326
|
price: {
|
|
@@ -521,7 +521,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
521
521
|
postcode: string;
|
|
522
522
|
}>;
|
|
523
523
|
phoneNo: z.ZodString;
|
|
524
|
-
email: z.ZodString
|
|
524
|
+
email: z.ZodDefault<z.ZodString>;
|
|
525
525
|
regNo: z.ZodString;
|
|
526
526
|
legalName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
527
527
|
sstRegNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -891,6 +891,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
891
891
|
code?: string | null | undefined;
|
|
892
892
|
_id?: string | null | undefined;
|
|
893
893
|
description?: string | null | undefined;
|
|
894
|
+
email?: string | undefined;
|
|
894
895
|
discovery?: boolean | null | undefined;
|
|
895
896
|
legalName?: string | null | undefined;
|
|
896
897
|
sstRegNo?: string | null | undefined;
|
|
@@ -960,7 +961,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
960
961
|
city: string;
|
|
961
962
|
postcode: string;
|
|
962
963
|
};
|
|
963
|
-
email: string;
|
|
964
964
|
phoneNo: string;
|
|
965
965
|
regNo: string;
|
|
966
966
|
}>;
|
|
@@ -1288,6 +1288,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1288
1288
|
code?: string | null | undefined;
|
|
1289
1289
|
_id?: string | null | undefined;
|
|
1290
1290
|
description?: string | null | undefined;
|
|
1291
|
+
email?: string | undefined;
|
|
1291
1292
|
discovery?: boolean | null | undefined;
|
|
1292
1293
|
legalName?: string | null | undefined;
|
|
1293
1294
|
sstRegNo?: string | null | undefined;
|
|
@@ -1357,7 +1358,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1357
1358
|
city: string;
|
|
1358
1359
|
postcode: string;
|
|
1359
1360
|
};
|
|
1360
|
-
email: string;
|
|
1361
1361
|
phoneNo: string;
|
|
1362
1362
|
regNo: string;
|
|
1363
1363
|
};
|
|
@@ -2132,7 +2132,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
2132
2132
|
postcode: string;
|
|
2133
2133
|
}>;
|
|
2134
2134
|
phoneNo: z.ZodString;
|
|
2135
|
-
email: z.ZodString
|
|
2135
|
+
email: z.ZodDefault<z.ZodString>;
|
|
2136
2136
|
regNo: z.ZodString;
|
|
2137
2137
|
legalName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2138
2138
|
sstRegNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2502,6 +2502,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
2502
2502
|
code?: string | null | undefined;
|
|
2503
2503
|
_id?: string | null | undefined;
|
|
2504
2504
|
description?: string | null | undefined;
|
|
2505
|
+
email?: string | undefined;
|
|
2505
2506
|
discovery?: boolean | null | undefined;
|
|
2506
2507
|
legalName?: string | null | undefined;
|
|
2507
2508
|
sstRegNo?: string | null | undefined;
|
|
@@ -2571,7 +2572,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
2571
2572
|
city: string;
|
|
2572
2573
|
postcode: string;
|
|
2573
2574
|
};
|
|
2574
|
-
email: string;
|
|
2575
2575
|
phoneNo: string;
|
|
2576
2576
|
regNo: string;
|
|
2577
2577
|
}>;
|
|
@@ -2899,6 +2899,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
2899
2899
|
code?: string | null | undefined;
|
|
2900
2900
|
_id?: string | null | undefined;
|
|
2901
2901
|
description?: string | null | undefined;
|
|
2902
|
+
email?: string | undefined;
|
|
2902
2903
|
discovery?: boolean | null | undefined;
|
|
2903
2904
|
legalName?: string | null | undefined;
|
|
2904
2905
|
sstRegNo?: string | null | undefined;
|
|
@@ -2968,7 +2969,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
2968
2969
|
city: string;
|
|
2969
2970
|
postcode: string;
|
|
2970
2971
|
};
|
|
2971
|
-
email: string;
|
|
2972
2972
|
phoneNo: string;
|
|
2973
2973
|
regNo: string;
|
|
2974
2974
|
};
|
|
@@ -9685,6 +9685,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
9685
9685
|
code?: string | null | undefined;
|
|
9686
9686
|
_id?: string | null | undefined;
|
|
9687
9687
|
description?: string | null | undefined;
|
|
9688
|
+
email?: string | undefined;
|
|
9688
9689
|
discovery?: boolean | null | undefined;
|
|
9689
9690
|
legalName?: string | null | undefined;
|
|
9690
9691
|
sstRegNo?: string | null | undefined;
|
|
@@ -9754,7 +9755,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
9754
9755
|
city: string;
|
|
9755
9756
|
postcode: string;
|
|
9756
9757
|
};
|
|
9757
|
-
email: string;
|
|
9758
9758
|
phoneNo: string;
|
|
9759
9759
|
regNo: string;
|
|
9760
9760
|
};
|
|
@@ -11913,6 +11913,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
11913
11913
|
code?: string | null | undefined;
|
|
11914
11914
|
_id?: string | null | undefined;
|
|
11915
11915
|
description?: string | null | undefined;
|
|
11916
|
+
email?: string | undefined;
|
|
11916
11917
|
discovery?: boolean | null | undefined;
|
|
11917
11918
|
legalName?: string | null | undefined;
|
|
11918
11919
|
sstRegNo?: string | null | undefined;
|
|
@@ -11982,7 +11983,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
11982
11983
|
city: string;
|
|
11983
11984
|
postcode: string;
|
|
11984
11985
|
};
|
|
11985
|
-
email: string;
|
|
11986
11986
|
phoneNo: string;
|
|
11987
11987
|
regNo: string;
|
|
11988
11988
|
};
|
|
@@ -12041,6 +12041,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
12041
12041
|
code?: string | null | undefined;
|
|
12042
12042
|
_id?: string | null | undefined;
|
|
12043
12043
|
description?: string | null | undefined;
|
|
12044
|
+
email?: string | undefined;
|
|
12044
12045
|
discovery?: boolean | null | undefined;
|
|
12045
12046
|
legalName?: string | null | undefined;
|
|
12046
12047
|
sstRegNo?: string | null | undefined;
|
|
@@ -12110,7 +12111,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
12110
12111
|
city: string;
|
|
12111
12112
|
postcode: string;
|
|
12112
12113
|
};
|
|
12113
|
-
email: string;
|
|
12114
12114
|
phoneNo: string;
|
|
12115
12115
|
regNo: string;
|
|
12116
12116
|
};
|
|
@@ -33,7 +33,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
33
33
|
postcode: string;
|
|
34
34
|
}>;
|
|
35
35
|
phoneNo: z.ZodString;
|
|
36
|
-
email: z.ZodString
|
|
36
|
+
email: z.ZodDefault<z.ZodString>;
|
|
37
37
|
regNo: z.ZodString;
|
|
38
38
|
legalName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
39
39
|
sstRegNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -400,6 +400,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
400
400
|
}, {
|
|
401
401
|
code?: string | null | undefined;
|
|
402
402
|
url?: string | null | undefined;
|
|
403
|
+
email?: string | undefined;
|
|
403
404
|
description?: string | null | undefined;
|
|
404
405
|
_id?: string | null | undefined;
|
|
405
406
|
legalName?: string | null | undefined;
|
|
@@ -470,7 +471,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
470
471
|
city: string;
|
|
471
472
|
postcode: string;
|
|
472
473
|
};
|
|
473
|
-
email: string;
|
|
474
474
|
phoneNo: string;
|
|
475
475
|
regNo: string;
|
|
476
476
|
}>;
|
|
@@ -2006,6 +2006,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
2006
2006
|
profile: {
|
|
2007
2007
|
code?: string | null | undefined;
|
|
2008
2008
|
url?: string | null | undefined;
|
|
2009
|
+
email?: string | undefined;
|
|
2009
2010
|
description?: string | null | undefined;
|
|
2010
2011
|
_id?: string | null | undefined;
|
|
2011
2012
|
legalName?: string | null | undefined;
|
|
@@ -2076,7 +2077,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
2076
2077
|
city: string;
|
|
2077
2078
|
postcode: string;
|
|
2078
2079
|
};
|
|
2079
|
-
email: string;
|
|
2080
2080
|
phoneNo: string;
|
|
2081
2081
|
regNo: string;
|
|
2082
2082
|
};
|
|
@@ -2132,7 +2132,7 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2132
2132
|
postcode: string;
|
|
2133
2133
|
}>;
|
|
2134
2134
|
phoneNo: z.ZodString;
|
|
2135
|
-
email: z.ZodString
|
|
2135
|
+
email: z.ZodDefault<z.ZodString>;
|
|
2136
2136
|
regNo: z.ZodString;
|
|
2137
2137
|
legalName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2138
2138
|
sstRegNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2502,6 +2502,7 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2502
2502
|
code?: string | null | undefined;
|
|
2503
2503
|
_id?: string | null | undefined;
|
|
2504
2504
|
description?: string | null | undefined;
|
|
2505
|
+
email?: string | undefined;
|
|
2505
2506
|
discovery?: boolean | null | undefined;
|
|
2506
2507
|
legalName?: string | null | undefined;
|
|
2507
2508
|
sstRegNo?: string | null | undefined;
|
|
@@ -2571,7 +2572,6 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2571
2572
|
city: string;
|
|
2572
2573
|
postcode: string;
|
|
2573
2574
|
};
|
|
2574
|
-
email: string;
|
|
2575
2575
|
phoneNo: string;
|
|
2576
2576
|
regNo: string;
|
|
2577
2577
|
}>;
|
|
@@ -2899,6 +2899,7 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2899
2899
|
code?: string | null | undefined;
|
|
2900
2900
|
_id?: string | null | undefined;
|
|
2901
2901
|
description?: string | null | undefined;
|
|
2902
|
+
email?: string | undefined;
|
|
2902
2903
|
discovery?: boolean | null | undefined;
|
|
2903
2904
|
legalName?: string | null | undefined;
|
|
2904
2905
|
sstRegNo?: string | null | undefined;
|
|
@@ -2968,7 +2969,6 @@ export declare const RestaurantDto: z.ZodObject<{
|
|
|
2968
2969
|
city: string;
|
|
2969
2970
|
postcode: string;
|
|
2970
2971
|
};
|
|
2971
|
-
email: string;
|
|
2972
2972
|
phoneNo: string;
|
|
2973
2973
|
regNo: string;
|
|
2974
2974
|
};
|
|
@@ -3015,7 +3015,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3015
3015
|
postcode: string;
|
|
3016
3016
|
}>;
|
|
3017
3017
|
phoneNo: z.ZodString;
|
|
3018
|
-
email: z.ZodString
|
|
3018
|
+
email: z.ZodDefault<z.ZodString>;
|
|
3019
3019
|
regNo: z.ZodString;
|
|
3020
3020
|
legalName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3021
3021
|
sstRegNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3382,6 +3382,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3382
3382
|
}, {
|
|
3383
3383
|
code?: string | null | undefined;
|
|
3384
3384
|
url?: string | null | undefined;
|
|
3385
|
+
email?: string | undefined;
|
|
3385
3386
|
description?: string | null | undefined;
|
|
3386
3387
|
_id?: string | null | undefined;
|
|
3387
3388
|
legalName?: string | null | undefined;
|
|
@@ -3452,7 +3453,6 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3452
3453
|
city: string;
|
|
3453
3454
|
postcode: string;
|
|
3454
3455
|
};
|
|
3455
|
-
email: string;
|
|
3456
3456
|
phoneNo: string;
|
|
3457
3457
|
regNo: string;
|
|
3458
3458
|
}>;
|
|
@@ -4287,6 +4287,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4287
4287
|
profile: {
|
|
4288
4288
|
code?: string | null | undefined;
|
|
4289
4289
|
url?: string | null | undefined;
|
|
4290
|
+
email?: string | undefined;
|
|
4290
4291
|
description?: string | null | undefined;
|
|
4291
4292
|
_id?: string | null | undefined;
|
|
4292
4293
|
legalName?: string | null | undefined;
|
|
@@ -4357,7 +4358,6 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4357
4358
|
city: string;
|
|
4358
4359
|
postcode: string;
|
|
4359
4360
|
};
|
|
4360
|
-
email: string;
|
|
4361
4361
|
phoneNo: string;
|
|
4362
4362
|
regNo: string;
|
|
4363
4363
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-order-setting",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "./dist/app.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"format": "prettier --write src/"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@feedmepos/core": "^2.14.
|
|
29
|
+
"@feedmepos/core": "^2.14.26",
|
|
30
30
|
"@feedmepos/menu": "^1.5.21",
|
|
31
31
|
"@feedmepos/mf-common": "1.20.0-beta.2",
|
|
32
32
|
"@feedmepos/ordering": "^0.0.3",
|
|
@@ -2,13 +2,14 @@ import type { AxiosInstance } from 'axios';
|
|
|
2
2
|
import { baseClientInstance, getData, SvcConfig } from '..';
|
|
3
3
|
import type { DeliveryCompany, LinkedDeliveryDoc } from '../../views/order-settings/delivery/delivery';
|
|
4
4
|
import { FdoFoodpandaSettings, FdoLinkedDelivery, FdoRestaurant, FdoRestaurantFeedmeDelivery, FdoRestaurantInHouseDelivery, FdoShopeeFoodOrder } from '@feedmepos/core/entity';
|
|
5
|
-
import type { FdoExternalSetting, FdoFoodpandaOrderOutput, FdoGrabfoodOrderOutput, FdoGrabfoodSettings, FdoShopeeFoodOrderOutput, FdoShopeeFoodSettings, FdtoGetOrderReq } from '@entity';
|
|
5
|
+
import type { FdoDeliverooSettings, FdoExternalSetting, FdoFoodpandaOrderOutput, FdoGrabfoodOrderOutput, FdoGrabfoodSettings, FdoShopeeFoodOrderOutput, FdoShopeeFoodSettings, FdtoGetOrderReq } from '@entity';
|
|
6
6
|
|
|
7
|
-
type DeliveryCompanyUrl = 'foodpanda' | 'grabfood' | 'shopeefood' | 'external'
|
|
7
|
+
type DeliveryCompanyUrl = 'foodpanda' | 'grabfood' | 'shopeefood' | 'deliveroo' | 'external'
|
|
8
8
|
|
|
9
9
|
const deliveryClientInstance = (
|
|
10
10
|
deliveryCompany: DeliveryCompanyUrl
|
|
11
11
|
): AxiosInstance => {
|
|
12
|
+
//https://portal-v2-dev.feedmeapi.com/deliveroo/setting/:restaurantId
|
|
12
13
|
const path = `/${deliveryCompany}`;
|
|
13
14
|
return baseClientInstance(path, 'portal');
|
|
14
15
|
};
|
|
@@ -113,6 +114,23 @@ export const remoteOrderApi = {
|
|
|
113
114
|
async syncShopeefoodMenu(storeId: string): Promise<FdoShopeeFoodSettings> {
|
|
114
115
|
return getData(await deliveryClientInstance('shopeefood').get(`/menu-sync/${storeId}`));
|
|
115
116
|
},
|
|
117
|
+
async updateDeliveroo(restaurantId: string, dto: FdoDeliverooSettings): Promise<FdoRestaurant> {
|
|
118
|
+
return getData(await deliveryClientInstance('deliveroo').put(`/setting/${restaurantId}`, {
|
|
119
|
+
_id: restaurantId,
|
|
120
|
+
...dto
|
|
121
|
+
}))
|
|
122
|
+
},
|
|
123
|
+
async readDeliveroo(restaurantId: string): Promise<FdoDeliverooSettings | null> {
|
|
124
|
+
return getData(await deliveryClientInstance('deliveroo').get(`/setting/${restaurantId}`));
|
|
125
|
+
},
|
|
126
|
+
async syncDeliverooMernu(merchantID: string): Promise<FdoDeliverooSettings> {
|
|
127
|
+
try {
|
|
128
|
+
const res = getData(await deliveryClientInstance('deliveroo').get(`/menu-sync/${merchantID}`))
|
|
129
|
+
return res
|
|
130
|
+
} catch(err) {
|
|
131
|
+
throw err
|
|
132
|
+
}
|
|
133
|
+
},
|
|
116
134
|
async readExternal(restaurantId: string): Promise<FdoExternalSetting | null> {
|
|
117
135
|
return getData(await deliveryClientInstance('external').get(`/setting/${restaurantId}`))
|
|
118
136
|
},
|
package/src/locales/en-US.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"auto": "Auto",
|
|
36
36
|
"autoIntegration": "Auto Integration",
|
|
37
37
|
"autoIntegrationWarning": "Auto delivery integration not available, contact our staff for more information. Reason: {reason}",
|
|
38
|
+
"autoIntegrationCountryNotSupport": "Platform not support auto integration in current country.",
|
|
38
39
|
"autoSendKitchen": "Auto Send Kitchen",
|
|
39
40
|
"autoSendKitchenSublabel": "Required POS version 7 or above",
|
|
40
41
|
"balance": "Balance",
|
package/src/locales/th-TH.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"auto": "อัตโนมัติ",
|
|
36
36
|
"autoIntegration": "รวมอัตโนมัติ",
|
|
37
37
|
"autoIntegrationWarning": "การรวมระบบการจัดส่งอัตโนมัติไม่พร้อมใช้งาน โปรดติดต่อเจ้าหน้าที่ของเราเพื่อขอข้อมูลเพิ่มเติม เหตุผล: {reason}",
|
|
38
|
+
"autoIntegrationCountryNotSupport": "แพลตฟอร์มไม่รองรับการเชื่อมต่อการจัดส่งแบบไดนามิกในประเทศ/ภูมิภาคปัจจุบัน",
|
|
38
39
|
"autoSendKitchen": "ส่งอัตโนมัติครัว",
|
|
39
40
|
"autoSendKitchenSublabel": "ต้องใช้ POS เวอร์ชัน 7 ขึ้นไป",
|
|
40
41
|
"balance": "ยอดคงเหลือ",
|
package/src/locales/zh-CN.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"auto": "自动",
|
|
36
36
|
"autoIntegration": "自动对接",
|
|
37
37
|
"autoIntegrationWarning": "自动配送对接不可用, 请联络我们的工作人员了解更多信息。 原因: {reason}",
|
|
38
|
+
"autoIntegrationCountryNotSupport": "平台不支持当前国家/地区的自动配送对接。",
|
|
38
39
|
"autoSendKitchen": "自动发送至厨房",
|
|
39
40
|
"autoSendKitchenSublabel": "需要POS版本7或以上",
|
|
40
41
|
"balance": "余额",
|
|
@@ -274,6 +275,7 @@
|
|
|
274
275
|
"DeliverySettingUpdated": "配送设置已更新",
|
|
275
276
|
"selectPlatform": "选择平台",
|
|
276
277
|
"platform": "平台",
|
|
278
|
+
"rateLimitWarning": "每分钟只允许一次请求。请稍后再试",
|
|
277
279
|
"discountRule": {
|
|
278
280
|
"add": "添加折扣规则",
|
|
279
281
|
"description": "定义折扣在账单中如何应用。仅适用于POS版本{minPosVersion}或更高版本。",
|