@feedmepos/mf-order-setting 0.0.72-test.1 → 0.0.73-dev

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 (168) hide show
  1. package/.env +1 -1
  2. package/README.md +7 -23
  3. package/dist/{KioskDevicesView-CP_cGMXE.js → KioskDevicesView-Dztw-Q35.js} +1 -1
  4. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CiNLqFw6.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Ol419NZh.js} +3 -3
  5. package/dist/{KioskSettingView-BiKYEjfe.js → KioskSettingView-BUHmoxyO.js} +183 -202
  6. package/dist/{KioskView-BYxPrI7N.js → KioskView-B8j77zMA.js} +4 -4
  7. package/dist/OrderSettingsView-C5PK8CKZ.js +60009 -0
  8. package/dist/{app-BN02cB5o.js → app-C2_s0fkK.js} +4921 -4797
  9. package/dist/app.js +1 -1
  10. package/dist/{dayjs.min-Bml-FvS7.js → dayjs.min-B3nOmXcs.js} +1 -1
  11. package/dist/frontend/mf-order/src/api/menu/index.d.ts +1 -1
  12. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +10 -3
  13. package/dist/frontend/mf-order/src/app.d.ts +44 -8
  14. package/dist/frontend/mf-order/src/components/GoogleMap.vue.d.ts +1 -1
  15. package/dist/frontend/mf-order/src/composables/useQrOrderingEnabled.d.ts +2 -0
  16. package/dist/frontend/mf-order/src/helpers/menu.d.ts +1 -1
  17. package/dist/frontend/mf-order/src/main.d.ts +44 -8
  18. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +21 -21
  19. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +906 -1044
  20. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +36 -3
  21. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +5 -2
  22. package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +2 -2
  23. package/dist/frontend/mf-order/src/views/order-settings/delivery/components/TaxInput.vue.d.ts +3 -8
  24. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +3 -1
  25. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +5 -1
  26. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +21 -0
  27. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +2 -2
  28. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue.d.ts +1 -1
  29. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +28 -2
  30. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/LinemanSetting.vue.d.ts +46 -0
  31. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/TngSetting.vue.d.ts +57 -0
  32. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +23 -1
  33. package/dist/frontend/mf-order/src/views/order-settings/pickup/Preorder.vue.d.ts +27 -0
  34. package/dist/frontend/mf-order/src/views/order-settings/servicecharge/RateInput.vue.d.ts +8 -0
  35. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  36. package/dist/index-6PQJ07gD.js +665 -0
  37. package/dist/{index-BlKeAWPk.js → index-B4XxBqiV.js} +1 -1
  38. package/dist/lineman-settings.dto-DcYJFu0U.js +60394 -0
  39. package/dist/package/entity/_type-assert.d.ts +7 -0
  40. package/dist/package/entity/booking/booking.dto.d.ts +24 -24
  41. package/dist/package/entity/delivery/delivery.dto.d.ts +8 -8
  42. package/dist/package/entity/delivery/delivery.enum.d.ts +12 -0
  43. package/dist/package/entity/delivery/gateway/grab.dto.d.ts +2 -2
  44. package/dist/package/entity/delivery/gateway/kosmo.dto.d.ts +16 -16
  45. package/dist/package/entity/delivery/gateway/pandago.dto.d.ts +4 -4
  46. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +282 -4591
  47. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +32 -24
  48. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +23 -11719
  49. package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +2 -2
  50. package/dist/package/entity/index.d.ts +12 -0
  51. package/dist/package/entity/kiosk/kiosk.do.d.ts +140 -140
  52. package/dist/package/entity/kiosk/kiosk.dto.d.ts +168 -168
  53. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +63 -7
  54. package/dist/package/entity/marketing/marketing.dto.d.ts +4 -4
  55. package/dist/package/entity/member/member.dto.d.ts +6 -0
  56. package/dist/package/entity/order/dine-in/dine-in.do.d.ts +8 -8
  57. package/dist/package/entity/order/effects/effect.dto.d.ts +68 -16
  58. package/dist/package/entity/order/menu/menu.dto.d.ts +45 -8
  59. package/dist/package/entity/order/order-item/order-item.dto.d.ts +358 -3853
  60. package/dist/package/entity/order/order.do.d.ts +239 -42
  61. package/dist/package/entity/order/order.dto.d.ts +6497 -2236
  62. package/dist/package/entity/order/payment/payment.dto.d.ts +52 -12
  63. package/dist/package/entity/order-platform/base-integration.do.d.ts +8 -0
  64. package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +2 -2
  65. package/dist/package/entity/order-platform/deliveroo/deliveroo-order.do.d.ts +524 -524
  66. package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +2 -2
  67. package/dist/package/entity/order-platform/deliveroo/deliveroo.menu.dto.d.ts +58 -58
  68. package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +212 -284
  69. package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +331 -589
  70. package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +1 -1
  71. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +12 -12
  72. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +275 -275
  73. package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +3 -3
  74. package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +3 -3
  75. package/dist/package/entity/order-platform/foodpanda/foodpanda-menu.dto.d.ts +284 -284
  76. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +40 -40
  77. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +16 -16
  78. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +2 -2
  79. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +2 -2
  80. package/dist/package/entity/order-platform/gofood/gofood-order.do.d.ts +18 -18
  81. package/dist/package/entity/order-platform/gofood/gofood-settings.do.d.ts +2 -2
  82. package/dist/package/entity/order-platform/gofood/gofood-settings.dto.d.ts +2 -2
  83. package/dist/package/entity/order-platform/gofood/gofood.dto.d.ts +32 -32
  84. package/dist/package/entity/order-platform/grabfood/grabfood-edit-order.do.d.ts +12 -12
  85. package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +134 -115
  86. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +187 -165
  87. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +8 -2
  88. package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +49 -42
  89. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +67 -54
  90. package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +1 -1
  91. package/dist/package/entity/order-platform/lineman/lineman-settings.do.d.ts +37 -0
  92. package/dist/package/entity/order-platform/lineman/lineman-settings.dto.d.ts +40 -0
  93. package/dist/package/entity/order-platform/menu.dto.d.ts +716 -13887
  94. package/dist/package/entity/order-platform/order-platform.dto.d.ts +136 -2
  95. package/dist/package/entity/order-platform/order-platform.enum.d.ts +1 -1
  96. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +176 -176
  97. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +62 -62
  98. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +8 -2
  99. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +8 -2
  100. package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +1061 -0
  101. package/dist/package/entity/order-platform/tng/tng-order.do.d.ts +1915 -0
  102. package/dist/package/entity/order-platform/tng/tng-settings.do.d.ts +379 -0
  103. package/dist/package/entity/order-platform/tng/tng-settings.dto.d.ts +301 -0
  104. package/dist/package/entity/order-platform/tng/tng.dto.d.ts +1162 -0
  105. package/dist/package/entity/order-platform/tng/tng.enum.d.ts +29 -0
  106. package/dist/package/entity/order-setting/delivery/inhouse-delivery.do.d.ts +12 -0
  107. package/dist/package/entity/order-setting/delivery/inhouse-delivery.dto.d.ts +12 -0
  108. package/dist/package/entity/order-setting/dine-in/dine-in.do.d.ts +11 -0
  109. package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +9 -0
  110. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +2 -2
  111. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +2 -2
  112. package/dist/package/entity/order-setting/order-setting.do.d.ts +55 -4
  113. package/dist/package/entity/order-setting/order-setting.dto.d.ts +110 -8
  114. package/dist/package/entity/order-setting/pickup/pickup.do.d.ts +12 -0
  115. package/dist/package/entity/order-setting/pickup/pickup.dto.d.ts +12 -0
  116. package/dist/package/entity/payment/transaction.d.ts +80 -8
  117. package/dist/package/entity/printer/printer.do.d.ts +14 -14
  118. package/dist/package/entity/pubsub/ably/ably.enum.d.ts +1 -1
  119. package/dist/package/entity/queue/queue.do.d.ts +236 -1901
  120. package/dist/package/entity/queue/queue.dto.d.ts +743 -445
  121. package/dist/package/entity/restaurant/restaurant.dto.d.ts +27 -4
  122. package/dist/package/entity/websocket/websocket.dto.d.ts +10 -10
  123. package/dist/style.css +1 -0
  124. package/golar.config.ts +20 -0
  125. package/package.json +9 -3
  126. package/src/Entry.vue +2 -10
  127. package/src/api/menu/index.ts +1 -1
  128. package/src/api/remoteOrder/index.ts +176 -110
  129. package/src/composables/useQrOrderingEnabled.ts +66 -0
  130. package/src/helpers/menu.ts +1 -1
  131. package/src/locales/en-US.json +421 -412
  132. package/src/locales/ja-JP.json +1769 -1760
  133. package/src/locales/th-TH.json +409 -400
  134. package/src/locales/zh-CN.json +417 -408
  135. package/src/main.ts +4 -44
  136. package/src/router/index.ts +2 -2
  137. package/src/stores/menu/menu.ts +48 -27
  138. package/src/stores/restaurant/index.ts +24 -9
  139. package/src/utils/firebase-storage.ts +3 -13
  140. package/src/views/kiosk/settings/KioskSettingView.vue +3 -2
  141. package/src/views/order-settings/OrderSettingsView.vue +31 -11
  142. package/src/views/order-settings/delivery/DeliverySetting.vue +223 -11
  143. package/src/views/order-settings/delivery/components/TaxInput.vue +1 -1
  144. package/src/views/order-settings/delivery/delivery.data.ts +31 -10
  145. package/src/views/order-settings/delivery/delivery.ts +60 -28
  146. package/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue +40 -1
  147. package/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue +1 -1
  148. package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +15 -7
  149. package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +83 -27
  150. package/src/views/order-settings/delivery/integrated-delivery/LinemanSetting.vue +79 -0
  151. package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +2 -0
  152. package/src/views/order-settings/delivery/integrated-delivery/TngSetting.vue +749 -0
  153. package/src/views/order-settings/dine-in/DineInSetting.vue +54 -23
  154. package/src/views/order-settings/dine-in/PaymentType.vue +9 -12
  155. package/src/views/order-settings/general/GeneralSetting.vue +15 -6
  156. package/src/views/order-settings/pickup/PickUpSettingDialog.vue +31 -3
  157. package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +34 -0
  158. package/src/views/order-settings/pickup/Preorder.vue +13 -12
  159. package/src/views/order-settings/queue/QueueSetting.vue +30 -1
  160. package/src/views/order-settings/servicecharge/RateInput.vue +9 -7
  161. package/vite.config.ts +16 -16
  162. package/dist/OrderSettingsView-C7Y-_y5U.js +0 -32222
  163. package/dist/frontend/mf-order/src/api/auth/index.d.ts +0 -7
  164. package/dist/frontend/mf-order/src/stores/iframe/index.d.ts +0 -14
  165. package/dist/index-DZA8A0m4.js +0 -630
  166. package/dist/queue-transfer.dto-C7nRZOZH.js +0 -45618
  167. package/src/api/auth/index.ts +0 -20
  168. package/src/stores/iframe/index.ts +0 -23
