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