@feedmepos/mf-order-setting 0.0.83 → 0.0.84
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/{DisplaySystemView-BXy_OnbY.js → DisplaySystemView-4Bz8p26A.js} +1 -1
- package/dist/{KioskDevicesView-D3YR1e6K.js → KioskDevicesView-DdwFuenU.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CuhL_Q5C.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CxtLm_oh.js} +3 -3
- package/dist/{KioskSettingView-C3L9_8ag.js → KioskSettingView-D57KtQ-t.js} +289 -240
- package/dist/{KioskView-Cs6VBCj5.js → KioskView-fwBwUGCQ.js} +113 -103
- package/dist/{OrderSettingsView-BdaHRXda.js → OrderSettingsView-RhlyZmzs.js} +1772 -1766
- package/dist/{app-CP6AFTEu.js → app-ClOkRxOZ.js} +26 -6
- package/dist/app.js +1 -1
- package/dist/common/util/index.d.ts +9 -0
- package/dist/frontend/mf-order/src/app.d.ts +20 -0
- package/dist/frontend/mf-order/src/main.d.ts +20 -0
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +2 -0
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/languages.d.ts +7 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +6 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +8 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +9 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-LCS8oexE.js → index-5k7kGCpJ.js} +2 -2
- package/dist/{index-BckeUsPc.js → index-CKEbr9Es.js} +1 -1
- package/dist/{index-DoJzzpyh.js → index-I2YGevce.js} +1 -1
- package/dist/{order.dto-Bm04C1sQ.js → order.dto-Dbn-hRrm.js} +3294 -3235
- package/dist/package/entity/alert/alert-base.dto.d.ts +306 -0
- package/dist/package/entity/alert/alert.dto.d.ts +956 -0
- package/dist/package/entity/alert/alert.enum.d.ts +7 -0
- package/dist/package/entity/alert/categories/integration.d.ts +333 -0
- package/dist/package/entity/alert/categories/kiosk.d.ts +297 -0
- package/dist/package/entity/alert/categories/mini-program.d.ts +297 -0
- package/dist/package/entity/alert/investigation.dto.d.ts +86 -0
- package/dist/package/entity/alert/lark-callback.dto.d.ts +106 -0
- package/dist/package/entity/alert/suggestion.dto.d.ts +31 -0
- package/dist/package/entity/alert/suggestion.enum.d.ts +7 -0
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +80 -0
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +575 -0
- package/dist/package/entity/index.d.ts +12 -0
- package/dist/package/entity/index.frontend.d.ts +1 -0
- package/dist/package/entity/member/member.dto.d.ts +2 -1
- package/dist/package/entity/order/order.do.d.ts +64 -7
- package/dist/package/entity/order/order.dto.d.ts +85 -67
- package/dist/package/entity/order/payment/payment.dto.d.ts +36 -28
- package/dist/package/entity/order-platform/external/auth/external-auth.dto.d.ts +9 -15
- package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +33 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +1185 -23
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1104 -52
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +2914 -88
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +38 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +26 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-availability.dto.d.ts +75 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +9 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +13 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood.enum.d.ts +6 -0
- package/dist/package/entity/order-platform/tng/tng-order.do.d.ts +6 -6
- package/dist/package/entity/order-platform/tng/tng.dto.d.ts +2 -2
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +3 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.enum.d.ts +12 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -0
- package/dist/package/entity/payment/payment.dto.d.ts +2 -2
- package/dist/package/entity/payment/transaction.d.ts +115 -30
- package/dist/package/entity/queue/queue.dto.d.ts +13 -11
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +5 -0
- package/dist/package/entity/websocket/websocket.dto.d.ts +12 -0
- package/package.json +1 -1
- package/src/locales/en-US.json +5 -0
- package/src/locales/ja-JP.json +5 -0
- package/src/locales/th-TH.json +5 -0
- package/src/locales/zh-CN.json +5 -0
- package/src/modules/order-setting/kiosk/interface.ts +8 -0
- package/src/modules/order-setting/kiosk/languages.ts +29 -0
- package/src/stores/order-setting/mapper.spec.ts +44 -0
- package/src/stores/order-setting/mapper.ts +9 -2
- package/src/views/kiosk/settings/KioskSettingView.vue +63 -0
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +6 -1
- package/src/views/order-settings/delivery/integrated-delivery/LinemanSetting.vue +2 -1
|
@@ -1,4 +1,77 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* PaymentMethod - local replacement for payment-entity's FdoPaymentMethod
|
|
4
|
+
*
|
|
5
|
+
* IMPORTANT: `issuer` is widened to accept any string, for the same reason
|
|
6
|
+
* `gateway` and `status` are `z.string()` in the output DTOs below.
|
|
7
|
+
*
|
|
8
|
+
* The payment team adds a new issuer to `F_PAYMENT_ISSUER` whenever a gateway
|
|
9
|
+
* gains one (SETEL, REVOLUT and SARAWAKPAY all landed in payment-entity
|
|
10
|
+
* 0.1.81). Ordering only echoes this string back to the customer app, but it
|
|
11
|
+
* PARSES it, so any ordering build older than that bump could not read back an
|
|
12
|
+
* order paid with the new method at all: `GET /customer/v2/orders/:id` answered
|
|
13
|
+
* 500 with `invalid_enum_value ... received 'SETEL'` at
|
|
14
|
+
* `payment.pf_transactions[0].method.issuer`, and customer-v3 then threw the
|
|
15
|
+
* customer out of the app entirely (ITS-000425). The same parse sits on the
|
|
16
|
+
* POS, kiosk and portal order DTOs.
|
|
17
|
+
*
|
|
18
|
+
* A closed enum here buys nothing — we never branch on the value — and it makes
|
|
19
|
+
* every order paid with a method we have not shipped yet unreadable. Keep this
|
|
20
|
+
* open; the payment-entity bump is then a nice-to-have, not an incident fix.
|
|
21
|
+
*/
|
|
22
|
+
export declare const PaymentMethod: z.ZodObject<z.extendShape<z.extendShape<{
|
|
23
|
+
issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT", "MACAU_PASS", "AMEX", "CASH", "JCB", "DISCOVER", "DINERS", "THAIQR", "TRUEMONEY", "LINEPAY", "KBANK", "REVOLUT", "SARAWAKPAY", "SETEL"]>;
|
|
24
|
+
variant: z.ZodString;
|
|
25
|
+
}, {
|
|
26
|
+
rate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
27
|
+
amount: z.ZodNumber;
|
|
28
|
+
precision: z.ZodNumber;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
amount: number;
|
|
31
|
+
precision: number;
|
|
32
|
+
}, {
|
|
33
|
+
amount: number;
|
|
34
|
+
precision: number;
|
|
35
|
+
}>>>;
|
|
36
|
+
minimumFee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
37
|
+
amount: z.ZodNumber;
|
|
38
|
+
precision: z.ZodNumber;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
amount: number;
|
|
41
|
+
precision: number;
|
|
42
|
+
}, {
|
|
43
|
+
amount: number;
|
|
44
|
+
precision: number;
|
|
45
|
+
}>>>;
|
|
46
|
+
tPlus: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
47
|
+
}>, {
|
|
48
|
+
issuer: z.ZodString;
|
|
49
|
+
}>, "strip", z.ZodTypeAny, {
|
|
50
|
+
rate?: {
|
|
51
|
+
amount: number;
|
|
52
|
+
precision: number;
|
|
53
|
+
} | null | undefined;
|
|
54
|
+
minimumFee?: {
|
|
55
|
+
amount: number;
|
|
56
|
+
precision: number;
|
|
57
|
+
} | null | undefined;
|
|
58
|
+
tPlus?: number | null | undefined;
|
|
59
|
+
issuer: string;
|
|
60
|
+
variant: string;
|
|
61
|
+
}, {
|
|
62
|
+
rate?: {
|
|
63
|
+
amount: number;
|
|
64
|
+
precision: number;
|
|
65
|
+
} | null | undefined;
|
|
66
|
+
minimumFee?: {
|
|
67
|
+
amount: number;
|
|
68
|
+
precision: number;
|
|
69
|
+
} | null | undefined;
|
|
70
|
+
tPlus?: number | null | undefined;
|
|
71
|
+
issuer: string;
|
|
72
|
+
variant: string;
|
|
73
|
+
}>;
|
|
74
|
+
export type PaymentMethod = z.infer<typeof PaymentMethod>;
|
|
2
75
|
/**
|
|
3
76
|
* PayoutAccount store info - what payment-backend returns for pf_payoutAccount
|
|
4
77
|
*/
|
|
@@ -124,7 +197,7 @@ export declare const PaymentTransaction: z.ZodObject<{
|
|
|
124
197
|
precision: number;
|
|
125
198
|
}>>>;
|
|
126
199
|
gatewayTransactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
127
|
-
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
|
|
200
|
+
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<z.extendShape<{
|
|
128
201
|
issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT", "MACAU_PASS", "AMEX", "CASH", "JCB", "DISCOVER", "DINERS", "THAIQR", "TRUEMONEY", "LINEPAY", "KBANK", "REVOLUT", "SARAWAKPAY", "SETEL"]>;
|
|
129
202
|
variant: z.ZodString;
|
|
130
203
|
}, {
|
|
@@ -149,6 +222,8 @@ export declare const PaymentTransaction: z.ZodObject<{
|
|
|
149
222
|
precision: number;
|
|
150
223
|
}>>>;
|
|
151
224
|
tPlus: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
225
|
+
}>, {
|
|
226
|
+
issuer: z.ZodString;
|
|
152
227
|
}>, "strip", z.ZodTypeAny, {
|
|
153
228
|
rate?: {
|
|
154
229
|
amount: number;
|
|
@@ -159,7 +234,7 @@ export declare const PaymentTransaction: z.ZodObject<{
|
|
|
159
234
|
precision: number;
|
|
160
235
|
} | null | undefined;
|
|
161
236
|
tPlus?: number | null | undefined;
|
|
162
|
-
issuer:
|
|
237
|
+
issuer: string;
|
|
163
238
|
variant: string;
|
|
164
239
|
}, {
|
|
165
240
|
rate?: {
|
|
@@ -171,7 +246,7 @@ export declare const PaymentTransaction: z.ZodObject<{
|
|
|
171
246
|
precision: number;
|
|
172
247
|
} | null | undefined;
|
|
173
248
|
tPlus?: number | null | undefined;
|
|
174
|
-
issuer:
|
|
249
|
+
issuer: string;
|
|
175
250
|
variant: string;
|
|
176
251
|
}>>>;
|
|
177
252
|
pf_payoutAccount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -299,7 +374,7 @@ export declare const PaymentTransaction: z.ZodObject<{
|
|
|
299
374
|
precision: number;
|
|
300
375
|
} | null | undefined;
|
|
301
376
|
tPlus?: number | null | undefined;
|
|
302
|
-
issuer:
|
|
377
|
+
issuer: string;
|
|
303
378
|
variant: string;
|
|
304
379
|
} | null | undefined;
|
|
305
380
|
pf_payoutAccount?: {
|
|
@@ -373,7 +448,7 @@ export declare const PaymentTransaction: z.ZodObject<{
|
|
|
373
448
|
precision: number;
|
|
374
449
|
} | null | undefined;
|
|
375
450
|
tPlus?: number | null | undefined;
|
|
376
|
-
issuer:
|
|
451
|
+
issuer: string;
|
|
377
452
|
variant: string;
|
|
378
453
|
} | null | undefined;
|
|
379
454
|
pf_payoutAccount?: {
|
|
@@ -642,7 +717,7 @@ export declare const PaymentTransactionWithChildren: z.ZodObject<z.extendShape<{
|
|
|
642
717
|
precision: number;
|
|
643
718
|
}>>>;
|
|
644
719
|
gatewayTransactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
645
|
-
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
|
|
720
|
+
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<z.extendShape<{
|
|
646
721
|
issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT", "MACAU_PASS", "AMEX", "CASH", "JCB", "DISCOVER", "DINERS", "THAIQR", "TRUEMONEY", "LINEPAY", "KBANK", "REVOLUT", "SARAWAKPAY", "SETEL"]>;
|
|
647
722
|
variant: z.ZodString;
|
|
648
723
|
}, {
|
|
@@ -667,6 +742,8 @@ export declare const PaymentTransactionWithChildren: z.ZodObject<z.extendShape<{
|
|
|
667
742
|
precision: number;
|
|
668
743
|
}>>>;
|
|
669
744
|
tPlus: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
745
|
+
}>, {
|
|
746
|
+
issuer: z.ZodString;
|
|
670
747
|
}>, "strip", z.ZodTypeAny, {
|
|
671
748
|
rate?: {
|
|
672
749
|
amount: number;
|
|
@@ -677,7 +754,7 @@ export declare const PaymentTransactionWithChildren: z.ZodObject<z.extendShape<{
|
|
|
677
754
|
precision: number;
|
|
678
755
|
} | null | undefined;
|
|
679
756
|
tPlus?: number | null | undefined;
|
|
680
|
-
issuer:
|
|
757
|
+
issuer: string;
|
|
681
758
|
variant: string;
|
|
682
759
|
}, {
|
|
683
760
|
rate?: {
|
|
@@ -689,7 +766,7 @@ export declare const PaymentTransactionWithChildren: z.ZodObject<z.extendShape<{
|
|
|
689
766
|
precision: number;
|
|
690
767
|
} | null | undefined;
|
|
691
768
|
tPlus?: number | null | undefined;
|
|
692
|
-
issuer:
|
|
769
|
+
issuer: string;
|
|
693
770
|
variant: string;
|
|
694
771
|
}>>>;
|
|
695
772
|
pf_payoutAccount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -1026,7 +1103,7 @@ export declare const PaymentTransactionWithChildren: z.ZodObject<z.extendShape<{
|
|
|
1026
1103
|
precision: number;
|
|
1027
1104
|
} | null | undefined;
|
|
1028
1105
|
tPlus?: number | null | undefined;
|
|
1029
|
-
issuer:
|
|
1106
|
+
issuer: string;
|
|
1030
1107
|
variant: string;
|
|
1031
1108
|
} | null | undefined;
|
|
1032
1109
|
pf_payoutAccount?: {
|
|
@@ -1136,7 +1213,7 @@ export declare const PaymentTransactionWithChildren: z.ZodObject<z.extendShape<{
|
|
|
1136
1213
|
precision: number;
|
|
1137
1214
|
} | null | undefined;
|
|
1138
1215
|
tPlus?: number | null | undefined;
|
|
1139
|
-
issuer:
|
|
1216
|
+
issuer: string;
|
|
1140
1217
|
variant: string;
|
|
1141
1218
|
} | null | undefined;
|
|
1142
1219
|
pf_payoutAccount?: {
|
|
@@ -1228,7 +1305,7 @@ export declare const PaymentTransactionFlattened: z.ZodObject<z.extendShape<{
|
|
|
1228
1305
|
precision: number;
|
|
1229
1306
|
}>>>;
|
|
1230
1307
|
gatewayTransactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1231
|
-
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
|
|
1308
|
+
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<z.extendShape<{
|
|
1232
1309
|
issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT", "MACAU_PASS", "AMEX", "CASH", "JCB", "DISCOVER", "DINERS", "THAIQR", "TRUEMONEY", "LINEPAY", "KBANK", "REVOLUT", "SARAWAKPAY", "SETEL"]>;
|
|
1233
1310
|
variant: z.ZodString;
|
|
1234
1311
|
}, {
|
|
@@ -1253,6 +1330,8 @@ export declare const PaymentTransactionFlattened: z.ZodObject<z.extendShape<{
|
|
|
1253
1330
|
precision: number;
|
|
1254
1331
|
}>>>;
|
|
1255
1332
|
tPlus: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1333
|
+
}>, {
|
|
1334
|
+
issuer: z.ZodString;
|
|
1256
1335
|
}>, "strip", z.ZodTypeAny, {
|
|
1257
1336
|
rate?: {
|
|
1258
1337
|
amount: number;
|
|
@@ -1263,7 +1342,7 @@ export declare const PaymentTransactionFlattened: z.ZodObject<z.extendShape<{
|
|
|
1263
1342
|
precision: number;
|
|
1264
1343
|
} | null | undefined;
|
|
1265
1344
|
tPlus?: number | null | undefined;
|
|
1266
|
-
issuer:
|
|
1345
|
+
issuer: string;
|
|
1267
1346
|
variant: string;
|
|
1268
1347
|
}, {
|
|
1269
1348
|
rate?: {
|
|
@@ -1275,7 +1354,7 @@ export declare const PaymentTransactionFlattened: z.ZodObject<z.extendShape<{
|
|
|
1275
1354
|
precision: number;
|
|
1276
1355
|
} | null | undefined;
|
|
1277
1356
|
tPlus?: number | null | undefined;
|
|
1278
|
-
issuer:
|
|
1357
|
+
issuer: string;
|
|
1279
1358
|
variant: string;
|
|
1280
1359
|
}>>>;
|
|
1281
1360
|
pf_payoutAccount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -1405,7 +1484,7 @@ export declare const PaymentTransactionFlattened: z.ZodObject<z.extendShape<{
|
|
|
1405
1484
|
precision: number;
|
|
1406
1485
|
} | null | undefined;
|
|
1407
1486
|
tPlus?: number | null | undefined;
|
|
1408
|
-
issuer:
|
|
1487
|
+
issuer: string;
|
|
1409
1488
|
variant: string;
|
|
1410
1489
|
} | null | undefined;
|
|
1411
1490
|
pf_payoutAccount?: {
|
|
@@ -1480,7 +1559,7 @@ export declare const PaymentTransactionFlattened: z.ZodObject<z.extendShape<{
|
|
|
1480
1559
|
precision: number;
|
|
1481
1560
|
} | null | undefined;
|
|
1482
1561
|
tPlus?: number | null | undefined;
|
|
1483
|
-
issuer:
|
|
1562
|
+
issuer: string;
|
|
1484
1563
|
variant: string;
|
|
1485
1564
|
} | null | undefined;
|
|
1486
1565
|
pf_payoutAccount?: {
|
|
@@ -1644,7 +1723,7 @@ export declare const PaymentTransactionOutputDto: z.ZodObject<{
|
|
|
1644
1723
|
amount: number;
|
|
1645
1724
|
precision: number;
|
|
1646
1725
|
}>>>;
|
|
1647
|
-
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
|
|
1726
|
+
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<z.extendShape<{
|
|
1648
1727
|
issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT", "MACAU_PASS", "AMEX", "CASH", "JCB", "DISCOVER", "DINERS", "THAIQR", "TRUEMONEY", "LINEPAY", "KBANK", "REVOLUT", "SARAWAKPAY", "SETEL"]>;
|
|
1649
1728
|
variant: z.ZodString;
|
|
1650
1729
|
}, {
|
|
@@ -1669,6 +1748,8 @@ export declare const PaymentTransactionOutputDto: z.ZodObject<{
|
|
|
1669
1748
|
precision: number;
|
|
1670
1749
|
}>>>;
|
|
1671
1750
|
tPlus: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1751
|
+
}>, {
|
|
1752
|
+
issuer: z.ZodString;
|
|
1672
1753
|
}>, "strip", z.ZodTypeAny, {
|
|
1673
1754
|
rate?: {
|
|
1674
1755
|
amount: number;
|
|
@@ -1679,7 +1760,7 @@ export declare const PaymentTransactionOutputDto: z.ZodObject<{
|
|
|
1679
1760
|
precision: number;
|
|
1680
1761
|
} | null | undefined;
|
|
1681
1762
|
tPlus?: number | null | undefined;
|
|
1682
|
-
issuer:
|
|
1763
|
+
issuer: string;
|
|
1683
1764
|
variant: string;
|
|
1684
1765
|
}, {
|
|
1685
1766
|
rate?: {
|
|
@@ -1691,7 +1772,7 @@ export declare const PaymentTransactionOutputDto: z.ZodObject<{
|
|
|
1691
1772
|
precision: number;
|
|
1692
1773
|
} | null | undefined;
|
|
1693
1774
|
tPlus?: number | null | undefined;
|
|
1694
|
-
issuer:
|
|
1775
|
+
issuer: string;
|
|
1695
1776
|
variant: string;
|
|
1696
1777
|
}>>>;
|
|
1697
1778
|
createdAt: z.ZodDate;
|
|
@@ -1804,7 +1885,7 @@ export declare const PaymentTransactionOutputDto: z.ZodObject<{
|
|
|
1804
1885
|
precision: number;
|
|
1805
1886
|
} | null | undefined;
|
|
1806
1887
|
tPlus?: number | null | undefined;
|
|
1807
|
-
issuer:
|
|
1888
|
+
issuer: string;
|
|
1808
1889
|
variant: string;
|
|
1809
1890
|
} | null | undefined;
|
|
1810
1891
|
completedAt?: Date | null | undefined;
|
|
@@ -1856,7 +1937,7 @@ export declare const PaymentTransactionOutputDto: z.ZodObject<{
|
|
|
1856
1937
|
precision: number;
|
|
1857
1938
|
} | null | undefined;
|
|
1858
1939
|
tPlus?: number | null | undefined;
|
|
1859
|
-
issuer:
|
|
1940
|
+
issuer: string;
|
|
1860
1941
|
variant: string;
|
|
1861
1942
|
} | null | undefined;
|
|
1862
1943
|
completedAt?: Date | null | undefined;
|
|
@@ -1883,7 +1964,7 @@ export type PaymentTransactionOutputDto = z.infer<typeof PaymentTransactionOutpu
|
|
|
1883
1964
|
export declare const PaymentTransactionPOSOutputDto: z.ZodObject<{
|
|
1884
1965
|
_id: z.ZodString;
|
|
1885
1966
|
gateway: z.ZodString;
|
|
1886
|
-
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
|
|
1967
|
+
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<z.extendShape<{
|
|
1887
1968
|
issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT", "MACAU_PASS", "AMEX", "CASH", "JCB", "DISCOVER", "DINERS", "THAIQR", "TRUEMONEY", "LINEPAY", "KBANK", "REVOLUT", "SARAWAKPAY", "SETEL"]>;
|
|
1888
1969
|
variant: z.ZodString;
|
|
1889
1970
|
}, {
|
|
@@ -1908,6 +1989,8 @@ export declare const PaymentTransactionPOSOutputDto: z.ZodObject<{
|
|
|
1908
1989
|
precision: number;
|
|
1909
1990
|
}>>>;
|
|
1910
1991
|
tPlus: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1992
|
+
}>, {
|
|
1993
|
+
issuer: z.ZodString;
|
|
1911
1994
|
}>, "strip", z.ZodTypeAny, {
|
|
1912
1995
|
rate?: {
|
|
1913
1996
|
amount: number;
|
|
@@ -1918,7 +2001,7 @@ export declare const PaymentTransactionPOSOutputDto: z.ZodObject<{
|
|
|
1918
2001
|
precision: number;
|
|
1919
2002
|
} | null | undefined;
|
|
1920
2003
|
tPlus?: number | null | undefined;
|
|
1921
|
-
issuer:
|
|
2004
|
+
issuer: string;
|
|
1922
2005
|
variant: string;
|
|
1923
2006
|
}, {
|
|
1924
2007
|
rate?: {
|
|
@@ -1930,7 +2013,7 @@ export declare const PaymentTransactionPOSOutputDto: z.ZodObject<{
|
|
|
1930
2013
|
precision: number;
|
|
1931
2014
|
} | null | undefined;
|
|
1932
2015
|
tPlus?: number | null | undefined;
|
|
1933
|
-
issuer:
|
|
2016
|
+
issuer: string;
|
|
1934
2017
|
variant: string;
|
|
1935
2018
|
}>>>;
|
|
1936
2019
|
amount: z.ZodObject<{
|
|
@@ -1965,7 +2048,7 @@ export declare const PaymentTransactionPOSOutputDto: z.ZodObject<{
|
|
|
1965
2048
|
precision: number;
|
|
1966
2049
|
} | null | undefined;
|
|
1967
2050
|
tPlus?: number | null | undefined;
|
|
1968
|
-
issuer:
|
|
2051
|
+
issuer: string;
|
|
1969
2052
|
variant: string;
|
|
1970
2053
|
} | null | undefined;
|
|
1971
2054
|
callbackAt?: string | null | undefined;
|
|
@@ -1992,7 +2075,7 @@ export declare const PaymentTransactionPOSOutputDto: z.ZodObject<{
|
|
|
1992
2075
|
precision: number;
|
|
1993
2076
|
} | null | undefined;
|
|
1994
2077
|
tPlus?: number | null | undefined;
|
|
1995
|
-
issuer:
|
|
2078
|
+
issuer: string;
|
|
1996
2079
|
variant: string;
|
|
1997
2080
|
} | null | undefined;
|
|
1998
2081
|
callbackAt?: string | null | undefined;
|
|
@@ -2017,7 +2100,7 @@ export type PaymentTransactionPOSOutputDto = z.infer<typeof PaymentTransactionPO
|
|
|
2017
2100
|
export declare const PaymentTransactionCustomerV1OutputDto: z.ZodObject<{
|
|
2018
2101
|
_id: z.ZodString;
|
|
2019
2102
|
gateway: z.ZodString;
|
|
2020
|
-
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
|
|
2103
|
+
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<z.extendShape<{
|
|
2021
2104
|
issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT", "MACAU_PASS", "AMEX", "CASH", "JCB", "DISCOVER", "DINERS", "THAIQR", "TRUEMONEY", "LINEPAY", "KBANK", "REVOLUT", "SARAWAKPAY", "SETEL"]>;
|
|
2022
2105
|
variant: z.ZodString;
|
|
2023
2106
|
}, {
|
|
@@ -2042,6 +2125,8 @@ export declare const PaymentTransactionCustomerV1OutputDto: z.ZodObject<{
|
|
|
2042
2125
|
precision: number;
|
|
2043
2126
|
}>>>;
|
|
2044
2127
|
tPlus: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2128
|
+
}>, {
|
|
2129
|
+
issuer: z.ZodString;
|
|
2045
2130
|
}>, "strip", z.ZodTypeAny, {
|
|
2046
2131
|
rate?: {
|
|
2047
2132
|
amount: number;
|
|
@@ -2052,7 +2137,7 @@ export declare const PaymentTransactionCustomerV1OutputDto: z.ZodObject<{
|
|
|
2052
2137
|
precision: number;
|
|
2053
2138
|
} | null | undefined;
|
|
2054
2139
|
tPlus?: number | null | undefined;
|
|
2055
|
-
issuer:
|
|
2140
|
+
issuer: string;
|
|
2056
2141
|
variant: string;
|
|
2057
2142
|
}, {
|
|
2058
2143
|
rate?: {
|
|
@@ -2064,7 +2149,7 @@ export declare const PaymentTransactionCustomerV1OutputDto: z.ZodObject<{
|
|
|
2064
2149
|
precision: number;
|
|
2065
2150
|
} | null | undefined;
|
|
2066
2151
|
tPlus?: number | null | undefined;
|
|
2067
|
-
issuer:
|
|
2152
|
+
issuer: string;
|
|
2068
2153
|
variant: string;
|
|
2069
2154
|
}>>>;
|
|
2070
2155
|
amount: z.ZodObject<{
|
|
@@ -2099,7 +2184,7 @@ export declare const PaymentTransactionCustomerV1OutputDto: z.ZodObject<{
|
|
|
2099
2184
|
precision: number;
|
|
2100
2185
|
} | null | undefined;
|
|
2101
2186
|
tPlus?: number | null | undefined;
|
|
2102
|
-
issuer:
|
|
2187
|
+
issuer: string;
|
|
2103
2188
|
variant: string;
|
|
2104
2189
|
} | null | undefined;
|
|
2105
2190
|
pf_bill?: any;
|
|
@@ -2126,7 +2211,7 @@ export declare const PaymentTransactionCustomerV1OutputDto: z.ZodObject<{
|
|
|
2126
2211
|
precision: number;
|
|
2127
2212
|
} | null | undefined;
|
|
2128
2213
|
tPlus?: number | null | undefined;
|
|
2129
|
-
issuer:
|
|
2214
|
+
issuer: string;
|
|
2130
2215
|
variant: string;
|
|
2131
2216
|
} | null | undefined;
|
|
2132
2217
|
pf_bill?: any;
|
|
@@ -3340,7 +3340,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
3340
3340
|
amount: number;
|
|
3341
3341
|
precision: number;
|
|
3342
3342
|
}>>>;
|
|
3343
|
-
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
|
|
3343
|
+
method: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<z.extendShape<{
|
|
3344
3344
|
issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT", "MACAU_PASS", "AMEX", "CASH", "JCB", "DISCOVER", "DINERS", "THAIQR", "TRUEMONEY", "LINEPAY", "KBANK", "REVOLUT", "SARAWAKPAY", "SETEL"]>;
|
|
3345
3345
|
variant: z.ZodString;
|
|
3346
3346
|
}, {
|
|
@@ -3365,6 +3365,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
3365
3365
|
precision: number;
|
|
3366
3366
|
}>>>;
|
|
3367
3367
|
tPlus: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3368
|
+
}>, {
|
|
3369
|
+
issuer: z.ZodString;
|
|
3368
3370
|
}>, "strip", z.ZodTypeAny, {
|
|
3369
3371
|
rate?: {
|
|
3370
3372
|
amount: number;
|
|
@@ -3375,7 +3377,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
3375
3377
|
precision: number;
|
|
3376
3378
|
} | null | undefined;
|
|
3377
3379
|
tPlus?: number | null | undefined;
|
|
3378
|
-
issuer:
|
|
3380
|
+
issuer: string;
|
|
3379
3381
|
variant: string;
|
|
3380
3382
|
}, {
|
|
3381
3383
|
rate?: {
|
|
@@ -3387,7 +3389,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
3387
3389
|
precision: number;
|
|
3388
3390
|
} | null | undefined;
|
|
3389
3391
|
tPlus?: number | null | undefined;
|
|
3390
|
-
issuer:
|
|
3392
|
+
issuer: string;
|
|
3391
3393
|
variant: string;
|
|
3392
3394
|
}>>>;
|
|
3393
3395
|
createdAt: z.ZodDate;
|
|
@@ -3500,7 +3502,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
3500
3502
|
precision: number;
|
|
3501
3503
|
} | null | undefined;
|
|
3502
3504
|
tPlus?: number | null | undefined;
|
|
3503
|
-
issuer:
|
|
3505
|
+
issuer: string;
|
|
3504
3506
|
variant: string;
|
|
3505
3507
|
} | null | undefined;
|
|
3506
3508
|
completedAt?: Date | null | undefined;
|
|
@@ -3552,7 +3554,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
3552
3554
|
precision: number;
|
|
3553
3555
|
} | null | undefined;
|
|
3554
3556
|
tPlus?: number | null | undefined;
|
|
3555
|
-
issuer:
|
|
3557
|
+
issuer: string;
|
|
3556
3558
|
variant: string;
|
|
3557
3559
|
} | null | undefined;
|
|
3558
3560
|
completedAt?: Date | null | undefined;
|
|
@@ -3619,7 +3621,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
3619
3621
|
precision: number;
|
|
3620
3622
|
} | null | undefined;
|
|
3621
3623
|
tPlus?: number | null | undefined;
|
|
3622
|
-
issuer:
|
|
3624
|
+
issuer: string;
|
|
3623
3625
|
variant: string;
|
|
3624
3626
|
} | null | undefined;
|
|
3625
3627
|
completedAt?: Date | null | undefined;
|
|
@@ -3687,7 +3689,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
3687
3689
|
precision: number;
|
|
3688
3690
|
} | null | undefined;
|
|
3689
3691
|
tPlus?: number | null | undefined;
|
|
3690
|
-
issuer:
|
|
3692
|
+
issuer: string;
|
|
3691
3693
|
variant: string;
|
|
3692
3694
|
} | null | undefined;
|
|
3693
3695
|
completedAt?: Date | null | undefined;
|
|
@@ -5769,7 +5771,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
5769
5771
|
precision: number;
|
|
5770
5772
|
} | null | undefined;
|
|
5771
5773
|
tPlus?: number | null | undefined;
|
|
5772
|
-
issuer:
|
|
5774
|
+
issuer: string;
|
|
5773
5775
|
variant: string;
|
|
5774
5776
|
} | null | undefined;
|
|
5775
5777
|
completedAt?: Date | null | undefined;
|
|
@@ -6508,7 +6510,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
6508
6510
|
precision: number;
|
|
6509
6511
|
} | null | undefined;
|
|
6510
6512
|
tPlus?: number | null | undefined;
|
|
6511
|
-
issuer:
|
|
6513
|
+
issuer: string;
|
|
6512
6514
|
variant: string;
|
|
6513
6515
|
} | null | undefined;
|
|
6514
6516
|
completedAt?: Date | null | undefined;
|
|
@@ -7372,7 +7374,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
7372
7374
|
precision: number;
|
|
7373
7375
|
} | null | undefined;
|
|
7374
7376
|
tPlus?: number | null | undefined;
|
|
7375
|
-
issuer:
|
|
7377
|
+
issuer: string;
|
|
7376
7378
|
variant: string;
|
|
7377
7379
|
} | null | undefined;
|
|
7378
7380
|
completedAt?: Date | null | undefined;
|
|
@@ -8248,7 +8250,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
8248
8250
|
precision: number;
|
|
8249
8251
|
} | null | undefined;
|
|
8250
8252
|
tPlus?: number | null | undefined;
|
|
8251
|
-
issuer:
|
|
8253
|
+
issuer: string;
|
|
8252
8254
|
variant: string;
|
|
8253
8255
|
} | null | undefined;
|
|
8254
8256
|
completedAt?: Date | null | undefined;
|
|
@@ -4415,6 +4415,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4415
4415
|
otaChannel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4416
4416
|
autoCloseBill: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4417
4417
|
printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4418
|
+
languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
4418
4419
|
}, "strip", z.ZodTypeAny, {
|
|
4419
4420
|
autoCloseBill?: boolean | null | undefined;
|
|
4420
4421
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
@@ -4476,6 +4477,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4476
4477
|
coverImageLandscape?: string | null | undefined;
|
|
4477
4478
|
coverImagePortrait?: string | null | undefined;
|
|
4478
4479
|
otaChannel?: string | null | undefined;
|
|
4480
|
+
languages?: string[] | null | undefined;
|
|
4479
4481
|
}, {
|
|
4480
4482
|
autoCloseBill?: boolean | null | undefined;
|
|
4481
4483
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
@@ -4537,6 +4539,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4537
4539
|
coverImageLandscape?: string | null | undefined;
|
|
4538
4540
|
coverImagePortrait?: string | null | undefined;
|
|
4539
4541
|
otaChannel?: string | null | undefined;
|
|
4542
|
+
languages?: string[] | null | undefined;
|
|
4540
4543
|
}>>>>;
|
|
4541
4544
|
queueSettings: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4542
4545
|
enableOrder: z.ZodBoolean;
|
|
@@ -5594,6 +5597,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
5594
5597
|
coverImageLandscape?: string | null | undefined;
|
|
5595
5598
|
coverImagePortrait?: string | null | undefined;
|
|
5596
5599
|
otaChannel?: string | null | undefined;
|
|
5600
|
+
languages?: string[] | null | undefined;
|
|
5597
5601
|
} | null | undefined;
|
|
5598
5602
|
queueSettings?: {
|
|
5599
5603
|
showWaitEstimate?: boolean | null | undefined;
|
|
@@ -5939,6 +5943,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
5939
5943
|
coverImageLandscape?: string | null | undefined;
|
|
5940
5944
|
coverImagePortrait?: string | null | undefined;
|
|
5941
5945
|
otaChannel?: string | null | undefined;
|
|
5946
|
+
languages?: string[] | null | undefined;
|
|
5942
5947
|
} | null | undefined;
|
|
5943
5948
|
queueSettings?: {
|
|
5944
5949
|
duration?: number | undefined;
|