@feedmepos/mf-order-setting 0.0.72-prod → 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 (167) hide show
  1. package/.env +1 -1
  2. package/README.md +7 -23
  3. package/dist/{KioskDevicesView-DIiEVc0i.js → KioskDevicesView-Dztw-Q35.js} +1 -1
  4. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BD0Olm4_.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Ol419NZh.js} +3 -3
  5. package/dist/{KioskSettingView-Csm9he9M.js → KioskSettingView-BUHmoxyO.js} +183 -202
  6. package/dist/{KioskView-Ho2ts0j6.js → KioskView-B8j77zMA.js} +4 -4
  7. package/dist/OrderSettingsView-C5PK8CKZ.js +60009 -0
  8. package/dist/{app-xl2InG-H.js → app-C2_s0fkK.js} +5066 -4942
  9. package/dist/app.js +1 -1
  10. package/dist/{dayjs.min-BVqlMLNE.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-B4qdL9W3.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 +28 -22
  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/general/GeneralSetting.vue +15 -6
  155. package/src/views/order-settings/pickup/PickUpSettingDialog.vue +31 -3
  156. package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +34 -0
  157. package/src/views/order-settings/pickup/Preorder.vue +13 -12
  158. package/src/views/order-settings/queue/QueueSetting.vue +30 -1
  159. package/src/views/order-settings/servicecharge/RateInput.vue +9 -7
  160. package/vite.config.ts +16 -16
  161. package/dist/OrderSettingsView-C0G8kP3v.js +0 -32222
  162. package/dist/frontend/mf-order/src/api/auth/index.d.ts +0 -7
  163. package/dist/frontend/mf-order/src/stores/iframe/index.d.ts +0 -14
  164. package/dist/index-kCI8JdNP.js +0 -628
  165. package/dist/queue-transfer.dto-BLyCakS5.js +0 -45618
  166. package/src/api/auth/index.ts +0 -20
  167. package/src/stores/iframe/index.ts +0 -23
@@ -0,0 +1,1915 @@
1
+ import { z } from 'zod';
2
+ export declare const TngAmount: z.ZodObject<{
3
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4
+ cent: z.ZodString;
5
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6
+ currencyCode: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ amount?: string | null | undefined;
9
+ currency?: string | null | undefined;
10
+ cent: string;
11
+ currencyCode: string;
12
+ }, {
13
+ amount?: string | null | undefined;
14
+ currency?: string | null | undefined;
15
+ cent: string;
16
+ currencyCode: string;
17
+ }>;
18
+ export declare const TngModifierItem: z.ZodObject<{
19
+ modifierItemId: z.ZodString;
20
+ modifierItemName: z.ZodString;
21
+ quantity: z.ZodNumber;
22
+ price: z.ZodNullable<z.ZodOptional<z.ZodObject<{
23
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
24
+ cent: z.ZodString;
25
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
26
+ currencyCode: z.ZodString;
27
+ }, "strip", z.ZodTypeAny, {
28
+ amount?: string | null | undefined;
29
+ currency?: string | null | undefined;
30
+ cent: string;
31
+ currencyCode: string;
32
+ }, {
33
+ amount?: string | null | undefined;
34
+ currency?: string | null | undefined;
35
+ cent: string;
36
+ currencyCode: string;
37
+ }>>>;
38
+ modifierItemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ price?: {
41
+ amount?: string | null | undefined;
42
+ currency?: string | null | undefined;
43
+ cent: string;
44
+ currencyCode: string;
45
+ } | null | undefined;
46
+ modifierItemTaxRate?: string | null | undefined;
47
+ quantity: number;
48
+ modifierItemId: string;
49
+ modifierItemName: string;
50
+ }, {
51
+ price?: {
52
+ amount?: string | null | undefined;
53
+ currency?: string | null | undefined;
54
+ cent: string;
55
+ currencyCode: string;
56
+ } | null | undefined;
57
+ modifierItemTaxRate?: string | null | undefined;
58
+ quantity: number;
59
+ modifierItemId: string;
60
+ modifierItemName: string;
61
+ }>;
62
+ export declare const TngModifierGroup: z.ZodObject<{
63
+ modifierGroupId: z.ZodString;
64
+ modifierGroupName: z.ZodString;
65
+ modifierItems: z.ZodArray<z.ZodObject<{
66
+ modifierItemId: z.ZodString;
67
+ modifierItemName: z.ZodString;
68
+ quantity: z.ZodNumber;
69
+ price: z.ZodNullable<z.ZodOptional<z.ZodObject<{
70
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
+ cent: z.ZodString;
72
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
+ currencyCode: z.ZodString;
74
+ }, "strip", z.ZodTypeAny, {
75
+ amount?: string | null | undefined;
76
+ currency?: string | null | undefined;
77
+ cent: string;
78
+ currencyCode: string;
79
+ }, {
80
+ amount?: string | null | undefined;
81
+ currency?: string | null | undefined;
82
+ cent: string;
83
+ currencyCode: string;
84
+ }>>>;
85
+ modifierItemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
86
+ }, "strip", z.ZodTypeAny, {
87
+ price?: {
88
+ amount?: string | null | undefined;
89
+ currency?: string | null | undefined;
90
+ cent: string;
91
+ currencyCode: string;
92
+ } | null | undefined;
93
+ modifierItemTaxRate?: string | null | undefined;
94
+ quantity: number;
95
+ modifierItemId: string;
96
+ modifierItemName: string;
97
+ }, {
98
+ price?: {
99
+ amount?: string | null | undefined;
100
+ currency?: string | null | undefined;
101
+ cent: string;
102
+ currencyCode: string;
103
+ } | null | undefined;
104
+ modifierItemTaxRate?: string | null | undefined;
105
+ quantity: number;
106
+ modifierItemId: string;
107
+ modifierItemName: string;
108
+ }>, "many">;
109
+ }, "strip", z.ZodTypeAny, {
110
+ modifierGroupId: string;
111
+ modifierGroupName: string;
112
+ modifierItems: {
113
+ price?: {
114
+ amount?: string | null | undefined;
115
+ currency?: string | null | undefined;
116
+ cent: string;
117
+ currencyCode: string;
118
+ } | null | undefined;
119
+ modifierItemTaxRate?: string | null | undefined;
120
+ quantity: number;
121
+ modifierItemId: string;
122
+ modifierItemName: string;
123
+ }[];
124
+ }, {
125
+ modifierGroupId: string;
126
+ modifierGroupName: string;
127
+ modifierItems: {
128
+ price?: {
129
+ amount?: string | null | undefined;
130
+ currency?: string | null | undefined;
131
+ cent: string;
132
+ currencyCode: string;
133
+ } | null | undefined;
134
+ modifierItemTaxRate?: string | null | undefined;
135
+ quantity: number;
136
+ modifierItemId: string;
137
+ modifierItemName: string;
138
+ }[];
139
+ }>;
140
+ export declare const TngRemindInfo: z.ZodObject<{
141
+ reminderCode: z.ZodArray<z.ZodString, "many">;
142
+ stockNum: z.ZodString;
143
+ remindMessage: z.ZodString;
144
+ }, "strip", z.ZodTypeAny, {
145
+ reminderCode: string[];
146
+ stockNum: string;
147
+ remindMessage: string;
148
+ }, {
149
+ reminderCode: string[];
150
+ stockNum: string;
151
+ remindMessage: string;
152
+ }>;
153
+ export declare const TngOrderItem: z.ZodObject<{
154
+ itemId: z.ZodString;
155
+ itemName: z.ZodString;
156
+ price: z.ZodObject<{
157
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
158
+ cent: z.ZodString;
159
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
160
+ currencyCode: z.ZodString;
161
+ }, "strip", z.ZodTypeAny, {
162
+ amount?: string | null | undefined;
163
+ currency?: string | null | undefined;
164
+ cent: string;
165
+ currencyCode: string;
166
+ }, {
167
+ amount?: string | null | undefined;
168
+ currency?: string | null | undefined;
169
+ cent: string;
170
+ currencyCode: string;
171
+ }>;
172
+ promotionPrice: z.ZodNullable<z.ZodOptional<z.ZodObject<{
173
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
174
+ cent: z.ZodString;
175
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
176
+ currencyCode: z.ZodString;
177
+ }, "strip", z.ZodTypeAny, {
178
+ amount?: string | null | undefined;
179
+ currency?: string | null | undefined;
180
+ cent: string;
181
+ currencyCode: string;
182
+ }, {
183
+ amount?: string | null | undefined;
184
+ currency?: string | null | undefined;
185
+ cent: string;
186
+ currencyCode: string;
187
+ }>>>;
188
+ quantity: z.ZodNumber;
189
+ additionalRemarks: z.ZodNullable<z.ZodOptional<z.ZodString>>;
190
+ itemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
191
+ itemPackingFee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
192
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
193
+ cent: z.ZodString;
194
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
195
+ currencyCode: z.ZodString;
196
+ }, "strip", z.ZodTypeAny, {
197
+ amount?: string | null | undefined;
198
+ currency?: string | null | undefined;
199
+ cent: string;
200
+ currencyCode: string;
201
+ }, {
202
+ amount?: string | null | undefined;
203
+ currency?: string | null | undefined;
204
+ cent: string;
205
+ currencyCode: string;
206
+ }>>>;
207
+ modifierItemsTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
208
+ itemDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
209
+ modifierGroups: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
210
+ modifierGroupId: z.ZodString;
211
+ modifierGroupName: z.ZodString;
212
+ modifierItems: z.ZodArray<z.ZodObject<{
213
+ modifierItemId: z.ZodString;
214
+ modifierItemName: z.ZodString;
215
+ quantity: z.ZodNumber;
216
+ price: z.ZodNullable<z.ZodOptional<z.ZodObject<{
217
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
218
+ cent: z.ZodString;
219
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
220
+ currencyCode: z.ZodString;
221
+ }, "strip", z.ZodTypeAny, {
222
+ amount?: string | null | undefined;
223
+ currency?: string | null | undefined;
224
+ cent: string;
225
+ currencyCode: string;
226
+ }, {
227
+ amount?: string | null | undefined;
228
+ currency?: string | null | undefined;
229
+ cent: string;
230
+ currencyCode: string;
231
+ }>>>;
232
+ modifierItemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ price?: {
235
+ amount?: string | null | undefined;
236
+ currency?: string | null | undefined;
237
+ cent: string;
238
+ currencyCode: string;
239
+ } | null | undefined;
240
+ modifierItemTaxRate?: string | null | undefined;
241
+ quantity: number;
242
+ modifierItemId: string;
243
+ modifierItemName: string;
244
+ }, {
245
+ price?: {
246
+ amount?: string | null | undefined;
247
+ currency?: string | null | undefined;
248
+ cent: string;
249
+ currencyCode: string;
250
+ } | null | undefined;
251
+ modifierItemTaxRate?: string | null | undefined;
252
+ quantity: number;
253
+ modifierItemId: string;
254
+ modifierItemName: string;
255
+ }>, "many">;
256
+ }, "strip", z.ZodTypeAny, {
257
+ modifierGroupId: string;
258
+ modifierGroupName: string;
259
+ modifierItems: {
260
+ price?: {
261
+ amount?: string | null | undefined;
262
+ currency?: string | null | undefined;
263
+ cent: string;
264
+ currencyCode: string;
265
+ } | null | undefined;
266
+ modifierItemTaxRate?: string | null | undefined;
267
+ quantity: number;
268
+ modifierItemId: string;
269
+ modifierItemName: string;
270
+ }[];
271
+ }, {
272
+ modifierGroupId: string;
273
+ modifierGroupName: string;
274
+ modifierItems: {
275
+ price?: {
276
+ amount?: string | null | undefined;
277
+ currency?: string | null | undefined;
278
+ cent: string;
279
+ currencyCode: string;
280
+ } | null | undefined;
281
+ modifierItemTaxRate?: string | null | undefined;
282
+ quantity: number;
283
+ modifierItemId: string;
284
+ modifierItemName: string;
285
+ }[];
286
+ }>, "many">>>;
287
+ remindInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
288
+ reminderCode: z.ZodArray<z.ZodString, "many">;
289
+ stockNum: z.ZodString;
290
+ remindMessage: z.ZodString;
291
+ }, "strip", z.ZodTypeAny, {
292
+ reminderCode: string[];
293
+ stockNum: string;
294
+ remindMessage: string;
295
+ }, {
296
+ reminderCode: string[];
297
+ stockNum: string;
298
+ remindMessage: string;
299
+ }>>>;
300
+ }, "strip", z.ZodTypeAny, {
301
+ modifierGroups?: {
302
+ modifierGroupId: string;
303
+ modifierGroupName: string;
304
+ modifierItems: {
305
+ price?: {
306
+ amount?: string | null | undefined;
307
+ currency?: string | null | undefined;
308
+ cent: string;
309
+ currencyCode: string;
310
+ } | null | undefined;
311
+ modifierItemTaxRate?: string | null | undefined;
312
+ quantity: number;
313
+ modifierItemId: string;
314
+ modifierItemName: string;
315
+ }[];
316
+ }[] | null | undefined;
317
+ promotionPrice?: {
318
+ amount?: string | null | undefined;
319
+ currency?: string | null | undefined;
320
+ cent: string;
321
+ currencyCode: string;
322
+ } | null | undefined;
323
+ additionalRemarks?: string | null | undefined;
324
+ itemTaxRate?: string | null | undefined;
325
+ itemPackingFee?: {
326
+ amount?: string | null | undefined;
327
+ currency?: string | null | undefined;
328
+ cent: string;
329
+ currencyCode: string;
330
+ } | null | undefined;
331
+ modifierItemsTaxRate?: string | null | undefined;
332
+ itemDescription?: string | null | undefined;
333
+ remindInfo?: {
334
+ reminderCode: string[];
335
+ stockNum: string;
336
+ remindMessage: string;
337
+ } | null | undefined;
338
+ quantity: number;
339
+ price: {
340
+ amount?: string | null | undefined;
341
+ currency?: string | null | undefined;
342
+ cent: string;
343
+ currencyCode: string;
344
+ };
345
+ itemId: string;
346
+ itemName: string;
347
+ }, {
348
+ modifierGroups?: {
349
+ modifierGroupId: string;
350
+ modifierGroupName: string;
351
+ modifierItems: {
352
+ price?: {
353
+ amount?: string | null | undefined;
354
+ currency?: string | null | undefined;
355
+ cent: string;
356
+ currencyCode: string;
357
+ } | null | undefined;
358
+ modifierItemTaxRate?: string | null | undefined;
359
+ quantity: number;
360
+ modifierItemId: string;
361
+ modifierItemName: string;
362
+ }[];
363
+ }[] | null | undefined;
364
+ promotionPrice?: {
365
+ amount?: string | null | undefined;
366
+ currency?: string | null | undefined;
367
+ cent: string;
368
+ currencyCode: string;
369
+ } | null | undefined;
370
+ additionalRemarks?: string | null | undefined;
371
+ itemTaxRate?: string | null | undefined;
372
+ itemPackingFee?: {
373
+ amount?: string | null | undefined;
374
+ currency?: string | null | undefined;
375
+ cent: string;
376
+ currencyCode: string;
377
+ } | null | undefined;
378
+ modifierItemsTaxRate?: string | null | undefined;
379
+ itemDescription?: string | null | undefined;
380
+ remindInfo?: {
381
+ reminderCode: string[];
382
+ stockNum: string;
383
+ remindMessage: string;
384
+ } | null | undefined;
385
+ quantity: number;
386
+ price: {
387
+ amount?: string | null | undefined;
388
+ currency?: string | null | undefined;
389
+ cent: string;
390
+ currencyCode: string;
391
+ };
392
+ itemId: string;
393
+ itemName: string;
394
+ }>;
395
+ export declare const TngFee: z.ZodObject<{
396
+ feeType: z.ZodString;
397
+ feeRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
398
+ includeTax: z.ZodBoolean;
399
+ taxInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
400
+ taxRate: z.ZodString;
401
+ additionalSymbol: z.ZodNullable<z.ZodOptional<z.ZodString>>;
402
+ taxAmount: z.ZodObject<{
403
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
404
+ cent: z.ZodString;
405
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
406
+ currencyCode: z.ZodString;
407
+ }, "strip", z.ZodTypeAny, {
408
+ amount?: string | null | undefined;
409
+ currency?: string | null | undefined;
410
+ cent: string;
411
+ currencyCode: string;
412
+ }, {
413
+ amount?: string | null | undefined;
414
+ currency?: string | null | undefined;
415
+ cent: string;
416
+ currencyCode: string;
417
+ }>;
418
+ }, "strip", z.ZodTypeAny, {
419
+ additionalSymbol?: string | null | undefined;
420
+ taxAmount: {
421
+ amount?: string | null | undefined;
422
+ currency?: string | null | undefined;
423
+ cent: string;
424
+ currencyCode: string;
425
+ };
426
+ taxRate: string;
427
+ }, {
428
+ additionalSymbol?: string | null | undefined;
429
+ taxAmount: {
430
+ amount?: string | null | undefined;
431
+ currency?: string | null | undefined;
432
+ cent: string;
433
+ currencyCode: string;
434
+ };
435
+ taxRate: string;
436
+ }>>>;
437
+ feeAmount: z.ZodObject<{
438
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
439
+ cent: z.ZodString;
440
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
441
+ currencyCode: z.ZodString;
442
+ }, "strip", z.ZodTypeAny, {
443
+ amount?: string | null | undefined;
444
+ currency?: string | null | undefined;
445
+ cent: string;
446
+ currencyCode: string;
447
+ }, {
448
+ amount?: string | null | undefined;
449
+ currency?: string | null | undefined;
450
+ cent: string;
451
+ currencyCode: string;
452
+ }>;
453
+ additionalSymbol: z.ZodNullable<z.ZodOptional<z.ZodString>>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ feeRate?: string | null | undefined;
456
+ additionalSymbol?: string | null | undefined;
457
+ taxInfo?: {
458
+ additionalSymbol?: string | null | undefined;
459
+ taxAmount: {
460
+ amount?: string | null | undefined;
461
+ currency?: string | null | undefined;
462
+ cent: string;
463
+ currencyCode: string;
464
+ };
465
+ taxRate: string;
466
+ } | null | undefined;
467
+ feeType: string;
468
+ includeTax: boolean;
469
+ feeAmount: {
470
+ amount?: string | null | undefined;
471
+ currency?: string | null | undefined;
472
+ cent: string;
473
+ currencyCode: string;
474
+ };
475
+ }, {
476
+ feeRate?: string | null | undefined;
477
+ additionalSymbol?: string | null | undefined;
478
+ taxInfo?: {
479
+ additionalSymbol?: string | null | undefined;
480
+ taxAmount: {
481
+ amount?: string | null | undefined;
482
+ currency?: string | null | undefined;
483
+ cent: string;
484
+ currencyCode: string;
485
+ };
486
+ taxRate: string;
487
+ } | null | undefined;
488
+ feeType: string;
489
+ includeTax: boolean;
490
+ feeAmount: {
491
+ amount?: string | null | undefined;
492
+ currency?: string | null | undefined;
493
+ cent: string;
494
+ currencyCode: string;
495
+ };
496
+ }>;
497
+ export declare const TngTableInfo: z.ZodObject<{
498
+ tableNo: z.ZodString;
499
+ sessionId: z.ZodString;
500
+ area: z.ZodNullable<z.ZodOptional<z.ZodString>>;
501
+ }, "strip", z.ZodTypeAny, {
502
+ area?: string | null | undefined;
503
+ tableNo: string;
504
+ sessionId: string;
505
+ }, {
506
+ area?: string | null | undefined;
507
+ tableNo: string;
508
+ sessionId: string;
509
+ }>;
510
+ export declare const TngPaymentDetail: z.ZodObject<{
511
+ paymentType: z.ZodString;
512
+ isPaid: z.ZodBoolean;
513
+ paymentMethod: z.ZodString;
514
+ }, "strip", z.ZodTypeAny, {
515
+ paymentMethod: string;
516
+ paymentType: string;
517
+ isPaid: boolean;
518
+ }, {
519
+ paymentMethod: string;
520
+ paymentType: string;
521
+ isPaid: boolean;
522
+ }>;
523
+ export declare const TngOrder: z.ZodObject<{
524
+ orderId: z.ZodString;
525
+ userId: z.ZodString;
526
+ shortRefId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
527
+ brandProfileId: z.ZodString;
528
+ partnerMerchantId: z.ZodString;
529
+ menuId: z.ZodString;
530
+ fulfilmentMode: z.ZodString;
531
+ featureMode: z.ZodString;
532
+ featureModeIdentifier: z.ZodString;
533
+ orderType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
534
+ peopleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
535
+ customerRemark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
536
+ tableInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
537
+ tableNo: z.ZodString;
538
+ sessionId: z.ZodString;
539
+ area: z.ZodNullable<z.ZodOptional<z.ZodString>>;
540
+ }, "strip", z.ZodTypeAny, {
541
+ area?: string | null | undefined;
542
+ tableNo: string;
543
+ sessionId: string;
544
+ }, {
545
+ area?: string | null | undefined;
546
+ tableNo: string;
547
+ sessionId: string;
548
+ }>>>;
549
+ items: z.ZodArray<z.ZodObject<{
550
+ itemId: z.ZodString;
551
+ itemName: z.ZodString;
552
+ price: z.ZodObject<{
553
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
554
+ cent: z.ZodString;
555
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
556
+ currencyCode: z.ZodString;
557
+ }, "strip", z.ZodTypeAny, {
558
+ amount?: string | null | undefined;
559
+ currency?: string | null | undefined;
560
+ cent: string;
561
+ currencyCode: string;
562
+ }, {
563
+ amount?: string | null | undefined;
564
+ currency?: string | null | undefined;
565
+ cent: string;
566
+ currencyCode: string;
567
+ }>;
568
+ promotionPrice: z.ZodNullable<z.ZodOptional<z.ZodObject<{
569
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
570
+ cent: z.ZodString;
571
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
572
+ currencyCode: z.ZodString;
573
+ }, "strip", z.ZodTypeAny, {
574
+ amount?: string | null | undefined;
575
+ currency?: string | null | undefined;
576
+ cent: string;
577
+ currencyCode: string;
578
+ }, {
579
+ amount?: string | null | undefined;
580
+ currency?: string | null | undefined;
581
+ cent: string;
582
+ currencyCode: string;
583
+ }>>>;
584
+ quantity: z.ZodNumber;
585
+ additionalRemarks: z.ZodNullable<z.ZodOptional<z.ZodString>>;
586
+ itemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
587
+ itemPackingFee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
588
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
589
+ cent: z.ZodString;
590
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
591
+ currencyCode: z.ZodString;
592
+ }, "strip", z.ZodTypeAny, {
593
+ amount?: string | null | undefined;
594
+ currency?: string | null | undefined;
595
+ cent: string;
596
+ currencyCode: string;
597
+ }, {
598
+ amount?: string | null | undefined;
599
+ currency?: string | null | undefined;
600
+ cent: string;
601
+ currencyCode: string;
602
+ }>>>;
603
+ modifierItemsTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
604
+ itemDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
605
+ modifierGroups: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
606
+ modifierGroupId: z.ZodString;
607
+ modifierGroupName: z.ZodString;
608
+ modifierItems: z.ZodArray<z.ZodObject<{
609
+ modifierItemId: z.ZodString;
610
+ modifierItemName: z.ZodString;
611
+ quantity: z.ZodNumber;
612
+ price: z.ZodNullable<z.ZodOptional<z.ZodObject<{
613
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
614
+ cent: z.ZodString;
615
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
616
+ currencyCode: z.ZodString;
617
+ }, "strip", z.ZodTypeAny, {
618
+ amount?: string | null | undefined;
619
+ currency?: string | null | undefined;
620
+ cent: string;
621
+ currencyCode: string;
622
+ }, {
623
+ amount?: string | null | undefined;
624
+ currency?: string | null | undefined;
625
+ cent: string;
626
+ currencyCode: string;
627
+ }>>>;
628
+ modifierItemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ price?: {
631
+ amount?: string | null | undefined;
632
+ currency?: string | null | undefined;
633
+ cent: string;
634
+ currencyCode: string;
635
+ } | null | undefined;
636
+ modifierItemTaxRate?: string | null | undefined;
637
+ quantity: number;
638
+ modifierItemId: string;
639
+ modifierItemName: string;
640
+ }, {
641
+ price?: {
642
+ amount?: string | null | undefined;
643
+ currency?: string | null | undefined;
644
+ cent: string;
645
+ currencyCode: string;
646
+ } | null | undefined;
647
+ modifierItemTaxRate?: string | null | undefined;
648
+ quantity: number;
649
+ modifierItemId: string;
650
+ modifierItemName: string;
651
+ }>, "many">;
652
+ }, "strip", z.ZodTypeAny, {
653
+ modifierGroupId: string;
654
+ modifierGroupName: string;
655
+ modifierItems: {
656
+ price?: {
657
+ amount?: string | null | undefined;
658
+ currency?: string | null | undefined;
659
+ cent: string;
660
+ currencyCode: string;
661
+ } | null | undefined;
662
+ modifierItemTaxRate?: string | null | undefined;
663
+ quantity: number;
664
+ modifierItemId: string;
665
+ modifierItemName: string;
666
+ }[];
667
+ }, {
668
+ modifierGroupId: string;
669
+ modifierGroupName: string;
670
+ modifierItems: {
671
+ price?: {
672
+ amount?: string | null | undefined;
673
+ currency?: string | null | undefined;
674
+ cent: string;
675
+ currencyCode: string;
676
+ } | null | undefined;
677
+ modifierItemTaxRate?: string | null | undefined;
678
+ quantity: number;
679
+ modifierItemId: string;
680
+ modifierItemName: string;
681
+ }[];
682
+ }>, "many">>>;
683
+ remindInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
684
+ reminderCode: z.ZodArray<z.ZodString, "many">;
685
+ stockNum: z.ZodString;
686
+ remindMessage: z.ZodString;
687
+ }, "strip", z.ZodTypeAny, {
688
+ reminderCode: string[];
689
+ stockNum: string;
690
+ remindMessage: string;
691
+ }, {
692
+ reminderCode: string[];
693
+ stockNum: string;
694
+ remindMessage: string;
695
+ }>>>;
696
+ }, "strip", z.ZodTypeAny, {
697
+ modifierGroups?: {
698
+ modifierGroupId: string;
699
+ modifierGroupName: string;
700
+ modifierItems: {
701
+ price?: {
702
+ amount?: string | null | undefined;
703
+ currency?: string | null | undefined;
704
+ cent: string;
705
+ currencyCode: string;
706
+ } | null | undefined;
707
+ modifierItemTaxRate?: string | null | undefined;
708
+ quantity: number;
709
+ modifierItemId: string;
710
+ modifierItemName: string;
711
+ }[];
712
+ }[] | null | undefined;
713
+ promotionPrice?: {
714
+ amount?: string | null | undefined;
715
+ currency?: string | null | undefined;
716
+ cent: string;
717
+ currencyCode: string;
718
+ } | null | undefined;
719
+ additionalRemarks?: string | null | undefined;
720
+ itemTaxRate?: string | null | undefined;
721
+ itemPackingFee?: {
722
+ amount?: string | null | undefined;
723
+ currency?: string | null | undefined;
724
+ cent: string;
725
+ currencyCode: string;
726
+ } | null | undefined;
727
+ modifierItemsTaxRate?: string | null | undefined;
728
+ itemDescription?: string | null | undefined;
729
+ remindInfo?: {
730
+ reminderCode: string[];
731
+ stockNum: string;
732
+ remindMessage: string;
733
+ } | null | undefined;
734
+ quantity: number;
735
+ price: {
736
+ amount?: string | null | undefined;
737
+ currency?: string | null | undefined;
738
+ cent: string;
739
+ currencyCode: string;
740
+ };
741
+ itemId: string;
742
+ itemName: string;
743
+ }, {
744
+ modifierGroups?: {
745
+ modifierGroupId: string;
746
+ modifierGroupName: string;
747
+ modifierItems: {
748
+ price?: {
749
+ amount?: string | null | undefined;
750
+ currency?: string | null | undefined;
751
+ cent: string;
752
+ currencyCode: string;
753
+ } | null | undefined;
754
+ modifierItemTaxRate?: string | null | undefined;
755
+ quantity: number;
756
+ modifierItemId: string;
757
+ modifierItemName: string;
758
+ }[];
759
+ }[] | null | undefined;
760
+ promotionPrice?: {
761
+ amount?: string | null | undefined;
762
+ currency?: string | null | undefined;
763
+ cent: string;
764
+ currencyCode: string;
765
+ } | null | undefined;
766
+ additionalRemarks?: string | null | undefined;
767
+ itemTaxRate?: string | null | undefined;
768
+ itemPackingFee?: {
769
+ amount?: string | null | undefined;
770
+ currency?: string | null | undefined;
771
+ cent: string;
772
+ currencyCode: string;
773
+ } | null | undefined;
774
+ modifierItemsTaxRate?: string | null | undefined;
775
+ itemDescription?: string | null | undefined;
776
+ remindInfo?: {
777
+ reminderCode: string[];
778
+ stockNum: string;
779
+ remindMessage: string;
780
+ } | null | undefined;
781
+ quantity: number;
782
+ price: {
783
+ amount?: string | null | undefined;
784
+ currency?: string | null | undefined;
785
+ cent: string;
786
+ currencyCode: string;
787
+ };
788
+ itemId: string;
789
+ itemName: string;
790
+ }>, "many">;
791
+ paymentDetail: z.ZodObject<{
792
+ paymentType: z.ZodString;
793
+ isPaid: z.ZodBoolean;
794
+ paymentMethod: z.ZodString;
795
+ }, "strip", z.ZodTypeAny, {
796
+ paymentMethod: string;
797
+ paymentType: string;
798
+ isPaid: boolean;
799
+ }, {
800
+ paymentMethod: string;
801
+ paymentType: string;
802
+ isPaid: boolean;
803
+ }>;
804
+ feeDetails: z.ZodArray<z.ZodObject<{
805
+ feeType: z.ZodString;
806
+ feeRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
807
+ includeTax: z.ZodBoolean;
808
+ taxInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
809
+ taxRate: z.ZodString;
810
+ additionalSymbol: z.ZodNullable<z.ZodOptional<z.ZodString>>;
811
+ taxAmount: z.ZodObject<{
812
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
813
+ cent: z.ZodString;
814
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
815
+ currencyCode: z.ZodString;
816
+ }, "strip", z.ZodTypeAny, {
817
+ amount?: string | null | undefined;
818
+ currency?: string | null | undefined;
819
+ cent: string;
820
+ currencyCode: string;
821
+ }, {
822
+ amount?: string | null | undefined;
823
+ currency?: string | null | undefined;
824
+ cent: string;
825
+ currencyCode: string;
826
+ }>;
827
+ }, "strip", z.ZodTypeAny, {
828
+ additionalSymbol?: string | null | undefined;
829
+ taxAmount: {
830
+ amount?: string | null | undefined;
831
+ currency?: string | null | undefined;
832
+ cent: string;
833
+ currencyCode: string;
834
+ };
835
+ taxRate: string;
836
+ }, {
837
+ additionalSymbol?: string | null | undefined;
838
+ taxAmount: {
839
+ amount?: string | null | undefined;
840
+ currency?: string | null | undefined;
841
+ cent: string;
842
+ currencyCode: string;
843
+ };
844
+ taxRate: string;
845
+ }>>>;
846
+ feeAmount: z.ZodObject<{
847
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
848
+ cent: z.ZodString;
849
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
850
+ currencyCode: z.ZodString;
851
+ }, "strip", z.ZodTypeAny, {
852
+ amount?: string | null | undefined;
853
+ currency?: string | null | undefined;
854
+ cent: string;
855
+ currencyCode: string;
856
+ }, {
857
+ amount?: string | null | undefined;
858
+ currency?: string | null | undefined;
859
+ cent: string;
860
+ currencyCode: string;
861
+ }>;
862
+ additionalSymbol: z.ZodNullable<z.ZodOptional<z.ZodString>>;
863
+ }, "strip", z.ZodTypeAny, {
864
+ feeRate?: string | null | undefined;
865
+ additionalSymbol?: string | null | undefined;
866
+ taxInfo?: {
867
+ additionalSymbol?: string | null | undefined;
868
+ taxAmount: {
869
+ amount?: string | null | undefined;
870
+ currency?: string | null | undefined;
871
+ cent: string;
872
+ currencyCode: string;
873
+ };
874
+ taxRate: string;
875
+ } | null | undefined;
876
+ feeType: string;
877
+ includeTax: boolean;
878
+ feeAmount: {
879
+ amount?: string | null | undefined;
880
+ currency?: string | null | undefined;
881
+ cent: string;
882
+ currencyCode: string;
883
+ };
884
+ }, {
885
+ feeRate?: string | null | undefined;
886
+ additionalSymbol?: string | null | undefined;
887
+ taxInfo?: {
888
+ additionalSymbol?: string | null | undefined;
889
+ taxAmount: {
890
+ amount?: string | null | undefined;
891
+ currency?: string | null | undefined;
892
+ cent: string;
893
+ currencyCode: string;
894
+ };
895
+ taxRate: string;
896
+ } | null | undefined;
897
+ feeType: string;
898
+ includeTax: boolean;
899
+ feeAmount: {
900
+ amount?: string | null | undefined;
901
+ currency?: string | null | undefined;
902
+ cent: string;
903
+ currencyCode: string;
904
+ };
905
+ }>, "many">;
906
+ orderTime: z.ZodString;
907
+ remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
908
+ }, "strip", z.ZodTypeAny, {
909
+ remark?: string | null | undefined;
910
+ orderType?: string | null | undefined;
911
+ shortRefId?: string | null | undefined;
912
+ peopleCount?: number | null | undefined;
913
+ customerRemark?: string | null | undefined;
914
+ tableInfo?: {
915
+ area?: string | null | undefined;
916
+ tableNo: string;
917
+ sessionId: string;
918
+ } | null | undefined;
919
+ orderId: string;
920
+ userId: string;
921
+ items: {
922
+ modifierGroups?: {
923
+ modifierGroupId: string;
924
+ modifierGroupName: string;
925
+ modifierItems: {
926
+ price?: {
927
+ amount?: string | null | undefined;
928
+ currency?: string | null | undefined;
929
+ cent: string;
930
+ currencyCode: string;
931
+ } | null | undefined;
932
+ modifierItemTaxRate?: string | null | undefined;
933
+ quantity: number;
934
+ modifierItemId: string;
935
+ modifierItemName: string;
936
+ }[];
937
+ }[] | null | undefined;
938
+ promotionPrice?: {
939
+ amount?: string | null | undefined;
940
+ currency?: string | null | undefined;
941
+ cent: string;
942
+ currencyCode: string;
943
+ } | null | undefined;
944
+ additionalRemarks?: string | null | undefined;
945
+ itemTaxRate?: string | null | undefined;
946
+ itemPackingFee?: {
947
+ amount?: string | null | undefined;
948
+ currency?: string | null | undefined;
949
+ cent: string;
950
+ currencyCode: string;
951
+ } | null | undefined;
952
+ modifierItemsTaxRate?: string | null | undefined;
953
+ itemDescription?: string | null | undefined;
954
+ remindInfo?: {
955
+ reminderCode: string[];
956
+ stockNum: string;
957
+ remindMessage: string;
958
+ } | null | undefined;
959
+ quantity: number;
960
+ price: {
961
+ amount?: string | null | undefined;
962
+ currency?: string | null | undefined;
963
+ cent: string;
964
+ currencyCode: string;
965
+ };
966
+ itemId: string;
967
+ itemName: string;
968
+ }[];
969
+ orderTime: string;
970
+ brandProfileId: string;
971
+ partnerMerchantId: string;
972
+ menuId: string;
973
+ fulfilmentMode: string;
974
+ featureMode: string;
975
+ featureModeIdentifier: string;
976
+ paymentDetail: {
977
+ paymentMethod: string;
978
+ paymentType: string;
979
+ isPaid: boolean;
980
+ };
981
+ feeDetails: {
982
+ feeRate?: string | null | undefined;
983
+ additionalSymbol?: string | null | undefined;
984
+ taxInfo?: {
985
+ additionalSymbol?: string | null | undefined;
986
+ taxAmount: {
987
+ amount?: string | null | undefined;
988
+ currency?: string | null | undefined;
989
+ cent: string;
990
+ currencyCode: string;
991
+ };
992
+ taxRate: string;
993
+ } | null | undefined;
994
+ feeType: string;
995
+ includeTax: boolean;
996
+ feeAmount: {
997
+ amount?: string | null | undefined;
998
+ currency?: string | null | undefined;
999
+ cent: string;
1000
+ currencyCode: string;
1001
+ };
1002
+ }[];
1003
+ }, {
1004
+ remark?: string | null | undefined;
1005
+ orderType?: string | null | undefined;
1006
+ shortRefId?: string | null | undefined;
1007
+ peopleCount?: number | null | undefined;
1008
+ customerRemark?: string | null | undefined;
1009
+ tableInfo?: {
1010
+ area?: string | null | undefined;
1011
+ tableNo: string;
1012
+ sessionId: string;
1013
+ } | null | undefined;
1014
+ orderId: string;
1015
+ userId: string;
1016
+ items: {
1017
+ modifierGroups?: {
1018
+ modifierGroupId: string;
1019
+ modifierGroupName: string;
1020
+ modifierItems: {
1021
+ price?: {
1022
+ amount?: string | null | undefined;
1023
+ currency?: string | null | undefined;
1024
+ cent: string;
1025
+ currencyCode: string;
1026
+ } | null | undefined;
1027
+ modifierItemTaxRate?: string | null | undefined;
1028
+ quantity: number;
1029
+ modifierItemId: string;
1030
+ modifierItemName: string;
1031
+ }[];
1032
+ }[] | null | undefined;
1033
+ promotionPrice?: {
1034
+ amount?: string | null | undefined;
1035
+ currency?: string | null | undefined;
1036
+ cent: string;
1037
+ currencyCode: string;
1038
+ } | null | undefined;
1039
+ additionalRemarks?: string | null | undefined;
1040
+ itemTaxRate?: string | null | undefined;
1041
+ itemPackingFee?: {
1042
+ amount?: string | null | undefined;
1043
+ currency?: string | null | undefined;
1044
+ cent: string;
1045
+ currencyCode: string;
1046
+ } | null | undefined;
1047
+ modifierItemsTaxRate?: string | null | undefined;
1048
+ itemDescription?: string | null | undefined;
1049
+ remindInfo?: {
1050
+ reminderCode: string[];
1051
+ stockNum: string;
1052
+ remindMessage: string;
1053
+ } | null | undefined;
1054
+ quantity: number;
1055
+ price: {
1056
+ amount?: string | null | undefined;
1057
+ currency?: string | null | undefined;
1058
+ cent: string;
1059
+ currencyCode: string;
1060
+ };
1061
+ itemId: string;
1062
+ itemName: string;
1063
+ }[];
1064
+ orderTime: string;
1065
+ brandProfileId: string;
1066
+ partnerMerchantId: string;
1067
+ menuId: string;
1068
+ fulfilmentMode: string;
1069
+ featureMode: string;
1070
+ featureModeIdentifier: string;
1071
+ paymentDetail: {
1072
+ paymentMethod: string;
1073
+ paymentType: string;
1074
+ isPaid: boolean;
1075
+ };
1076
+ feeDetails: {
1077
+ feeRate?: string | null | undefined;
1078
+ additionalSymbol?: string | null | undefined;
1079
+ taxInfo?: {
1080
+ additionalSymbol?: string | null | undefined;
1081
+ taxAmount: {
1082
+ amount?: string | null | undefined;
1083
+ currency?: string | null | undefined;
1084
+ cent: string;
1085
+ currencyCode: string;
1086
+ };
1087
+ taxRate: string;
1088
+ } | null | undefined;
1089
+ feeType: string;
1090
+ includeTax: boolean;
1091
+ feeAmount: {
1092
+ amount?: string | null | undefined;
1093
+ currency?: string | null | undefined;
1094
+ cent: string;
1095
+ currencyCode: string;
1096
+ };
1097
+ }[];
1098
+ }>;
1099
+ export declare const FdoTngOrderStatus: z.ZodObject<{
1100
+ status: z.ZodEnum<["pending", "accepted", "rejected"]>;
1101
+ message: z.ZodString;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ message: string;
1104
+ status: "pending" | "accepted" | "rejected";
1105
+ }, {
1106
+ message: string;
1107
+ status: "pending" | "accepted" | "rejected";
1108
+ }>;
1109
+ export declare const FdoTngOrder: z.ZodObject<{
1110
+ _id: z.ZodEffects<z.ZodString, string, string>;
1111
+ orderStatus: z.ZodObject<{
1112
+ status: z.ZodEnum<["pending", "accepted", "rejected"]>;
1113
+ message: z.ZodString;
1114
+ }, "strip", z.ZodTypeAny, {
1115
+ message: string;
1116
+ status: "pending" | "accepted" | "rejected";
1117
+ }, {
1118
+ message: string;
1119
+ status: "pending" | "accepted" | "rejected";
1120
+ }>;
1121
+ raw: z.ZodObject<{
1122
+ orderId: z.ZodString;
1123
+ userId: z.ZodString;
1124
+ shortRefId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1125
+ brandProfileId: z.ZodString;
1126
+ partnerMerchantId: z.ZodString;
1127
+ menuId: z.ZodString;
1128
+ fulfilmentMode: z.ZodString;
1129
+ featureMode: z.ZodString;
1130
+ featureModeIdentifier: z.ZodString;
1131
+ orderType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1132
+ peopleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1133
+ customerRemark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1134
+ tableInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1135
+ tableNo: z.ZodString;
1136
+ sessionId: z.ZodString;
1137
+ area: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ area?: string | null | undefined;
1140
+ tableNo: string;
1141
+ sessionId: string;
1142
+ }, {
1143
+ area?: string | null | undefined;
1144
+ tableNo: string;
1145
+ sessionId: string;
1146
+ }>>>;
1147
+ items: z.ZodArray<z.ZodObject<{
1148
+ itemId: z.ZodString;
1149
+ itemName: z.ZodString;
1150
+ price: z.ZodObject<{
1151
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1152
+ cent: z.ZodString;
1153
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1154
+ currencyCode: z.ZodString;
1155
+ }, "strip", z.ZodTypeAny, {
1156
+ amount?: string | null | undefined;
1157
+ currency?: string | null | undefined;
1158
+ cent: string;
1159
+ currencyCode: string;
1160
+ }, {
1161
+ amount?: string | null | undefined;
1162
+ currency?: string | null | undefined;
1163
+ cent: string;
1164
+ currencyCode: string;
1165
+ }>;
1166
+ promotionPrice: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1167
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1168
+ cent: z.ZodString;
1169
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1170
+ currencyCode: z.ZodString;
1171
+ }, "strip", z.ZodTypeAny, {
1172
+ amount?: string | null | undefined;
1173
+ currency?: string | null | undefined;
1174
+ cent: string;
1175
+ currencyCode: string;
1176
+ }, {
1177
+ amount?: string | null | undefined;
1178
+ currency?: string | null | undefined;
1179
+ cent: string;
1180
+ currencyCode: string;
1181
+ }>>>;
1182
+ quantity: z.ZodNumber;
1183
+ additionalRemarks: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1184
+ itemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1185
+ itemPackingFee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1186
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1187
+ cent: z.ZodString;
1188
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1189
+ currencyCode: z.ZodString;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ amount?: string | null | undefined;
1192
+ currency?: string | null | undefined;
1193
+ cent: string;
1194
+ currencyCode: string;
1195
+ }, {
1196
+ amount?: string | null | undefined;
1197
+ currency?: string | null | undefined;
1198
+ cent: string;
1199
+ currencyCode: string;
1200
+ }>>>;
1201
+ modifierItemsTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1202
+ itemDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1203
+ modifierGroups: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1204
+ modifierGroupId: z.ZodString;
1205
+ modifierGroupName: z.ZodString;
1206
+ modifierItems: z.ZodArray<z.ZodObject<{
1207
+ modifierItemId: z.ZodString;
1208
+ modifierItemName: z.ZodString;
1209
+ quantity: z.ZodNumber;
1210
+ price: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1211
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1212
+ cent: z.ZodString;
1213
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1214
+ currencyCode: z.ZodString;
1215
+ }, "strip", z.ZodTypeAny, {
1216
+ amount?: string | null | undefined;
1217
+ currency?: string | null | undefined;
1218
+ cent: string;
1219
+ currencyCode: string;
1220
+ }, {
1221
+ amount?: string | null | undefined;
1222
+ currency?: string | null | undefined;
1223
+ cent: string;
1224
+ currencyCode: string;
1225
+ }>>>;
1226
+ modifierItemTaxRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ price?: {
1229
+ amount?: string | null | undefined;
1230
+ currency?: string | null | undefined;
1231
+ cent: string;
1232
+ currencyCode: string;
1233
+ } | null | undefined;
1234
+ modifierItemTaxRate?: string | null | undefined;
1235
+ quantity: number;
1236
+ modifierItemId: string;
1237
+ modifierItemName: string;
1238
+ }, {
1239
+ price?: {
1240
+ amount?: string | null | undefined;
1241
+ currency?: string | null | undefined;
1242
+ cent: string;
1243
+ currencyCode: string;
1244
+ } | null | undefined;
1245
+ modifierItemTaxRate?: string | null | undefined;
1246
+ quantity: number;
1247
+ modifierItemId: string;
1248
+ modifierItemName: string;
1249
+ }>, "many">;
1250
+ }, "strip", z.ZodTypeAny, {
1251
+ modifierGroupId: string;
1252
+ modifierGroupName: string;
1253
+ modifierItems: {
1254
+ price?: {
1255
+ amount?: string | null | undefined;
1256
+ currency?: string | null | undefined;
1257
+ cent: string;
1258
+ currencyCode: string;
1259
+ } | null | undefined;
1260
+ modifierItemTaxRate?: string | null | undefined;
1261
+ quantity: number;
1262
+ modifierItemId: string;
1263
+ modifierItemName: string;
1264
+ }[];
1265
+ }, {
1266
+ modifierGroupId: string;
1267
+ modifierGroupName: string;
1268
+ modifierItems: {
1269
+ price?: {
1270
+ amount?: string | null | undefined;
1271
+ currency?: string | null | undefined;
1272
+ cent: string;
1273
+ currencyCode: string;
1274
+ } | null | undefined;
1275
+ modifierItemTaxRate?: string | null | undefined;
1276
+ quantity: number;
1277
+ modifierItemId: string;
1278
+ modifierItemName: string;
1279
+ }[];
1280
+ }>, "many">>>;
1281
+ remindInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1282
+ reminderCode: z.ZodArray<z.ZodString, "many">;
1283
+ stockNum: z.ZodString;
1284
+ remindMessage: z.ZodString;
1285
+ }, "strip", z.ZodTypeAny, {
1286
+ reminderCode: string[];
1287
+ stockNum: string;
1288
+ remindMessage: string;
1289
+ }, {
1290
+ reminderCode: string[];
1291
+ stockNum: string;
1292
+ remindMessage: string;
1293
+ }>>>;
1294
+ }, "strip", z.ZodTypeAny, {
1295
+ modifierGroups?: {
1296
+ modifierGroupId: string;
1297
+ modifierGroupName: string;
1298
+ modifierItems: {
1299
+ price?: {
1300
+ amount?: string | null | undefined;
1301
+ currency?: string | null | undefined;
1302
+ cent: string;
1303
+ currencyCode: string;
1304
+ } | null | undefined;
1305
+ modifierItemTaxRate?: string | null | undefined;
1306
+ quantity: number;
1307
+ modifierItemId: string;
1308
+ modifierItemName: string;
1309
+ }[];
1310
+ }[] | null | undefined;
1311
+ promotionPrice?: {
1312
+ amount?: string | null | undefined;
1313
+ currency?: string | null | undefined;
1314
+ cent: string;
1315
+ currencyCode: string;
1316
+ } | null | undefined;
1317
+ additionalRemarks?: string | null | undefined;
1318
+ itemTaxRate?: string | null | undefined;
1319
+ itemPackingFee?: {
1320
+ amount?: string | null | undefined;
1321
+ currency?: string | null | undefined;
1322
+ cent: string;
1323
+ currencyCode: string;
1324
+ } | null | undefined;
1325
+ modifierItemsTaxRate?: string | null | undefined;
1326
+ itemDescription?: string | null | undefined;
1327
+ remindInfo?: {
1328
+ reminderCode: string[];
1329
+ stockNum: string;
1330
+ remindMessage: string;
1331
+ } | null | undefined;
1332
+ quantity: number;
1333
+ price: {
1334
+ amount?: string | null | undefined;
1335
+ currency?: string | null | undefined;
1336
+ cent: string;
1337
+ currencyCode: string;
1338
+ };
1339
+ itemId: string;
1340
+ itemName: string;
1341
+ }, {
1342
+ modifierGroups?: {
1343
+ modifierGroupId: string;
1344
+ modifierGroupName: string;
1345
+ modifierItems: {
1346
+ price?: {
1347
+ amount?: string | null | undefined;
1348
+ currency?: string | null | undefined;
1349
+ cent: string;
1350
+ currencyCode: string;
1351
+ } | null | undefined;
1352
+ modifierItemTaxRate?: string | null | undefined;
1353
+ quantity: number;
1354
+ modifierItemId: string;
1355
+ modifierItemName: string;
1356
+ }[];
1357
+ }[] | null | undefined;
1358
+ promotionPrice?: {
1359
+ amount?: string | null | undefined;
1360
+ currency?: string | null | undefined;
1361
+ cent: string;
1362
+ currencyCode: string;
1363
+ } | null | undefined;
1364
+ additionalRemarks?: string | null | undefined;
1365
+ itemTaxRate?: string | null | undefined;
1366
+ itemPackingFee?: {
1367
+ amount?: string | null | undefined;
1368
+ currency?: string | null | undefined;
1369
+ cent: string;
1370
+ currencyCode: string;
1371
+ } | null | undefined;
1372
+ modifierItemsTaxRate?: string | null | undefined;
1373
+ itemDescription?: string | null | undefined;
1374
+ remindInfo?: {
1375
+ reminderCode: string[];
1376
+ stockNum: string;
1377
+ remindMessage: string;
1378
+ } | null | undefined;
1379
+ quantity: number;
1380
+ price: {
1381
+ amount?: string | null | undefined;
1382
+ currency?: string | null | undefined;
1383
+ cent: string;
1384
+ currencyCode: string;
1385
+ };
1386
+ itemId: string;
1387
+ itemName: string;
1388
+ }>, "many">;
1389
+ paymentDetail: z.ZodObject<{
1390
+ paymentType: z.ZodString;
1391
+ isPaid: z.ZodBoolean;
1392
+ paymentMethod: z.ZodString;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ paymentMethod: string;
1395
+ paymentType: string;
1396
+ isPaid: boolean;
1397
+ }, {
1398
+ paymentMethod: string;
1399
+ paymentType: string;
1400
+ isPaid: boolean;
1401
+ }>;
1402
+ feeDetails: z.ZodArray<z.ZodObject<{
1403
+ feeType: z.ZodString;
1404
+ feeRate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1405
+ includeTax: z.ZodBoolean;
1406
+ taxInfo: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1407
+ taxRate: z.ZodString;
1408
+ additionalSymbol: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1409
+ taxAmount: z.ZodObject<{
1410
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1411
+ cent: z.ZodString;
1412
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1413
+ currencyCode: z.ZodString;
1414
+ }, "strip", z.ZodTypeAny, {
1415
+ amount?: string | null | undefined;
1416
+ currency?: string | null | undefined;
1417
+ cent: string;
1418
+ currencyCode: string;
1419
+ }, {
1420
+ amount?: string | null | undefined;
1421
+ currency?: string | null | undefined;
1422
+ cent: string;
1423
+ currencyCode: string;
1424
+ }>;
1425
+ }, "strip", z.ZodTypeAny, {
1426
+ additionalSymbol?: string | null | undefined;
1427
+ taxAmount: {
1428
+ amount?: string | null | undefined;
1429
+ currency?: string | null | undefined;
1430
+ cent: string;
1431
+ currencyCode: string;
1432
+ };
1433
+ taxRate: string;
1434
+ }, {
1435
+ additionalSymbol?: string | null | undefined;
1436
+ taxAmount: {
1437
+ amount?: string | null | undefined;
1438
+ currency?: string | null | undefined;
1439
+ cent: string;
1440
+ currencyCode: string;
1441
+ };
1442
+ taxRate: string;
1443
+ }>>>;
1444
+ feeAmount: z.ZodObject<{
1445
+ amount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1446
+ cent: z.ZodString;
1447
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1448
+ currencyCode: z.ZodString;
1449
+ }, "strip", z.ZodTypeAny, {
1450
+ amount?: string | null | undefined;
1451
+ currency?: string | null | undefined;
1452
+ cent: string;
1453
+ currencyCode: string;
1454
+ }, {
1455
+ amount?: string | null | undefined;
1456
+ currency?: string | null | undefined;
1457
+ cent: string;
1458
+ currencyCode: string;
1459
+ }>;
1460
+ additionalSymbol: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ feeRate?: string | null | undefined;
1463
+ additionalSymbol?: string | null | undefined;
1464
+ taxInfo?: {
1465
+ additionalSymbol?: string | null | undefined;
1466
+ taxAmount: {
1467
+ amount?: string | null | undefined;
1468
+ currency?: string | null | undefined;
1469
+ cent: string;
1470
+ currencyCode: string;
1471
+ };
1472
+ taxRate: string;
1473
+ } | null | undefined;
1474
+ feeType: string;
1475
+ includeTax: boolean;
1476
+ feeAmount: {
1477
+ amount?: string | null | undefined;
1478
+ currency?: string | null | undefined;
1479
+ cent: string;
1480
+ currencyCode: string;
1481
+ };
1482
+ }, {
1483
+ feeRate?: string | null | undefined;
1484
+ additionalSymbol?: string | null | undefined;
1485
+ taxInfo?: {
1486
+ additionalSymbol?: string | null | undefined;
1487
+ taxAmount: {
1488
+ amount?: string | null | undefined;
1489
+ currency?: string | null | undefined;
1490
+ cent: string;
1491
+ currencyCode: string;
1492
+ };
1493
+ taxRate: string;
1494
+ } | null | undefined;
1495
+ feeType: string;
1496
+ includeTax: boolean;
1497
+ feeAmount: {
1498
+ amount?: string | null | undefined;
1499
+ currency?: string | null | undefined;
1500
+ cent: string;
1501
+ currencyCode: string;
1502
+ };
1503
+ }>, "many">;
1504
+ orderTime: z.ZodString;
1505
+ remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ remark?: string | null | undefined;
1508
+ orderType?: string | null | undefined;
1509
+ shortRefId?: string | null | undefined;
1510
+ peopleCount?: number | null | undefined;
1511
+ customerRemark?: string | null | undefined;
1512
+ tableInfo?: {
1513
+ area?: string | null | undefined;
1514
+ tableNo: string;
1515
+ sessionId: string;
1516
+ } | null | undefined;
1517
+ orderId: string;
1518
+ userId: string;
1519
+ items: {
1520
+ modifierGroups?: {
1521
+ modifierGroupId: string;
1522
+ modifierGroupName: string;
1523
+ modifierItems: {
1524
+ price?: {
1525
+ amount?: string | null | undefined;
1526
+ currency?: string | null | undefined;
1527
+ cent: string;
1528
+ currencyCode: string;
1529
+ } | null | undefined;
1530
+ modifierItemTaxRate?: string | null | undefined;
1531
+ quantity: number;
1532
+ modifierItemId: string;
1533
+ modifierItemName: string;
1534
+ }[];
1535
+ }[] | null | undefined;
1536
+ promotionPrice?: {
1537
+ amount?: string | null | undefined;
1538
+ currency?: string | null | undefined;
1539
+ cent: string;
1540
+ currencyCode: string;
1541
+ } | null | undefined;
1542
+ additionalRemarks?: string | null | undefined;
1543
+ itemTaxRate?: string | null | undefined;
1544
+ itemPackingFee?: {
1545
+ amount?: string | null | undefined;
1546
+ currency?: string | null | undefined;
1547
+ cent: string;
1548
+ currencyCode: string;
1549
+ } | null | undefined;
1550
+ modifierItemsTaxRate?: string | null | undefined;
1551
+ itemDescription?: string | null | undefined;
1552
+ remindInfo?: {
1553
+ reminderCode: string[];
1554
+ stockNum: string;
1555
+ remindMessage: string;
1556
+ } | null | undefined;
1557
+ quantity: number;
1558
+ price: {
1559
+ amount?: string | null | undefined;
1560
+ currency?: string | null | undefined;
1561
+ cent: string;
1562
+ currencyCode: string;
1563
+ };
1564
+ itemId: string;
1565
+ itemName: string;
1566
+ }[];
1567
+ orderTime: string;
1568
+ brandProfileId: string;
1569
+ partnerMerchantId: string;
1570
+ menuId: string;
1571
+ fulfilmentMode: string;
1572
+ featureMode: string;
1573
+ featureModeIdentifier: string;
1574
+ paymentDetail: {
1575
+ paymentMethod: string;
1576
+ paymentType: string;
1577
+ isPaid: boolean;
1578
+ };
1579
+ feeDetails: {
1580
+ feeRate?: string | null | undefined;
1581
+ additionalSymbol?: string | null | undefined;
1582
+ taxInfo?: {
1583
+ additionalSymbol?: string | null | undefined;
1584
+ taxAmount: {
1585
+ amount?: string | null | undefined;
1586
+ currency?: string | null | undefined;
1587
+ cent: string;
1588
+ currencyCode: string;
1589
+ };
1590
+ taxRate: string;
1591
+ } | null | undefined;
1592
+ feeType: string;
1593
+ includeTax: boolean;
1594
+ feeAmount: {
1595
+ amount?: string | null | undefined;
1596
+ currency?: string | null | undefined;
1597
+ cent: string;
1598
+ currencyCode: string;
1599
+ };
1600
+ }[];
1601
+ }, {
1602
+ remark?: string | null | undefined;
1603
+ orderType?: string | null | undefined;
1604
+ shortRefId?: string | null | undefined;
1605
+ peopleCount?: number | null | undefined;
1606
+ customerRemark?: string | null | undefined;
1607
+ tableInfo?: {
1608
+ area?: string | null | undefined;
1609
+ tableNo: string;
1610
+ sessionId: string;
1611
+ } | null | undefined;
1612
+ orderId: string;
1613
+ userId: string;
1614
+ items: {
1615
+ modifierGroups?: {
1616
+ modifierGroupId: string;
1617
+ modifierGroupName: string;
1618
+ modifierItems: {
1619
+ price?: {
1620
+ amount?: string | null | undefined;
1621
+ currency?: string | null | undefined;
1622
+ cent: string;
1623
+ currencyCode: string;
1624
+ } | null | undefined;
1625
+ modifierItemTaxRate?: string | null | undefined;
1626
+ quantity: number;
1627
+ modifierItemId: string;
1628
+ modifierItemName: string;
1629
+ }[];
1630
+ }[] | null | undefined;
1631
+ promotionPrice?: {
1632
+ amount?: string | null | undefined;
1633
+ currency?: string | null | undefined;
1634
+ cent: string;
1635
+ currencyCode: string;
1636
+ } | null | undefined;
1637
+ additionalRemarks?: string | null | undefined;
1638
+ itemTaxRate?: string | null | undefined;
1639
+ itemPackingFee?: {
1640
+ amount?: string | null | undefined;
1641
+ currency?: string | null | undefined;
1642
+ cent: string;
1643
+ currencyCode: string;
1644
+ } | null | undefined;
1645
+ modifierItemsTaxRate?: string | null | undefined;
1646
+ itemDescription?: string | null | undefined;
1647
+ remindInfo?: {
1648
+ reminderCode: string[];
1649
+ stockNum: string;
1650
+ remindMessage: string;
1651
+ } | null | undefined;
1652
+ quantity: number;
1653
+ price: {
1654
+ amount?: string | null | undefined;
1655
+ currency?: string | null | undefined;
1656
+ cent: string;
1657
+ currencyCode: string;
1658
+ };
1659
+ itemId: string;
1660
+ itemName: string;
1661
+ }[];
1662
+ orderTime: string;
1663
+ brandProfileId: string;
1664
+ partnerMerchantId: string;
1665
+ menuId: string;
1666
+ fulfilmentMode: string;
1667
+ featureMode: string;
1668
+ featureModeIdentifier: string;
1669
+ paymentDetail: {
1670
+ paymentMethod: string;
1671
+ paymentType: string;
1672
+ isPaid: boolean;
1673
+ };
1674
+ feeDetails: {
1675
+ feeRate?: string | null | undefined;
1676
+ additionalSymbol?: string | null | undefined;
1677
+ taxInfo?: {
1678
+ additionalSymbol?: string | null | undefined;
1679
+ taxAmount: {
1680
+ amount?: string | null | undefined;
1681
+ currency?: string | null | undefined;
1682
+ cent: string;
1683
+ currencyCode: string;
1684
+ };
1685
+ taxRate: string;
1686
+ } | null | undefined;
1687
+ feeType: string;
1688
+ includeTax: boolean;
1689
+ feeAmount: {
1690
+ amount?: string | null | undefined;
1691
+ currency?: string | null | undefined;
1692
+ cent: string;
1693
+ currencyCode: string;
1694
+ };
1695
+ }[];
1696
+ }>;
1697
+ billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1698
+ }, "strip", z.ZodTypeAny, {
1699
+ billId?: string | null | undefined;
1700
+ _id: string;
1701
+ orderStatus: {
1702
+ message: string;
1703
+ status: "pending" | "accepted" | "rejected";
1704
+ };
1705
+ raw: {
1706
+ remark?: string | null | undefined;
1707
+ orderType?: string | null | undefined;
1708
+ shortRefId?: string | null | undefined;
1709
+ peopleCount?: number | null | undefined;
1710
+ customerRemark?: string | null | undefined;
1711
+ tableInfo?: {
1712
+ area?: string | null | undefined;
1713
+ tableNo: string;
1714
+ sessionId: string;
1715
+ } | null | undefined;
1716
+ orderId: string;
1717
+ userId: string;
1718
+ items: {
1719
+ modifierGroups?: {
1720
+ modifierGroupId: string;
1721
+ modifierGroupName: string;
1722
+ modifierItems: {
1723
+ price?: {
1724
+ amount?: string | null | undefined;
1725
+ currency?: string | null | undefined;
1726
+ cent: string;
1727
+ currencyCode: string;
1728
+ } | null | undefined;
1729
+ modifierItemTaxRate?: string | null | undefined;
1730
+ quantity: number;
1731
+ modifierItemId: string;
1732
+ modifierItemName: string;
1733
+ }[];
1734
+ }[] | null | undefined;
1735
+ promotionPrice?: {
1736
+ amount?: string | null | undefined;
1737
+ currency?: string | null | undefined;
1738
+ cent: string;
1739
+ currencyCode: string;
1740
+ } | null | undefined;
1741
+ additionalRemarks?: string | null | undefined;
1742
+ itemTaxRate?: string | null | undefined;
1743
+ itemPackingFee?: {
1744
+ amount?: string | null | undefined;
1745
+ currency?: string | null | undefined;
1746
+ cent: string;
1747
+ currencyCode: string;
1748
+ } | null | undefined;
1749
+ modifierItemsTaxRate?: string | null | undefined;
1750
+ itemDescription?: string | null | undefined;
1751
+ remindInfo?: {
1752
+ reminderCode: string[];
1753
+ stockNum: string;
1754
+ remindMessage: string;
1755
+ } | null | undefined;
1756
+ quantity: number;
1757
+ price: {
1758
+ amount?: string | null | undefined;
1759
+ currency?: string | null | undefined;
1760
+ cent: string;
1761
+ currencyCode: string;
1762
+ };
1763
+ itemId: string;
1764
+ itemName: string;
1765
+ }[];
1766
+ orderTime: string;
1767
+ brandProfileId: string;
1768
+ partnerMerchantId: string;
1769
+ menuId: string;
1770
+ fulfilmentMode: string;
1771
+ featureMode: string;
1772
+ featureModeIdentifier: string;
1773
+ paymentDetail: {
1774
+ paymentMethod: string;
1775
+ paymentType: string;
1776
+ isPaid: boolean;
1777
+ };
1778
+ feeDetails: {
1779
+ feeRate?: string | null | undefined;
1780
+ additionalSymbol?: string | null | undefined;
1781
+ taxInfo?: {
1782
+ additionalSymbol?: string | null | undefined;
1783
+ taxAmount: {
1784
+ amount?: string | null | undefined;
1785
+ currency?: string | null | undefined;
1786
+ cent: string;
1787
+ currencyCode: string;
1788
+ };
1789
+ taxRate: string;
1790
+ } | null | undefined;
1791
+ feeType: string;
1792
+ includeTax: boolean;
1793
+ feeAmount: {
1794
+ amount?: string | null | undefined;
1795
+ currency?: string | null | undefined;
1796
+ cent: string;
1797
+ currencyCode: string;
1798
+ };
1799
+ }[];
1800
+ };
1801
+ }, {
1802
+ billId?: string | null | undefined;
1803
+ _id: string;
1804
+ orderStatus: {
1805
+ message: string;
1806
+ status: "pending" | "accepted" | "rejected";
1807
+ };
1808
+ raw: {
1809
+ remark?: string | null | undefined;
1810
+ orderType?: string | null | undefined;
1811
+ shortRefId?: string | null | undefined;
1812
+ peopleCount?: number | null | undefined;
1813
+ customerRemark?: string | null | undefined;
1814
+ tableInfo?: {
1815
+ area?: string | null | undefined;
1816
+ tableNo: string;
1817
+ sessionId: string;
1818
+ } | null | undefined;
1819
+ orderId: string;
1820
+ userId: string;
1821
+ items: {
1822
+ modifierGroups?: {
1823
+ modifierGroupId: string;
1824
+ modifierGroupName: string;
1825
+ modifierItems: {
1826
+ price?: {
1827
+ amount?: string | null | undefined;
1828
+ currency?: string | null | undefined;
1829
+ cent: string;
1830
+ currencyCode: string;
1831
+ } | null | undefined;
1832
+ modifierItemTaxRate?: string | null | undefined;
1833
+ quantity: number;
1834
+ modifierItemId: string;
1835
+ modifierItemName: string;
1836
+ }[];
1837
+ }[] | null | undefined;
1838
+ promotionPrice?: {
1839
+ amount?: string | null | undefined;
1840
+ currency?: string | null | undefined;
1841
+ cent: string;
1842
+ currencyCode: string;
1843
+ } | null | undefined;
1844
+ additionalRemarks?: string | null | undefined;
1845
+ itemTaxRate?: string | null | undefined;
1846
+ itemPackingFee?: {
1847
+ amount?: string | null | undefined;
1848
+ currency?: string | null | undefined;
1849
+ cent: string;
1850
+ currencyCode: string;
1851
+ } | null | undefined;
1852
+ modifierItemsTaxRate?: string | null | undefined;
1853
+ itemDescription?: string | null | undefined;
1854
+ remindInfo?: {
1855
+ reminderCode: string[];
1856
+ stockNum: string;
1857
+ remindMessage: string;
1858
+ } | null | undefined;
1859
+ quantity: number;
1860
+ price: {
1861
+ amount?: string | null | undefined;
1862
+ currency?: string | null | undefined;
1863
+ cent: string;
1864
+ currencyCode: string;
1865
+ };
1866
+ itemId: string;
1867
+ itemName: string;
1868
+ }[];
1869
+ orderTime: string;
1870
+ brandProfileId: string;
1871
+ partnerMerchantId: string;
1872
+ menuId: string;
1873
+ fulfilmentMode: string;
1874
+ featureMode: string;
1875
+ featureModeIdentifier: string;
1876
+ paymentDetail: {
1877
+ paymentMethod: string;
1878
+ paymentType: string;
1879
+ isPaid: boolean;
1880
+ };
1881
+ feeDetails: {
1882
+ feeRate?: string | null | undefined;
1883
+ additionalSymbol?: string | null | undefined;
1884
+ taxInfo?: {
1885
+ additionalSymbol?: string | null | undefined;
1886
+ taxAmount: {
1887
+ amount?: string | null | undefined;
1888
+ currency?: string | null | undefined;
1889
+ cent: string;
1890
+ currencyCode: string;
1891
+ };
1892
+ taxRate: string;
1893
+ } | null | undefined;
1894
+ feeType: string;
1895
+ includeTax: boolean;
1896
+ feeAmount: {
1897
+ amount?: string | null | undefined;
1898
+ currency?: string | null | undefined;
1899
+ cent: string;
1900
+ currencyCode: string;
1901
+ };
1902
+ }[];
1903
+ };
1904
+ }>;
1905
+ export type TngAmount = z.infer<typeof TngAmount>;
1906
+ export type TngRemindInfo = z.infer<typeof TngRemindInfo>;
1907
+ export type TngModifierItem = z.infer<typeof TngModifierItem>;
1908
+ export type TngModifierGroup = z.infer<typeof TngModifierGroup>;
1909
+ export type TngOrderItem = z.infer<typeof TngOrderItem>;
1910
+ export type TngFee = z.infer<typeof TngFee>;
1911
+ export type TngTableInfo = z.infer<typeof TngTableInfo>;
1912
+ export type TngPaymentDetail = z.infer<typeof TngPaymentDetail>;
1913
+ export type TngOrder = z.infer<typeof TngOrder>;
1914
+ export type FdoTngOrderStatus = z.infer<typeof FdoTngOrderStatus>;
1915
+ export type FdoTngOrder = z.infer<typeof FdoTngOrder>;