@deliverart/sdk-js-order 2.5.34 → 2.6.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.
- package/dist/index.cjs +24 -42
- package/dist/index.d.cts +1868 -237
- package/dist/index.d.ts +1868 -237
- package/dist/index.js +28 -64
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
2
|
-
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
2
|
export { BundleBundleBrokenReason, BundleStatus, BundleType, OrderMenuItemAction, OrderPreparationStatus, OrderSource, OrderStatus, OrderType, bundleBundleBrokenReasonSchema, bundleBundleBrokenReasons, bundleStatusSchema, bundleStatuses, bundleTypeSchema, bundleTypes, orderMenuItemActionSchema, orderMenuItemActions, orderPreparationStatusSchema, orderPreparationStatuses, orderSourceSchema, orderSources, orderStatusSchema, orderStatuses, orderTypeSchema, orderTypes } from '@deliverart/sdk-js-global-types';
|
|
4
3
|
import { MenuItemIri, MenuItemPriceOverrideNullableIri, MenuItemModifierIri } from '@deliverart/sdk-js-menu';
|
|
5
4
|
import { SalesModeNullableIri } from '@deliverart/sdk-js-sales-mode';
|
|
@@ -1935,7 +1934,7 @@ declare const getBundlesQuerySchema: z.ZodObject<{
|
|
|
1935
1934
|
type GetBundlesQueryParams = z.infer<typeof getBundlesQuerySchema>;
|
|
1936
1935
|
declare const getBundlesInputSchema: z.ZodUndefined;
|
|
1937
1936
|
type GetBundlesInput = z.infer<typeof getBundlesInputSchema>;
|
|
1938
|
-
declare const getBundlesResponseSchema: z.ZodObject<{
|
|
1937
|
+
declare const getBundlesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1939
1938
|
data: z.ZodArray<z.ZodObject<{
|
|
1940
1939
|
id: z.ZodString;
|
|
1941
1940
|
status: z.ZodEnum<{
|
|
@@ -2077,14 +2076,146 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
2077
2076
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2078
2077
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2079
2078
|
}, z.core.$strip>;
|
|
2080
|
-
}, z.core.$strip
|
|
2079
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2080
|
+
id: z.ZodString;
|
|
2081
|
+
status: z.ZodEnum<{
|
|
2082
|
+
pending: "pending";
|
|
2083
|
+
busy: "busy";
|
|
2084
|
+
broken: "broken";
|
|
2085
|
+
released: "released";
|
|
2086
|
+
}>;
|
|
2087
|
+
type: z.ZodEnum<{
|
|
2088
|
+
REGULAR: "REGULAR";
|
|
2089
|
+
FORCED: "FORCED";
|
|
2090
|
+
}>;
|
|
2091
|
+
brokenReason: z.ZodNullable<z.ZodEnum<{
|
|
2092
|
+
delivery_removed: "delivery_removed";
|
|
2093
|
+
}>>;
|
|
2094
|
+
deliverable: z.ZodBoolean;
|
|
2095
|
+
ready: z.ZodBoolean;
|
|
2096
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2097
|
+
startTime: z.ZodNullable<z.ZodString>;
|
|
2098
|
+
endTime: z.ZodNullable<z.ZodString>;
|
|
2099
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2100
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
2101
|
+
id: z.ZodString;
|
|
2102
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
2103
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
2104
|
+
stripe: "stripe";
|
|
2105
|
+
bank_transfer: "bank_transfer";
|
|
2106
|
+
cash: "cash";
|
|
2107
|
+
credit_card: "credit_card";
|
|
2108
|
+
}>>;
|
|
2109
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
2110
|
+
pending: "pending";
|
|
2111
|
+
pending_verification: "pending_verification";
|
|
2112
|
+
paid: "paid";
|
|
2113
|
+
canceled: "canceled";
|
|
2114
|
+
refunded: "refunded";
|
|
2115
|
+
failed: "failed";
|
|
2116
|
+
}>>;
|
|
2117
|
+
type: z.ZodEnum<{
|
|
2118
|
+
delivery: "delivery";
|
|
2119
|
+
take_away: "take_away";
|
|
2120
|
+
kitchen: "kitchen";
|
|
2121
|
+
}>;
|
|
2122
|
+
source: z.ZodEnum<{
|
|
2123
|
+
application: "application";
|
|
2124
|
+
ecommerce: "ecommerce";
|
|
2125
|
+
partner: "partner";
|
|
2126
|
+
}>;
|
|
2127
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
2128
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
2129
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
2130
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
2131
|
+
customerInfo: z.ZodObject<{
|
|
2132
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2133
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2134
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
2135
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
2136
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2137
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2138
|
+
}, z.core.$strict>;
|
|
2139
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
2140
|
+
businessName: z.ZodString;
|
|
2141
|
+
vat: z.ZodString;
|
|
2142
|
+
taxCode: z.ZodString;
|
|
2143
|
+
billingAddress: z.ZodObject<{
|
|
2144
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2145
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2146
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2147
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2148
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2149
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2150
|
+
}, z.core.$strip>;
|
|
2151
|
+
billingData: z.ZodObject<{
|
|
2152
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2153
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
2154
|
+
}, z.core.$strip>;
|
|
2155
|
+
}, z.core.$strip>>;
|
|
2156
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
2157
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2158
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2159
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2160
|
+
line1: z.ZodString;
|
|
2161
|
+
city: z.ZodString;
|
|
2162
|
+
postalCode: z.ZodString;
|
|
2163
|
+
}, z.core.$strip>>;
|
|
2164
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
2165
|
+
latitude: z.ZodNumber;
|
|
2166
|
+
longitude: z.ZodNumber;
|
|
2167
|
+
}, z.core.$strip>>;
|
|
2168
|
+
status: z.ZodEnum<{
|
|
2169
|
+
pending: "pending";
|
|
2170
|
+
confirmed: "confirmed";
|
|
2171
|
+
rejected: "rejected";
|
|
2172
|
+
}>;
|
|
2173
|
+
preparationStatus: z.ZodEnum<{
|
|
2174
|
+
to_prepare: "to_prepare";
|
|
2175
|
+
in_preparation: "in_preparation";
|
|
2176
|
+
done: "done";
|
|
2177
|
+
}>;
|
|
2178
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2179
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
2180
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
2181
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2182
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2183
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
2184
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
2185
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2186
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2187
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2188
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2189
|
+
amount: z.ZodString;
|
|
2190
|
+
netAmount: z.ZodString;
|
|
2191
|
+
taxAmount: z.ZodString;
|
|
2192
|
+
discount: z.ZodString;
|
|
2193
|
+
feeAmount: z.ZodString;
|
|
2194
|
+
feeNetAmount: z.ZodString;
|
|
2195
|
+
feeTaxAmount: z.ZodString;
|
|
2196
|
+
totalAmount: z.ZodString;
|
|
2197
|
+
totalNetAmount: z.ZodString;
|
|
2198
|
+
totalTaxAmount: z.ZodString;
|
|
2199
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
2200
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
2201
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
2202
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
2203
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
2204
|
+
isRead: z.ZodBoolean;
|
|
2205
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
2206
|
+
createdAt: z.ZodString;
|
|
2207
|
+
updatedAt: z.ZodString;
|
|
2208
|
+
}, z.core.$strip>>;
|
|
2209
|
+
createdAt: z.ZodString;
|
|
2210
|
+
updatedAt: z.ZodString;
|
|
2211
|
+
}, z.core.$strip>>]>;
|
|
2081
2212
|
type GetBundlesResponse = z.infer<typeof getBundlesResponseSchema>;
|
|
2082
2213
|
declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema, typeof getBundlesResponseSchema, GetBundlesQueryParams> {
|
|
2083
|
-
readonly method
|
|
2084
|
-
readonly contentType
|
|
2085
|
-
readonly accept
|
|
2214
|
+
readonly method: "GET";
|
|
2215
|
+
readonly contentType: "application/json";
|
|
2216
|
+
readonly accept: "application/json";
|
|
2086
2217
|
readonly inputSchema: z.ZodUndefined;
|
|
2087
|
-
readonly outputSchema: z.ZodObject<{
|
|
2218
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2088
2219
|
data: z.ZodArray<z.ZodObject<{
|
|
2089
2220
|
id: z.ZodString;
|
|
2090
2221
|
status: z.ZodEnum<{
|
|
@@ -2226,129 +2357,394 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
2226
2357
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2227
2358
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2228
2359
|
}, z.core.$strip>;
|
|
2229
|
-
}, z.core.$strip
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
ready: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2233
|
-
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2234
|
-
pending: "pending";
|
|
2235
|
-
busy: "busy";
|
|
2236
|
-
broken: "broken";
|
|
2237
|
-
released: "released";
|
|
2238
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
2360
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2361
|
+
id: z.ZodString;
|
|
2362
|
+
status: z.ZodEnum<{
|
|
2239
2363
|
pending: "pending";
|
|
2240
2364
|
busy: "busy";
|
|
2241
2365
|
broken: "broken";
|
|
2242
2366
|
released: "released";
|
|
2243
|
-
}
|
|
2244
|
-
type: z.
|
|
2245
|
-
REGULAR: "REGULAR";
|
|
2246
|
-
FORCED: "FORCED";
|
|
2247
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
2367
|
+
}>;
|
|
2368
|
+
type: z.ZodEnum<{
|
|
2248
2369
|
REGULAR: "REGULAR";
|
|
2249
2370
|
FORCED: "FORCED";
|
|
2250
|
-
}
|
|
2251
|
-
brokenReason: z.
|
|
2252
|
-
delivery_removed: "delivery_removed";
|
|
2253
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
2371
|
+
}>;
|
|
2372
|
+
brokenReason: z.ZodNullable<z.ZodEnum<{
|
|
2254
2373
|
delivery_removed: "delivery_removed";
|
|
2255
|
-
}>>]>>;
|
|
2256
|
-
'totalCountableItems[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2257
|
-
'totalCountableItems[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2258
|
-
'totalCountableItems[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2259
|
-
'totalCountableItems[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2260
|
-
'totalCountableItems[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2261
|
-
'order[preparationTime]': z.ZodOptional<z.ZodEnum<{
|
|
2262
|
-
asc: "asc";
|
|
2263
|
-
desc: "desc";
|
|
2264
|
-
}>>;
|
|
2265
|
-
'order[totalCountableItems]': z.ZodOptional<z.ZodEnum<{
|
|
2266
|
-
asc: "asc";
|
|
2267
|
-
desc: "desc";
|
|
2268
|
-
}>>;
|
|
2269
|
-
'order[startTime]': z.ZodOptional<z.ZodEnum<{
|
|
2270
|
-
asc: "asc";
|
|
2271
|
-
desc: "desc";
|
|
2272
|
-
}>>;
|
|
2273
|
-
'order[endTime]': z.ZodOptional<z.ZodEnum<{
|
|
2274
|
-
asc: "asc";
|
|
2275
|
-
desc: "desc";
|
|
2276
|
-
}>>;
|
|
2277
|
-
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2278
|
-
asc: "asc";
|
|
2279
|
-
desc: "desc";
|
|
2280
|
-
}>>;
|
|
2281
|
-
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
2282
|
-
asc: "asc";
|
|
2283
|
-
desc: "desc";
|
|
2284
2374
|
}>>;
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2375
|
+
deliverable: z.ZodBoolean;
|
|
2376
|
+
ready: z.ZodBoolean;
|
|
2377
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2378
|
+
startTime: z.ZodNullable<z.ZodString>;
|
|
2379
|
+
endTime: z.ZodNullable<z.ZodString>;
|
|
2380
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2381
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
2382
|
+
id: z.ZodString;
|
|
2383
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
2384
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
2385
|
+
stripe: "stripe";
|
|
2386
|
+
bank_transfer: "bank_transfer";
|
|
2387
|
+
cash: "cash";
|
|
2388
|
+
credit_card: "credit_card";
|
|
2389
|
+
}>>;
|
|
2390
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
2391
|
+
pending: "pending";
|
|
2392
|
+
pending_verification: "pending_verification";
|
|
2393
|
+
paid: "paid";
|
|
2394
|
+
canceled: "canceled";
|
|
2395
|
+
refunded: "refunded";
|
|
2396
|
+
failed: "failed";
|
|
2397
|
+
}>>;
|
|
2398
|
+
type: z.ZodEnum<{
|
|
2399
|
+
delivery: "delivery";
|
|
2400
|
+
take_away: "take_away";
|
|
2401
|
+
kitchen: "kitchen";
|
|
2402
|
+
}>;
|
|
2403
|
+
source: z.ZodEnum<{
|
|
2404
|
+
application: "application";
|
|
2405
|
+
ecommerce: "ecommerce";
|
|
2406
|
+
partner: "partner";
|
|
2407
|
+
}>;
|
|
2408
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
2409
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
2410
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
2411
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
2412
|
+
customerInfo: z.ZodObject<{
|
|
2413
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2414
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2415
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
2416
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
2417
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2419
|
+
}, z.core.$strict>;
|
|
2420
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
2421
|
+
businessName: z.ZodString;
|
|
2422
|
+
vat: z.ZodString;
|
|
2423
|
+
taxCode: z.ZodString;
|
|
2424
|
+
billingAddress: z.ZodObject<{
|
|
2425
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2426
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2427
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2428
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2429
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2430
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2431
|
+
}, z.core.$strip>;
|
|
2432
|
+
billingData: z.ZodObject<{
|
|
2433
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2434
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
2435
|
+
}, z.core.$strip>;
|
|
2436
|
+
}, z.core.$strip>>;
|
|
2437
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
2438
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2439
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2440
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2441
|
+
line1: z.ZodString;
|
|
2442
|
+
city: z.ZodString;
|
|
2443
|
+
postalCode: z.ZodString;
|
|
2444
|
+
}, z.core.$strip>>;
|
|
2445
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
2446
|
+
latitude: z.ZodNumber;
|
|
2447
|
+
longitude: z.ZodNumber;
|
|
2448
|
+
}, z.core.$strip>>;
|
|
2449
|
+
status: z.ZodEnum<{
|
|
2450
|
+
pending: "pending";
|
|
2451
|
+
confirmed: "confirmed";
|
|
2452
|
+
rejected: "rejected";
|
|
2453
|
+
}>;
|
|
2454
|
+
preparationStatus: z.ZodEnum<{
|
|
2455
|
+
to_prepare: "to_prepare";
|
|
2456
|
+
in_preparation: "in_preparation";
|
|
2457
|
+
done: "done";
|
|
2458
|
+
}>;
|
|
2459
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2460
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
2461
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
2462
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2463
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2464
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
2465
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
2466
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2467
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2468
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2469
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2470
|
+
amount: z.ZodString;
|
|
2471
|
+
netAmount: z.ZodString;
|
|
2472
|
+
taxAmount: z.ZodString;
|
|
2473
|
+
discount: z.ZodString;
|
|
2474
|
+
feeAmount: z.ZodString;
|
|
2475
|
+
feeNetAmount: z.ZodString;
|
|
2476
|
+
feeTaxAmount: z.ZodString;
|
|
2477
|
+
totalAmount: z.ZodString;
|
|
2478
|
+
totalNetAmount: z.ZodString;
|
|
2479
|
+
totalTaxAmount: z.ZodString;
|
|
2480
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
2481
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
2482
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
2483
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
2484
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
2485
|
+
isRead: z.ZodBoolean;
|
|
2486
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
2487
|
+
createdAt: z.ZodString;
|
|
2488
|
+
updatedAt: z.ZodString;
|
|
2489
|
+
}, z.core.$strip>>;
|
|
2490
|
+
createdAt: z.ZodString;
|
|
2491
|
+
updatedAt: z.ZodString;
|
|
2492
|
+
}, z.core.$strip>>]>;
|
|
2493
|
+
readonly querySchema: z.ZodObject<{
|
|
2494
|
+
deliverable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2495
|
+
ready: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2496
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2497
|
+
pending: "pending";
|
|
2498
|
+
busy: "busy";
|
|
2499
|
+
broken: "broken";
|
|
2500
|
+
released: "released";
|
|
2501
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2502
|
+
pending: "pending";
|
|
2503
|
+
busy: "busy";
|
|
2504
|
+
broken: "broken";
|
|
2505
|
+
released: "released";
|
|
2506
|
+
}>>]>>;
|
|
2507
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2508
|
+
REGULAR: "REGULAR";
|
|
2509
|
+
FORCED: "FORCED";
|
|
2510
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2511
|
+
REGULAR: "REGULAR";
|
|
2512
|
+
FORCED: "FORCED";
|
|
2513
|
+
}>>]>>;
|
|
2514
|
+
brokenReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2515
|
+
delivery_removed: "delivery_removed";
|
|
2516
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2517
|
+
delivery_removed: "delivery_removed";
|
|
2518
|
+
}>>]>>;
|
|
2519
|
+
'totalCountableItems[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2520
|
+
'totalCountableItems[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2521
|
+
'totalCountableItems[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2522
|
+
'totalCountableItems[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2523
|
+
'totalCountableItems[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2524
|
+
'order[preparationTime]': z.ZodOptional<z.ZodEnum<{
|
|
2525
|
+
asc: "asc";
|
|
2526
|
+
desc: "desc";
|
|
2527
|
+
}>>;
|
|
2528
|
+
'order[totalCountableItems]': z.ZodOptional<z.ZodEnum<{
|
|
2529
|
+
asc: "asc";
|
|
2530
|
+
desc: "desc";
|
|
2531
|
+
}>>;
|
|
2532
|
+
'order[startTime]': z.ZodOptional<z.ZodEnum<{
|
|
2533
|
+
asc: "asc";
|
|
2534
|
+
desc: "desc";
|
|
2535
|
+
}>>;
|
|
2536
|
+
'order[endTime]': z.ZodOptional<z.ZodEnum<{
|
|
2537
|
+
asc: "asc";
|
|
2538
|
+
desc: "desc";
|
|
2539
|
+
}>>;
|
|
2540
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2541
|
+
asc: "asc";
|
|
2542
|
+
desc: "desc";
|
|
2543
|
+
}>>;
|
|
2544
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
2545
|
+
asc: "asc";
|
|
2546
|
+
desc: "desc";
|
|
2547
|
+
}>>;
|
|
2548
|
+
'startTime[before]': z.ZodOptional<z.ZodString>;
|
|
2549
|
+
'startTime[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2550
|
+
'startTime[after]': z.ZodOptional<z.ZodString>;
|
|
2551
|
+
'startTime[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2552
|
+
'endTime[before]': z.ZodOptional<z.ZodString>;
|
|
2553
|
+
'endTime[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2554
|
+
'endTime[after]': z.ZodOptional<z.ZodString>;
|
|
2555
|
+
'endTime[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2556
|
+
'preparationTime[before]': z.ZodOptional<z.ZodString>;
|
|
2557
|
+
'preparationTime[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2558
|
+
'preparationTime[after]': z.ZodOptional<z.ZodString>;
|
|
2559
|
+
'preparationTime[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2560
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2561
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2562
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2563
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2564
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2565
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2566
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2567
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2568
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2569
|
+
}, z.core.$strip>;
|
|
2570
|
+
readonly headersSchema: undefined;
|
|
2571
|
+
readonly listItemSchema: z.ZodObject<{
|
|
2572
|
+
id: z.ZodString;
|
|
2573
|
+
status: z.ZodEnum<{
|
|
2574
|
+
pending: "pending";
|
|
2575
|
+
busy: "busy";
|
|
2576
|
+
broken: "broken";
|
|
2577
|
+
released: "released";
|
|
2578
|
+
}>;
|
|
2579
|
+
type: z.ZodEnum<{
|
|
2580
|
+
REGULAR: "REGULAR";
|
|
2581
|
+
FORCED: "FORCED";
|
|
2582
|
+
}>;
|
|
2583
|
+
brokenReason: z.ZodNullable<z.ZodEnum<{
|
|
2584
|
+
delivery_removed: "delivery_removed";
|
|
2585
|
+
}>>;
|
|
2586
|
+
deliverable: z.ZodBoolean;
|
|
2587
|
+
ready: z.ZodBoolean;
|
|
2588
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2589
|
+
startTime: z.ZodNullable<z.ZodString>;
|
|
2590
|
+
endTime: z.ZodNullable<z.ZodString>;
|
|
2591
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2592
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
2593
|
+
id: z.ZodString;
|
|
2594
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
2595
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
2596
|
+
stripe: "stripe";
|
|
2597
|
+
bank_transfer: "bank_transfer";
|
|
2598
|
+
cash: "cash";
|
|
2599
|
+
credit_card: "credit_card";
|
|
2600
|
+
}>>;
|
|
2601
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
2602
|
+
pending: "pending";
|
|
2603
|
+
pending_verification: "pending_verification";
|
|
2604
|
+
paid: "paid";
|
|
2605
|
+
canceled: "canceled";
|
|
2606
|
+
refunded: "refunded";
|
|
2607
|
+
failed: "failed";
|
|
2608
|
+
}>>;
|
|
2609
|
+
type: z.ZodEnum<{
|
|
2610
|
+
delivery: "delivery";
|
|
2611
|
+
take_away: "take_away";
|
|
2612
|
+
kitchen: "kitchen";
|
|
2613
|
+
}>;
|
|
2614
|
+
source: z.ZodEnum<{
|
|
2615
|
+
application: "application";
|
|
2616
|
+
ecommerce: "ecommerce";
|
|
2617
|
+
partner: "partner";
|
|
2618
|
+
}>;
|
|
2619
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
2620
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
2621
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
2622
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
2623
|
+
customerInfo: z.ZodObject<{
|
|
2624
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2625
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2626
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
2627
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
2628
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2629
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2630
|
+
}, z.core.$strict>;
|
|
2631
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
2632
|
+
businessName: z.ZodString;
|
|
2633
|
+
vat: z.ZodString;
|
|
2634
|
+
taxCode: z.ZodString;
|
|
2635
|
+
billingAddress: z.ZodObject<{
|
|
2636
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2637
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2638
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2639
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2640
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2641
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2642
|
+
}, z.core.$strip>;
|
|
2643
|
+
billingData: z.ZodObject<{
|
|
2644
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2645
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
2646
|
+
}, z.core.$strip>;
|
|
2647
|
+
}, z.core.$strip>>;
|
|
2648
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
2649
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2650
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2651
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2652
|
+
line1: z.ZodString;
|
|
2653
|
+
city: z.ZodString;
|
|
2654
|
+
postalCode: z.ZodString;
|
|
2655
|
+
}, z.core.$strip>>;
|
|
2656
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
2657
|
+
latitude: z.ZodNumber;
|
|
2658
|
+
longitude: z.ZodNumber;
|
|
2659
|
+
}, z.core.$strip>>;
|
|
2660
|
+
status: z.ZodEnum<{
|
|
2661
|
+
pending: "pending";
|
|
2662
|
+
confirmed: "confirmed";
|
|
2663
|
+
rejected: "rejected";
|
|
2664
|
+
}>;
|
|
2665
|
+
preparationStatus: z.ZodEnum<{
|
|
2666
|
+
to_prepare: "to_prepare";
|
|
2667
|
+
in_preparation: "in_preparation";
|
|
2668
|
+
done: "done";
|
|
2669
|
+
}>;
|
|
2670
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2671
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
2672
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
2673
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2674
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2675
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
2676
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
2677
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2678
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2679
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2680
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2681
|
+
amount: z.ZodString;
|
|
2682
|
+
netAmount: z.ZodString;
|
|
2683
|
+
taxAmount: z.ZodString;
|
|
2684
|
+
discount: z.ZodString;
|
|
2685
|
+
feeAmount: z.ZodString;
|
|
2686
|
+
feeNetAmount: z.ZodString;
|
|
2687
|
+
feeTaxAmount: z.ZodString;
|
|
2688
|
+
totalAmount: z.ZodString;
|
|
2689
|
+
totalNetAmount: z.ZodString;
|
|
2690
|
+
totalTaxAmount: z.ZodString;
|
|
2691
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
2692
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
2693
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
2694
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
2695
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
2696
|
+
isRead: z.ZodBoolean;
|
|
2697
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
2698
|
+
createdAt: z.ZodString;
|
|
2699
|
+
updatedAt: z.ZodString;
|
|
2700
|
+
}, z.core.$strip>>;
|
|
2701
|
+
createdAt: z.ZodString;
|
|
2702
|
+
updatedAt: z.ZodString;
|
|
2703
|
+
}, z.core.$strip>;
|
|
2704
|
+
readonly paginationDefaultEnabled = true;
|
|
2705
|
+
constructor(options?: {
|
|
2706
|
+
query?: BundlesQueryParams;
|
|
2707
|
+
});
|
|
2708
|
+
getPath(): string;
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
declare const getBundlesFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
2712
|
+
deliverable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2713
|
+
ready: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2714
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2715
|
+
pending: "pending";
|
|
2716
|
+
busy: "busy";
|
|
2717
|
+
broken: "broken";
|
|
2718
|
+
released: "released";
|
|
2719
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2720
|
+
pending: "pending";
|
|
2721
|
+
busy: "busy";
|
|
2722
|
+
broken: "broken";
|
|
2723
|
+
released: "released";
|
|
2724
|
+
}>>]>>;
|
|
2725
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2726
|
+
REGULAR: "REGULAR";
|
|
2727
|
+
FORCED: "FORCED";
|
|
2728
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2729
|
+
REGULAR: "REGULAR";
|
|
2730
|
+
FORCED: "FORCED";
|
|
2731
|
+
}>>]>>;
|
|
2732
|
+
brokenReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2733
|
+
delivery_removed: "delivery_removed";
|
|
2734
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2735
|
+
delivery_removed: "delivery_removed";
|
|
2736
|
+
}>>]>>;
|
|
2737
|
+
'totalCountableItems[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2738
|
+
'totalCountableItems[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2739
|
+
'totalCountableItems[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2740
|
+
'totalCountableItems[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2741
|
+
'totalCountableItems[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2742
|
+
'order[preparationTime]': z.ZodOptional<z.ZodEnum<{
|
|
2743
|
+
asc: "asc";
|
|
2744
|
+
desc: "desc";
|
|
2745
|
+
}>>;
|
|
2746
|
+
'order[totalCountableItems]': z.ZodOptional<z.ZodEnum<{
|
|
2747
|
+
asc: "asc";
|
|
2352
2748
|
desc: "desc";
|
|
2353
2749
|
}>>;
|
|
2354
2750
|
'order[startTime]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -2392,7 +2788,7 @@ declare const getBundlesFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
|
2392
2788
|
type GetBundlesFromPointOfSaleQueryParams = z.infer<typeof getBundlesFromPointOfSaleQuerySchema>;
|
|
2393
2789
|
declare const getBundlesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
2394
2790
|
type GetBundlesFromPointOfSaleInput = z.infer<typeof getBundlesFromPointOfSaleInputSchema>;
|
|
2395
|
-
declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
2791
|
+
declare const getBundlesFromPointOfSaleResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2396
2792
|
data: z.ZodArray<z.ZodObject<{
|
|
2397
2793
|
id: z.ZodString;
|
|
2398
2794
|
status: z.ZodEnum<{
|
|
@@ -2474,74 +2870,206 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2474
2870
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2475
2871
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2476
2872
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2477
|
-
line1: z.ZodString;
|
|
2478
|
-
city: z.ZodString;
|
|
2479
|
-
postalCode: z.ZodString;
|
|
2480
|
-
}, z.core.$strip>>;
|
|
2481
|
-
location: z.ZodNullable<z.ZodObject<{
|
|
2482
|
-
latitude: z.ZodNumber;
|
|
2483
|
-
longitude: z.ZodNumber;
|
|
2484
|
-
}, z.core.$strip>>;
|
|
2485
|
-
status: z.ZodEnum<{
|
|
2486
|
-
pending: "pending";
|
|
2487
|
-
confirmed: "confirmed";
|
|
2488
|
-
rejected: "rejected";
|
|
2489
|
-
}>;
|
|
2490
|
-
preparationStatus: z.ZodEnum<{
|
|
2491
|
-
to_prepare: "to_prepare";
|
|
2492
|
-
in_preparation: "in_preparation";
|
|
2493
|
-
done: "done";
|
|
2494
|
-
}>;
|
|
2495
|
-
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2496
|
-
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
2497
|
-
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
2498
|
-
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2499
|
-
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2500
|
-
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
2501
|
-
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
2502
|
-
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2503
|
-
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2504
|
-
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2505
|
-
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2506
|
-
amount: z.ZodString;
|
|
2507
|
-
netAmount: z.ZodString;
|
|
2508
|
-
taxAmount: z.ZodString;
|
|
2509
|
-
discount: z.ZodString;
|
|
2510
|
-
feeAmount: z.ZodString;
|
|
2511
|
-
feeNetAmount: z.ZodString;
|
|
2512
|
-
feeTaxAmount: z.ZodString;
|
|
2513
|
-
totalAmount: z.ZodString;
|
|
2514
|
-
totalNetAmount: z.ZodString;
|
|
2515
|
-
totalTaxAmount: z.ZodString;
|
|
2516
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
2517
|
-
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
2518
|
-
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
2519
|
-
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
2520
|
-
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
2521
|
-
isRead: z.ZodBoolean;
|
|
2522
|
-
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
2523
|
-
createdAt: z.ZodString;
|
|
2524
|
-
updatedAt: z.ZodString;
|
|
2873
|
+
line1: z.ZodString;
|
|
2874
|
+
city: z.ZodString;
|
|
2875
|
+
postalCode: z.ZodString;
|
|
2876
|
+
}, z.core.$strip>>;
|
|
2877
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
2878
|
+
latitude: z.ZodNumber;
|
|
2879
|
+
longitude: z.ZodNumber;
|
|
2880
|
+
}, z.core.$strip>>;
|
|
2881
|
+
status: z.ZodEnum<{
|
|
2882
|
+
pending: "pending";
|
|
2883
|
+
confirmed: "confirmed";
|
|
2884
|
+
rejected: "rejected";
|
|
2885
|
+
}>;
|
|
2886
|
+
preparationStatus: z.ZodEnum<{
|
|
2887
|
+
to_prepare: "to_prepare";
|
|
2888
|
+
in_preparation: "in_preparation";
|
|
2889
|
+
done: "done";
|
|
2890
|
+
}>;
|
|
2891
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2892
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
2893
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
2894
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2895
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
2896
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
2897
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
2898
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2899
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2900
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2901
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2902
|
+
amount: z.ZodString;
|
|
2903
|
+
netAmount: z.ZodString;
|
|
2904
|
+
taxAmount: z.ZodString;
|
|
2905
|
+
discount: z.ZodString;
|
|
2906
|
+
feeAmount: z.ZodString;
|
|
2907
|
+
feeNetAmount: z.ZodString;
|
|
2908
|
+
feeTaxAmount: z.ZodString;
|
|
2909
|
+
totalAmount: z.ZodString;
|
|
2910
|
+
totalNetAmount: z.ZodString;
|
|
2911
|
+
totalTaxAmount: z.ZodString;
|
|
2912
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
2913
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
2914
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
2915
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
2916
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
2917
|
+
isRead: z.ZodBoolean;
|
|
2918
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
2919
|
+
createdAt: z.ZodString;
|
|
2920
|
+
updatedAt: z.ZodString;
|
|
2921
|
+
}, z.core.$strip>>;
|
|
2922
|
+
createdAt: z.ZodString;
|
|
2923
|
+
updatedAt: z.ZodString;
|
|
2924
|
+
}, z.core.$strip>>;
|
|
2925
|
+
pagination: z.ZodObject<{
|
|
2926
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2927
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2928
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2929
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2930
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2931
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2932
|
+
}, z.core.$strip>;
|
|
2933
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2934
|
+
id: z.ZodString;
|
|
2935
|
+
status: z.ZodEnum<{
|
|
2936
|
+
pending: "pending";
|
|
2937
|
+
busy: "busy";
|
|
2938
|
+
broken: "broken";
|
|
2939
|
+
released: "released";
|
|
2940
|
+
}>;
|
|
2941
|
+
type: z.ZodEnum<{
|
|
2942
|
+
REGULAR: "REGULAR";
|
|
2943
|
+
FORCED: "FORCED";
|
|
2944
|
+
}>;
|
|
2945
|
+
brokenReason: z.ZodNullable<z.ZodEnum<{
|
|
2946
|
+
delivery_removed: "delivery_removed";
|
|
2947
|
+
}>>;
|
|
2948
|
+
deliverable: z.ZodBoolean;
|
|
2949
|
+
ready: z.ZodBoolean;
|
|
2950
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2951
|
+
startTime: z.ZodNullable<z.ZodString>;
|
|
2952
|
+
endTime: z.ZodNullable<z.ZodString>;
|
|
2953
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2954
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
2955
|
+
id: z.ZodString;
|
|
2956
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
2957
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
2958
|
+
stripe: "stripe";
|
|
2959
|
+
bank_transfer: "bank_transfer";
|
|
2960
|
+
cash: "cash";
|
|
2961
|
+
credit_card: "credit_card";
|
|
2962
|
+
}>>;
|
|
2963
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
2964
|
+
pending: "pending";
|
|
2965
|
+
pending_verification: "pending_verification";
|
|
2966
|
+
paid: "paid";
|
|
2967
|
+
canceled: "canceled";
|
|
2968
|
+
refunded: "refunded";
|
|
2969
|
+
failed: "failed";
|
|
2970
|
+
}>>;
|
|
2971
|
+
type: z.ZodEnum<{
|
|
2972
|
+
delivery: "delivery";
|
|
2973
|
+
take_away: "take_away";
|
|
2974
|
+
kitchen: "kitchen";
|
|
2975
|
+
}>;
|
|
2976
|
+
source: z.ZodEnum<{
|
|
2977
|
+
application: "application";
|
|
2978
|
+
ecommerce: "ecommerce";
|
|
2979
|
+
partner: "partner";
|
|
2980
|
+
}>;
|
|
2981
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
2982
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
2983
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
2984
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
2985
|
+
customerInfo: z.ZodObject<{
|
|
2986
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2987
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2988
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
2989
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
2990
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2991
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2992
|
+
}, z.core.$strict>;
|
|
2993
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
2994
|
+
businessName: z.ZodString;
|
|
2995
|
+
vat: z.ZodString;
|
|
2996
|
+
taxCode: z.ZodString;
|
|
2997
|
+
billingAddress: z.ZodObject<{
|
|
2998
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2999
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3000
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3001
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3002
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3003
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3004
|
+
}, z.core.$strip>;
|
|
3005
|
+
billingData: z.ZodObject<{
|
|
3006
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3007
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
3008
|
+
}, z.core.$strip>;
|
|
3009
|
+
}, z.core.$strip>>;
|
|
3010
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
3011
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3012
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3013
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3014
|
+
line1: z.ZodString;
|
|
3015
|
+
city: z.ZodString;
|
|
3016
|
+
postalCode: z.ZodString;
|
|
3017
|
+
}, z.core.$strip>>;
|
|
3018
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
3019
|
+
latitude: z.ZodNumber;
|
|
3020
|
+
longitude: z.ZodNumber;
|
|
2525
3021
|
}, z.core.$strip>>;
|
|
3022
|
+
status: z.ZodEnum<{
|
|
3023
|
+
pending: "pending";
|
|
3024
|
+
confirmed: "confirmed";
|
|
3025
|
+
rejected: "rejected";
|
|
3026
|
+
}>;
|
|
3027
|
+
preparationStatus: z.ZodEnum<{
|
|
3028
|
+
to_prepare: "to_prepare";
|
|
3029
|
+
in_preparation: "in_preparation";
|
|
3030
|
+
done: "done";
|
|
3031
|
+
}>;
|
|
3032
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
3033
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
3034
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
3035
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
3036
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
3037
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
3038
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
3039
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3040
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3041
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
3042
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
3043
|
+
amount: z.ZodString;
|
|
3044
|
+
netAmount: z.ZodString;
|
|
3045
|
+
taxAmount: z.ZodString;
|
|
3046
|
+
discount: z.ZodString;
|
|
3047
|
+
feeAmount: z.ZodString;
|
|
3048
|
+
feeNetAmount: z.ZodString;
|
|
3049
|
+
feeTaxAmount: z.ZodString;
|
|
3050
|
+
totalAmount: z.ZodString;
|
|
3051
|
+
totalNetAmount: z.ZodString;
|
|
3052
|
+
totalTaxAmount: z.ZodString;
|
|
3053
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
3054
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
3055
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
3056
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
3057
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
3058
|
+
isRead: z.ZodBoolean;
|
|
3059
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
2526
3060
|
createdAt: z.ZodString;
|
|
2527
3061
|
updatedAt: z.ZodString;
|
|
2528
3062
|
}, z.core.$strip>>;
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2533
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2534
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2535
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2536
|
-
}, z.core.$strip>;
|
|
2537
|
-
}, z.core.$strip>;
|
|
3063
|
+
createdAt: z.ZodString;
|
|
3064
|
+
updatedAt: z.ZodString;
|
|
3065
|
+
}, z.core.$strip>>]>;
|
|
2538
3066
|
type GetBundlesFromPointOfSaleResponse = z.infer<typeof getBundlesFromPointOfSaleResponseSchema>;
|
|
2539
3067
|
declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBundlesFromPointOfSaleInputSchema, typeof getBundlesFromPointOfSaleResponseSchema, GetBundlesFromPointOfSaleQueryParams> {
|
|
2540
|
-
readonly method
|
|
2541
|
-
readonly contentType
|
|
2542
|
-
readonly accept
|
|
3068
|
+
readonly method: "GET";
|
|
3069
|
+
readonly contentType: "application/json";
|
|
3070
|
+
readonly accept: "application/json";
|
|
2543
3071
|
readonly inputSchema: z.ZodUndefined;
|
|
2544
|
-
readonly outputSchema: z.ZodObject<{
|
|
3072
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2545
3073
|
data: z.ZodArray<z.ZodObject<{
|
|
2546
3074
|
id: z.ZodString;
|
|
2547
3075
|
status: z.ZodEnum<{
|
|
@@ -2675,15 +3203,147 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
2675
3203
|
createdAt: z.ZodString;
|
|
2676
3204
|
updatedAt: z.ZodString;
|
|
2677
3205
|
}, z.core.$strip>>;
|
|
2678
|
-
pagination: z.ZodObject<{
|
|
2679
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
2680
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
2681
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2682
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2683
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2684
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2685
|
-
}, z.core.$strip>;
|
|
2686
|
-
}, z.core.$strip
|
|
3206
|
+
pagination: z.ZodObject<{
|
|
3207
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3208
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3209
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3210
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3211
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3212
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3213
|
+
}, z.core.$strip>;
|
|
3214
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3215
|
+
id: z.ZodString;
|
|
3216
|
+
status: z.ZodEnum<{
|
|
3217
|
+
pending: "pending";
|
|
3218
|
+
busy: "busy";
|
|
3219
|
+
broken: "broken";
|
|
3220
|
+
released: "released";
|
|
3221
|
+
}>;
|
|
3222
|
+
type: z.ZodEnum<{
|
|
3223
|
+
REGULAR: "REGULAR";
|
|
3224
|
+
FORCED: "FORCED";
|
|
3225
|
+
}>;
|
|
3226
|
+
brokenReason: z.ZodNullable<z.ZodEnum<{
|
|
3227
|
+
delivery_removed: "delivery_removed";
|
|
3228
|
+
}>>;
|
|
3229
|
+
deliverable: z.ZodBoolean;
|
|
3230
|
+
ready: z.ZodBoolean;
|
|
3231
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
3232
|
+
startTime: z.ZodNullable<z.ZodString>;
|
|
3233
|
+
endTime: z.ZodNullable<z.ZodString>;
|
|
3234
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
3235
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
3236
|
+
id: z.ZodString;
|
|
3237
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
3238
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
3239
|
+
stripe: "stripe";
|
|
3240
|
+
bank_transfer: "bank_transfer";
|
|
3241
|
+
cash: "cash";
|
|
3242
|
+
credit_card: "credit_card";
|
|
3243
|
+
}>>;
|
|
3244
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
3245
|
+
pending: "pending";
|
|
3246
|
+
pending_verification: "pending_verification";
|
|
3247
|
+
paid: "paid";
|
|
3248
|
+
canceled: "canceled";
|
|
3249
|
+
refunded: "refunded";
|
|
3250
|
+
failed: "failed";
|
|
3251
|
+
}>>;
|
|
3252
|
+
type: z.ZodEnum<{
|
|
3253
|
+
delivery: "delivery";
|
|
3254
|
+
take_away: "take_away";
|
|
3255
|
+
kitchen: "kitchen";
|
|
3256
|
+
}>;
|
|
3257
|
+
source: z.ZodEnum<{
|
|
3258
|
+
application: "application";
|
|
3259
|
+
ecommerce: "ecommerce";
|
|
3260
|
+
partner: "partner";
|
|
3261
|
+
}>;
|
|
3262
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
3263
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
3264
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
3265
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
3266
|
+
customerInfo: z.ZodObject<{
|
|
3267
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3268
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3269
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
3270
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
3271
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3272
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3273
|
+
}, z.core.$strict>;
|
|
3274
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
3275
|
+
businessName: z.ZodString;
|
|
3276
|
+
vat: z.ZodString;
|
|
3277
|
+
taxCode: z.ZodString;
|
|
3278
|
+
billingAddress: z.ZodObject<{
|
|
3279
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3280
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3281
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3282
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3283
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3284
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3285
|
+
}, z.core.$strip>;
|
|
3286
|
+
billingData: z.ZodObject<{
|
|
3287
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3288
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
3289
|
+
}, z.core.$strip>;
|
|
3290
|
+
}, z.core.$strip>>;
|
|
3291
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
3292
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3293
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3294
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3295
|
+
line1: z.ZodString;
|
|
3296
|
+
city: z.ZodString;
|
|
3297
|
+
postalCode: z.ZodString;
|
|
3298
|
+
}, z.core.$strip>>;
|
|
3299
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
3300
|
+
latitude: z.ZodNumber;
|
|
3301
|
+
longitude: z.ZodNumber;
|
|
3302
|
+
}, z.core.$strip>>;
|
|
3303
|
+
status: z.ZodEnum<{
|
|
3304
|
+
pending: "pending";
|
|
3305
|
+
confirmed: "confirmed";
|
|
3306
|
+
rejected: "rejected";
|
|
3307
|
+
}>;
|
|
3308
|
+
preparationStatus: z.ZodEnum<{
|
|
3309
|
+
to_prepare: "to_prepare";
|
|
3310
|
+
in_preparation: "in_preparation";
|
|
3311
|
+
done: "done";
|
|
3312
|
+
}>;
|
|
3313
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
3314
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
3315
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
3316
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
3317
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
3318
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
3319
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
3320
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3321
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3322
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
3323
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
3324
|
+
amount: z.ZodString;
|
|
3325
|
+
netAmount: z.ZodString;
|
|
3326
|
+
taxAmount: z.ZodString;
|
|
3327
|
+
discount: z.ZodString;
|
|
3328
|
+
feeAmount: z.ZodString;
|
|
3329
|
+
feeNetAmount: z.ZodString;
|
|
3330
|
+
feeTaxAmount: z.ZodString;
|
|
3331
|
+
totalAmount: z.ZodString;
|
|
3332
|
+
totalNetAmount: z.ZodString;
|
|
3333
|
+
totalTaxAmount: z.ZodString;
|
|
3334
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
3335
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
3336
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
3337
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
3338
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
3339
|
+
isRead: z.ZodBoolean;
|
|
3340
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
3341
|
+
createdAt: z.ZodString;
|
|
3342
|
+
updatedAt: z.ZodString;
|
|
3343
|
+
}, z.core.$strip>>;
|
|
3344
|
+
createdAt: z.ZodString;
|
|
3345
|
+
updatedAt: z.ZodString;
|
|
3346
|
+
}, z.core.$strip>>]>;
|
|
2687
3347
|
readonly querySchema: z.ZodObject<{
|
|
2688
3348
|
deliverable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2689
3349
|
ready: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -2762,12 +3422,145 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
2762
3422
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2763
3423
|
}, z.core.$strip>;
|
|
2764
3424
|
readonly headersSchema: undefined;
|
|
3425
|
+
readonly listItemSchema: z.ZodObject<{
|
|
3426
|
+
id: z.ZodString;
|
|
3427
|
+
status: z.ZodEnum<{
|
|
3428
|
+
pending: "pending";
|
|
3429
|
+
busy: "busy";
|
|
3430
|
+
broken: "broken";
|
|
3431
|
+
released: "released";
|
|
3432
|
+
}>;
|
|
3433
|
+
type: z.ZodEnum<{
|
|
3434
|
+
REGULAR: "REGULAR";
|
|
3435
|
+
FORCED: "FORCED";
|
|
3436
|
+
}>;
|
|
3437
|
+
brokenReason: z.ZodNullable<z.ZodEnum<{
|
|
3438
|
+
delivery_removed: "delivery_removed";
|
|
3439
|
+
}>>;
|
|
3440
|
+
deliverable: z.ZodBoolean;
|
|
3441
|
+
ready: z.ZodBoolean;
|
|
3442
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
3443
|
+
startTime: z.ZodNullable<z.ZodString>;
|
|
3444
|
+
endTime: z.ZodNullable<z.ZodString>;
|
|
3445
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
3446
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
3447
|
+
id: z.ZodString;
|
|
3448
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
3449
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
3450
|
+
stripe: "stripe";
|
|
3451
|
+
bank_transfer: "bank_transfer";
|
|
3452
|
+
cash: "cash";
|
|
3453
|
+
credit_card: "credit_card";
|
|
3454
|
+
}>>;
|
|
3455
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
3456
|
+
pending: "pending";
|
|
3457
|
+
pending_verification: "pending_verification";
|
|
3458
|
+
paid: "paid";
|
|
3459
|
+
canceled: "canceled";
|
|
3460
|
+
refunded: "refunded";
|
|
3461
|
+
failed: "failed";
|
|
3462
|
+
}>>;
|
|
3463
|
+
type: z.ZodEnum<{
|
|
3464
|
+
delivery: "delivery";
|
|
3465
|
+
take_away: "take_away";
|
|
3466
|
+
kitchen: "kitchen";
|
|
3467
|
+
}>;
|
|
3468
|
+
source: z.ZodEnum<{
|
|
3469
|
+
application: "application";
|
|
3470
|
+
ecommerce: "ecommerce";
|
|
3471
|
+
partner: "partner";
|
|
3472
|
+
}>;
|
|
3473
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
3474
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
3475
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
3476
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
3477
|
+
customerInfo: z.ZodObject<{
|
|
3478
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3479
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3480
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
3481
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
3482
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3483
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3484
|
+
}, z.core.$strict>;
|
|
3485
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
3486
|
+
businessName: z.ZodString;
|
|
3487
|
+
vat: z.ZodString;
|
|
3488
|
+
taxCode: z.ZodString;
|
|
3489
|
+
billingAddress: z.ZodObject<{
|
|
3490
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3491
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3492
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3493
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3494
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3495
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3496
|
+
}, z.core.$strip>;
|
|
3497
|
+
billingData: z.ZodObject<{
|
|
3498
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3499
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
3500
|
+
}, z.core.$strip>;
|
|
3501
|
+
}, z.core.$strip>>;
|
|
3502
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
3503
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3504
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3505
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3506
|
+
line1: z.ZodString;
|
|
3507
|
+
city: z.ZodString;
|
|
3508
|
+
postalCode: z.ZodString;
|
|
3509
|
+
}, z.core.$strip>>;
|
|
3510
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
3511
|
+
latitude: z.ZodNumber;
|
|
3512
|
+
longitude: z.ZodNumber;
|
|
3513
|
+
}, z.core.$strip>>;
|
|
3514
|
+
status: z.ZodEnum<{
|
|
3515
|
+
pending: "pending";
|
|
3516
|
+
confirmed: "confirmed";
|
|
3517
|
+
rejected: "rejected";
|
|
3518
|
+
}>;
|
|
3519
|
+
preparationStatus: z.ZodEnum<{
|
|
3520
|
+
to_prepare: "to_prepare";
|
|
3521
|
+
in_preparation: "in_preparation";
|
|
3522
|
+
done: "done";
|
|
3523
|
+
}>;
|
|
3524
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
3525
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
3526
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
3527
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
3528
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
3529
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
3530
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
3531
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3532
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3533
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
3534
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
3535
|
+
amount: z.ZodString;
|
|
3536
|
+
netAmount: z.ZodString;
|
|
3537
|
+
taxAmount: z.ZodString;
|
|
3538
|
+
discount: z.ZodString;
|
|
3539
|
+
feeAmount: z.ZodString;
|
|
3540
|
+
feeNetAmount: z.ZodString;
|
|
3541
|
+
feeTaxAmount: z.ZodString;
|
|
3542
|
+
totalAmount: z.ZodString;
|
|
3543
|
+
totalNetAmount: z.ZodString;
|
|
3544
|
+
totalTaxAmount: z.ZodString;
|
|
3545
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
3546
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
3547
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
3548
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
3549
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
3550
|
+
isRead: z.ZodBoolean;
|
|
3551
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
3552
|
+
createdAt: z.ZodString;
|
|
3553
|
+
updatedAt: z.ZodString;
|
|
3554
|
+
}, z.core.$strip>>;
|
|
3555
|
+
createdAt: z.ZodString;
|
|
3556
|
+
updatedAt: z.ZodString;
|
|
3557
|
+
}, z.core.$strip>;
|
|
3558
|
+
readonly paginationDefaultEnabled = true;
|
|
2765
3559
|
private readonly pointOfSaleId;
|
|
2766
3560
|
constructor(pointOfSaleId: string, options?: {
|
|
2767
3561
|
query?: BundlesQueryParams;
|
|
2768
3562
|
});
|
|
2769
3563
|
getPath(): string;
|
|
2770
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<Bundle>;
|
|
2771
3564
|
}
|
|
2772
3565
|
|
|
2773
3566
|
declare const updateBundleInputSchema: z.ZodObject<{
|
|
@@ -3149,7 +3942,7 @@ declare const getOrderMenuItemModifiersQuerySchema: z.ZodObject<{
|
|
|
3149
3942
|
type GetOrderMenuItemModifiersQueryParams = z.infer<typeof getOrderMenuItemModifiersQuerySchema>;
|
|
3150
3943
|
declare const getOrderMenuItemModifiersInputSchema: z.ZodUndefined;
|
|
3151
3944
|
type GetOrderMenuItemModifiersInput = z.infer<typeof getOrderMenuItemModifiersInputSchema>;
|
|
3152
|
-
declare const getOrderMenuItemModifiersResponseSchema: z.ZodObject<{
|
|
3945
|
+
declare const getOrderMenuItemModifiersResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3153
3946
|
data: z.ZodArray<z.ZodObject<{
|
|
3154
3947
|
id: z.ZodString;
|
|
3155
3948
|
name: z.ZodArray<z.ZodObject<{
|
|
@@ -3175,14 +3968,30 @@ declare const getOrderMenuItemModifiersResponseSchema: z.ZodObject<{
|
|
|
3175
3968
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3176
3969
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3177
3970
|
}, z.core.$strip>;
|
|
3178
|
-
}, z.core.$strip
|
|
3971
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3972
|
+
id: z.ZodString;
|
|
3973
|
+
name: z.ZodArray<z.ZodObject<{
|
|
3974
|
+
locale: z.ZodString;
|
|
3975
|
+
text: z.ZodString;
|
|
3976
|
+
}, z.core.$strip>>;
|
|
3977
|
+
description: z.ZodArray<z.ZodObject<{
|
|
3978
|
+
locale: z.ZodString;
|
|
3979
|
+
text: z.ZodString;
|
|
3980
|
+
}, z.core.$strip>>;
|
|
3981
|
+
amount: z.ZodString;
|
|
3982
|
+
netAmount: z.ZodString;
|
|
3983
|
+
taxAmount: z.ZodString;
|
|
3984
|
+
createdAt: z.ZodString;
|
|
3985
|
+
updatedAt: z.ZodString;
|
|
3986
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
3987
|
+
}, z.core.$strip>>]>;
|
|
3179
3988
|
type GetOrderMenuItemModifiersResponse = z.infer<typeof getOrderMenuItemModifiersResponseSchema>;
|
|
3180
|
-
declare class
|
|
3181
|
-
readonly method
|
|
3182
|
-
readonly contentType
|
|
3183
|
-
readonly accept
|
|
3989
|
+
declare class GetOrderMenuItemModifiers extends AbstractApiRequest<typeof getOrderMenuItemModifiersInputSchema, typeof getOrderMenuItemModifiersResponseSchema, GetOrderMenuItemModifiersQueryParams> {
|
|
3990
|
+
readonly method: "GET";
|
|
3991
|
+
readonly contentType: "application/json";
|
|
3992
|
+
readonly accept: "application/json";
|
|
3184
3993
|
readonly inputSchema: z.ZodUndefined;
|
|
3185
|
-
readonly outputSchema: z.ZodObject<{
|
|
3994
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3186
3995
|
data: z.ZodArray<z.ZodObject<{
|
|
3187
3996
|
id: z.ZodString;
|
|
3188
3997
|
name: z.ZodArray<z.ZodObject<{
|
|
@@ -3208,7 +4017,23 @@ declare class GetOrderMenuItemModifierMenuItemModifiers extends AbstractApiReque
|
|
|
3208
4017
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3209
4018
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3210
4019
|
}, z.core.$strip>;
|
|
3211
|
-
}, z.core.$strip
|
|
4020
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4021
|
+
id: z.ZodString;
|
|
4022
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4023
|
+
locale: z.ZodString;
|
|
4024
|
+
text: z.ZodString;
|
|
4025
|
+
}, z.core.$strip>>;
|
|
4026
|
+
description: z.ZodArray<z.ZodObject<{
|
|
4027
|
+
locale: z.ZodString;
|
|
4028
|
+
text: z.ZodString;
|
|
4029
|
+
}, z.core.$strip>>;
|
|
4030
|
+
amount: z.ZodString;
|
|
4031
|
+
netAmount: z.ZodString;
|
|
4032
|
+
taxAmount: z.ZodString;
|
|
4033
|
+
createdAt: z.ZodString;
|
|
4034
|
+
updatedAt: z.ZodString;
|
|
4035
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
4036
|
+
}, z.core.$strip>>]>;
|
|
3212
4037
|
readonly querySchema: z.ZodObject<{
|
|
3213
4038
|
'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3214
4039
|
'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -3244,11 +4069,28 @@ declare class GetOrderMenuItemModifierMenuItemModifiers extends AbstractApiReque
|
|
|
3244
4069
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3245
4070
|
}, z.core.$strip>;
|
|
3246
4071
|
readonly headersSchema: undefined;
|
|
4072
|
+
readonly listItemSchema: z.ZodObject<{
|
|
4073
|
+
id: z.ZodString;
|
|
4074
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4075
|
+
locale: z.ZodString;
|
|
4076
|
+
text: z.ZodString;
|
|
4077
|
+
}, z.core.$strip>>;
|
|
4078
|
+
description: z.ZodArray<z.ZodObject<{
|
|
4079
|
+
locale: z.ZodString;
|
|
4080
|
+
text: z.ZodString;
|
|
4081
|
+
}, z.core.$strip>>;
|
|
4082
|
+
amount: z.ZodString;
|
|
4083
|
+
netAmount: z.ZodString;
|
|
4084
|
+
taxAmount: z.ZodString;
|
|
4085
|
+
createdAt: z.ZodString;
|
|
4086
|
+
updatedAt: z.ZodString;
|
|
4087
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
4088
|
+
}, z.core.$strip>;
|
|
4089
|
+
readonly paginationDefaultEnabled = true;
|
|
3247
4090
|
constructor(options?: {
|
|
3248
4091
|
query?: OrderMenuItemModifiersQueryParams;
|
|
3249
4092
|
});
|
|
3250
4093
|
getPath(): string;
|
|
3251
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<OrderMenuItemModifier>;
|
|
3252
4094
|
}
|
|
3253
4095
|
|
|
3254
4096
|
declare const getOrderMenuItemDetailsInputSchema: z.ZodUndefined;
|
|
@@ -3450,7 +4292,7 @@ declare const getOrderMenuItemsQuerySchema: z.ZodObject<{
|
|
|
3450
4292
|
type GetOrderMenuItemsQueryParams = z.infer<typeof getOrderMenuItemsQuerySchema>;
|
|
3451
4293
|
declare const getOrderMenuItemsInputSchema: z.ZodUndefined;
|
|
3452
4294
|
type GetOrderMenuItemsInput = z.infer<typeof getOrderMenuItemsInputSchema>;
|
|
3453
|
-
declare const getOrderMenuItemsResponseSchema: z.ZodObject<{
|
|
4295
|
+
declare const getOrderMenuItemsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3454
4296
|
data: z.ZodArray<z.ZodObject<{
|
|
3455
4297
|
id: z.ZodString;
|
|
3456
4298
|
type: z.ZodEnum<{
|
|
@@ -3506,14 +4348,60 @@ declare const getOrderMenuItemsResponseSchema: z.ZodObject<{
|
|
|
3506
4348
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3507
4349
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3508
4350
|
}, z.core.$strip>;
|
|
3509
|
-
}, z.core.$strip
|
|
4351
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4352
|
+
id: z.ZodString;
|
|
4353
|
+
type: z.ZodEnum<{
|
|
4354
|
+
ITEM: "ITEM";
|
|
4355
|
+
CHOICE: "CHOICE";
|
|
4356
|
+
BUNDLE: "BUNDLE";
|
|
4357
|
+
}>;
|
|
4358
|
+
action: z.ZodEnum<{
|
|
4359
|
+
add: "add";
|
|
4360
|
+
remove: "remove";
|
|
4361
|
+
}>;
|
|
4362
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4363
|
+
locale: z.ZodString;
|
|
4364
|
+
text: z.ZodString;
|
|
4365
|
+
}, z.core.$strip>>;
|
|
4366
|
+
description: z.ZodArray<z.ZodObject<{
|
|
4367
|
+
locale: z.ZodString;
|
|
4368
|
+
text: z.ZodString;
|
|
4369
|
+
}, z.core.$strip>>;
|
|
4370
|
+
variantName: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4371
|
+
locale: z.ZodString;
|
|
4372
|
+
text: z.ZodString;
|
|
4373
|
+
}, z.core.$strip>>>;
|
|
4374
|
+
countable: z.ZodBoolean;
|
|
4375
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4376
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
4377
|
+
unitPrice: z.ZodString;
|
|
4378
|
+
unitNetPrice: z.ZodString;
|
|
4379
|
+
unitTaxAmount: z.ZodString;
|
|
4380
|
+
unitTaxRate: z.ZodCoercedNumber<unknown>;
|
|
4381
|
+
unitDiscount: z.ZodString;
|
|
4382
|
+
finalUnitPrice: z.ZodString;
|
|
4383
|
+
finalUnitNetPrice: z.ZodString;
|
|
4384
|
+
finalUnitTaxAmount: z.ZodString;
|
|
4385
|
+
amount: z.ZodString;
|
|
4386
|
+
netAmount: z.ZodString;
|
|
4387
|
+
taxAmount: z.ZodString;
|
|
4388
|
+
discount: z.ZodString;
|
|
4389
|
+
totalAmount: z.ZodString;
|
|
4390
|
+
totalNetAmount: z.ZodString;
|
|
4391
|
+
totalTaxAmount: z.ZodString;
|
|
4392
|
+
createdAt: z.ZodString;
|
|
4393
|
+
updatedAt: z.ZodString;
|
|
4394
|
+
removals: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
4395
|
+
modifiers: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown>>>;
|
|
4396
|
+
mainLevel: z.ZodBoolean;
|
|
4397
|
+
}, z.core.$strip>>]>;
|
|
3510
4398
|
type GetOrderMenuItemsResponse = z.infer<typeof getOrderMenuItemsResponseSchema>;
|
|
3511
|
-
declare class
|
|
3512
|
-
readonly method
|
|
3513
|
-
readonly contentType
|
|
3514
|
-
readonly accept
|
|
4399
|
+
declare class GetOrderMenuItems extends AbstractApiRequest<typeof getOrderMenuItemsInputSchema, typeof getOrderMenuItemsResponseSchema, GetOrderMenuItemsQueryParams> {
|
|
4400
|
+
readonly method: "GET";
|
|
4401
|
+
readonly contentType: "application/json";
|
|
4402
|
+
readonly accept: "application/json";
|
|
3515
4403
|
readonly inputSchema: z.ZodUndefined;
|
|
3516
|
-
readonly outputSchema: z.ZodObject<{
|
|
4404
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3517
4405
|
data: z.ZodArray<z.ZodObject<{
|
|
3518
4406
|
id: z.ZodString;
|
|
3519
4407
|
type: z.ZodEnum<{
|
|
@@ -3569,7 +4457,53 @@ declare class GetOrderMenuItemMenuItems extends AbstractApiRequest<typeof getOrd
|
|
|
3569
4457
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3570
4458
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3571
4459
|
}, z.core.$strip>;
|
|
3572
|
-
}, z.core.$strip
|
|
4460
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4461
|
+
id: z.ZodString;
|
|
4462
|
+
type: z.ZodEnum<{
|
|
4463
|
+
ITEM: "ITEM";
|
|
4464
|
+
CHOICE: "CHOICE";
|
|
4465
|
+
BUNDLE: "BUNDLE";
|
|
4466
|
+
}>;
|
|
4467
|
+
action: z.ZodEnum<{
|
|
4468
|
+
add: "add";
|
|
4469
|
+
remove: "remove";
|
|
4470
|
+
}>;
|
|
4471
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4472
|
+
locale: z.ZodString;
|
|
4473
|
+
text: z.ZodString;
|
|
4474
|
+
}, z.core.$strip>>;
|
|
4475
|
+
description: z.ZodArray<z.ZodObject<{
|
|
4476
|
+
locale: z.ZodString;
|
|
4477
|
+
text: z.ZodString;
|
|
4478
|
+
}, z.core.$strip>>;
|
|
4479
|
+
variantName: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4480
|
+
locale: z.ZodString;
|
|
4481
|
+
text: z.ZodString;
|
|
4482
|
+
}, z.core.$strip>>>;
|
|
4483
|
+
countable: z.ZodBoolean;
|
|
4484
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4485
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
4486
|
+
unitPrice: z.ZodString;
|
|
4487
|
+
unitNetPrice: z.ZodString;
|
|
4488
|
+
unitTaxAmount: z.ZodString;
|
|
4489
|
+
unitTaxRate: z.ZodCoercedNumber<unknown>;
|
|
4490
|
+
unitDiscount: z.ZodString;
|
|
4491
|
+
finalUnitPrice: z.ZodString;
|
|
4492
|
+
finalUnitNetPrice: z.ZodString;
|
|
4493
|
+
finalUnitTaxAmount: z.ZodString;
|
|
4494
|
+
amount: z.ZodString;
|
|
4495
|
+
netAmount: z.ZodString;
|
|
4496
|
+
taxAmount: z.ZodString;
|
|
4497
|
+
discount: z.ZodString;
|
|
4498
|
+
totalAmount: z.ZodString;
|
|
4499
|
+
totalNetAmount: z.ZodString;
|
|
4500
|
+
totalTaxAmount: z.ZodString;
|
|
4501
|
+
createdAt: z.ZodString;
|
|
4502
|
+
updatedAt: z.ZodString;
|
|
4503
|
+
removals: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
4504
|
+
modifiers: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown>>>;
|
|
4505
|
+
mainLevel: z.ZodBoolean;
|
|
4506
|
+
}, z.core.$strip>>]>;
|
|
3573
4507
|
readonly querySchema: z.ZodObject<{
|
|
3574
4508
|
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3575
4509
|
delivery: "delivery";
|
|
@@ -3646,11 +4580,58 @@ declare class GetOrderMenuItemMenuItems extends AbstractApiRequest<typeof getOrd
|
|
|
3646
4580
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3647
4581
|
}, z.core.$strip>;
|
|
3648
4582
|
readonly headersSchema: undefined;
|
|
4583
|
+
readonly listItemSchema: z.ZodObject<{
|
|
4584
|
+
id: z.ZodString;
|
|
4585
|
+
type: z.ZodEnum<{
|
|
4586
|
+
ITEM: "ITEM";
|
|
4587
|
+
CHOICE: "CHOICE";
|
|
4588
|
+
BUNDLE: "BUNDLE";
|
|
4589
|
+
}>;
|
|
4590
|
+
action: z.ZodEnum<{
|
|
4591
|
+
add: "add";
|
|
4592
|
+
remove: "remove";
|
|
4593
|
+
}>;
|
|
4594
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4595
|
+
locale: z.ZodString;
|
|
4596
|
+
text: z.ZodString;
|
|
4597
|
+
}, z.core.$strip>>;
|
|
4598
|
+
description: z.ZodArray<z.ZodObject<{
|
|
4599
|
+
locale: z.ZodString;
|
|
4600
|
+
text: z.ZodString;
|
|
4601
|
+
}, z.core.$strip>>;
|
|
4602
|
+
variantName: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4603
|
+
locale: z.ZodString;
|
|
4604
|
+
text: z.ZodString;
|
|
4605
|
+
}, z.core.$strip>>>;
|
|
4606
|
+
countable: z.ZodBoolean;
|
|
4607
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4608
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
4609
|
+
unitPrice: z.ZodString;
|
|
4610
|
+
unitNetPrice: z.ZodString;
|
|
4611
|
+
unitTaxAmount: z.ZodString;
|
|
4612
|
+
unitTaxRate: z.ZodCoercedNumber<unknown>;
|
|
4613
|
+
unitDiscount: z.ZodString;
|
|
4614
|
+
finalUnitPrice: z.ZodString;
|
|
4615
|
+
finalUnitNetPrice: z.ZodString;
|
|
4616
|
+
finalUnitTaxAmount: z.ZodString;
|
|
4617
|
+
amount: z.ZodString;
|
|
4618
|
+
netAmount: z.ZodString;
|
|
4619
|
+
taxAmount: z.ZodString;
|
|
4620
|
+
discount: z.ZodString;
|
|
4621
|
+
totalAmount: z.ZodString;
|
|
4622
|
+
totalNetAmount: z.ZodString;
|
|
4623
|
+
totalTaxAmount: z.ZodString;
|
|
4624
|
+
createdAt: z.ZodString;
|
|
4625
|
+
updatedAt: z.ZodString;
|
|
4626
|
+
removals: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
4627
|
+
modifiers: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown>>>;
|
|
4628
|
+
mainLevel: z.ZodBoolean;
|
|
4629
|
+
}, z.core.$strip>;
|
|
4630
|
+
readonly paginationDefaultEnabled = true;
|
|
3649
4631
|
constructor(options?: {
|
|
3650
4632
|
query?: OrderMenuItemsQueryParams;
|
|
3651
4633
|
});
|
|
3652
4634
|
getPath(): string;
|
|
3653
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<OrderMenuItem>;
|
|
3654
4635
|
}
|
|
3655
4636
|
|
|
3656
4637
|
declare const advanceOrderPreparationStatusInputSchema: z.ZodUndefined;
|
|
@@ -5736,7 +6717,7 @@ declare const getOrdersQuerySchema: z.ZodObject<{
|
|
|
5736
6717
|
type GetOrdersQueryParams = z.infer<typeof getOrdersQuerySchema>;
|
|
5737
6718
|
declare const getOrdersInputSchema: z.ZodUndefined;
|
|
5738
6719
|
type GetOrdersInput = z.infer<typeof getOrdersInputSchema>;
|
|
5739
|
-
declare const getOrdersResponseSchema: z.ZodObject<{
|
|
6720
|
+
declare const getOrdersResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
5740
6721
|
data: z.ZodArray<z.ZodObject<{
|
|
5741
6722
|
id: z.ZodString;
|
|
5742
6723
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -5854,14 +6835,122 @@ declare const getOrdersResponseSchema: z.ZodObject<{
|
|
|
5854
6835
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5855
6836
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5856
6837
|
}, z.core.$strip>;
|
|
5857
|
-
}, z.core.$strip
|
|
6838
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
6839
|
+
id: z.ZodString;
|
|
6840
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
6841
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
6842
|
+
stripe: "stripe";
|
|
6843
|
+
bank_transfer: "bank_transfer";
|
|
6844
|
+
cash: "cash";
|
|
6845
|
+
credit_card: "credit_card";
|
|
6846
|
+
}>>;
|
|
6847
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
6848
|
+
pending: "pending";
|
|
6849
|
+
pending_verification: "pending_verification";
|
|
6850
|
+
paid: "paid";
|
|
6851
|
+
canceled: "canceled";
|
|
6852
|
+
refunded: "refunded";
|
|
6853
|
+
failed: "failed";
|
|
6854
|
+
}>>;
|
|
6855
|
+
type: z.ZodEnum<{
|
|
6856
|
+
delivery: "delivery";
|
|
6857
|
+
take_away: "take_away";
|
|
6858
|
+
kitchen: "kitchen";
|
|
6859
|
+
}>;
|
|
6860
|
+
source: z.ZodEnum<{
|
|
6861
|
+
application: "application";
|
|
6862
|
+
ecommerce: "ecommerce";
|
|
6863
|
+
partner: "partner";
|
|
6864
|
+
}>;
|
|
6865
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
6866
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
6867
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
6868
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
6869
|
+
customerInfo: z.ZodObject<{
|
|
6870
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6871
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6872
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
6873
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
6874
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6875
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6876
|
+
}, z.core.$strict>;
|
|
6877
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
6878
|
+
businessName: z.ZodString;
|
|
6879
|
+
vat: z.ZodString;
|
|
6880
|
+
taxCode: z.ZodString;
|
|
6881
|
+
billingAddress: z.ZodObject<{
|
|
6882
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6883
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6884
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6885
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6886
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6887
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6888
|
+
}, z.core.$strip>;
|
|
6889
|
+
billingData: z.ZodObject<{
|
|
6890
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6891
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
6892
|
+
}, z.core.$strip>;
|
|
6893
|
+
}, z.core.$strip>>;
|
|
6894
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
6895
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6896
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6897
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6898
|
+
line1: z.ZodString;
|
|
6899
|
+
city: z.ZodString;
|
|
6900
|
+
postalCode: z.ZodString;
|
|
6901
|
+
}, z.core.$strip>>;
|
|
6902
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
6903
|
+
latitude: z.ZodNumber;
|
|
6904
|
+
longitude: z.ZodNumber;
|
|
6905
|
+
}, z.core.$strip>>;
|
|
6906
|
+
status: z.ZodEnum<{
|
|
6907
|
+
pending: "pending";
|
|
6908
|
+
confirmed: "confirmed";
|
|
6909
|
+
rejected: "rejected";
|
|
6910
|
+
}>;
|
|
6911
|
+
preparationStatus: z.ZodEnum<{
|
|
6912
|
+
to_prepare: "to_prepare";
|
|
6913
|
+
in_preparation: "in_preparation";
|
|
6914
|
+
done: "done";
|
|
6915
|
+
}>;
|
|
6916
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
6917
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
6918
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
6919
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
6920
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
6921
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
6922
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
6923
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6924
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6925
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
6926
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
6927
|
+
amount: z.ZodString;
|
|
6928
|
+
netAmount: z.ZodString;
|
|
6929
|
+
taxAmount: z.ZodString;
|
|
6930
|
+
discount: z.ZodString;
|
|
6931
|
+
feeAmount: z.ZodString;
|
|
6932
|
+
feeNetAmount: z.ZodString;
|
|
6933
|
+
feeTaxAmount: z.ZodString;
|
|
6934
|
+
totalAmount: z.ZodString;
|
|
6935
|
+
totalNetAmount: z.ZodString;
|
|
6936
|
+
totalTaxAmount: z.ZodString;
|
|
6937
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
6938
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
6939
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
6940
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
6941
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
6942
|
+
isRead: z.ZodBoolean;
|
|
6943
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
6944
|
+
createdAt: z.ZodString;
|
|
6945
|
+
updatedAt: z.ZodString;
|
|
6946
|
+
}, z.core.$strip>>]>;
|
|
5858
6947
|
type GetOrdersResponse = z.infer<typeof getOrdersResponseSchema>;
|
|
5859
6948
|
declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema, typeof getOrdersResponseSchema, GetOrdersQueryParams> {
|
|
5860
|
-
readonly method
|
|
5861
|
-
readonly contentType
|
|
5862
|
-
readonly accept
|
|
6949
|
+
readonly method: "GET";
|
|
6950
|
+
readonly contentType: "application/json";
|
|
6951
|
+
readonly accept: "application/json";
|
|
5863
6952
|
readonly inputSchema: z.ZodUndefined;
|
|
5864
|
-
readonly outputSchema: z.ZodObject<{
|
|
6953
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
5865
6954
|
data: z.ZodArray<z.ZodObject<{
|
|
5866
6955
|
id: z.ZodString;
|
|
5867
6956
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -5971,15 +7060,123 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
5971
7060
|
createdAt: z.ZodString;
|
|
5972
7061
|
updatedAt: z.ZodString;
|
|
5973
7062
|
}, z.core.$strip>>;
|
|
5974
|
-
pagination: z.ZodObject<{
|
|
5975
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
5976
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
5977
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5978
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5979
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5980
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5981
|
-
}, z.core.$strip>;
|
|
5982
|
-
}, z.core.$strip
|
|
7063
|
+
pagination: z.ZodObject<{
|
|
7064
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
7065
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
7066
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
7067
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
7068
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
7069
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
7070
|
+
}, z.core.$strip>;
|
|
7071
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
7072
|
+
id: z.ZodString;
|
|
7073
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
7074
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
7075
|
+
stripe: "stripe";
|
|
7076
|
+
bank_transfer: "bank_transfer";
|
|
7077
|
+
cash: "cash";
|
|
7078
|
+
credit_card: "credit_card";
|
|
7079
|
+
}>>;
|
|
7080
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
7081
|
+
pending: "pending";
|
|
7082
|
+
pending_verification: "pending_verification";
|
|
7083
|
+
paid: "paid";
|
|
7084
|
+
canceled: "canceled";
|
|
7085
|
+
refunded: "refunded";
|
|
7086
|
+
failed: "failed";
|
|
7087
|
+
}>>;
|
|
7088
|
+
type: z.ZodEnum<{
|
|
7089
|
+
delivery: "delivery";
|
|
7090
|
+
take_away: "take_away";
|
|
7091
|
+
kitchen: "kitchen";
|
|
7092
|
+
}>;
|
|
7093
|
+
source: z.ZodEnum<{
|
|
7094
|
+
application: "application";
|
|
7095
|
+
ecommerce: "ecommerce";
|
|
7096
|
+
partner: "partner";
|
|
7097
|
+
}>;
|
|
7098
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
7099
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
7100
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
7101
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
7102
|
+
customerInfo: z.ZodObject<{
|
|
7103
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7104
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7105
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
7106
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
7107
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7108
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7109
|
+
}, z.core.$strict>;
|
|
7110
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
7111
|
+
businessName: z.ZodString;
|
|
7112
|
+
vat: z.ZodString;
|
|
7113
|
+
taxCode: z.ZodString;
|
|
7114
|
+
billingAddress: z.ZodObject<{
|
|
7115
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7116
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7117
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7118
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7119
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7120
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7121
|
+
}, z.core.$strip>;
|
|
7122
|
+
billingData: z.ZodObject<{
|
|
7123
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7124
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
7125
|
+
}, z.core.$strip>;
|
|
7126
|
+
}, z.core.$strip>>;
|
|
7127
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
7128
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7129
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7130
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7131
|
+
line1: z.ZodString;
|
|
7132
|
+
city: z.ZodString;
|
|
7133
|
+
postalCode: z.ZodString;
|
|
7134
|
+
}, z.core.$strip>>;
|
|
7135
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
7136
|
+
latitude: z.ZodNumber;
|
|
7137
|
+
longitude: z.ZodNumber;
|
|
7138
|
+
}, z.core.$strip>>;
|
|
7139
|
+
status: z.ZodEnum<{
|
|
7140
|
+
pending: "pending";
|
|
7141
|
+
confirmed: "confirmed";
|
|
7142
|
+
rejected: "rejected";
|
|
7143
|
+
}>;
|
|
7144
|
+
preparationStatus: z.ZodEnum<{
|
|
7145
|
+
to_prepare: "to_prepare";
|
|
7146
|
+
in_preparation: "in_preparation";
|
|
7147
|
+
done: "done";
|
|
7148
|
+
}>;
|
|
7149
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
7150
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
7151
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
7152
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7153
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7154
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
7155
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
7156
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7157
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7158
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7159
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
7160
|
+
amount: z.ZodString;
|
|
7161
|
+
netAmount: z.ZodString;
|
|
7162
|
+
taxAmount: z.ZodString;
|
|
7163
|
+
discount: z.ZodString;
|
|
7164
|
+
feeAmount: z.ZodString;
|
|
7165
|
+
feeNetAmount: z.ZodString;
|
|
7166
|
+
feeTaxAmount: z.ZodString;
|
|
7167
|
+
totalAmount: z.ZodString;
|
|
7168
|
+
totalNetAmount: z.ZodString;
|
|
7169
|
+
totalTaxAmount: z.ZodString;
|
|
7170
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
7171
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
7172
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
7173
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
7174
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
7175
|
+
isRead: z.ZodBoolean;
|
|
7176
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
7177
|
+
createdAt: z.ZodString;
|
|
7178
|
+
updatedAt: z.ZodString;
|
|
7179
|
+
}, z.core.$strip>>]>;
|
|
5983
7180
|
readonly querySchema: z.ZodObject<{
|
|
5984
7181
|
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5985
7182
|
delivery: "delivery";
|
|
@@ -6193,11 +7390,120 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
6193
7390
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6194
7391
|
}, z.core.$strip>;
|
|
6195
7392
|
readonly headersSchema: undefined;
|
|
7393
|
+
readonly listItemSchema: z.ZodObject<{
|
|
7394
|
+
id: z.ZodString;
|
|
7395
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
7396
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
7397
|
+
stripe: "stripe";
|
|
7398
|
+
bank_transfer: "bank_transfer";
|
|
7399
|
+
cash: "cash";
|
|
7400
|
+
credit_card: "credit_card";
|
|
7401
|
+
}>>;
|
|
7402
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
7403
|
+
pending: "pending";
|
|
7404
|
+
pending_verification: "pending_verification";
|
|
7405
|
+
paid: "paid";
|
|
7406
|
+
canceled: "canceled";
|
|
7407
|
+
refunded: "refunded";
|
|
7408
|
+
failed: "failed";
|
|
7409
|
+
}>>;
|
|
7410
|
+
type: z.ZodEnum<{
|
|
7411
|
+
delivery: "delivery";
|
|
7412
|
+
take_away: "take_away";
|
|
7413
|
+
kitchen: "kitchen";
|
|
7414
|
+
}>;
|
|
7415
|
+
source: z.ZodEnum<{
|
|
7416
|
+
application: "application";
|
|
7417
|
+
ecommerce: "ecommerce";
|
|
7418
|
+
partner: "partner";
|
|
7419
|
+
}>;
|
|
7420
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
7421
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
7422
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
7423
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
7424
|
+
customerInfo: z.ZodObject<{
|
|
7425
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7426
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7427
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
7428
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
7429
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7430
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7431
|
+
}, z.core.$strict>;
|
|
7432
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
7433
|
+
businessName: z.ZodString;
|
|
7434
|
+
vat: z.ZodString;
|
|
7435
|
+
taxCode: z.ZodString;
|
|
7436
|
+
billingAddress: z.ZodObject<{
|
|
7437
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7438
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7439
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7440
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7441
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7442
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7443
|
+
}, z.core.$strip>;
|
|
7444
|
+
billingData: z.ZodObject<{
|
|
7445
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7446
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
7447
|
+
}, z.core.$strip>;
|
|
7448
|
+
}, z.core.$strip>>;
|
|
7449
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
7450
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7451
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7452
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7453
|
+
line1: z.ZodString;
|
|
7454
|
+
city: z.ZodString;
|
|
7455
|
+
postalCode: z.ZodString;
|
|
7456
|
+
}, z.core.$strip>>;
|
|
7457
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
7458
|
+
latitude: z.ZodNumber;
|
|
7459
|
+
longitude: z.ZodNumber;
|
|
7460
|
+
}, z.core.$strip>>;
|
|
7461
|
+
status: z.ZodEnum<{
|
|
7462
|
+
pending: "pending";
|
|
7463
|
+
confirmed: "confirmed";
|
|
7464
|
+
rejected: "rejected";
|
|
7465
|
+
}>;
|
|
7466
|
+
preparationStatus: z.ZodEnum<{
|
|
7467
|
+
to_prepare: "to_prepare";
|
|
7468
|
+
in_preparation: "in_preparation";
|
|
7469
|
+
done: "done";
|
|
7470
|
+
}>;
|
|
7471
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
7472
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
7473
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
7474
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7475
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7476
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
7477
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
7478
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7479
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7480
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7481
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
7482
|
+
amount: z.ZodString;
|
|
7483
|
+
netAmount: z.ZodString;
|
|
7484
|
+
taxAmount: z.ZodString;
|
|
7485
|
+
discount: z.ZodString;
|
|
7486
|
+
feeAmount: z.ZodString;
|
|
7487
|
+
feeNetAmount: z.ZodString;
|
|
7488
|
+
feeTaxAmount: z.ZodString;
|
|
7489
|
+
totalAmount: z.ZodString;
|
|
7490
|
+
totalNetAmount: z.ZodString;
|
|
7491
|
+
totalTaxAmount: z.ZodString;
|
|
7492
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
7493
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
7494
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
7495
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
7496
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
7497
|
+
isRead: z.ZodBoolean;
|
|
7498
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
7499
|
+
createdAt: z.ZodString;
|
|
7500
|
+
updatedAt: z.ZodString;
|
|
7501
|
+
}, z.core.$strip>;
|
|
7502
|
+
readonly paginationDefaultEnabled = true;
|
|
6196
7503
|
constructor(options?: {
|
|
6197
7504
|
query?: OrdersQueryParams;
|
|
6198
7505
|
});
|
|
6199
7506
|
getPath(): string;
|
|
6200
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<Order>;
|
|
6201
7507
|
}
|
|
6202
7508
|
|
|
6203
7509
|
declare const getPointOfSaleOrdersQuerySchema: z.ZodObject<{
|
|
@@ -6415,7 +7721,7 @@ declare const getPointOfSaleOrdersQuerySchema: z.ZodObject<{
|
|
|
6415
7721
|
type GetPointOfSaleOrdersQueryParams = z.infer<typeof getPointOfSaleOrdersQuerySchema>;
|
|
6416
7722
|
declare const getPointOfSaleOrdersInputSchema: z.ZodUndefined;
|
|
6417
7723
|
type GetPointOfSaleOrdersInput = z.infer<typeof getPointOfSaleOrdersInputSchema>;
|
|
6418
|
-
declare const getPointOfSaleOrdersResponseSchema: z.ZodObject<{
|
|
7724
|
+
declare const getPointOfSaleOrdersResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
6419
7725
|
data: z.ZodArray<z.ZodObject<{
|
|
6420
7726
|
id: z.ZodString;
|
|
6421
7727
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -6533,14 +7839,122 @@ declare const getPointOfSaleOrdersResponseSchema: z.ZodObject<{
|
|
|
6533
7839
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6534
7840
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6535
7841
|
}, z.core.$strip>;
|
|
6536
|
-
}, z.core.$strip
|
|
7842
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
7843
|
+
id: z.ZodString;
|
|
7844
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
7845
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
7846
|
+
stripe: "stripe";
|
|
7847
|
+
bank_transfer: "bank_transfer";
|
|
7848
|
+
cash: "cash";
|
|
7849
|
+
credit_card: "credit_card";
|
|
7850
|
+
}>>;
|
|
7851
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
7852
|
+
pending: "pending";
|
|
7853
|
+
pending_verification: "pending_verification";
|
|
7854
|
+
paid: "paid";
|
|
7855
|
+
canceled: "canceled";
|
|
7856
|
+
refunded: "refunded";
|
|
7857
|
+
failed: "failed";
|
|
7858
|
+
}>>;
|
|
7859
|
+
type: z.ZodEnum<{
|
|
7860
|
+
delivery: "delivery";
|
|
7861
|
+
take_away: "take_away";
|
|
7862
|
+
kitchen: "kitchen";
|
|
7863
|
+
}>;
|
|
7864
|
+
source: z.ZodEnum<{
|
|
7865
|
+
application: "application";
|
|
7866
|
+
ecommerce: "ecommerce";
|
|
7867
|
+
partner: "partner";
|
|
7868
|
+
}>;
|
|
7869
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
7870
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
7871
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
7872
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
7873
|
+
customerInfo: z.ZodObject<{
|
|
7874
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7875
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7876
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
7877
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
7878
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7879
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7880
|
+
}, z.core.$strict>;
|
|
7881
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
7882
|
+
businessName: z.ZodString;
|
|
7883
|
+
vat: z.ZodString;
|
|
7884
|
+
taxCode: z.ZodString;
|
|
7885
|
+
billingAddress: z.ZodObject<{
|
|
7886
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7887
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7888
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7889
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7890
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7891
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7892
|
+
}, z.core.$strip>;
|
|
7893
|
+
billingData: z.ZodObject<{
|
|
7894
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7895
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
7896
|
+
}, z.core.$strip>;
|
|
7897
|
+
}, z.core.$strip>>;
|
|
7898
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
7899
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7900
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7901
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7902
|
+
line1: z.ZodString;
|
|
7903
|
+
city: z.ZodString;
|
|
7904
|
+
postalCode: z.ZodString;
|
|
7905
|
+
}, z.core.$strip>>;
|
|
7906
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
7907
|
+
latitude: z.ZodNumber;
|
|
7908
|
+
longitude: z.ZodNumber;
|
|
7909
|
+
}, z.core.$strip>>;
|
|
7910
|
+
status: z.ZodEnum<{
|
|
7911
|
+
pending: "pending";
|
|
7912
|
+
confirmed: "confirmed";
|
|
7913
|
+
rejected: "rejected";
|
|
7914
|
+
}>;
|
|
7915
|
+
preparationStatus: z.ZodEnum<{
|
|
7916
|
+
to_prepare: "to_prepare";
|
|
7917
|
+
in_preparation: "in_preparation";
|
|
7918
|
+
done: "done";
|
|
7919
|
+
}>;
|
|
7920
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
7921
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
7922
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
7923
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7924
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7925
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
7926
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
7927
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7928
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7929
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7930
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
7931
|
+
amount: z.ZodString;
|
|
7932
|
+
netAmount: z.ZodString;
|
|
7933
|
+
taxAmount: z.ZodString;
|
|
7934
|
+
discount: z.ZodString;
|
|
7935
|
+
feeAmount: z.ZodString;
|
|
7936
|
+
feeNetAmount: z.ZodString;
|
|
7937
|
+
feeTaxAmount: z.ZodString;
|
|
7938
|
+
totalAmount: z.ZodString;
|
|
7939
|
+
totalNetAmount: z.ZodString;
|
|
7940
|
+
totalTaxAmount: z.ZodString;
|
|
7941
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
7942
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
7943
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
7944
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
7945
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
7946
|
+
isRead: z.ZodBoolean;
|
|
7947
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
7948
|
+
createdAt: z.ZodString;
|
|
7949
|
+
updatedAt: z.ZodString;
|
|
7950
|
+
}, z.core.$strip>>]>;
|
|
6537
7951
|
type GetPointOfSaleOrdersResponse = z.infer<typeof getPointOfSaleOrdersResponseSchema>;
|
|
6538
7952
|
declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfSaleOrdersInputSchema, typeof getPointOfSaleOrdersResponseSchema, GetPointOfSaleOrdersQueryParams> {
|
|
6539
|
-
readonly method
|
|
6540
|
-
readonly contentType
|
|
6541
|
-
readonly accept
|
|
7953
|
+
readonly method: "GET";
|
|
7954
|
+
readonly contentType: "application/json";
|
|
7955
|
+
readonly accept: "application/json";
|
|
6542
7956
|
readonly inputSchema: z.ZodUndefined;
|
|
6543
|
-
readonly outputSchema: z.ZodObject<{
|
|
7957
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
6544
7958
|
data: z.ZodArray<z.ZodObject<{
|
|
6545
7959
|
id: z.ZodString;
|
|
6546
7960
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -6658,7 +8072,115 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
6658
8072
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6659
8073
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6660
8074
|
}, z.core.$strip>;
|
|
6661
|
-
}, z.core.$strip
|
|
8075
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
8076
|
+
id: z.ZodString;
|
|
8077
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
8078
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
8079
|
+
stripe: "stripe";
|
|
8080
|
+
bank_transfer: "bank_transfer";
|
|
8081
|
+
cash: "cash";
|
|
8082
|
+
credit_card: "credit_card";
|
|
8083
|
+
}>>;
|
|
8084
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
8085
|
+
pending: "pending";
|
|
8086
|
+
pending_verification: "pending_verification";
|
|
8087
|
+
paid: "paid";
|
|
8088
|
+
canceled: "canceled";
|
|
8089
|
+
refunded: "refunded";
|
|
8090
|
+
failed: "failed";
|
|
8091
|
+
}>>;
|
|
8092
|
+
type: z.ZodEnum<{
|
|
8093
|
+
delivery: "delivery";
|
|
8094
|
+
take_away: "take_away";
|
|
8095
|
+
kitchen: "kitchen";
|
|
8096
|
+
}>;
|
|
8097
|
+
source: z.ZodEnum<{
|
|
8098
|
+
application: "application";
|
|
8099
|
+
ecommerce: "ecommerce";
|
|
8100
|
+
partner: "partner";
|
|
8101
|
+
}>;
|
|
8102
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
8103
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
8104
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
8105
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
8106
|
+
customerInfo: z.ZodObject<{
|
|
8107
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8108
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8109
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
8110
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
8111
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8112
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8113
|
+
}, z.core.$strict>;
|
|
8114
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
8115
|
+
businessName: z.ZodString;
|
|
8116
|
+
vat: z.ZodString;
|
|
8117
|
+
taxCode: z.ZodString;
|
|
8118
|
+
billingAddress: z.ZodObject<{
|
|
8119
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8120
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8121
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8122
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8123
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8124
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8125
|
+
}, z.core.$strip>;
|
|
8126
|
+
billingData: z.ZodObject<{
|
|
8127
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8128
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
8129
|
+
}, z.core.$strip>;
|
|
8130
|
+
}, z.core.$strip>>;
|
|
8131
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
8132
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8133
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8134
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8135
|
+
line1: z.ZodString;
|
|
8136
|
+
city: z.ZodString;
|
|
8137
|
+
postalCode: z.ZodString;
|
|
8138
|
+
}, z.core.$strip>>;
|
|
8139
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
8140
|
+
latitude: z.ZodNumber;
|
|
8141
|
+
longitude: z.ZodNumber;
|
|
8142
|
+
}, z.core.$strip>>;
|
|
8143
|
+
status: z.ZodEnum<{
|
|
8144
|
+
pending: "pending";
|
|
8145
|
+
confirmed: "confirmed";
|
|
8146
|
+
rejected: "rejected";
|
|
8147
|
+
}>;
|
|
8148
|
+
preparationStatus: z.ZodEnum<{
|
|
8149
|
+
to_prepare: "to_prepare";
|
|
8150
|
+
in_preparation: "in_preparation";
|
|
8151
|
+
done: "done";
|
|
8152
|
+
}>;
|
|
8153
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
8154
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
8155
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
8156
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
8157
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
8158
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
8159
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
8160
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
8161
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
8162
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
8163
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
8164
|
+
amount: z.ZodString;
|
|
8165
|
+
netAmount: z.ZodString;
|
|
8166
|
+
taxAmount: z.ZodString;
|
|
8167
|
+
discount: z.ZodString;
|
|
8168
|
+
feeAmount: z.ZodString;
|
|
8169
|
+
feeNetAmount: z.ZodString;
|
|
8170
|
+
feeTaxAmount: z.ZodString;
|
|
8171
|
+
totalAmount: z.ZodString;
|
|
8172
|
+
totalNetAmount: z.ZodString;
|
|
8173
|
+
totalTaxAmount: z.ZodString;
|
|
8174
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
8175
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
8176
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
8177
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
8178
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
8179
|
+
isRead: z.ZodBoolean;
|
|
8180
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
8181
|
+
createdAt: z.ZodString;
|
|
8182
|
+
updatedAt: z.ZodString;
|
|
8183
|
+
}, z.core.$strip>>]>;
|
|
6662
8184
|
readonly querySchema: z.ZodObject<{
|
|
6663
8185
|
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6664
8186
|
delivery: "delivery";
|
|
@@ -6872,12 +8394,121 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
6872
8394
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6873
8395
|
}, z.core.$strip>;
|
|
6874
8396
|
readonly headersSchema: undefined;
|
|
8397
|
+
readonly listItemSchema: z.ZodObject<{
|
|
8398
|
+
id: z.ZodString;
|
|
8399
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
8400
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
8401
|
+
stripe: "stripe";
|
|
8402
|
+
bank_transfer: "bank_transfer";
|
|
8403
|
+
cash: "cash";
|
|
8404
|
+
credit_card: "credit_card";
|
|
8405
|
+
}>>;
|
|
8406
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
8407
|
+
pending: "pending";
|
|
8408
|
+
pending_verification: "pending_verification";
|
|
8409
|
+
paid: "paid";
|
|
8410
|
+
canceled: "canceled";
|
|
8411
|
+
refunded: "refunded";
|
|
8412
|
+
failed: "failed";
|
|
8413
|
+
}>>;
|
|
8414
|
+
type: z.ZodEnum<{
|
|
8415
|
+
delivery: "delivery";
|
|
8416
|
+
take_away: "take_away";
|
|
8417
|
+
kitchen: "kitchen";
|
|
8418
|
+
}>;
|
|
8419
|
+
source: z.ZodEnum<{
|
|
8420
|
+
application: "application";
|
|
8421
|
+
ecommerce: "ecommerce";
|
|
8422
|
+
partner: "partner";
|
|
8423
|
+
}>;
|
|
8424
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
8425
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
8426
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
8427
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
8428
|
+
customerInfo: z.ZodObject<{
|
|
8429
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8430
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8431
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
8432
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
8433
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8434
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8435
|
+
}, z.core.$strict>;
|
|
8436
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
8437
|
+
businessName: z.ZodString;
|
|
8438
|
+
vat: z.ZodString;
|
|
8439
|
+
taxCode: z.ZodString;
|
|
8440
|
+
billingAddress: z.ZodObject<{
|
|
8441
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8442
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8443
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8444
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8445
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8446
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8447
|
+
}, z.core.$strip>;
|
|
8448
|
+
billingData: z.ZodObject<{
|
|
8449
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8450
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
8451
|
+
}, z.core.$strip>;
|
|
8452
|
+
}, z.core.$strip>>;
|
|
8453
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
8454
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8455
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8456
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8457
|
+
line1: z.ZodString;
|
|
8458
|
+
city: z.ZodString;
|
|
8459
|
+
postalCode: z.ZodString;
|
|
8460
|
+
}, z.core.$strip>>;
|
|
8461
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
8462
|
+
latitude: z.ZodNumber;
|
|
8463
|
+
longitude: z.ZodNumber;
|
|
8464
|
+
}, z.core.$strip>>;
|
|
8465
|
+
status: z.ZodEnum<{
|
|
8466
|
+
pending: "pending";
|
|
8467
|
+
confirmed: "confirmed";
|
|
8468
|
+
rejected: "rejected";
|
|
8469
|
+
}>;
|
|
8470
|
+
preparationStatus: z.ZodEnum<{
|
|
8471
|
+
to_prepare: "to_prepare";
|
|
8472
|
+
in_preparation: "in_preparation";
|
|
8473
|
+
done: "done";
|
|
8474
|
+
}>;
|
|
8475
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
8476
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
8477
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
8478
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
8479
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
8480
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
8481
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
8482
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
8483
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
8484
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
8485
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
8486
|
+
amount: z.ZodString;
|
|
8487
|
+
netAmount: z.ZodString;
|
|
8488
|
+
taxAmount: z.ZodString;
|
|
8489
|
+
discount: z.ZodString;
|
|
8490
|
+
feeAmount: z.ZodString;
|
|
8491
|
+
feeNetAmount: z.ZodString;
|
|
8492
|
+
feeTaxAmount: z.ZodString;
|
|
8493
|
+
totalAmount: z.ZodString;
|
|
8494
|
+
totalNetAmount: z.ZodString;
|
|
8495
|
+
totalTaxAmount: z.ZodString;
|
|
8496
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
8497
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
8498
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
8499
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
8500
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
8501
|
+
isRead: z.ZodBoolean;
|
|
8502
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
8503
|
+
createdAt: z.ZodString;
|
|
8504
|
+
updatedAt: z.ZodString;
|
|
8505
|
+
}, z.core.$strip>;
|
|
8506
|
+
readonly paginationDefaultEnabled = true;
|
|
6875
8507
|
private readonly pointOfSaleId;
|
|
6876
8508
|
constructor(pointOfSaleId: string, options?: {
|
|
6877
8509
|
query?: OrdersQueryParams;
|
|
6878
8510
|
});
|
|
6879
8511
|
getPath(): string;
|
|
6880
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<Order>;
|
|
6881
8512
|
}
|
|
6882
8513
|
|
|
6883
8514
|
declare const markOrderAsCollectedInputSchema: z.ZodUndefined;
|
|
@@ -8686,4 +10317,4 @@ type BundleIri = z.infer<typeof bundleIriSchema>;
|
|
|
8686
10317
|
declare const bundleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
8687
10318
|
type BundleNullableIri = z.infer<typeof bundleNullableIriSchema>;
|
|
8688
10319
|
|
|
8689
|
-
export { AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleDetails, type BundleIri, type BundleNullableIri, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, type CreateOrderResponse, DeleteBundle, DeleteOrder, type FeeSimulation, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse,
|
|
10320
|
+
export { AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleDetails, type BundleIri, type BundleNullableIri, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, type CreateOrderResponse, DeleteBundle, DeleteOrder, type FeeSimulation, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse, type GetOrderMenuItemModifierDetailsInput, type GetOrderMenuItemModifierDetailsResponse, GetOrderMenuItemModifierModifierDetails, GetOrderMenuItemModifiers, type GetOrderMenuItemModifiersInput, type GetOrderMenuItemModifiersQueryParams, type GetOrderMenuItemModifiersResponse, GetOrderMenuItems, type GetOrderMenuItemsInput, type GetOrderMenuItemsQueryParams, type GetOrderMenuItemsResponse, GetOrders, type GetOrdersInput, type GetOrdersQueryParams, type GetOrdersResponse, GetPointOfSaleOrders, type GetPointOfSaleOrdersInput, type GetPointOfSaleOrdersQueryParams, type GetPointOfSaleOrdersResponse, MarkOrderAsCollected, type MarkOrderAsCollectedInput, type MarkOrderAsCollectedResponse, MarkOrderAsRead, type MarkOrderAsReadInput, type MarkOrderAsReadResponse, type Order, type OrderAddressType, type OrderBillingInfo, type OrderCustomerInfo, type OrderDetails, type OrderFeeDto, type OrderIri, type OrderMenuItem, type OrderMenuItemDetails, type OrderMenuItemIri, type OrderMenuItemModifier, type OrderMenuItemModifierDetails, type OrderMenuItemModifierIri, type OrderMenuItemModifierNullableIri, type OrderMenuItemModifiersQueryParams, type OrderMenuItemNullableIri, type OrderMenuItemsQueryParams, type OrderNullableIri, type OrdersQueryParams, PayOrder, type PayOrderInput, type PayOrderResponse, RejectOrder, type RejectOrderInput, type RejectOrderResponse, UpdateBundle, type UpdateBundleInput, type UpdateBundleResponse, UpdateOrder, type UpdateOrderInput, type UpdateOrderResponse, type WritableOrderMenuItem, type WritableOrderMenuItemModifier, advanceOrderPreparationStatusInputSchema, advanceOrderPreparationStatusResponseSchema, bundleDetailsSchema, bundleIriSchema, bundleNullableIriSchema, bundleSchema, bundlesQuerySchema, calculateOrderFeesInputSchema, calculateOrderFeesResponseSchema, confirmOrderInputSchema, confirmOrderResponseSchema, createBundleInputSchema, createBundleResponseSchema, createOrderInputSchema, createOrderResponseSchema, deleteBundleInputSchema, deleteBundleResponseSchema, deleteOrderInputSchema, deleteOrderResponseSchema, feeSimulationSchema, getBundleDetailsInputSchema, getBundleDetailsResponseSchema, getBundlesFromPointOfSaleInputSchema, getBundlesFromPointOfSaleQuerySchema, getBundlesFromPointOfSaleResponseSchema, getBundlesInputSchema, getBundlesQuerySchema, getBundlesResponseSchema, getOrderDetailsInputSchema, getOrderDetailsResponseSchema, getOrderMenuItemDetailsInputSchema, getOrderMenuItemDetailsResponseSchema, getOrderMenuItemModifierDetailsInputSchema, getOrderMenuItemModifierDetailsResponseSchema, getOrderMenuItemModifiersInputSchema, getOrderMenuItemModifiersQuerySchema, getOrderMenuItemModifiersResponseSchema, getOrderMenuItemsInputSchema, getOrderMenuItemsQuerySchema, getOrderMenuItemsResponseSchema, getOrdersInputSchema, getOrdersQuerySchema, getOrdersResponseSchema, getPointOfSaleOrdersInputSchema, getPointOfSaleOrdersQuerySchema, getPointOfSaleOrdersResponseSchema, localeItemSchema, markOrderAsCollectedInputSchema, markOrderAsCollectedResponseSchema, markOrderAsReadInputSchema, markOrderAsReadResponseSchema, orderAddressSchema, orderBillingInfoSchema, orderCustomerInfoSchema, orderDetailsSchema, orderFeeDtoSchema, orderIriSchema, orderMenuItemDetailsSchema, orderMenuItemIriSchema, orderMenuItemModifierDetailsSchema, orderMenuItemModifierIriSchema, orderMenuItemModifierNullableIriSchema, orderMenuItemModifierSchema, orderMenuItemModifiersQuerySchema, orderMenuItemNullableIriSchema, orderMenuItemSchema, orderMenuItemsQuerySchema, orderNullableIriSchema, orderSchema, ordersQuerySchema, payOrderInputSchema, payOrderResponseSchema, rejectOrderInputSchema, rejectOrderResponseSchema, updateBundleInputSchema, updateBundleResponseSchema, updateOrderInputSchema, updateOrderResponseSchema, writableBundleSchema, writableOrderMenuItemModifierSchema, writableOrderMenuItemSchema, writableOrderSchema };
|