@@ -0,0 +1,1162 @@
1
+ import { z } from 'zod';
2
+ export declare const FdtoTngOrderSyncRequest: z.ZodObject<{
3
+ orderId: z.ZodString;
4
+ userId: z.ZodString;
5
+ shortRefId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6
+ brandProfileId: z.ZodString;
7
+ partnerMerchantId: z.ZodString;
8
+ menuId: z.ZodString;
9
+ fulfilmentMode: z.ZodString;
10
+ featureMode: z.ZodString;
11
+ featureModeIdentifier: z.ZodString;
12
+ orderType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13
+ peopleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
14
+ customerRemark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
+ tableInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
16
+ tableNo: z.ZodString;
17
+ sessionId: z.ZodString;
18
+ area: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ area?: string | null | undefined;
21
+ tableNo: string;
22
+ sessionId: string;
23
+ }, {
24
+ area?: string | null | undefined;
25
+ tableNo: string;
26
+ sessionId: string;
27
+ }>>>;
28
+ items: z.ZodArray<z.ZodObject<{
29
+ itemId: z.ZodString;
30
+ itemName: z.ZodString;
31
+ price: z.ZodObject<{
32
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
+ cent: z.ZodString;
34
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
35
+ currencyCode: z.ZodString;
36
+ }, "strip", z.ZodTypeAny, {
37
+ amount?: string | null | undefined;
38
+ currency?: string | null | undefined;
39
+ cent: string;
40
+ currencyCode: string;
41
+ }, {
42
+ amount?: string | null | undefined;
43
+ currency?: string | null | undefined;
44
+ cent: string;
45
+ currencyCode: string;
46
+ }>;
47
+ promotionPrice: z.ZodNullable<z.ZodOptional<z.ZodObject<{
48
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49
+ cent: z.ZodString;
50
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
51
+ currencyCode: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ amount?: string | null | undefined;
54
+ currency?: string | null | undefined;
55
+ cent: string;
56
+ currencyCode: string;
57
+ }, {
58
+ amount?: string | null | undefined;
59
+ currency?: string | null | undefined;
60
+ cent: string;
61
+ currencyCode: string;
62
+ }>>>;
63
+ quantity: z.ZodNumber;
64
+ additionalRemarks: z.ZodNullable<z.ZodOptional<z.ZodString>>;
65
+ itemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
66
+ itemPackingFee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
67
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
68
+ cent: z.ZodString;
69
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
70
+ currencyCode: z.ZodString;
71
+ }, "strip", z.ZodTypeAny, {
72
+ amount?: string | null | undefined;
73
+ currency?: string | null | undefined;
74
+ cent: string;
75
+ currencyCode: string;
76
+ }, {
77
+ amount?: string | null | undefined;
78
+ currency?: string | null | undefined;
79
+ cent: string;
80
+ currencyCode: string;
81
+ }>>>;
82
+ modifierItemsTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
83
+ itemDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
84
+ modifierGroups: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
85
+ modifierGroupId: z.ZodString;
86
+ modifierGroupName: z.ZodString;
87
+ modifierItems: z.ZodArray<z.ZodObject<{
88
+ modifierItemId: z.ZodString;
89
+ modifierItemName: z.ZodString;
90
+ quantity: z.ZodNumber;
91
+ price: z.ZodNullable<z.ZodOptional<z.ZodObject<{
92
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
93
+ cent: z.ZodString;
94
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
95
+ currencyCode: z.ZodString;
96
+ }, "strip", z.ZodTypeAny, {
97
+ amount?: string | null | undefined;
98
+ currency?: string | null | undefined;
99
+ cent: string;
100
+ currencyCode: string;
101
+ }, {
102
+ amount?: string | null | undefined;
103
+ currency?: string | null | undefined;
104
+ cent: string;
105
+ currencyCode: string;
106
+ }>>>;
107
+ modifierItemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ price?: {
110
+ amount?: string | null | undefined;
111
+ currency?: string | null | undefined;
112
+ cent: string;
113
+ currencyCode: string;
114
+ } | null | undefined;
115
+ modifierItemTaxRate?: string | null | undefined;
116
+ quantity: number;
117
+ modifierItemId: string;
118
+ modifierItemName: string;
119
+ }, {
120
+ price?: {
121
+ amount?: string | null | undefined;
122
+ currency?: string | null | undefined;
123
+ cent: string;
124
+ currencyCode: string;
125
+ } | null | undefined;
126
+ modifierItemTaxRate?: string | null | undefined;
127
+ quantity: number;
128
+ modifierItemId: string;
129
+ modifierItemName: string;
130
+ }>, "many">;
131
+ }, "strip", z.ZodTypeAny, {
132
+ modifierGroupId: string;
133
+ modifierGroupName: string;
134
+ modifierItems: {
135
+ price?: {
136
+ amount?: string | null | undefined;
137
+ currency?: string | null | undefined;
138
+ cent: string;
139
+ currencyCode: string;
140
+ } | null | undefined;
141
+ modifierItemTaxRate?: string | null | undefined;
142
+ quantity: number;
143
+ modifierItemId: string;
144
+ modifierItemName: string;
145
+ }[];
146
+ }, {
147
+ modifierGroupId: string;
148
+ modifierGroupName: string;
149
+ modifierItems: {
150
+ price?: {
151
+ amount?: string | null | undefined;
152
+ currency?: string | null | undefined;
153
+ cent: string;
154
+ currencyCode: string;
155
+ } | null | undefined;
156
+ modifierItemTaxRate?: string | null | undefined;
157
+ quantity: number;
158
+ modifierItemId: string;
159
+ modifierItemName: string;
160
+ }[];
161
+ }>, "many">>>;
162
+ remindInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
163
+ reminderCode: z.ZodArray<z.ZodString, "many">;
164
+ stockNum: z.ZodString;
165
+ remindMessage: z.ZodString;
166
+ }, "strip", z.ZodTypeAny, {
167
+ reminderCode: string[];
168
+ stockNum: string;
169
+ remindMessage: string;
170
+ }, {
171
+ reminderCode: string[];
172
+ stockNum: string;
173
+ remindMessage: string;
174
+ }>>>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ modifierGroups?: {
177
+ modifierGroupId: string;
178
+ modifierGroupName: string;
179
+ modifierItems: {
180
+ price?: {
181
+ amount?: string | null | undefined;
182
+ currency?: string | null | undefined;
183
+ cent: string;
184
+ currencyCode: string;
185
+ } | null | undefined;
186
+ modifierItemTaxRate?: string | null | undefined;
187
+ quantity: number;
188
+ modifierItemId: string;
189
+ modifierItemName: string;
190
+ }[];
191
+ }[] | null | undefined;
192
+ promotionPrice?: {
193
+ amount?: string | null | undefined;
194
+ currency?: string | null | undefined;
195
+ cent: string;
196
+ currencyCode: string;
197
+ } | null | undefined;
198
+ additionalRemarks?: string | null | undefined;
199
+ itemTaxRate?: string | null | undefined;
200
+ itemPackingFee?: {
201
+ amount?: string | null | undefined;
202
+ currency?: string | null | undefined;
203
+ cent: string;
204
+ currencyCode: string;
205
+ } | null | undefined;
206
+ modifierItemsTaxRate?: string | null | undefined;
207
+ itemDescription?: string | null | undefined;
208
+ remindInfo?: {
209
+ reminderCode: string[];
210
+ stockNum: string;
211
+ remindMessage: string;
212
+ } | null | undefined;
213
+ quantity: number;
214
+ price: {
215
+ amount?: string | null | undefined;
216
+ currency?: string | null | undefined;
217
+ cent: string;
218
+ currencyCode: string;
219
+ };
220
+ itemId: string;
221
+ itemName: string;
222
+ }, {
223
+ modifierGroups?: {
224
+ modifierGroupId: string;
225
+ modifierGroupName: string;
226
+ modifierItems: {
227
+ price?: {
228
+ amount?: string | null | undefined;
229
+ currency?: string | null | undefined;
230
+ cent: string;
231
+ currencyCode: string;
232
+ } | null | undefined;
233
+ modifierItemTaxRate?: string | null | undefined;
234
+ quantity: number;
235
+ modifierItemId: string;
236
+ modifierItemName: string;
237
+ }[];
238
+ }[] | null | undefined;
239
+ promotionPrice?: {
240
+ amount?: string | null | undefined;
241
+ currency?: string | null | undefined;
242
+ cent: string;
243
+ currencyCode: string;
244
+ } | null | undefined;
245
+ additionalRemarks?: string | null | undefined;
246
+ itemTaxRate?: string | null | undefined;
247
+ itemPackingFee?: {
248
+ amount?: string | null | undefined;
249
+ currency?: string | null | undefined;
250
+ cent: string;
251
+ currencyCode: string;
252
+ } | null | undefined;
253
+ modifierItemsTaxRate?: string | null | undefined;
254
+ itemDescription?: string | null | undefined;
255
+ remindInfo?: {
256
+ reminderCode: string[];
257
+ stockNum: string;
258
+ remindMessage: string;
259
+ } | null | undefined;
260
+ quantity: number;
261
+ price: {
262
+ amount?: string | null | undefined;
263
+ currency?: string | null | undefined;
264
+ cent: string;
265
+ currencyCode: string;
266
+ };
267
+ itemId: string;
268
+ itemName: string;
269
+ }>, "many">;
270
+ paymentDetail: z.ZodObject<{
271
+ paymentType: z.ZodString;
272
+ isPaid: z.ZodBoolean;
273
+ paymentMethod: z.ZodString;
274
+ }, "strip", z.ZodTypeAny, {
275
+ paymentMethod: string;
276
+ paymentType: string;
277
+ isPaid: boolean;
278
+ }, {
279
+ paymentMethod: string;
280
+ paymentType: string;
281
+ isPaid: boolean;
282
+ }>;
283
+ feeDetails: z.ZodArray<z.ZodObject<{
284
+ feeType: z.ZodString;
285
+ feeRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
286
+ includeTax: z.ZodBoolean;
287
+ taxInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
288
+ taxRate: z.ZodString;
289
+ additionalSymbol: z.ZodNullable<z.ZodOptional<z.ZodString>>;
290
+ taxAmount: z.ZodObject<{
291
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
292
+ cent: z.ZodString;
293
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
294
+ currencyCode: z.ZodString;
295
+ }, "strip", z.ZodTypeAny, {
296
+ amount?: string | null | undefined;
297
+ currency?: string | null | undefined;
298
+ cent: string;
299
+ currencyCode: string;
300
+ }, {
301
+ amount?: string | null | undefined;
302
+ currency?: string | null | undefined;
303
+ cent: string;
304
+ currencyCode: string;
305
+ }>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ additionalSymbol?: string | null | undefined;
308
+ taxAmount: {
309
+ amount?: string | null | undefined;
310
+ currency?: string | null | undefined;
311
+ cent: string;
312
+ currencyCode: string;
313
+ };
314
+ taxRate: string;
315
+ }, {
316
+ additionalSymbol?: string | null | undefined;
317
+ taxAmount: {
318
+ amount?: string | null | undefined;
319
+ currency?: string | null | undefined;
320
+ cent: string;
321
+ currencyCode: string;
322
+ };
323
+ taxRate: string;
324
+ }>>>;
325
+ feeAmount: z.ZodObject<{
326
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
327
+ cent: z.ZodString;
328
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
329
+ currencyCode: z.ZodString;
330
+ }, "strip", z.ZodTypeAny, {
331
+ amount?: string | null | undefined;
332
+ currency?: string | null | undefined;
333
+ cent: string;
334
+ currencyCode: string;
335
+ }, {
336
+ amount?: string | null | undefined;
337
+ currency?: string | null | undefined;
338
+ cent: string;
339
+ currencyCode: string;
340
+ }>;
341
+ additionalSymbol: z.ZodNullable<z.ZodOptional<z.ZodString>>;
342
+ }, "strip", z.ZodTypeAny, {
343
+ feeRate?: string | null | undefined;
344
+ additionalSymbol?: string | null | undefined;
345
+ taxInfo?: {
346
+ additionalSymbol?: string | null | undefined;
347
+ taxAmount: {
348
+ amount?: string | null | undefined;
349
+ currency?: string | null | undefined;
350
+ cent: string;
351
+ currencyCode: string;
352
+ };
353
+ taxRate: string;
354
+ } | null | undefined;
355
+ feeType: string;
356
+ includeTax: boolean;
357
+ feeAmount: {
358
+ amount?: string | null | undefined;
359
+ currency?: string | null | undefined;
360
+ cent: string;
361
+ currencyCode: string;
362
+ };
363
+ }, {
364
+ feeRate?: string | null | undefined;
365
+ additionalSymbol?: string | null | undefined;
366
+ taxInfo?: {
367
+ additionalSymbol?: string | null | undefined;
368
+ taxAmount: {
369
+ amount?: string | null | undefined;
370
+ currency?: string | null | undefined;
371
+ cent: string;
372
+ currencyCode: string;
373
+ };
374
+ taxRate: string;
375
+ } | null | undefined;
376
+ feeType: string;
377
+ includeTax: boolean;
378
+ feeAmount: {
379
+ amount?: string | null | undefined;
380
+ currency?: string | null | undefined;
381
+ cent: string;
382
+ currencyCode: string;
383
+ };
384
+ }>, "many">;
385
+ orderTime: z.ZodString;
386
+ remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
387
+ }, "strip", z.ZodTypeAny, {
388
+ remark?: string | null | undefined;
389
+ orderType?: string | null | undefined;
390
+ shortRefId?: string | null | undefined;
391
+ peopleCount?: number | null | undefined;
392
+ customerRemark?: string | null | undefined;
393
+ tableInfo?: {
394
+ area?: string | null | undefined;
395
+ tableNo: string;
396
+ sessionId: string;
397
+ } | null | undefined;
398
+ orderId: string;
399
+ userId: string;
400
+ items: {
401
+ modifierGroups?: {
402
+ modifierGroupId: string;
403
+ modifierGroupName: string;
404
+ modifierItems: {
405
+ price?: {
406
+ amount?: string | null | undefined;
407
+ currency?: string | null | undefined;
408
+ cent: string;
409
+ currencyCode: string;
410
+ } | null | undefined;
411
+ modifierItemTaxRate?: string | null | undefined;
412
+ quantity: number;
413
+ modifierItemId: string;
414
+ modifierItemName: string;
415
+ }[];
416
+ }[] | null | undefined;
417
+ promotionPrice?: {
418
+ amount?: string | null | undefined;
419
+ currency?: string | null | undefined;
420
+ cent: string;
421
+ currencyCode: string;
422
+ } | null | undefined;
423
+ additionalRemarks?: string | null | undefined;
424
+ itemTaxRate?: string | null | undefined;
425
+ itemPackingFee?: {
426
+ amount?: string | null | undefined;
427
+ currency?: string | null | undefined;
428
+ cent: string;
429
+ currencyCode: string;
430
+ } | null | undefined;
431
+ modifierItemsTaxRate?: string | null | undefined;
432
+ itemDescription?: string | null | undefined;
433
+ remindInfo?: {
434
+ reminderCode: string[];
435
+ stockNum: string;
436
+ remindMessage: string;
437
+ } | null | undefined;
438
+ quantity: number;
439
+ price: {
440
+ amount?: string | null | undefined;
441
+ currency?: string | null | undefined;
442
+ cent: string;
443
+ currencyCode: string;
444
+ };
445
+ itemId: string;
446
+ itemName: string;
447
+ }[];
448
+ orderTime: string;
449
+ brandProfileId: string;
450
+ partnerMerchantId: string;
451
+ menuId: string;
452
+ fulfilmentMode: string;
453
+ featureMode: string;
454
+ featureModeIdentifier: string;
455
+ paymentDetail: {
456
+ paymentMethod: string;
457
+ paymentType: string;
458
+ isPaid: boolean;
459
+ };
460
+ feeDetails: {
461
+ feeRate?: string | null | undefined;
462
+ additionalSymbol?: string | null | undefined;
463
+ taxInfo?: {
464
+ additionalSymbol?: string | null | undefined;
465
+ taxAmount: {
466
+ amount?: string | null | undefined;
467
+ currency?: string | null | undefined;
468
+ cent: string;
469
+ currencyCode: string;
470
+ };
471
+ taxRate: string;
472
+ } | null | undefined;
473
+ feeType: string;
474
+ includeTax: boolean;
475
+ feeAmount: {
476
+ amount?: string | null | undefined;
477
+ currency?: string | null | undefined;
478
+ cent: string;
479
+ currencyCode: string;
480
+ };
481
+ }[];
482
+ }, {
483
+ remark?: string | null | undefined;
484
+ orderType?: string | null | undefined;
485
+ shortRefId?: string | null | undefined;
486
+ peopleCount?: number | null | undefined;
487
+ customerRemark?: string | null | undefined;
488
+ tableInfo?: {
489
+ area?: string | null | undefined;
490
+ tableNo: string;
491
+ sessionId: string;
492
+ } | null | undefined;
493
+ orderId: string;
494
+ userId: string;
495
+ items: {
496
+ modifierGroups?: {
497
+ modifierGroupId: string;
498
+ modifierGroupName: string;
499
+ modifierItems: {
500
+ price?: {
501
+ amount?: string | null | undefined;
502
+ currency?: string | null | undefined;
503
+ cent: string;
504
+ currencyCode: string;
505
+ } | null | undefined;
506
+ modifierItemTaxRate?: string | null | undefined;
507
+ quantity: number;
508
+ modifierItemId: string;
509
+ modifierItemName: string;
510
+ }[];
511
+ }[] | null | undefined;
512
+ promotionPrice?: {
513
+ amount?: string | null | undefined;
514
+ currency?: string | null | undefined;
515
+ cent: string;
516
+ currencyCode: string;
517
+ } | null | undefined;
518
+ additionalRemarks?: string | null | undefined;
519
+ itemTaxRate?: string | null | undefined;
520
+ itemPackingFee?: {
521
+ amount?: string | null | undefined;
522
+ currency?: string | null | undefined;
523
+ cent: string;
524
+ currencyCode: string;
525
+ } | null | undefined;
526
+ modifierItemsTaxRate?: string | null | undefined;
527
+ itemDescription?: string | null | undefined;
528
+ remindInfo?: {
529
+ reminderCode: string[];
530
+ stockNum: string;
531
+ remindMessage: string;
532
+ } | null | undefined;
533
+ quantity: number;
534
+ price: {
535
+ amount?: string | null | undefined;
536
+ currency?: string | null | undefined;
537
+ cent: string;
538
+ currencyCode: string;
539
+ };
540
+ itemId: string;
541
+ itemName: string;
542
+ }[];
543
+ orderTime: string;
544
+ brandProfileId: string;
545
+ partnerMerchantId: string;
546
+ menuId: string;
547
+ fulfilmentMode: string;
548
+ featureMode: string;
549
+ featureModeIdentifier: string;
550
+ paymentDetail: {
551
+ paymentMethod: string;
552
+ paymentType: string;
553
+ isPaid: boolean;
554
+ };
555
+ feeDetails: {
556
+ feeRate?: string | null | undefined;
557
+ additionalSymbol?: string | null | undefined;
558
+ taxInfo?: {
559
+ additionalSymbol?: string | null | undefined;
560
+ taxAmount: {
561
+ amount?: string | null | undefined;
562
+ currency?: string | null | undefined;
563
+ cent: string;
564
+ currencyCode: string;
565
+ };
566
+ taxRate: string;
567
+ } | null | undefined;
568
+ feeType: string;
569
+ includeTax: boolean;
570
+ feeAmount: {
571
+ amount?: string | null | undefined;
572
+ currency?: string | null | undefined;
573
+ cent: string;
574
+ currencyCode: string;
575
+ };
576
+ }[];
577
+ }>;
578
+ export declare const FdtoTngOrderSyncExternalResponse: z.ZodObject<{
579
+ internalOrderId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
580
+ orderId: z.ZodString;
581
+ syncResult: z.ZodBoolean;
582
+ syncRejectReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
583
+ }, "strip", z.ZodTypeAny, {
584
+ internalOrderId?: string | null | undefined;
585
+ syncRejectReason?: string | null | undefined;
586
+ orderId: string;
587
+ syncResult: boolean;
588
+ }, {
589
+ internalOrderId?: string | null | undefined;
590
+ syncRejectReason?: string | null | undefined;
591
+ orderId: string;
592
+ syncResult: boolean;
593
+ }>;
594
+ export declare const FdtoTngOrderSyncResponse: z.ZodObject<{
595
+ traceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
596
+ success: z.ZodBoolean;
597
+ errorCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
598
+ errorMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
599
+ orderSyncExternalResponse: z.ZodObject<{
600
+ internalOrderId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
601
+ orderId: z.ZodString;
602
+ syncResult: z.ZodBoolean;
603
+ syncRejectReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
604
+ }, "strip", z.ZodTypeAny, {
605
+ internalOrderId?: string | null | undefined;
606
+ syncRejectReason?: string | null | undefined;
607
+ orderId: string;
608
+ syncResult: boolean;
609
+ }, {
610
+ internalOrderId?: string | null | undefined;
611
+ syncRejectReason?: string | null | undefined;
612
+ orderId: string;
613
+ syncResult: boolean;
614
+ }>;
615
+ }, "strip", z.ZodTypeAny, {
616
+ traceId?: string | null | undefined;
617
+ errorCode?: string | null | undefined;
618
+ errorMessage?: string | null | undefined;
619
+ success: boolean;
620
+ orderSyncExternalResponse: {
621
+ internalOrderId?: string | null | undefined;
622
+ syncRejectReason?: string | null | undefined;
623
+ orderId: string;
624
+ syncResult: boolean;
625
+ };
626
+ }, {
627
+ traceId?: string | null | undefined;
628
+ errorCode?: string | null | undefined;
629
+ errorMessage?: string | null | undefined;
630
+ success: boolean;
631
+ orderSyncExternalResponse: {
632
+ internalOrderId?: string | null | undefined;
633
+ syncRejectReason?: string | null | undefined;
634
+ orderId: string;
635
+ syncResult: boolean;
636
+ };
637
+ }>;
638
+ export declare const FdtoTngMenuSyncCallbackRequest: z.ZodObject<{
639
+ success: z.ZodBoolean;
640
+ taskId: z.ZodString;
641
+ partner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
642
+ merchantId: z.ZodString;
643
+ version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
644
+ status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
645
+ errorCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
646
+ errorMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
647
+ }, "strip", z.ZodTypeAny, {
648
+ version?: string | null | undefined;
649
+ status?: string | null | undefined;
650
+ partner?: string | null | undefined;
651
+ errorCode?: string | null | undefined;
652
+ errorMessage?: string | null | undefined;
653
+ taskId: string;
654
+ success: boolean;
655
+ merchantId: string;
656
+ }, {
657
+ version?: string | null | undefined;
658
+ status?: string | null | undefined;
659
+ partner?: string | null | undefined;
660
+ errorCode?: string | null | undefined;
661
+ errorMessage?: string | null | undefined;
662
+ taskId: string;
663
+ success: boolean;
664
+ merchantId: string;
665
+ }>;
666
+ export declare const FdtoTngMenuSyncCallbackResponse: z.ZodObject<{
667
+ success: z.ZodBoolean;
668
+ code: z.ZodString;
669
+ message: z.ZodString;
670
+ }, "strip", z.ZodTypeAny, {
671
+ code: string;
672
+ message: string;
673
+ success: boolean;
674
+ }, {
675
+ code: string;
676
+ message: string;
677
+ success: boolean;
678
+ }>;
679
+ export declare const FdtoTngCheckItemModifierItem: z.ZodObject<{
680
+ modifierItemId: z.ZodString;
681
+ modifierGroupId: z.ZodString;
682
+ quantity: z.ZodNumber;
683
+ }, "strip", z.ZodTypeAny, {
684
+ quantity: number;
685
+ modifierItemId: string;
686
+ modifierGroupId: string;
687
+ }, {
688
+ quantity: number;
689
+ modifierItemId: string;
690
+ modifierGroupId: string;
691
+ }>;
692
+ export declare const FdtoTngCheckItemRequestItem: z.ZodObject<{
693
+ itemId: z.ZodString;
694
+ quantity: z.ZodNumber;
695
+ modifierItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
696
+ modifierItemId: z.ZodString;
697
+ modifierGroupId: z.ZodString;
698
+ quantity: z.ZodNumber;
699
+ }, "strip", z.ZodTypeAny, {
700
+ quantity: number;
701
+ modifierItemId: string;
702
+ modifierGroupId: string;
703
+ }, {
704
+ quantity: number;
705
+ modifierItemId: string;
706
+ modifierGroupId: string;
707
+ }>, "many">>>;
708
+ }, "strip", z.ZodTypeAny, {
709
+ modifierItems?: {
710
+ quantity: number;
711
+ modifierItemId: string;
712
+ modifierGroupId: string;
713
+ }[] | null | undefined;
714
+ quantity: number;
715
+ itemId: string;
716
+ }, {
717
+ modifierItems?: {
718
+ quantity: number;
719
+ modifierItemId: string;
720
+ modifierGroupId: string;
721
+ }[] | null | undefined;
722
+ quantity: number;
723
+ itemId: string;
724
+ }>;
725
+ export declare const FdtoTngCheckItemRequest: z.ZodObject<{
726
+ partnerId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
727
+ partnerMerchantId: z.ZodString;
728
+ partnerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
729
+ items: z.ZodArray<z.ZodObject<{
730
+ itemId: z.ZodString;
731
+ quantity: z.ZodNumber;
732
+ modifierItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
733
+ modifierItemId: z.ZodString;
734
+ modifierGroupId: z.ZodString;
735
+ quantity: z.ZodNumber;
736
+ }, "strip", z.ZodTypeAny, {
737
+ quantity: number;
738
+ modifierItemId: string;
739
+ modifierGroupId: string;
740
+ }, {
741
+ quantity: number;
742
+ modifierItemId: string;
743
+ modifierGroupId: string;
744
+ }>, "many">>>;
745
+ }, "strip", z.ZodTypeAny, {
746
+ modifierItems?: {
747
+ quantity: number;
748
+ modifierItemId: string;
749
+ modifierGroupId: string;
750
+ }[] | null | undefined;
751
+ quantity: number;
752
+ itemId: string;
753
+ }, {
754
+ modifierItems?: {
755
+ quantity: number;
756
+ modifierItemId: string;
757
+ modifierGroupId: string;
758
+ }[] | null | undefined;
759
+ quantity: number;
760
+ itemId: string;
761
+ }>, "many">;
762
+ extendInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
763
+ }, "strip", z.ZodTypeAny, {
764
+ partnerName?: string | null | undefined;
765
+ partnerId?: string | null | undefined;
766
+ extendInfo?: Record<string, any> | null | undefined;
767
+ items: {
768
+ modifierItems?: {
769
+ quantity: number;
770
+ modifierItemId: string;
771
+ modifierGroupId: string;
772
+ }[] | null | undefined;
773
+ quantity: number;
774
+ itemId: string;
775
+ }[];
776
+ partnerMerchantId: string;
777
+ }, {
778
+ partnerName?: string | null | undefined;
779
+ partnerId?: string | null | undefined;
780
+ extendInfo?: Record<string, any> | null | undefined;
781
+ items: {
782
+ modifierItems?: {
783
+ quantity: number;
784
+ modifierItemId: string;
785
+ modifierGroupId: string;
786
+ }[] | null | undefined;
787
+ quantity: number;
788
+ itemId: string;
789
+ }[];
790
+ partnerMerchantId: string;
791
+ }>;
792
+ export declare const FdtoTngValidatedModifierItem: z.ZodObject<{
793
+ modifierItemId: z.ZodString;
794
+ modifierGroupId: z.ZodString;
795
+ available: z.ZodBoolean;
796
+ maxQuantity: z.ZodNumber;
797
+ }, "strip", z.ZodTypeAny, {
798
+ maxQuantity: number;
799
+ available: boolean;
800
+ modifierItemId: string;
801
+ modifierGroupId: string;
802
+ }, {
803
+ maxQuantity: number;
804
+ available: boolean;
805
+ modifierItemId: string;
806
+ modifierGroupId: string;
807
+ }>;
808
+ export declare const FdtoTngValidatedItem: z.ZodObject<{
809
+ itemId: z.ZodString;
810
+ available: z.ZodBoolean;
811
+ maxQuantity: z.ZodNumber;
812
+ validatedModifierItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
813
+ modifierItemId: z.ZodString;
814
+ modifierGroupId: z.ZodString;
815
+ available: z.ZodBoolean;
816
+ maxQuantity: z.ZodNumber;
817
+ }, "strip", z.ZodTypeAny, {
818
+ maxQuantity: number;
819
+ available: boolean;
820
+ modifierItemId: string;
821
+ modifierGroupId: string;
822
+ }, {
823
+ maxQuantity: number;
824
+ available: boolean;
825
+ modifierItemId: string;
826
+ modifierGroupId: string;
827
+ }>, "many">>>;
828
+ }, "strip", z.ZodTypeAny, {
829
+ validatedModifierItems?: {
830
+ maxQuantity: number;
831
+ available: boolean;
832
+ modifierItemId: string;
833
+ modifierGroupId: string;
834
+ }[] | null | undefined;
835
+ maxQuantity: number;
836
+ itemId: string;
837
+ available: boolean;
838
+ }, {
839
+ validatedModifierItems?: {
840
+ maxQuantity: number;
841
+ available: boolean;
842
+ modifierItemId: string;
843
+ modifierGroupId: string;
844
+ }[] | null | undefined;
845
+ maxQuantity: number;
846
+ itemId: string;
847
+ available: boolean;
848
+ }>;
849
+ export declare const FdtoTngCheckItemResponse: z.ZodObject<{
850
+ success: z.ZodBoolean;
851
+ message: z.ZodString;
852
+ validatedItems: z.ZodArray<z.ZodObject<{
853
+ itemId: z.ZodString;
854
+ available: z.ZodBoolean;
855
+ maxQuantity: z.ZodNumber;
856
+ validatedModifierItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
857
+ modifierItemId: z.ZodString;
858
+ modifierGroupId: z.ZodString;
859
+ available: z.ZodBoolean;
860
+ maxQuantity: z.ZodNumber;
861
+ }, "strip", z.ZodTypeAny, {
862
+ maxQuantity: number;
863
+ available: boolean;
864
+ modifierItemId: string;
865
+ modifierGroupId: string;
866
+ }, {
867
+ maxQuantity: number;
868
+ available: boolean;
869
+ modifierItemId: string;
870
+ modifierGroupId: string;
871
+ }>, "many">>>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ validatedModifierItems?: {
874
+ maxQuantity: number;
875
+ available: boolean;
876
+ modifierItemId: string;
877
+ modifierGroupId: string;
878
+ }[] | null | undefined;
879
+ maxQuantity: number;
880
+ itemId: string;
881
+ available: boolean;
882
+ }, {
883
+ validatedModifierItems?: {
884
+ maxQuantity: number;
885
+ available: boolean;
886
+ modifierItemId: string;
887
+ modifierGroupId: string;
888
+ }[] | null | undefined;
889
+ maxQuantity: number;
890
+ itemId: string;
891
+ available: boolean;
892
+ }>, "many">;
893
+ }, "strip", z.ZodTypeAny, {
894
+ message: string;
895
+ success: boolean;
896
+ validatedItems: {
897
+ validatedModifierItems?: {
898
+ maxQuantity: number;
899
+ available: boolean;
900
+ modifierItemId: string;
901
+ modifierGroupId: string;
902
+ }[] | null | undefined;
903
+ maxQuantity: number;
904
+ itemId: string;
905
+ available: boolean;
906
+ }[];
907
+ }, {
908
+ message: string;
909
+ success: boolean;
910
+ validatedItems: {
911
+ validatedModifierItems?: {
912
+ maxQuantity: number;
913
+ available: boolean;
914
+ modifierItemId: string;
915
+ modifierGroupId: string;
916
+ }[] | null | undefined;
917
+ maxQuantity: number;
918
+ itemId: string;
919
+ available: boolean;
920
+ }[];
921
+ }>;
922
+ export declare const FdtoTngApiResponse: z.ZodObject<{
923
+ success: z.ZodBoolean;
924
+ traceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
925
+ errorCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
926
+ errorMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
927
+ errorContext: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
928
+ extendInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
929
+ result: z.ZodBoolean;
930
+ }, "strip", z.ZodTypeAny, {
931
+ traceId?: string | null | undefined;
932
+ errorCode?: string | null | undefined;
933
+ errorMessage?: string | null | undefined;
934
+ extendInfo?: Record<string, any> | null | undefined;
935
+ errorContext?: unknown;
936
+ success: boolean;
937
+ result: boolean;
938
+ }, {
939
+ traceId?: string | null | undefined;
940
+ errorCode?: string | null | undefined;
941
+ errorMessage?: string | null | undefined;
942
+ extendInfo?: Record<string, any> | null | undefined;
943
+ errorContext?: unknown;
944
+ success: boolean;
945
+ result: boolean;
946
+ }>;
947
+ export declare const FdtoTngUpdateOrderStatus: z.ZodObject<{
948
+ orderId: z.ZodString;
949
+ externalOrderId: z.ZodString;
950
+ userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
951
+ status: z.ZodString;
952
+ paymentStatus: z.ZodString;
953
+ estimatedPreparationTime: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
954
+ cancelReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
955
+ merchantRemark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
956
+ }, "strip", z.ZodTypeAny, {
957
+ userId?: string | null | undefined;
958
+ estimatedPreparationTime?: number | null | undefined;
959
+ cancelReason?: string | null | undefined;
960
+ merchantRemark?: string | null | undefined;
961
+ status: string;
962
+ orderId: string;
963
+ externalOrderId: string;
964
+ paymentStatus: string;
965
+ }, {
966
+ userId?: string | null | undefined;
967
+ estimatedPreparationTime?: number | null | undefined;
968
+ cancelReason?: string | null | undefined;
969
+ merchantRemark?: string | null | undefined;
970
+ status: string;
971
+ orderId: string;
972
+ externalOrderId: string;
973
+ paymentStatus: string;
974
+ }>;
975
+ export declare const FdtoTngUpdateOrderStatusResponse: z.ZodObject<{
976
+ success: z.ZodBoolean;
977
+ operationResponse: z.ZodObject<{
978
+ operationStatus: z.ZodString;
979
+ failedReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
980
+ }, "strip", z.ZodTypeAny, {
981
+ failedReason?: string | null | undefined;
982
+ operationStatus: string;
983
+ }, {
984
+ failedReason?: string | null | undefined;
985
+ operationStatus: string;
986
+ }>;
987
+ }, "strip", z.ZodTypeAny, {
988
+ success: boolean;
989
+ operationResponse: {
990
+ failedReason?: string | null | undefined;
991
+ operationStatus: string;
992
+ };
993
+ }, {
994
+ success: boolean;
995
+ operationResponse: {
996
+ failedReason?: string | null | undefined;
997
+ operationStatus: string;
998
+ };
999
+ }>;
1000
+ export declare const FdtoTngSyncMenuResponse: z.ZodObject<{
1001
+ success: z.ZodBoolean;
1002
+ partner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1003
+ merchantId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1004
+ version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1005
+ taskId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1006
+ status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1007
+ errorCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1008
+ errorMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ version?: string | null | undefined;
1011
+ status?: string | null | undefined;
1012
+ taskId?: string | null | undefined;
1013
+ merchantId?: string | null | undefined;
1014
+ partner?: string | null | undefined;
1015
+ errorCode?: string | null | undefined;
1016
+ errorMessage?: string | null | undefined;
1017
+ success: boolean;
1018
+ }, {
1019
+ version?: string | null | undefined;
1020
+ status?: string | null | undefined;
1021
+ taskId?: string | null | undefined;
1022
+ merchantId?: string | null | undefined;
1023
+ partner?: string | null | undefined;
1024
+ errorCode?: string | null | undefined;
1025
+ errorMessage?: string | null | undefined;
1026
+ success: boolean;
1027
+ }>;
1028
+ export declare const FdtoTngUpdateAvailabilityResponse: z.ZodObject<{
1029
+ success: z.ZodBoolean;
1030
+ errorCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1031
+ errorMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1032
+ }, "strip", z.ZodTypeAny, {
1033
+ errorCode?: string | null | undefined;
1034
+ errorMessage?: string | null | undefined;
1035
+ success: boolean;
1036
+ }, {
1037
+ errorCode?: string | null | undefined;
1038
+ errorMessage?: string | null | undefined;
1039
+ success: boolean;
1040
+ }>;
1041
+ export declare const FdtoTngQuerySyncStatusResponse: z.ZodObject<{
1042
+ success: z.ZodBoolean;
1043
+ partner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1044
+ merchantId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1045
+ version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1046
+ status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1047
+ errorCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1048
+ errorMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ version?: string | null | undefined;
1051
+ status?: string | null | undefined;
1052
+ merchantId?: string | null | undefined;
1053
+ partner?: string | null | undefined;
1054
+ errorCode?: string | null | undefined;
1055
+ errorMessage?: string | null | undefined;
1056
+ success: boolean;
1057
+ }, {
1058
+ version?: string | null | undefined;
1059
+ status?: string | null | undefined;
1060
+ merchantId?: string | null | undefined;
1061
+ partner?: string | null | undefined;
1062
+ errorCode?: string | null | undefined;
1063
+ errorMessage?: string | null | undefined;
1064
+ success: boolean;
1065
+ }>;
1066
+ export declare const FdtoTngRefundCallbackRequest: z.ZodObject<{
1067
+ orderId: z.ZodString;
1068
+ userId: z.ZodString;
1069
+ orderStatus: z.ZodString;
1070
+ paymentId: z.ZodString;
1071
+ paymentMethod: z.ZodString;
1072
+ paymentStatus: z.ZodString;
1073
+ paymentAmount: z.ZodString;
1074
+ paymentCurrency: z.ZodString;
1075
+ paymentTime: z.ZodString;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ paymentMethod: string;
1078
+ orderId: string;
1079
+ orderStatus: string;
1080
+ userId: string;
1081
+ paymentStatus: string;
1082
+ paymentId: string;
1083
+ paymentAmount: string;
1084
+ paymentCurrency: string;
1085
+ paymentTime: string;
1086
+ }, {
1087
+ paymentMethod: string;
1088
+ orderId: string;
1089
+ orderStatus: string;
1090
+ userId: string;
1091
+ paymentStatus: string;
1092
+ paymentId: string;
1093
+ paymentAmount: string;
1094
+ paymentCurrency: string;
1095
+ paymentTime: string;
1096
+ }>;
1097
+ export declare const FdtoTngRefundCallbackResponse: z.ZodObject<{
1098
+ success: z.ZodBoolean;
1099
+ traceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1100
+ errorCode: z.ZodString;
1101
+ errorMessage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1102
+ orderRefundCallBackResponse: z.ZodObject<{
1103
+ orderId: z.ZodString;
1104
+ paymentId: z.ZodString;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ orderId: string;
1107
+ paymentId: string;
1108
+ }, {
1109
+ orderId: string;
1110
+ paymentId: string;
1111
+ }>;
1112
+ }, "strip", z.ZodTypeAny, {
1113
+ traceId?: string | null | undefined;
1114
+ errorMessage?: string | null | undefined;
1115
+ success: boolean;
1116
+ errorCode: string;
1117
+ orderRefundCallBackResponse: {
1118
+ orderId: string;
1119
+ paymentId: string;
1120
+ };
1121
+ }, {
1122
+ traceId?: string | null | undefined;
1123
+ errorMessage?: string | null | undefined;
1124
+ success: boolean;
1125
+ errorCode: string;
1126
+ orderRefundCallBackResponse: {
1127
+ orderId: string;
1128
+ paymentId: string;
1129
+ };
1130
+ }>;
1131
+ export declare const FdtoTngCreateQRResponse: z.ZodObject<{
1132
+ success: z.ZodBoolean;
1133
+ traceId: z.ZodString;
1134
+ qrCodeValue: z.ZodString;
1135
+ }, "strip", z.ZodTypeAny, {
1136
+ success: boolean;
1137
+ traceId: string;
1138
+ qrCodeValue: string;
1139
+ }, {
1140
+ success: boolean;
1141
+ traceId: string;
1142
+ qrCodeValue: string;
1143
+ }>;
1144
+ export type FdtoTngOrderSyncRequest = z.infer<typeof FdtoTngOrderSyncRequest>;
1145
+ export type FdtoTngOrderSyncResponse = z.infer<typeof FdtoTngOrderSyncResponse>;
1146
+ export type FdtoTngOrderSyncExternalResponse = z.infer<typeof FdtoTngOrderSyncExternalResponse>;
1147
+ export type FdtoTngMenuSyncCallbackRequest = z.infer<typeof FdtoTngMenuSyncCallbackRequest>;
1148
+ export type FdtoTngMenuSyncCallbackResponse = z.infer<typeof FdtoTngMenuSyncCallbackResponse>;
1149
+ export type FdtoTngCheckItemRequest = z.infer<typeof FdtoTngCheckItemRequest>;
1150
+ export type FdtoTngCheckItemModifierItem = z.infer<typeof FdtoTngCheckItemModifierItem>;
1151
+ export type FdtoTngCheckItemRequestItem = z.infer<typeof FdtoTngCheckItemRequestItem>;
1152
+ export type FdtoTngCheckItemResponse = z.infer<typeof FdtoTngCheckItemResponse>;
1153
+ export type FdtoTngValidatedItem = z.infer<typeof FdtoTngValidatedItem>;
1154
+ export type FdtoTngApiResponse = z.infer<typeof FdtoTngApiResponse>;
1155
+ export type FdtoTngUpdateOrderStatus = z.infer<typeof FdtoTngUpdateOrderStatus>;
1156
+ export type FdtoTngUpdateOrderStatusResponse = z.infer<typeof FdtoTngUpdateOrderStatusResponse>;
1157
+ export type FdtoTngSyncMenuResponse = z.infer<typeof FdtoTngSyncMenuResponse>;
1158
+ export type FdtoTngUpdateAvailabilityResponse = z.infer<typeof FdtoTngUpdateAvailabilityResponse>;
1159
+ export type FdtoTngQuerySyncStatusResponse = z.infer<typeof FdtoTngQuerySyncStatusResponse>;
1160
+ export type FdtoTngRefundCallbackRequest = z.infer<typeof FdtoTngRefundCallbackRequest>;
1161
+ export type FdtoTngRefundCallbackResponse = z.infer<typeof FdtoTngRefundCallbackResponse>;
1162
+ export type FdtoTngCreateQRResponse = z.infer<typeof FdtoTngCreateQRResponse>;