@deliverart/sdk-js-order 2.10.8 → 2.11.1

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 +211 -102
  2. package/dist/index.d.cts +25025 -7234
  3. package/dist/index.d.ts +25025 -7234
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +3 -14961
  6. package/dist/models.d.ts +5523 -0
  7. package/dist/models.d.ts.map +1 -0
  8. package/dist/models.js +589 -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 +1379 -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
+ import { BundleDetails } from '../../models';
4
+ export declare const updateBundleInputSchema: z.ZodObject<{
5
+ deliverable: z.ZodOptional<z.ZodBoolean>;
6
+ ready: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ export type UpdateBundleInput = z.input<typeof updateBundleInputSchema>;
9
+ export declare const updateBundleResponseSchema: 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 UpdateBundleResponse = BundleDetails;
669
+ export declare class UpdateBundle extends AbstractApiRequest<typeof updateBundleInputSchema, typeof updateBundleResponseSchema> {
670
+ readonly method = "PATCH";
671
+ readonly contentType = "application/merge-patch+json";
672
+ readonly accept = "application/json";
673
+ readonly inputSchema: z.ZodObject<{
674
+ deliverable: z.ZodOptional<z.ZodBoolean>;
675
+ ready: z.ZodOptional<z.ZodBoolean>;
676
+ }, z.core.$strip>;
677
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
678
+ id: z.ZodString;
679
+ status: z.ZodEnum<{
680
+ pending: "pending";
681
+ busy: "busy";
682
+ broken: "broken";
683
+ released: "released";
684
+ }>;
685
+ brokenReason: z.ZodNullable<z.ZodEnum<{
686
+ delivery_removed: "delivery_removed";
687
+ }>>;
688
+ deliverable: z.ZodBoolean;
689
+ ready: z.ZodBoolean;
690
+ preparationTime: z.ZodNullable<z.ZodString>;
691
+ startTime: z.ZodNullable<z.ZodString>;
692
+ endTime: z.ZodNullable<z.ZodString>;
693
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
694
+ orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
695
+ id: z.ZodString;
696
+ 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>>;
697
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
698
+ stripe: "stripe";
699
+ bank_transfer: "bank_transfer";
700
+ cash: "cash";
701
+ credit_card: "credit_card";
702
+ }>>;
703
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
704
+ pending: "pending";
705
+ pending_verification: "pending_verification";
706
+ paid: "paid";
707
+ canceled: "canceled";
708
+ refunded: "refunded";
709
+ failed: "failed";
710
+ }>>;
711
+ source: z.ZodEnum<{
712
+ application: "application";
713
+ ecommerce: "ecommerce";
714
+ partner: "partner";
715
+ }>;
716
+ partner: z.ZodNullable<z.ZodEnum<{
717
+ deliveroo: "deliveroo";
718
+ justeat: "justeat";
719
+ glovo: "glovo";
720
+ cassa_in_cloud: "cassa_in_cloud";
721
+ }>>;
722
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
723
+ sequenceId: z.ZodNullable<z.ZodString>;
724
+ displayId: z.ZodNullable<z.ZodString>;
725
+ customerInfo: z.ZodObject<{
726
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
727
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
728
+ email: z.ZodNullable<z.ZodEmail>;
729
+ phoneNumber: z.ZodNullable<z.ZodString>;
730
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
731
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
732
+ }, z.core.$strict>;
733
+ billingInfo: z.ZodNullable<z.ZodObject<{
734
+ businessName: z.ZodString;
735
+ vat: z.ZodString;
736
+ taxCode: z.ZodString;
737
+ billingAddress: z.ZodObject<{
738
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
739
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
740
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
741
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
742
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
+ }, z.core.$strip>;
745
+ billingData: z.ZodObject<{
746
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
747
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
748
+ }, z.core.$strip>;
749
+ }, z.core.$strip>>;
750
+ status: z.ZodEnum<{
751
+ pending: "pending";
752
+ confirmed: "confirmed";
753
+ rejected: "rejected";
754
+ }>;
755
+ preparationStatus: z.ZodEnum<{
756
+ to_prepare: "to_prepare";
757
+ in_preparation: "in_preparation";
758
+ done: "done";
759
+ }>;
760
+ preparationTime: z.ZodNullable<z.ZodString>;
761
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
762
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
763
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
764
+ amount: z.ZodString;
765
+ netAmount: z.ZodString;
766
+ taxAmount: z.ZodString;
767
+ discount: z.ZodString;
768
+ feeAmount: z.ZodString;
769
+ feeNetAmount: z.ZodString;
770
+ feeTaxAmount: z.ZodString;
771
+ totalAmount: z.ZodString;
772
+ totalNetAmount: z.ZodString;
773
+ totalTaxAmount: z.ZodString;
774
+ notes: z.ZodNullable<z.ZodString>;
775
+ deliveryNotes: z.ZodNullable<z.ZodString>;
776
+ kitchenNotes: z.ZodNullable<z.ZodString>;
777
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
778
+ acceptedAt: z.ZodNullable<z.ZodString>;
779
+ isRead: z.ZodBoolean;
780
+ firstReadAt: z.ZodNullable<z.ZodString>;
781
+ createdAt: z.ZodString;
782
+ updatedAt: z.ZodString;
783
+ type: z.ZodLiteral<"delivery">;
784
+ address: z.ZodNullable<z.ZodObject<{
785
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
786
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
787
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
788
+ line1: z.ZodString;
789
+ city: z.ZodString;
790
+ postalCode: z.ZodString;
791
+ }, z.core.$strip>>;
792
+ location: z.ZodNullable<z.ZodObject<{
793
+ latitude: z.ZodNumber;
794
+ longitude: z.ZodNumber;
795
+ }, z.core.$strip>>;
796
+ requestedDeliveryTime: z.ZodNullable<z.ZodString>;
797
+ finalDeliveryTime: z.ZodNullable<z.ZodString>;
798
+ deliveryStartedAt: z.ZodNullable<z.ZodString>;
799
+ deliveredAt: z.ZodNullable<z.ZodString>;
800
+ requestedCollectionTime: z.ZodNull;
801
+ finalCollectionTime: z.ZodNull;
802
+ collectedAt: z.ZodNull;
803
+ }, z.core.$strip>, z.ZodObject<{
804
+ id: z.ZodString;
805
+ 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>>;
806
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
807
+ stripe: "stripe";
808
+ bank_transfer: "bank_transfer";
809
+ cash: "cash";
810
+ credit_card: "credit_card";
811
+ }>>;
812
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
813
+ pending: "pending";
814
+ pending_verification: "pending_verification";
815
+ paid: "paid";
816
+ canceled: "canceled";
817
+ refunded: "refunded";
818
+ failed: "failed";
819
+ }>>;
820
+ source: z.ZodEnum<{
821
+ application: "application";
822
+ ecommerce: "ecommerce";
823
+ partner: "partner";
824
+ }>;
825
+ partner: z.ZodNullable<z.ZodEnum<{
826
+ deliveroo: "deliveroo";
827
+ justeat: "justeat";
828
+ glovo: "glovo";
829
+ cassa_in_cloud: "cassa_in_cloud";
830
+ }>>;
831
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
832
+ sequenceId: z.ZodNullable<z.ZodString>;
833
+ displayId: z.ZodNullable<z.ZodString>;
834
+ customerInfo: z.ZodObject<{
835
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
836
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
837
+ email: z.ZodNullable<z.ZodEmail>;
838
+ phoneNumber: z.ZodNullable<z.ZodString>;
839
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
840
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
841
+ }, z.core.$strict>;
842
+ billingInfo: z.ZodNullable<z.ZodObject<{
843
+ businessName: z.ZodString;
844
+ vat: z.ZodString;
845
+ taxCode: z.ZodString;
846
+ billingAddress: z.ZodObject<{
847
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
848
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
849
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
851
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
852
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
853
+ }, z.core.$strip>;
854
+ billingData: z.ZodObject<{
855
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
856
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
857
+ }, z.core.$strip>;
858
+ }, z.core.$strip>>;
859
+ status: z.ZodEnum<{
860
+ pending: "pending";
861
+ confirmed: "confirmed";
862
+ rejected: "rejected";
863
+ }>;
864
+ preparationStatus: z.ZodEnum<{
865
+ to_prepare: "to_prepare";
866
+ in_preparation: "in_preparation";
867
+ done: "done";
868
+ }>;
869
+ preparationTime: z.ZodNullable<z.ZodString>;
870
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
871
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
872
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
873
+ amount: z.ZodString;
874
+ netAmount: z.ZodString;
875
+ taxAmount: z.ZodString;
876
+ discount: z.ZodString;
877
+ feeAmount: z.ZodString;
878
+ feeNetAmount: z.ZodString;
879
+ feeTaxAmount: z.ZodString;
880
+ totalAmount: z.ZodString;
881
+ totalNetAmount: z.ZodString;
882
+ totalTaxAmount: z.ZodString;
883
+ notes: z.ZodNullable<z.ZodString>;
884
+ deliveryNotes: z.ZodNullable<z.ZodString>;
885
+ kitchenNotes: z.ZodNullable<z.ZodString>;
886
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
887
+ acceptedAt: z.ZodNullable<z.ZodString>;
888
+ isRead: z.ZodBoolean;
889
+ firstReadAt: z.ZodNullable<z.ZodString>;
890
+ createdAt: z.ZodString;
891
+ updatedAt: z.ZodString;
892
+ type: z.ZodLiteral<"take_away">;
893
+ address: z.ZodNull;
894
+ location: z.ZodNull;
895
+ requestedDeliveryTime: z.ZodNull;
896
+ finalDeliveryTime: z.ZodNull;
897
+ deliveryStartedAt: z.ZodNull;
898
+ deliveredAt: z.ZodNull;
899
+ requestedCollectionTime: z.ZodNullable<z.ZodString>;
900
+ finalCollectionTime: z.ZodNullable<z.ZodString>;
901
+ collectedAt: z.ZodNullable<z.ZodString>;
902
+ }, z.core.$strip>, z.ZodObject<{
903
+ id: z.ZodString;
904
+ 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>>;
905
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
906
+ stripe: "stripe";
907
+ bank_transfer: "bank_transfer";
908
+ cash: "cash";
909
+ credit_card: "credit_card";
910
+ }>>;
911
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
912
+ pending: "pending";
913
+ pending_verification: "pending_verification";
914
+ paid: "paid";
915
+ canceled: "canceled";
916
+ refunded: "refunded";
917
+ failed: "failed";
918
+ }>>;
919
+ source: z.ZodEnum<{
920
+ application: "application";
921
+ ecommerce: "ecommerce";
922
+ partner: "partner";
923
+ }>;
924
+ partner: z.ZodNullable<z.ZodEnum<{
925
+ deliveroo: "deliveroo";
926
+ justeat: "justeat";
927
+ glovo: "glovo";
928
+ cassa_in_cloud: "cassa_in_cloud";
929
+ }>>;
930
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
931
+ sequenceId: z.ZodNullable<z.ZodString>;
932
+ displayId: z.ZodNullable<z.ZodString>;
933
+ customerInfo: z.ZodObject<{
934
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
935
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
936
+ email: z.ZodNullable<z.ZodEmail>;
937
+ phoneNumber: z.ZodNullable<z.ZodString>;
938
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
+ }, z.core.$strict>;
941
+ billingInfo: z.ZodNullable<z.ZodObject<{
942
+ businessName: z.ZodString;
943
+ vat: z.ZodString;
944
+ taxCode: z.ZodString;
945
+ billingAddress: z.ZodObject<{
946
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
947
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
948
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
949
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
950
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
951
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
952
+ }, z.core.$strip>;
953
+ billingData: z.ZodObject<{
954
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
955
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
956
+ }, z.core.$strip>;
957
+ }, z.core.$strip>>;
958
+ status: z.ZodEnum<{
959
+ pending: "pending";
960
+ confirmed: "confirmed";
961
+ rejected: "rejected";
962
+ }>;
963
+ preparationStatus: z.ZodEnum<{
964
+ to_prepare: "to_prepare";
965
+ in_preparation: "in_preparation";
966
+ done: "done";
967
+ }>;
968
+ preparationTime: z.ZodNullable<z.ZodString>;
969
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
970
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
971
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
972
+ amount: z.ZodString;
973
+ netAmount: z.ZodString;
974
+ taxAmount: z.ZodString;
975
+ discount: z.ZodString;
976
+ feeAmount: z.ZodString;
977
+ feeNetAmount: z.ZodString;
978
+ feeTaxAmount: z.ZodString;
979
+ totalAmount: z.ZodString;
980
+ totalNetAmount: z.ZodString;
981
+ totalTaxAmount: z.ZodString;
982
+ notes: z.ZodNullable<z.ZodString>;
983
+ deliveryNotes: z.ZodNullable<z.ZodString>;
984
+ kitchenNotes: z.ZodNullable<z.ZodString>;
985
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
986
+ acceptedAt: z.ZodNullable<z.ZodString>;
987
+ isRead: z.ZodBoolean;
988
+ firstReadAt: z.ZodNullable<z.ZodString>;
989
+ createdAt: z.ZodString;
990
+ updatedAt: z.ZodString;
991
+ type: z.ZodLiteral<"kitchen">;
992
+ address: z.ZodNull;
993
+ location: z.ZodNull;
994
+ requestedDeliveryTime: z.ZodNull;
995
+ finalDeliveryTime: z.ZodNull;
996
+ deliveryStartedAt: z.ZodNull;
997
+ deliveredAt: z.ZodNull;
998
+ requestedCollectionTime: z.ZodNull;
999
+ finalCollectionTime: z.ZodNull;
1000
+ collectedAt: z.ZodNull;
1001
+ }, z.core.$strip>], "type">>;
1002
+ createdAt: z.ZodString;
1003
+ updatedAt: z.ZodString;
1004
+ type: z.ZodLiteral<"REGULAR">;
1005
+ 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>>;
1006
+ }, z.core.$strip>, z.ZodObject<{
1007
+ id: z.ZodString;
1008
+ status: z.ZodEnum<{
1009
+ pending: "pending";
1010
+ busy: "busy";
1011
+ broken: "broken";
1012
+ released: "released";
1013
+ }>;
1014
+ brokenReason: z.ZodNullable<z.ZodEnum<{
1015
+ delivery_removed: "delivery_removed";
1016
+ }>>;
1017
+ deliverable: z.ZodBoolean;
1018
+ ready: z.ZodBoolean;
1019
+ preparationTime: z.ZodNullable<z.ZodString>;
1020
+ startTime: z.ZodNullable<z.ZodString>;
1021
+ endTime: z.ZodNullable<z.ZodString>;
1022
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
1023
+ orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1024
+ id: z.ZodString;
1025
+ 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>>;
1026
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
1027
+ stripe: "stripe";
1028
+ bank_transfer: "bank_transfer";
1029
+ cash: "cash";
1030
+ credit_card: "credit_card";
1031
+ }>>;
1032
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
1033
+ pending: "pending";
1034
+ pending_verification: "pending_verification";
1035
+ paid: "paid";
1036
+ canceled: "canceled";
1037
+ refunded: "refunded";
1038
+ failed: "failed";
1039
+ }>>;
1040
+ source: z.ZodEnum<{
1041
+ application: "application";
1042
+ ecommerce: "ecommerce";
1043
+ partner: "partner";
1044
+ }>;
1045
+ partner: z.ZodNullable<z.ZodEnum<{
1046
+ deliveroo: "deliveroo";
1047
+ justeat: "justeat";
1048
+ glovo: "glovo";
1049
+ cassa_in_cloud: "cassa_in_cloud";
1050
+ }>>;
1051
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
1052
+ sequenceId: z.ZodNullable<z.ZodString>;
1053
+ displayId: z.ZodNullable<z.ZodString>;
1054
+ customerInfo: z.ZodObject<{
1055
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1056
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1057
+ email: z.ZodNullable<z.ZodEmail>;
1058
+ phoneNumber: z.ZodNullable<z.ZodString>;
1059
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1060
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1061
+ }, z.core.$strict>;
1062
+ billingInfo: z.ZodNullable<z.ZodObject<{
1063
+ businessName: z.ZodString;
1064
+ vat: z.ZodString;
1065
+ taxCode: z.ZodString;
1066
+ billingAddress: z.ZodObject<{
1067
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1068
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1069
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1070
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1071
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1072
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1073
+ }, z.core.$strip>;
1074
+ billingData: z.ZodObject<{
1075
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1076
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
1077
+ }, z.core.$strip>;
1078
+ }, z.core.$strip>>;
1079
+ status: z.ZodEnum<{
1080
+ pending: "pending";
1081
+ confirmed: "confirmed";
1082
+ rejected: "rejected";
1083
+ }>;
1084
+ preparationStatus: z.ZodEnum<{
1085
+ to_prepare: "to_prepare";
1086
+ in_preparation: "in_preparation";
1087
+ done: "done";
1088
+ }>;
1089
+ preparationTime: z.ZodNullable<z.ZodString>;
1090
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
1091
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
1092
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
1093
+ amount: z.ZodString;
1094
+ netAmount: z.ZodString;
1095
+ taxAmount: z.ZodString;
1096
+ discount: z.ZodString;
1097
+ feeAmount: z.ZodString;
1098
+ feeNetAmount: z.ZodString;
1099
+ feeTaxAmount: z.ZodString;
1100
+ totalAmount: z.ZodString;
1101
+ totalNetAmount: z.ZodString;
1102
+ totalTaxAmount: z.ZodString;
1103
+ notes: z.ZodNullable<z.ZodString>;
1104
+ deliveryNotes: z.ZodNullable<z.ZodString>;
1105
+ kitchenNotes: z.ZodNullable<z.ZodString>;
1106
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
1107
+ acceptedAt: z.ZodNullable<z.ZodString>;
1108
+ isRead: z.ZodBoolean;
1109
+ firstReadAt: z.ZodNullable<z.ZodString>;
1110
+ createdAt: z.ZodString;
1111
+ updatedAt: z.ZodString;
1112
+ type: z.ZodLiteral<"delivery">;
1113
+ address: z.ZodNullable<z.ZodObject<{
1114
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1115
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1116
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1117
+ line1: z.ZodString;
1118
+ city: z.ZodString;
1119
+ postalCode: z.ZodString;
1120
+ }, z.core.$strip>>;
1121
+ location: z.ZodNullable<z.ZodObject<{
1122
+ latitude: z.ZodNumber;
1123
+ longitude: z.ZodNumber;
1124
+ }, z.core.$strip>>;
1125
+ requestedDeliveryTime: z.ZodNullable<z.ZodString>;
1126
+ finalDeliveryTime: z.ZodNullable<z.ZodString>;
1127
+ deliveryStartedAt: z.ZodNullable<z.ZodString>;
1128
+ deliveredAt: z.ZodNullable<z.ZodString>;
1129
+ requestedCollectionTime: z.ZodNull;
1130
+ finalCollectionTime: z.ZodNull;
1131
+ collectedAt: z.ZodNull;
1132
+ }, z.core.$strip>, z.ZodObject<{
1133
+ id: z.ZodString;
1134
+ 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>>;
1135
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
1136
+ stripe: "stripe";
1137
+ bank_transfer: "bank_transfer";
1138
+ cash: "cash";
1139
+ credit_card: "credit_card";
1140
+ }>>;
1141
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
1142
+ pending: "pending";
1143
+ pending_verification: "pending_verification";
1144
+ paid: "paid";
1145
+ canceled: "canceled";
1146
+ refunded: "refunded";
1147
+ failed: "failed";
1148
+ }>>;
1149
+ source: z.ZodEnum<{
1150
+ application: "application";
1151
+ ecommerce: "ecommerce";
1152
+ partner: "partner";
1153
+ }>;
1154
+ partner: z.ZodNullable<z.ZodEnum<{
1155
+ deliveroo: "deliveroo";
1156
+ justeat: "justeat";
1157
+ glovo: "glovo";
1158
+ cassa_in_cloud: "cassa_in_cloud";
1159
+ }>>;
1160
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
1161
+ sequenceId: z.ZodNullable<z.ZodString>;
1162
+ displayId: z.ZodNullable<z.ZodString>;
1163
+ customerInfo: z.ZodObject<{
1164
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1165
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
+ email: z.ZodNullable<z.ZodEmail>;
1167
+ phoneNumber: z.ZodNullable<z.ZodString>;
1168
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1169
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1170
+ }, z.core.$strict>;
1171
+ billingInfo: z.ZodNullable<z.ZodObject<{
1172
+ businessName: z.ZodString;
1173
+ vat: z.ZodString;
1174
+ taxCode: z.ZodString;
1175
+ billingAddress: z.ZodObject<{
1176
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1177
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1178
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1179
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1180
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1181
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1182
+ }, z.core.$strip>;
1183
+ billingData: z.ZodObject<{
1184
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1185
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
1186
+ }, z.core.$strip>;
1187
+ }, z.core.$strip>>;
1188
+ status: z.ZodEnum<{
1189
+ pending: "pending";
1190
+ confirmed: "confirmed";
1191
+ rejected: "rejected";
1192
+ }>;
1193
+ preparationStatus: z.ZodEnum<{
1194
+ to_prepare: "to_prepare";
1195
+ in_preparation: "in_preparation";
1196
+ done: "done";
1197
+ }>;
1198
+ preparationTime: z.ZodNullable<z.ZodString>;
1199
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
1200
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
1201
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
1202
+ amount: z.ZodString;
1203
+ netAmount: z.ZodString;
1204
+ taxAmount: z.ZodString;
1205
+ discount: z.ZodString;
1206
+ feeAmount: z.ZodString;
1207
+ feeNetAmount: z.ZodString;
1208
+ feeTaxAmount: z.ZodString;
1209
+ totalAmount: z.ZodString;
1210
+ totalNetAmount: z.ZodString;
1211
+ totalTaxAmount: z.ZodString;
1212
+ notes: z.ZodNullable<z.ZodString>;
1213
+ deliveryNotes: z.ZodNullable<z.ZodString>;
1214
+ kitchenNotes: z.ZodNullable<z.ZodString>;
1215
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
1216
+ acceptedAt: z.ZodNullable<z.ZodString>;
1217
+ isRead: z.ZodBoolean;
1218
+ firstReadAt: z.ZodNullable<z.ZodString>;
1219
+ createdAt: z.ZodString;
1220
+ updatedAt: z.ZodString;
1221
+ type: z.ZodLiteral<"take_away">;
1222
+ address: z.ZodNull;
1223
+ location: z.ZodNull;
1224
+ requestedDeliveryTime: z.ZodNull;
1225
+ finalDeliveryTime: z.ZodNull;
1226
+ deliveryStartedAt: z.ZodNull;
1227
+ deliveredAt: z.ZodNull;
1228
+ requestedCollectionTime: z.ZodNullable<z.ZodString>;
1229
+ finalCollectionTime: z.ZodNullable<z.ZodString>;
1230
+ collectedAt: z.ZodNullable<z.ZodString>;
1231
+ }, z.core.$strip>, z.ZodObject<{
1232
+ id: z.ZodString;
1233
+ 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>>;
1234
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
1235
+ stripe: "stripe";
1236
+ bank_transfer: "bank_transfer";
1237
+ cash: "cash";
1238
+ credit_card: "credit_card";
1239
+ }>>;
1240
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
1241
+ pending: "pending";
1242
+ pending_verification: "pending_verification";
1243
+ paid: "paid";
1244
+ canceled: "canceled";
1245
+ refunded: "refunded";
1246
+ failed: "failed";
1247
+ }>>;
1248
+ source: z.ZodEnum<{
1249
+ application: "application";
1250
+ ecommerce: "ecommerce";
1251
+ partner: "partner";
1252
+ }>;
1253
+ partner: z.ZodNullable<z.ZodEnum<{
1254
+ deliveroo: "deliveroo";
1255
+ justeat: "justeat";
1256
+ glovo: "glovo";
1257
+ cassa_in_cloud: "cassa_in_cloud";
1258
+ }>>;
1259
+ partnerIdentifier: z.ZodNullable<z.ZodString>;
1260
+ sequenceId: z.ZodNullable<z.ZodString>;
1261
+ displayId: z.ZodNullable<z.ZodString>;
1262
+ customerInfo: z.ZodObject<{
1263
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1264
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1265
+ email: z.ZodNullable<z.ZodEmail>;
1266
+ phoneNumber: z.ZodNullable<z.ZodString>;
1267
+ contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1268
+ contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1269
+ }, z.core.$strict>;
1270
+ billingInfo: z.ZodNullable<z.ZodObject<{
1271
+ businessName: z.ZodString;
1272
+ vat: z.ZodString;
1273
+ taxCode: z.ZodString;
1274
+ billingAddress: z.ZodObject<{
1275
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1276
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1277
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1278
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1279
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1280
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1281
+ }, z.core.$strip>;
1282
+ billingData: z.ZodObject<{
1283
+ sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1284
+ pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
1285
+ }, z.core.$strip>;
1286
+ }, z.core.$strip>>;
1287
+ status: z.ZodEnum<{
1288
+ pending: "pending";
1289
+ confirmed: "confirmed";
1290
+ rejected: "rejected";
1291
+ }>;
1292
+ preparationStatus: z.ZodEnum<{
1293
+ to_prepare: "to_prepare";
1294
+ in_preparation: "in_preparation";
1295
+ done: "done";
1296
+ }>;
1297
+ preparationTime: z.ZodNullable<z.ZodString>;
1298
+ preparationStartedAt: z.ZodNullable<z.ZodString>;
1299
+ preparationEndedAt: z.ZodNullable<z.ZodString>;
1300
+ totalCountableItems: z.ZodCoercedNumber<unknown>;
1301
+ amount: z.ZodString;
1302
+ netAmount: z.ZodString;
1303
+ taxAmount: z.ZodString;
1304
+ discount: z.ZodString;
1305
+ feeAmount: z.ZodString;
1306
+ feeNetAmount: z.ZodString;
1307
+ feeTaxAmount: z.ZodString;
1308
+ totalAmount: z.ZodString;
1309
+ totalNetAmount: z.ZodString;
1310
+ totalTaxAmount: z.ZodString;
1311
+ notes: z.ZodNullable<z.ZodString>;
1312
+ deliveryNotes: z.ZodNullable<z.ZodString>;
1313
+ kitchenNotes: z.ZodNullable<z.ZodString>;
1314
+ maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
1315
+ acceptedAt: z.ZodNullable<z.ZodString>;
1316
+ isRead: z.ZodBoolean;
1317
+ firstReadAt: z.ZodNullable<z.ZodString>;
1318
+ createdAt: z.ZodString;
1319
+ updatedAt: z.ZodString;
1320
+ type: z.ZodLiteral<"kitchen">;
1321
+ address: z.ZodNull;
1322
+ location: z.ZodNull;
1323
+ requestedDeliveryTime: z.ZodNull;
1324
+ finalDeliveryTime: z.ZodNull;
1325
+ deliveryStartedAt: z.ZodNull;
1326
+ deliveredAt: z.ZodNull;
1327
+ requestedCollectionTime: z.ZodNull;
1328
+ finalCollectionTime: z.ZodNull;
1329
+ collectedAt: z.ZodNull;
1330
+ }, z.core.$strip>], "type">>;
1331
+ createdAt: z.ZodString;
1332
+ updatedAt: z.ZodString;
1333
+ type: z.ZodLiteral<"FORCED">;
1334
+ 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>>;
1335
+ }, z.core.$strip>], "type">;
1336
+ readonly querySchema: undefined;
1337
+ readonly headersSchema: undefined;
1338
+ private readonly bundleId;
1339
+ constructor(bundleId: string, input: UpdateBundleInput);
1340
+ getPath(): string;
1341
+ }
1342
+ //# sourceMappingURL=UpdateBundle.d.ts.map