@deliverart/sdk-js-order 2.10.8 → 2.11.0

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 (97) hide show
  1. package/dist/index.cjs +195 -102
  2. package/dist/index.d.cts +24983 -7234
  3. package/dist/index.d.ts +24983 -7234
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +179 -101
  6. package/dist/models.d.ts +5509 -0
  7. package/dist/models.d.ts.map +1 -0
  8. package/dist/models.js +573 -0
  9. package/dist/requests/bundles/CreateBundle.d.ts +1342 -0
  10. package/dist/requests/bundles/CreateBundle.d.ts.map +1 -0
  11. package/dist/requests/bundles/CreateBundle.js +19 -0
  12. package/dist/requests/bundles/DeleteBundle.d.ts +17 -0
  13. package/dist/requests/bundles/DeleteBundle.d.ts.map +1 -0
  14. package/dist/requests/bundles/DeleteBundle.js +21 -0
  15. package/dist/requests/bundles/GetBundleDetails.d.ts +1336 -0
  16. package/dist/requests/bundles/GetBundleDetails.d.ts.map +1 -0
  17. package/dist/requests/bundles/GetBundleDetails.js +21 -0
  18. package/dist/requests/bundles/GetBundles.d.ts +2167 -0
  19. package/dist/requests/bundles/GetBundles.d.ts.map +1 -0
  20. package/dist/requests/bundles/GetBundles.js +24 -0
  21. package/dist/requests/bundles/GetBundlesFromPointOfSale.d.ts +2168 -0
  22. package/dist/requests/bundles/GetBundlesFromPointOfSale.d.ts.map +1 -0
  23. package/dist/requests/bundles/GetBundlesFromPointOfSale.js +25 -0
  24. package/dist/requests/bundles/UpdateBundle.d.ts +1342 -0
  25. package/dist/requests/bundles/UpdateBundle.d.ts.map +1 -0
  26. package/dist/requests/bundles/UpdateBundle.js +24 -0
  27. package/dist/requests/bundles/index.d.ts +7 -0
  28. package/dist/requests/bundles/index.d.ts.map +1 -0
  29. package/dist/requests/bundles/index.js +6 -0
  30. package/dist/requests/index.d.ts +5 -0
  31. package/dist/requests/index.d.ts.map +1 -0
  32. package/dist/requests/index.js +4 -0
  33. package/dist/requests/order-menu-item-modifiers/GetOrderMenuItemModifierDetails.d.ts +57 -0
  34. package/dist/requests/order-menu-item-modifiers/GetOrderMenuItemModifierDetails.d.ts.map +1 -0
  35. package/dist/requests/order-menu-item-modifiers/GetOrderMenuItemModifierDetails.js +22 -0
  36. package/dist/requests/order-menu-item-modifiers/GetOrderMenuItemModifiers.d.ts +159 -0
  37. package/dist/requests/order-menu-item-modifiers/GetOrderMenuItemModifiers.d.ts.map +1 -0
  38. package/dist/requests/order-menu-item-modifiers/GetOrderMenuItemModifiers.js +24 -0
  39. package/dist/requests/order-menu-item-modifiers/index.d.ts +3 -0
  40. package/dist/requests/order-menu-item-modifiers/index.d.ts.map +1 -0
  41. package/dist/requests/order-menu-item-modifiers/index.js +2 -0
  42. package/dist/requests/order-menu-items/GetOrderMenuItemDetails.d.ts +124 -0
  43. package/dist/requests/order-menu-items/GetOrderMenuItemDetails.d.ts.map +1 -0
  44. package/dist/requests/order-menu-items/GetOrderMenuItemDetails.js +21 -0
  45. package/dist/requests/order-menu-items/GetOrderMenuItems.d.ts +331 -0
  46. package/dist/requests/order-menu-items/GetOrderMenuItems.d.ts.map +1 -0
  47. package/dist/requests/order-menu-items/GetOrderMenuItems.js +24 -0
  48. package/dist/requests/order-menu-items/index.d.ts +3 -0
  49. package/dist/requests/order-menu-items/index.d.ts.map +1 -0
  50. package/dist/requests/order-menu-items/index.js +2 -0
  51. package/dist/requests/orders/AdvanceOrderPreparationStatus.d.ts +1083 -0
  52. package/dist/requests/orders/AdvanceOrderPreparationStatus.d.ts.map +1 -0
  53. package/dist/requests/orders/AdvanceOrderPreparationStatus.js +21 -0
  54. package/dist/requests/orders/CalculateOrderFees.d.ts +432 -0
  55. package/dist/requests/orders/CalculateOrderFees.d.ts.map +1 -0
  56. package/dist/requests/orders/CalculateOrderFees.js +19 -0
  57. package/dist/requests/orders/ConfirmOrder.d.ts +1083 -0
  58. package/dist/requests/orders/ConfirmOrder.d.ts.map +1 -0
  59. package/dist/requests/orders/ConfirmOrder.js +21 -0
  60. package/dist/requests/orders/CreateOrder.d.ts +1474 -0
  61. package/dist/requests/orders/CreateOrder.d.ts.map +1 -0
  62. package/dist/requests/orders/CreateOrder.js +19 -0
  63. package/dist/requests/orders/DeleteOrder.d.ts +17 -0
  64. package/dist/requests/orders/DeleteOrder.d.ts.map +1 -0
  65. package/dist/requests/orders/DeleteOrder.js +21 -0
  66. package/dist/requests/orders/GetOrderDetails.d.ts +1083 -0
  67. package/dist/requests/orders/GetOrderDetails.d.ts.map +1 -0
  68. package/dist/requests/orders/GetOrderDetails.js +21 -0
  69. package/dist/requests/orders/GetOrders.d.ts +1408 -0
  70. package/dist/requests/orders/GetOrders.d.ts.map +1 -0
  71. package/dist/requests/orders/GetOrders.js +24 -0
  72. package/dist/requests/orders/GetPointOfSaleOrders.d.ts +1409 -0
  73. package/dist/requests/orders/GetPointOfSaleOrders.d.ts.map +1 -0
  74. package/dist/requests/orders/GetPointOfSaleOrders.js +25 -0
  75. package/dist/requests/orders/MarkOrderAsCollected.d.ts +1083 -0
  76. package/dist/requests/orders/MarkOrderAsCollected.d.ts.map +1 -0
  77. package/dist/requests/orders/MarkOrderAsCollected.js +21 -0
  78. package/dist/requests/orders/MarkOrderAsRead.d.ts +1083 -0
  79. package/dist/requests/orders/MarkOrderAsRead.d.ts.map +1 -0
  80. package/dist/requests/orders/MarkOrderAsRead.js +21 -0
  81. package/dist/requests/orders/PayOrder.d.ts +148 -0
  82. package/dist/requests/orders/PayOrder.d.ts.map +1 -0
  83. package/dist/requests/orders/PayOrder.js +23 -0
  84. package/dist/requests/orders/RejectOrder.d.ts +1083 -0
  85. package/dist/requests/orders/RejectOrder.d.ts.map +1 -0
  86. package/dist/requests/orders/RejectOrder.js +21 -0
  87. package/dist/requests/orders/UpdateOrder.d.ts +1351 -0
  88. package/dist/requests/orders/UpdateOrder.d.ts.map +1 -0
  89. package/dist/requests/orders/UpdateOrder.js +20 -0
  90. package/dist/requests/orders/index.d.ts +14 -0
  91. package/dist/requests/orders/index.d.ts.map +1 -0
  92. package/dist/requests/orders/index.js +13 -0
  93. package/dist/tsconfig.tsbuildinfo +1 -0
  94. package/dist/types.d.ts +19 -0
  95. package/dist/types.d.ts.map +1 -0
  96. package/dist/types.js +10 -0
  97. package/package.json +9 -9
@@ -0,0 +1,1342 @@
1
+ import { AbstractApiRequest } from '@deliverart/sdk-js-core';
2
+ import { z } from 'zod';
3
+ export declare const createBundleInputSchema: z.ZodObject<{
4
+ pointOfSale: z.ZodNonOptional<z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown>>>;
5
+ deliverable: z.ZodNonOptional<z.ZodBoolean>;
6
+ ready: z.ZodNonOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ export type CreateBundleInput = z.input<typeof createBundleInputSchema>;
9
+ export declare const createBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10
+ id: z.ZodString;
11
+ status: z.ZodEnum<{
12
+ pending: "pending";
13
+ busy: "busy";
14
+ broken: "broken";
15
+ released: "released";
16
+ }>;
17
+ brokenReason: z.ZodNullable<z.ZodEnum<{
18
+ delivery_removed: "delivery_removed";
19
+ }>>;
20
+ deliverable: z.ZodBoolean;
21
+ ready: z.ZodBoolean;
22
+ preparationTime: z.ZodNullable<z.ZodString>;
23
+ startTime: z.ZodNullable<z.ZodString>;
24
+ endTime: z.ZodNullable<z.ZodString>;
25
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
26
+ orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
27
+ id: z.ZodString;
28
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
29
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
30
+ stripe: "stripe";
31
+ bank_transfer: "bank_transfer";
32
+ cash: "cash";
33
+ credit_card: "credit_card";
34
+ }>>;
35
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
36
+ pending: "pending";
37
+ pending_verification: "pending_verification";
38
+ paid: "paid";
39
+ canceled: "canceled";
40
+ refunded: "refunded";
41
+ failed: "failed";
42
+ }>>;
43
+ source: z.ZodEnum<{
44
+ application: "application";
45
+ ecommerce: "ecommerce";
46
+ partner: "partner";
47
+ }>;
48
+ partner: z.ZodNullable<z.ZodEnum<{
49
+ deliveroo: "deliveroo";
50
+ justeat: "justeat";
51
+ glovo: "glovo";
52
+ cassa_in_cloud: "cassa_in_cloud";
53
+ }>>;
54
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
55
+ sequenceId: z.ZodNullable<z.ZodString>;
56
+ displayId: z.ZodNullable<z.ZodString>;
57
+ customerInfo: z.ZodObject<{
58
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ email: z.ZodNullable<z.ZodEmail>;
61
+ phoneNumber: z.ZodNullable<z.ZodString>;
62
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ }, z.core.$strict>;
65
+ billingInfo: z.ZodNullable<z.ZodObject<{
66
+ businessName: z.ZodString;
67
+ vat: z.ZodString;
68
+ taxCode: z.ZodString;
69
+ billingAddress: z.ZodObject<{
70
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ }, z.core.$strip>;
77
+ billingData: z.ZodObject<{
78
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
79
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
80
+ }, z.core.$strip>;
81
+ }, z.core.$strip>>;
82
+ status: z.ZodEnum<{
83
+ pending: "pending";
84
+ confirmed: "confirmed";
85
+ rejected: "rejected";
86
+ }>;
87
+ preparationStatus: z.ZodEnum<{
88
+ to_prepare: "to_prepare";
89
+ in_preparation: "in_preparation";
90
+ done: "done";
91
+ }>;
92
+ preparationTime: z.ZodNullable<z.ZodString>;
93
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
94
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
95
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
96
+ amount: z.ZodString;
97
+ netAmount: z.ZodString;
98
+ taxAmount: z.ZodString;
99
+ discount: z.ZodString;
100
+ feeAmount: z.ZodString;
101
+ feeNetAmount: z.ZodString;
102
+ feeTaxAmount: z.ZodString;
103
+ totalAmount: z.ZodString;
104
+ totalNetAmount: z.ZodString;
105
+ totalTaxAmount: z.ZodString;
106
+ notes: z.ZodNullable<z.ZodString>;
107
+ deliveryNotes: z.ZodNullable<z.ZodString>;
108
+ kitchenNotes: z.ZodNullable<z.ZodString>;
109
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
110
+ acceptedAt: z.ZodNullable<z.ZodString>;
111
+ isRead: z.ZodBoolean;
112
+ firstReadAt: z.ZodNullable<z.ZodString>;
113
+ createdAt: z.ZodString;
114
+ updatedAt: z.ZodString;
115
+ type: z.ZodLiteral<"delivery">;
116
+ address: z.ZodNullable<z.ZodObject<{
117
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
118
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
+ line1: z.ZodString;
121
+ city: z.ZodString;
122
+ postalCode: z.ZodString;
123
+ }, z.core.$strip>>;
124
+ location: z.ZodNullable<z.ZodObject<{
125
+ latitude: z.ZodNumber;
126
+ longitude: z.ZodNumber;
127
+ }, z.core.$strip>>;
128
+ requestedDeliveryTime: z.ZodNullable<z.ZodString>;
129
+ finalDeliveryTime: z.ZodNullable<z.ZodString>;
130
+ deliveryStartedAt: z.ZodNullable<z.ZodString>;
131
+ deliveredAt: z.ZodNullable<z.ZodString>;
132
+ requestedCollectionTime: z.ZodNull;
133
+ finalCollectionTime: z.ZodNull;
134
+ collectedAt: z.ZodNull;
135
+ }, z.core.$strip>, z.ZodObject<{
136
+ id: z.ZodString;
137
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
138
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
139
+ stripe: "stripe";
140
+ bank_transfer: "bank_transfer";
141
+ cash: "cash";
142
+ credit_card: "credit_card";
143
+ }>>;
144
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
145
+ pending: "pending";
146
+ pending_verification: "pending_verification";
147
+ paid: "paid";
148
+ canceled: "canceled";
149
+ refunded: "refunded";
150
+ failed: "failed";
151
+ }>>;
152
+ source: z.ZodEnum<{
153
+ application: "application";
154
+ ecommerce: "ecommerce";
155
+ partner: "partner";
156
+ }>;
157
+ partner: z.ZodNullable<z.ZodEnum<{
158
+ deliveroo: "deliveroo";
159
+ justeat: "justeat";
160
+ glovo: "glovo";
161
+ cassa_in_cloud: "cassa_in_cloud";
162
+ }>>;
163
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
164
+ sequenceId: z.ZodNullable<z.ZodString>;
165
+ displayId: z.ZodNullable<z.ZodString>;
166
+ customerInfo: z.ZodObject<{
167
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
169
+ email: z.ZodNullable<z.ZodEmail>;
170
+ phoneNumber: z.ZodNullable<z.ZodString>;
171
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ }, z.core.$strict>;
174
+ billingInfo: z.ZodNullable<z.ZodObject<{
175
+ businessName: z.ZodString;
176
+ vat: z.ZodString;
177
+ taxCode: z.ZodString;
178
+ billingAddress: z.ZodObject<{
179
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
183
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
+ }, z.core.$strip>;
186
+ billingData: z.ZodObject<{
187
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
188
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
189
+ }, z.core.$strip>;
190
+ }, z.core.$strip>>;
191
+ status: z.ZodEnum<{
192
+ pending: "pending";
193
+ confirmed: "confirmed";
194
+ rejected: "rejected";
195
+ }>;
196
+ preparationStatus: z.ZodEnum<{
197
+ to_prepare: "to_prepare";
198
+ in_preparation: "in_preparation";
199
+ done: "done";
200
+ }>;
201
+ preparationTime: z.ZodNullable<z.ZodString>;
202
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
203
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
204
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
205
+ amount: z.ZodString;
206
+ netAmount: z.ZodString;
207
+ taxAmount: z.ZodString;
208
+ discount: z.ZodString;
209
+ feeAmount: z.ZodString;
210
+ feeNetAmount: z.ZodString;
211
+ feeTaxAmount: z.ZodString;
212
+ totalAmount: z.ZodString;
213
+ totalNetAmount: z.ZodString;
214
+ totalTaxAmount: z.ZodString;
215
+ notes: z.ZodNullable<z.ZodString>;
216
+ deliveryNotes: z.ZodNullable<z.ZodString>;
217
+ kitchenNotes: z.ZodNullable<z.ZodString>;
218
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
219
+ acceptedAt: z.ZodNullable<z.ZodString>;
220
+ isRead: z.ZodBoolean;
221
+ firstReadAt: z.ZodNullable<z.ZodString>;
222
+ createdAt: z.ZodString;
223
+ updatedAt: z.ZodString;
224
+ type: z.ZodLiteral<"take_away">;
225
+ address: z.ZodNull;
226
+ location: z.ZodNull;
227
+ requestedDeliveryTime: z.ZodNull;
228
+ finalDeliveryTime: z.ZodNull;
229
+ deliveryStartedAt: z.ZodNull;
230
+ deliveredAt: z.ZodNull;
231
+ requestedCollectionTime: z.ZodNullable<z.ZodString>;
232
+ finalCollectionTime: z.ZodNullable<z.ZodString>;
233
+ collectedAt: z.ZodNullable<z.ZodString>;
234
+ }, z.core.$strip>, z.ZodObject<{
235
+ id: z.ZodString;
236
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
237
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
238
+ stripe: "stripe";
239
+ bank_transfer: "bank_transfer";
240
+ cash: "cash";
241
+ credit_card: "credit_card";
242
+ }>>;
243
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
244
+ pending: "pending";
245
+ pending_verification: "pending_verification";
246
+ paid: "paid";
247
+ canceled: "canceled";
248
+ refunded: "refunded";
249
+ failed: "failed";
250
+ }>>;
251
+ source: z.ZodEnum<{
252
+ application: "application";
253
+ ecommerce: "ecommerce";
254
+ partner: "partner";
255
+ }>;
256
+ partner: z.ZodNullable<z.ZodEnum<{
257
+ deliveroo: "deliveroo";
258
+ justeat: "justeat";
259
+ glovo: "glovo";
260
+ cassa_in_cloud: "cassa_in_cloud";
261
+ }>>;
262
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
263
+ sequenceId: z.ZodNullable<z.ZodString>;
264
+ displayId: z.ZodNullable<z.ZodString>;
265
+ customerInfo: z.ZodObject<{
266
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
268
+ email: z.ZodNullable<z.ZodEmail>;
269
+ phoneNumber: z.ZodNullable<z.ZodString>;
270
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
271
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
+ }, z.core.$strict>;
273
+ billingInfo: z.ZodNullable<z.ZodObject<{
274
+ businessName: z.ZodString;
275
+ vat: z.ZodString;
276
+ taxCode: z.ZodString;
277
+ billingAddress: z.ZodObject<{
278
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
279
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
280
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
282
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
283
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
284
+ }, z.core.$strip>;
285
+ billingData: z.ZodObject<{
286
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
287
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
288
+ }, z.core.$strip>;
289
+ }, z.core.$strip>>;
290
+ status: z.ZodEnum<{
291
+ pending: "pending";
292
+ confirmed: "confirmed";
293
+ rejected: "rejected";
294
+ }>;
295
+ preparationStatus: z.ZodEnum<{
296
+ to_prepare: "to_prepare";
297
+ in_preparation: "in_preparation";
298
+ done: "done";
299
+ }>;
300
+ preparationTime: z.ZodNullable<z.ZodString>;
301
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
302
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
303
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
304
+ amount: z.ZodString;
305
+ netAmount: z.ZodString;
306
+ taxAmount: z.ZodString;
307
+ discount: z.ZodString;
308
+ feeAmount: z.ZodString;
309
+ feeNetAmount: z.ZodString;
310
+ feeTaxAmount: z.ZodString;
311
+ totalAmount: z.ZodString;
312
+ totalNetAmount: z.ZodString;
313
+ totalTaxAmount: z.ZodString;
314
+ notes: z.ZodNullable<z.ZodString>;
315
+ deliveryNotes: z.ZodNullable<z.ZodString>;
316
+ kitchenNotes: z.ZodNullable<z.ZodString>;
317
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
318
+ acceptedAt: z.ZodNullable<z.ZodString>;
319
+ isRead: z.ZodBoolean;
320
+ firstReadAt: z.ZodNullable<z.ZodString>;
321
+ createdAt: z.ZodString;
322
+ updatedAt: z.ZodString;
323
+ type: z.ZodLiteral<"kitchen">;
324
+ address: z.ZodNull;
325
+ location: z.ZodNull;
326
+ requestedDeliveryTime: z.ZodNull;
327
+ finalDeliveryTime: z.ZodNull;
328
+ deliveryStartedAt: z.ZodNull;
329
+ deliveredAt: z.ZodNull;
330
+ requestedCollectionTime: z.ZodNull;
331
+ finalCollectionTime: z.ZodNull;
332
+ collectedAt: z.ZodNull;
333
+ }, z.core.$strip>], "type">>;
334
+ createdAt: z.ZodString;
335
+ updatedAt: z.ZodString;
336
+ type: z.ZodLiteral<"REGULAR">;
337
+ pointOfSale: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown>>;
338
+ }, z.core.$strip>, z.ZodObject<{
339
+ id: z.ZodString;
340
+ status: z.ZodEnum<{
341
+ pending: "pending";
342
+ busy: "busy";
343
+ broken: "broken";
344
+ released: "released";
345
+ }>;
346
+ brokenReason: z.ZodNullable<z.ZodEnum<{
347
+ delivery_removed: "delivery_removed";
348
+ }>>;
349
+ deliverable: z.ZodBoolean;
350
+ ready: z.ZodBoolean;
351
+ preparationTime: z.ZodNullable<z.ZodString>;
352
+ startTime: z.ZodNullable<z.ZodString>;
353
+ endTime: z.ZodNullable<z.ZodString>;
354
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
355
+ orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
356
+ id: z.ZodString;
357
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
358
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
359
+ stripe: "stripe";
360
+ bank_transfer: "bank_transfer";
361
+ cash: "cash";
362
+ credit_card: "credit_card";
363
+ }>>;
364
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
365
+ pending: "pending";
366
+ pending_verification: "pending_verification";
367
+ paid: "paid";
368
+ canceled: "canceled";
369
+ refunded: "refunded";
370
+ failed: "failed";
371
+ }>>;
372
+ source: z.ZodEnum<{
373
+ application: "application";
374
+ ecommerce: "ecommerce";
375
+ partner: "partner";
376
+ }>;
377
+ partner: z.ZodNullable<z.ZodEnum<{
378
+ deliveroo: "deliveroo";
379
+ justeat: "justeat";
380
+ glovo: "glovo";
381
+ cassa_in_cloud: "cassa_in_cloud";
382
+ }>>;
383
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
384
+ sequenceId: z.ZodNullable<z.ZodString>;
385
+ displayId: z.ZodNullable<z.ZodString>;
386
+ customerInfo: z.ZodObject<{
387
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
388
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
389
+ email: z.ZodNullable<z.ZodEmail>;
390
+ phoneNumber: z.ZodNullable<z.ZodString>;
391
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
392
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
393
+ }, z.core.$strict>;
394
+ billingInfo: z.ZodNullable<z.ZodObject<{
395
+ businessName: z.ZodString;
396
+ vat: z.ZodString;
397
+ taxCode: z.ZodString;
398
+ billingAddress: z.ZodObject<{
399
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
402
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
403
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
405
+ }, z.core.$strip>;
406
+ billingData: z.ZodObject<{
407
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
408
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
409
+ }, z.core.$strip>;
410
+ }, z.core.$strip>>;
411
+ status: z.ZodEnum<{
412
+ pending: "pending";
413
+ confirmed: "confirmed";
414
+ rejected: "rejected";
415
+ }>;
416
+ preparationStatus: z.ZodEnum<{
417
+ to_prepare: "to_prepare";
418
+ in_preparation: "in_preparation";
419
+ done: "done";
420
+ }>;
421
+ preparationTime: z.ZodNullable<z.ZodString>;
422
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
423
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
424
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
425
+ amount: z.ZodString;
426
+ netAmount: z.ZodString;
427
+ taxAmount: z.ZodString;
428
+ discount: z.ZodString;
429
+ feeAmount: z.ZodString;
430
+ feeNetAmount: z.ZodString;
431
+ feeTaxAmount: z.ZodString;
432
+ totalAmount: z.ZodString;
433
+ totalNetAmount: z.ZodString;
434
+ totalTaxAmount: z.ZodString;
435
+ notes: z.ZodNullable<z.ZodString>;
436
+ deliveryNotes: z.ZodNullable<z.ZodString>;
437
+ kitchenNotes: z.ZodNullable<z.ZodString>;
438
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
439
+ acceptedAt: z.ZodNullable<z.ZodString>;
440
+ isRead: z.ZodBoolean;
441
+ firstReadAt: z.ZodNullable<z.ZodString>;
442
+ createdAt: z.ZodString;
443
+ updatedAt: z.ZodString;
444
+ type: z.ZodLiteral<"delivery">;
445
+ address: z.ZodNullable<z.ZodObject<{
446
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
447
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
448
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
449
+ line1: z.ZodString;
450
+ city: z.ZodString;
451
+ postalCode: z.ZodString;
452
+ }, z.core.$strip>>;
453
+ location: z.ZodNullable<z.ZodObject<{
454
+ latitude: z.ZodNumber;
455
+ longitude: z.ZodNumber;
456
+ }, z.core.$strip>>;
457
+ requestedDeliveryTime: z.ZodNullable<z.ZodString>;
458
+ finalDeliveryTime: z.ZodNullable<z.ZodString>;
459
+ deliveryStartedAt: z.ZodNullable<z.ZodString>;
460
+ deliveredAt: z.ZodNullable<z.ZodString>;
461
+ requestedCollectionTime: z.ZodNull;
462
+ finalCollectionTime: z.ZodNull;
463
+ collectedAt: z.ZodNull;
464
+ }, z.core.$strip>, z.ZodObject<{
465
+ id: z.ZodString;
466
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
467
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
468
+ stripe: "stripe";
469
+ bank_transfer: "bank_transfer";
470
+ cash: "cash";
471
+ credit_card: "credit_card";
472
+ }>>;
473
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
474
+ pending: "pending";
475
+ pending_verification: "pending_verification";
476
+ paid: "paid";
477
+ canceled: "canceled";
478
+ refunded: "refunded";
479
+ failed: "failed";
480
+ }>>;
481
+ source: z.ZodEnum<{
482
+ application: "application";
483
+ ecommerce: "ecommerce";
484
+ partner: "partner";
485
+ }>;
486
+ partner: z.ZodNullable<z.ZodEnum<{
487
+ deliveroo: "deliveroo";
488
+ justeat: "justeat";
489
+ glovo: "glovo";
490
+ cassa_in_cloud: "cassa_in_cloud";
491
+ }>>;
492
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
493
+ sequenceId: z.ZodNullable<z.ZodString>;
494
+ displayId: z.ZodNullable<z.ZodString>;
495
+ customerInfo: z.ZodObject<{
496
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
+ email: z.ZodNullable<z.ZodEmail>;
499
+ phoneNumber: z.ZodNullable<z.ZodString>;
500
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
501
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
502
+ }, z.core.$strict>;
503
+ billingInfo: z.ZodNullable<z.ZodObject<{
504
+ businessName: z.ZodString;
505
+ vat: z.ZodString;
506
+ taxCode: z.ZodString;
507
+ billingAddress: z.ZodObject<{
508
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
509
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
510
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
511
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
512
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
513
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
514
+ }, z.core.$strip>;
515
+ billingData: z.ZodObject<{
516
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
517
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
518
+ }, z.core.$strip>;
519
+ }, z.core.$strip>>;
520
+ status: z.ZodEnum<{
521
+ pending: "pending";
522
+ confirmed: "confirmed";
523
+ rejected: "rejected";
524
+ }>;
525
+ preparationStatus: z.ZodEnum<{
526
+ to_prepare: "to_prepare";
527
+ in_preparation: "in_preparation";
528
+ done: "done";
529
+ }>;
530
+ preparationTime: z.ZodNullable<z.ZodString>;
531
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
532
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
533
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
534
+ amount: z.ZodString;
535
+ netAmount: z.ZodString;
536
+ taxAmount: z.ZodString;
537
+ discount: z.ZodString;
538
+ feeAmount: z.ZodString;
539
+ feeNetAmount: z.ZodString;
540
+ feeTaxAmount: z.ZodString;
541
+ totalAmount: z.ZodString;
542
+ totalNetAmount: z.ZodString;
543
+ totalTaxAmount: z.ZodString;
544
+ notes: z.ZodNullable<z.ZodString>;
545
+ deliveryNotes: z.ZodNullable<z.ZodString>;
546
+ kitchenNotes: z.ZodNullable<z.ZodString>;
547
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
548
+ acceptedAt: z.ZodNullable<z.ZodString>;
549
+ isRead: z.ZodBoolean;
550
+ firstReadAt: z.ZodNullable<z.ZodString>;
551
+ createdAt: z.ZodString;
552
+ updatedAt: z.ZodString;
553
+ type: z.ZodLiteral<"take_away">;
554
+ address: z.ZodNull;
555
+ location: z.ZodNull;
556
+ requestedDeliveryTime: z.ZodNull;
557
+ finalDeliveryTime: z.ZodNull;
558
+ deliveryStartedAt: z.ZodNull;
559
+ deliveredAt: z.ZodNull;
560
+ requestedCollectionTime: z.ZodNullable<z.ZodString>;
561
+ finalCollectionTime: z.ZodNullable<z.ZodString>;
562
+ collectedAt: z.ZodNullable<z.ZodString>;
563
+ }, z.core.$strip>, z.ZodObject<{
564
+ id: z.ZodString;
565
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
566
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
567
+ stripe: "stripe";
568
+ bank_transfer: "bank_transfer";
569
+ cash: "cash";
570
+ credit_card: "credit_card";
571
+ }>>;
572
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
573
+ pending: "pending";
574
+ pending_verification: "pending_verification";
575
+ paid: "paid";
576
+ canceled: "canceled";
577
+ refunded: "refunded";
578
+ failed: "failed";
579
+ }>>;
580
+ source: z.ZodEnum<{
581
+ application: "application";
582
+ ecommerce: "ecommerce";
583
+ partner: "partner";
584
+ }>;
585
+ partner: z.ZodNullable<z.ZodEnum<{
586
+ deliveroo: "deliveroo";
587
+ justeat: "justeat";
588
+ glovo: "glovo";
589
+ cassa_in_cloud: "cassa_in_cloud";
590
+ }>>;
591
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
592
+ sequenceId: z.ZodNullable<z.ZodString>;
593
+ displayId: z.ZodNullable<z.ZodString>;
594
+ customerInfo: z.ZodObject<{
595
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
596
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
597
+ email: z.ZodNullable<z.ZodEmail>;
598
+ phoneNumber: z.ZodNullable<z.ZodString>;
599
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
601
+ }, z.core.$strict>;
602
+ billingInfo: z.ZodNullable<z.ZodObject<{
603
+ businessName: z.ZodString;
604
+ vat: z.ZodString;
605
+ taxCode: z.ZodString;
606
+ billingAddress: z.ZodObject<{
607
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
608
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
609
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
610
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
611
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
613
+ }, z.core.$strip>;
614
+ billingData: z.ZodObject<{
615
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
616
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
617
+ }, z.core.$strip>;
618
+ }, z.core.$strip>>;
619
+ status: z.ZodEnum<{
620
+ pending: "pending";
621
+ confirmed: "confirmed";
622
+ rejected: "rejected";
623
+ }>;
624
+ preparationStatus: z.ZodEnum<{
625
+ to_prepare: "to_prepare";
626
+ in_preparation: "in_preparation";
627
+ done: "done";
628
+ }>;
629
+ preparationTime: z.ZodNullable<z.ZodString>;
630
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
631
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
632
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
633
+ amount: z.ZodString;
634
+ netAmount: z.ZodString;
635
+ taxAmount: z.ZodString;
636
+ discount: z.ZodString;
637
+ feeAmount: z.ZodString;
638
+ feeNetAmount: z.ZodString;
639
+ feeTaxAmount: z.ZodString;
640
+ totalAmount: z.ZodString;
641
+ totalNetAmount: z.ZodString;
642
+ totalTaxAmount: z.ZodString;
643
+ notes: z.ZodNullable<z.ZodString>;
644
+ deliveryNotes: z.ZodNullable<z.ZodString>;
645
+ kitchenNotes: z.ZodNullable<z.ZodString>;
646
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
647
+ acceptedAt: z.ZodNullable<z.ZodString>;
648
+ isRead: z.ZodBoolean;
649
+ firstReadAt: z.ZodNullable<z.ZodString>;
650
+ createdAt: z.ZodString;
651
+ updatedAt: z.ZodString;
652
+ type: z.ZodLiteral<"kitchen">;
653
+ address: z.ZodNull;
654
+ location: z.ZodNull;
655
+ requestedDeliveryTime: z.ZodNull;
656
+ finalDeliveryTime: z.ZodNull;
657
+ deliveryStartedAt: z.ZodNull;
658
+ deliveredAt: z.ZodNull;
659
+ requestedCollectionTime: z.ZodNull;
660
+ finalCollectionTime: z.ZodNull;
661
+ collectedAt: z.ZodNull;
662
+ }, z.core.$strip>], "type">>;
663
+ createdAt: z.ZodString;
664
+ updatedAt: z.ZodString;
665
+ type: z.ZodLiteral<"FORCED">;
666
+ pointOfSale: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown>>;
667
+ }, z.core.$strip>], "type">;
668
+ export type CreateBundleResponse = z.output<typeof createBundleResponseSchema>;
669
+ export declare class CreateBundle extends AbstractApiRequest<typeof createBundleInputSchema, typeof createBundleResponseSchema> {
670
+ readonly method = "POST";
671
+ readonly contentType = "application/json";
672
+ readonly accept = "application/json";
673
+ readonly inputSchema: z.ZodObject<{
674
+ pointOfSale: z.ZodNonOptional<z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown>>>;
675
+ deliverable: z.ZodNonOptional<z.ZodBoolean>;
676
+ ready: z.ZodNonOptional<z.ZodBoolean>;
677
+ }, z.core.$strip>;
678
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
679
+ id: z.ZodString;
680
+ status: z.ZodEnum<{
681
+ pending: "pending";
682
+ busy: "busy";
683
+ broken: "broken";
684
+ released: "released";
685
+ }>;
686
+ brokenReason: z.ZodNullable<z.ZodEnum<{
687
+ delivery_removed: "delivery_removed";
688
+ }>>;
689
+ deliverable: z.ZodBoolean;
690
+ ready: z.ZodBoolean;
691
+ preparationTime: z.ZodNullable<z.ZodString>;
692
+ startTime: z.ZodNullable<z.ZodString>;
693
+ endTime: z.ZodNullable<z.ZodString>;
694
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
695
+ orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
696
+ id: z.ZodString;
697
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
698
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
699
+ stripe: "stripe";
700
+ bank_transfer: "bank_transfer";
701
+ cash: "cash";
702
+ credit_card: "credit_card";
703
+ }>>;
704
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
705
+ pending: "pending";
706
+ pending_verification: "pending_verification";
707
+ paid: "paid";
708
+ canceled: "canceled";
709
+ refunded: "refunded";
710
+ failed: "failed";
711
+ }>>;
712
+ source: z.ZodEnum<{
713
+ application: "application";
714
+ ecommerce: "ecommerce";
715
+ partner: "partner";
716
+ }>;
717
+ partner: z.ZodNullable<z.ZodEnum<{
718
+ deliveroo: "deliveroo";
719
+ justeat: "justeat";
720
+ glovo: "glovo";
721
+ cassa_in_cloud: "cassa_in_cloud";
722
+ }>>;
723
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
724
+ sequenceId: z.ZodNullable<z.ZodString>;
725
+ displayId: z.ZodNullable<z.ZodString>;
726
+ customerInfo: z.ZodObject<{
727
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
728
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
729
+ email: z.ZodNullable<z.ZodEmail>;
730
+ phoneNumber: z.ZodNullable<z.ZodString>;
731
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
732
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
733
+ }, z.core.$strict>;
734
+ billingInfo: z.ZodNullable<z.ZodObject<{
735
+ businessName: z.ZodString;
736
+ vat: z.ZodString;
737
+ taxCode: z.ZodString;
738
+ billingAddress: z.ZodObject<{
739
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
740
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
741
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
742
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
745
+ }, z.core.$strip>;
746
+ billingData: z.ZodObject<{
747
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
748
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
749
+ }, z.core.$strip>;
750
+ }, z.core.$strip>>;
751
+ status: z.ZodEnum<{
752
+ pending: "pending";
753
+ confirmed: "confirmed";
754
+ rejected: "rejected";
755
+ }>;
756
+ preparationStatus: z.ZodEnum<{
757
+ to_prepare: "to_prepare";
758
+ in_preparation: "in_preparation";
759
+ done: "done";
760
+ }>;
761
+ preparationTime: z.ZodNullable<z.ZodString>;
762
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
763
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
764
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
765
+ amount: z.ZodString;
766
+ netAmount: z.ZodString;
767
+ taxAmount: z.ZodString;
768
+ discount: z.ZodString;
769
+ feeAmount: z.ZodString;
770
+ feeNetAmount: z.ZodString;
771
+ feeTaxAmount: z.ZodString;
772
+ totalAmount: z.ZodString;
773
+ totalNetAmount: z.ZodString;
774
+ totalTaxAmount: z.ZodString;
775
+ notes: z.ZodNullable<z.ZodString>;
776
+ deliveryNotes: z.ZodNullable<z.ZodString>;
777
+ kitchenNotes: z.ZodNullable<z.ZodString>;
778
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
779
+ acceptedAt: z.ZodNullable<z.ZodString>;
780
+ isRead: z.ZodBoolean;
781
+ firstReadAt: z.ZodNullable<z.ZodString>;
782
+ createdAt: z.ZodString;
783
+ updatedAt: z.ZodString;
784
+ type: z.ZodLiteral<"delivery">;
785
+ address: z.ZodNullable<z.ZodObject<{
786
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
787
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
788
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
789
+ line1: z.ZodString;
790
+ city: z.ZodString;
791
+ postalCode: z.ZodString;
792
+ }, z.core.$strip>>;
793
+ location: z.ZodNullable<z.ZodObject<{
794
+ latitude: z.ZodNumber;
795
+ longitude: z.ZodNumber;
796
+ }, z.core.$strip>>;
797
+ requestedDeliveryTime: z.ZodNullable<z.ZodString>;
798
+ finalDeliveryTime: z.ZodNullable<z.ZodString>;
799
+ deliveryStartedAt: z.ZodNullable<z.ZodString>;
800
+ deliveredAt: z.ZodNullable<z.ZodString>;
801
+ requestedCollectionTime: z.ZodNull;
802
+ finalCollectionTime: z.ZodNull;
803
+ collectedAt: z.ZodNull;
804
+ }, z.core.$strip>, z.ZodObject<{
805
+ id: z.ZodString;
806
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
807
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
808
+ stripe: "stripe";
809
+ bank_transfer: "bank_transfer";
810
+ cash: "cash";
811
+ credit_card: "credit_card";
812
+ }>>;
813
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
814
+ pending: "pending";
815
+ pending_verification: "pending_verification";
816
+ paid: "paid";
817
+ canceled: "canceled";
818
+ refunded: "refunded";
819
+ failed: "failed";
820
+ }>>;
821
+ source: z.ZodEnum<{
822
+ application: "application";
823
+ ecommerce: "ecommerce";
824
+ partner: "partner";
825
+ }>;
826
+ partner: z.ZodNullable<z.ZodEnum<{
827
+ deliveroo: "deliveroo";
828
+ justeat: "justeat";
829
+ glovo: "glovo";
830
+ cassa_in_cloud: "cassa_in_cloud";
831
+ }>>;
832
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
833
+ sequenceId: z.ZodNullable<z.ZodString>;
834
+ displayId: z.ZodNullable<z.ZodString>;
835
+ customerInfo: z.ZodObject<{
836
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
837
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
838
+ email: z.ZodNullable<z.ZodEmail>;
839
+ phoneNumber: z.ZodNullable<z.ZodString>;
840
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
841
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
+ }, z.core.$strict>;
843
+ billingInfo: z.ZodNullable<z.ZodObject<{
844
+ businessName: z.ZodString;
845
+ vat: z.ZodString;
846
+ taxCode: z.ZodString;
847
+ billingAddress: z.ZodObject<{
848
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
849
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
851
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
852
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
853
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
854
+ }, z.core.$strip>;
855
+ billingData: z.ZodObject<{
856
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
857
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
858
+ }, z.core.$strip>;
859
+ }, z.core.$strip>>;
860
+ status: z.ZodEnum<{
861
+ pending: "pending";
862
+ confirmed: "confirmed";
863
+ rejected: "rejected";
864
+ }>;
865
+ preparationStatus: z.ZodEnum<{
866
+ to_prepare: "to_prepare";
867
+ in_preparation: "in_preparation";
868
+ done: "done";
869
+ }>;
870
+ preparationTime: z.ZodNullable<z.ZodString>;
871
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
872
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
873
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
874
+ amount: z.ZodString;
875
+ netAmount: z.ZodString;
876
+ taxAmount: z.ZodString;
877
+ discount: z.ZodString;
878
+ feeAmount: z.ZodString;
879
+ feeNetAmount: z.ZodString;
880
+ feeTaxAmount: z.ZodString;
881
+ totalAmount: z.ZodString;
882
+ totalNetAmount: z.ZodString;
883
+ totalTaxAmount: z.ZodString;
884
+ notes: z.ZodNullable<z.ZodString>;
885
+ deliveryNotes: z.ZodNullable<z.ZodString>;
886
+ kitchenNotes: z.ZodNullable<z.ZodString>;
887
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
888
+ acceptedAt: z.ZodNullable<z.ZodString>;
889
+ isRead: z.ZodBoolean;
890
+ firstReadAt: z.ZodNullable<z.ZodString>;
891
+ createdAt: z.ZodString;
892
+ updatedAt: z.ZodString;
893
+ type: z.ZodLiteral<"take_away">;
894
+ address: z.ZodNull;
895
+ location: z.ZodNull;
896
+ requestedDeliveryTime: z.ZodNull;
897
+ finalDeliveryTime: z.ZodNull;
898
+ deliveryStartedAt: z.ZodNull;
899
+ deliveredAt: z.ZodNull;
900
+ requestedCollectionTime: z.ZodNullable<z.ZodString>;
901
+ finalCollectionTime: z.ZodNullable<z.ZodString>;
902
+ collectedAt: z.ZodNullable<z.ZodString>;
903
+ }, z.core.$strip>, z.ZodObject<{
904
+ id: z.ZodString;
905
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
906
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
907
+ stripe: "stripe";
908
+ bank_transfer: "bank_transfer";
909
+ cash: "cash";
910
+ credit_card: "credit_card";
911
+ }>>;
912
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
913
+ pending: "pending";
914
+ pending_verification: "pending_verification";
915
+ paid: "paid";
916
+ canceled: "canceled";
917
+ refunded: "refunded";
918
+ failed: "failed";
919
+ }>>;
920
+ source: z.ZodEnum<{
921
+ application: "application";
922
+ ecommerce: "ecommerce";
923
+ partner: "partner";
924
+ }>;
925
+ partner: z.ZodNullable<z.ZodEnum<{
926
+ deliveroo: "deliveroo";
927
+ justeat: "justeat";
928
+ glovo: "glovo";
929
+ cassa_in_cloud: "cassa_in_cloud";
930
+ }>>;
931
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
932
+ sequenceId: z.ZodNullable<z.ZodString>;
933
+ displayId: z.ZodNullable<z.ZodString>;
934
+ customerInfo: z.ZodObject<{
935
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
936
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
937
+ email: z.ZodNullable<z.ZodEmail>;
938
+ phoneNumber: z.ZodNullable<z.ZodString>;
939
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
941
+ }, z.core.$strict>;
942
+ billingInfo: z.ZodNullable<z.ZodObject<{
943
+ businessName: z.ZodString;
944
+ vat: z.ZodString;
945
+ taxCode: z.ZodString;
946
+ billingAddress: z.ZodObject<{
947
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
948
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
949
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
950
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
951
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
952
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
953
+ }, z.core.$strip>;
954
+ billingData: z.ZodObject<{
955
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
956
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
957
+ }, z.core.$strip>;
958
+ }, z.core.$strip>>;
959
+ status: z.ZodEnum<{
960
+ pending: "pending";
961
+ confirmed: "confirmed";
962
+ rejected: "rejected";
963
+ }>;
964
+ preparationStatus: z.ZodEnum<{
965
+ to_prepare: "to_prepare";
966
+ in_preparation: "in_preparation";
967
+ done: "done";
968
+ }>;
969
+ preparationTime: z.ZodNullable<z.ZodString>;
970
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
971
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
972
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
973
+ amount: z.ZodString;
974
+ netAmount: z.ZodString;
975
+ taxAmount: z.ZodString;
976
+ discount: z.ZodString;
977
+ feeAmount: z.ZodString;
978
+ feeNetAmount: z.ZodString;
979
+ feeTaxAmount: z.ZodString;
980
+ totalAmount: z.ZodString;
981
+ totalNetAmount: z.ZodString;
982
+ totalTaxAmount: z.ZodString;
983
+ notes: z.ZodNullable<z.ZodString>;
984
+ deliveryNotes: z.ZodNullable<z.ZodString>;
985
+ kitchenNotes: z.ZodNullable<z.ZodString>;
986
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
987
+ acceptedAt: z.ZodNullable<z.ZodString>;
988
+ isRead: z.ZodBoolean;
989
+ firstReadAt: z.ZodNullable<z.ZodString>;
990
+ createdAt: z.ZodString;
991
+ updatedAt: z.ZodString;
992
+ type: z.ZodLiteral<"kitchen">;
993
+ address: z.ZodNull;
994
+ location: z.ZodNull;
995
+ requestedDeliveryTime: z.ZodNull;
996
+ finalDeliveryTime: z.ZodNull;
997
+ deliveryStartedAt: z.ZodNull;
998
+ deliveredAt: z.ZodNull;
999
+ requestedCollectionTime: z.ZodNull;
1000
+ finalCollectionTime: z.ZodNull;
1001
+ collectedAt: z.ZodNull;
1002
+ }, z.core.$strip>], "type">>;
1003
+ createdAt: z.ZodString;
1004
+ updatedAt: z.ZodString;
1005
+ type: z.ZodLiteral<"REGULAR">;
1006
+ pointOfSale: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown>>;
1007
+ }, z.core.$strip>, z.ZodObject<{
1008
+ id: z.ZodString;
1009
+ status: z.ZodEnum<{
1010
+ pending: "pending";
1011
+ busy: "busy";
1012
+ broken: "broken";
1013
+ released: "released";
1014
+ }>;
1015
+ brokenReason: z.ZodNullable<z.ZodEnum<{
1016
+ delivery_removed: "delivery_removed";
1017
+ }>>;
1018
+ deliverable: z.ZodBoolean;
1019
+ ready: z.ZodBoolean;
1020
+ preparationTime: z.ZodNullable<z.ZodString>;
1021
+ startTime: z.ZodNullable<z.ZodString>;
1022
+ endTime: z.ZodNullable<z.ZodString>;
1023
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
1024
+ orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1025
+ id: z.ZodString;
1026
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
1027
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
1028
+ stripe: "stripe";
1029
+ bank_transfer: "bank_transfer";
1030
+ cash: "cash";
1031
+ credit_card: "credit_card";
1032
+ }>>;
1033
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
1034
+ pending: "pending";
1035
+ pending_verification: "pending_verification";
1036
+ paid: "paid";
1037
+ canceled: "canceled";
1038
+ refunded: "refunded";
1039
+ failed: "failed";
1040
+ }>>;
1041
+ source: z.ZodEnum<{
1042
+ application: "application";
1043
+ ecommerce: "ecommerce";
1044
+ partner: "partner";
1045
+ }>;
1046
+ partner: z.ZodNullable<z.ZodEnum<{
1047
+ deliveroo: "deliveroo";
1048
+ justeat: "justeat";
1049
+ glovo: "glovo";
1050
+ cassa_in_cloud: "cassa_in_cloud";
1051
+ }>>;
1052
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
1053
+ sequenceId: z.ZodNullable<z.ZodString>;
1054
+ displayId: z.ZodNullable<z.ZodString>;
1055
+ customerInfo: z.ZodObject<{
1056
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1057
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1058
+ email: z.ZodNullable<z.ZodEmail>;
1059
+ phoneNumber: z.ZodNullable<z.ZodString>;
1060
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1061
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1062
+ }, z.core.$strict>;
1063
+ billingInfo: z.ZodNullable<z.ZodObject<{
1064
+ businessName: z.ZodString;
1065
+ vat: z.ZodString;
1066
+ taxCode: z.ZodString;
1067
+ billingAddress: z.ZodObject<{
1068
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1069
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1070
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1071
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1072
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1073
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1074
+ }, z.core.$strip>;
1075
+ billingData: z.ZodObject<{
1076
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1077
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
1078
+ }, z.core.$strip>;
1079
+ }, z.core.$strip>>;
1080
+ status: z.ZodEnum<{
1081
+ pending: "pending";
1082
+ confirmed: "confirmed";
1083
+ rejected: "rejected";
1084
+ }>;
1085
+ preparationStatus: z.ZodEnum<{
1086
+ to_prepare: "to_prepare";
1087
+ in_preparation: "in_preparation";
1088
+ done: "done";
1089
+ }>;
1090
+ preparationTime: z.ZodNullable<z.ZodString>;
1091
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
1092
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
1093
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
1094
+ amount: z.ZodString;
1095
+ netAmount: z.ZodString;
1096
+ taxAmount: z.ZodString;
1097
+ discount: z.ZodString;
1098
+ feeAmount: z.ZodString;
1099
+ feeNetAmount: z.ZodString;
1100
+ feeTaxAmount: z.ZodString;
1101
+ totalAmount: z.ZodString;
1102
+ totalNetAmount: z.ZodString;
1103
+ totalTaxAmount: z.ZodString;
1104
+ notes: z.ZodNullable<z.ZodString>;
1105
+ deliveryNotes: z.ZodNullable<z.ZodString>;
1106
+ kitchenNotes: z.ZodNullable<z.ZodString>;
1107
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
1108
+ acceptedAt: z.ZodNullable<z.ZodString>;
1109
+ isRead: z.ZodBoolean;
1110
+ firstReadAt: z.ZodNullable<z.ZodString>;
1111
+ createdAt: z.ZodString;
1112
+ updatedAt: z.ZodString;
1113
+ type: z.ZodLiteral<"delivery">;
1114
+ address: z.ZodNullable<z.ZodObject<{
1115
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1116
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1117
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1118
+ line1: z.ZodString;
1119
+ city: z.ZodString;
1120
+ postalCode: z.ZodString;
1121
+ }, z.core.$strip>>;
1122
+ location: z.ZodNullable<z.ZodObject<{
1123
+ latitude: z.ZodNumber;
1124
+ longitude: z.ZodNumber;
1125
+ }, z.core.$strip>>;
1126
+ requestedDeliveryTime: z.ZodNullable<z.ZodString>;
1127
+ finalDeliveryTime: z.ZodNullable<z.ZodString>;
1128
+ deliveryStartedAt: z.ZodNullable<z.ZodString>;
1129
+ deliveredAt: z.ZodNullable<z.ZodString>;
1130
+ requestedCollectionTime: z.ZodNull;
1131
+ finalCollectionTime: z.ZodNull;
1132
+ collectedAt: z.ZodNull;
1133
+ }, z.core.$strip>, z.ZodObject<{
1134
+ id: z.ZodString;
1135
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
1136
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
1137
+ stripe: "stripe";
1138
+ bank_transfer: "bank_transfer";
1139
+ cash: "cash";
1140
+ credit_card: "credit_card";
1141
+ }>>;
1142
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
1143
+ pending: "pending";
1144
+ pending_verification: "pending_verification";
1145
+ paid: "paid";
1146
+ canceled: "canceled";
1147
+ refunded: "refunded";
1148
+ failed: "failed";
1149
+ }>>;
1150
+ source: z.ZodEnum<{
1151
+ application: "application";
1152
+ ecommerce: "ecommerce";
1153
+ partner: "partner";
1154
+ }>;
1155
+ partner: z.ZodNullable<z.ZodEnum<{
1156
+ deliveroo: "deliveroo";
1157
+ justeat: "justeat";
1158
+ glovo: "glovo";
1159
+ cassa_in_cloud: "cassa_in_cloud";
1160
+ }>>;
1161
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
1162
+ sequenceId: z.ZodNullable<z.ZodString>;
1163
+ displayId: z.ZodNullable<z.ZodString>;
1164
+ customerInfo: z.ZodObject<{
1165
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1167
+ email: z.ZodNullable<z.ZodEmail>;
1168
+ phoneNumber: z.ZodNullable<z.ZodString>;
1169
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1170
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
+ }, z.core.$strict>;
1172
+ billingInfo: z.ZodNullable<z.ZodObject<{
1173
+ businessName: z.ZodString;
1174
+ vat: z.ZodString;
1175
+ taxCode: z.ZodString;
1176
+ billingAddress: z.ZodObject<{
1177
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1178
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1179
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1180
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1181
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1182
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1183
+ }, z.core.$strip>;
1184
+ billingData: z.ZodObject<{
1185
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1186
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
1187
+ }, z.core.$strip>;
1188
+ }, z.core.$strip>>;
1189
+ status: z.ZodEnum<{
1190
+ pending: "pending";
1191
+ confirmed: "confirmed";
1192
+ rejected: "rejected";
1193
+ }>;
1194
+ preparationStatus: z.ZodEnum<{
1195
+ to_prepare: "to_prepare";
1196
+ in_preparation: "in_preparation";
1197
+ done: "done";
1198
+ }>;
1199
+ preparationTime: z.ZodNullable<z.ZodString>;
1200
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
1201
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
1202
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
1203
+ amount: z.ZodString;
1204
+ netAmount: z.ZodString;
1205
+ taxAmount: z.ZodString;
1206
+ discount: z.ZodString;
1207
+ feeAmount: z.ZodString;
1208
+ feeNetAmount: z.ZodString;
1209
+ feeTaxAmount: z.ZodString;
1210
+ totalAmount: z.ZodString;
1211
+ totalNetAmount: z.ZodString;
1212
+ totalTaxAmount: z.ZodString;
1213
+ notes: z.ZodNullable<z.ZodString>;
1214
+ deliveryNotes: z.ZodNullable<z.ZodString>;
1215
+ kitchenNotes: z.ZodNullable<z.ZodString>;
1216
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
1217
+ acceptedAt: z.ZodNullable<z.ZodString>;
1218
+ isRead: z.ZodBoolean;
1219
+ firstReadAt: z.ZodNullable<z.ZodString>;
1220
+ createdAt: z.ZodString;
1221
+ updatedAt: z.ZodString;
1222
+ type: z.ZodLiteral<"take_away">;
1223
+ address: z.ZodNull;
1224
+ location: z.ZodNull;
1225
+ requestedDeliveryTime: z.ZodNull;
1226
+ finalDeliveryTime: z.ZodNull;
1227
+ deliveryStartedAt: z.ZodNull;
1228
+ deliveredAt: z.ZodNull;
1229
+ requestedCollectionTime: z.ZodNullable<z.ZodString>;
1230
+ finalCollectionTime: z.ZodNullable<z.ZodString>;
1231
+ collectedAt: z.ZodNullable<z.ZodString>;
1232
+ }, z.core.$strip>, z.ZodObject<{
1233
+ id: z.ZodString;
1234
+ payment: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/payments/:id"> | null, unknown>>;
1235
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
1236
+ stripe: "stripe";
1237
+ bank_transfer: "bank_transfer";
1238
+ cash: "cash";
1239
+ credit_card: "credit_card";
1240
+ }>>;
1241
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
1242
+ pending: "pending";
1243
+ pending_verification: "pending_verification";
1244
+ paid: "paid";
1245
+ canceled: "canceled";
1246
+ refunded: "refunded";
1247
+ failed: "failed";
1248
+ }>>;
1249
+ source: z.ZodEnum<{
1250
+ application: "application";
1251
+ ecommerce: "ecommerce";
1252
+ partner: "partner";
1253
+ }>;
1254
+ partner: z.ZodNullable<z.ZodEnum<{
1255
+ deliveroo: "deliveroo";
1256
+ justeat: "justeat";
1257
+ glovo: "glovo";
1258
+ cassa_in_cloud: "cassa_in_cloud";
1259
+ }>>;
1260
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
1261
+ sequenceId: z.ZodNullable<z.ZodString>;
1262
+ displayId: z.ZodNullable<z.ZodString>;
1263
+ customerInfo: z.ZodObject<{
1264
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1265
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1266
+ email: z.ZodNullable<z.ZodEmail>;
1267
+ phoneNumber: z.ZodNullable<z.ZodString>;
1268
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1269
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1270
+ }, z.core.$strict>;
1271
+ billingInfo: z.ZodNullable<z.ZodObject<{
1272
+ businessName: z.ZodString;
1273
+ vat: z.ZodString;
1274
+ taxCode: z.ZodString;
1275
+ billingAddress: z.ZodObject<{
1276
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1277
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1278
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1279
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1280
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1281
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1282
+ }, z.core.$strip>;
1283
+ billingData: z.ZodObject<{
1284
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1285
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
1286
+ }, z.core.$strip>;
1287
+ }, z.core.$strip>>;
1288
+ status: z.ZodEnum<{
1289
+ pending: "pending";
1290
+ confirmed: "confirmed";
1291
+ rejected: "rejected";
1292
+ }>;
1293
+ preparationStatus: z.ZodEnum<{
1294
+ to_prepare: "to_prepare";
1295
+ in_preparation: "in_preparation";
1296
+ done: "done";
1297
+ }>;
1298
+ preparationTime: z.ZodNullable<z.ZodString>;
1299
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
1300
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
1301
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
1302
+ amount: z.ZodString;
1303
+ netAmount: z.ZodString;
1304
+ taxAmount: z.ZodString;
1305
+ discount: z.ZodString;
1306
+ feeAmount: z.ZodString;
1307
+ feeNetAmount: z.ZodString;
1308
+ feeTaxAmount: z.ZodString;
1309
+ totalAmount: z.ZodString;
1310
+ totalNetAmount: z.ZodString;
1311
+ totalTaxAmount: z.ZodString;
1312
+ notes: z.ZodNullable<z.ZodString>;
1313
+ deliveryNotes: z.ZodNullable<z.ZodString>;
1314
+ kitchenNotes: z.ZodNullable<z.ZodString>;
1315
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
1316
+ acceptedAt: z.ZodNullable<z.ZodString>;
1317
+ isRead: z.ZodBoolean;
1318
+ firstReadAt: z.ZodNullable<z.ZodString>;
1319
+ createdAt: z.ZodString;
1320
+ updatedAt: z.ZodString;
1321
+ type: z.ZodLiteral<"kitchen">;
1322
+ address: z.ZodNull;
1323
+ location: z.ZodNull;
1324
+ requestedDeliveryTime: z.ZodNull;
1325
+ finalDeliveryTime: z.ZodNull;
1326
+ deliveryStartedAt: z.ZodNull;
1327
+ deliveredAt: z.ZodNull;
1328
+ requestedCollectionTime: z.ZodNull;
1329
+ finalCollectionTime: z.ZodNull;
1330
+ collectedAt: z.ZodNull;
1331
+ }, z.core.$strip>], "type">>;
1332
+ createdAt: z.ZodString;
1333
+ updatedAt: z.ZodString;
1334
+ type: z.ZodLiteral<"FORCED">;
1335
+ pointOfSale: z.ZodType<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<import("@deliverart/sdk-js-global-types").IriObject<"/point_of_sales/:id">, unknown>>;
1336
+ }, z.core.$strip>], "type">;
1337
+ readonly querySchema: undefined;
1338
+ readonly headersSchema: undefined;
1339
+ constructor(input: CreateBundleInput);
1340
+ getPath(): string;
1341
+ }
1342
+ //# sourceMappingURL=CreateBundle.d.ts.map