@deliverart/sdk-js-point-of-sale 2.1.15 → 2.1.17
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 +249 -10
- package/dist/index.d.cts +710 -106
- package/dist/index.d.ts +710 -106
- package/dist/index.js +229 -9
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const deliveryTimeSettingSchema: z.ZodObject<{
|
|
|
32
32
|
times: z.ZodArray<z.ZodObject<{
|
|
33
33
|
startTime: z.ZodString;
|
|
34
34
|
endTime: z.ZodString;
|
|
35
|
-
availableCouriers: z.
|
|
35
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
type DeliveryTimeSetting = z.infer<typeof deliveryTimeSettingSchema>;
|
|
@@ -237,14 +237,14 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
237
237
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
238
238
|
settings: z.ZodObject<{
|
|
239
239
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
240
|
-
deliveryTimesInterval: z.
|
|
241
|
-
takeAwayTimesInterval: z.
|
|
242
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
243
|
-
numberMinutesTimeChangeTolerance: z.
|
|
244
|
-
maxCountableItemsPerBundle: z.
|
|
245
|
-
maxOrdersPerBundle: z.
|
|
240
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
241
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
242
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
243
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
244
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
245
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
246
246
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
247
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
247
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
248
248
|
}, z.core.$strip>;
|
|
249
249
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
250
250
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -274,7 +274,7 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
274
274
|
times: z.ZodArray<z.ZodObject<{
|
|
275
275
|
startTime: z.ZodString;
|
|
276
276
|
endTime: z.ZodString;
|
|
277
|
-
availableCouriers: z.
|
|
277
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
278
278
|
}, z.core.$strip>>;
|
|
279
279
|
}, z.core.$strip>>;
|
|
280
280
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -315,14 +315,14 @@ declare const writablePointOfSaleSchema: z.ZodObject<{
|
|
|
315
315
|
}>>;
|
|
316
316
|
settings: z.ZodObject<{
|
|
317
317
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
318
|
-
deliveryTimesInterval: z.
|
|
319
|
-
takeAwayTimesInterval: z.
|
|
320
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
321
|
-
numberMinutesTimeChangeTolerance: z.
|
|
322
|
-
maxCountableItemsPerBundle: z.
|
|
323
|
-
maxOrdersPerBundle: z.
|
|
318
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
319
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
320
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
321
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
322
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
323
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
324
324
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
325
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
325
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
326
326
|
}, z.core.$strip>;
|
|
327
327
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
328
328
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -352,7 +352,7 @@ declare const writablePointOfSaleSchema: z.ZodObject<{
|
|
|
352
352
|
times: z.ZodArray<z.ZodObject<{
|
|
353
353
|
startTime: z.ZodString;
|
|
354
354
|
endTime: z.ZodString;
|
|
355
|
-
availableCouriers: z.
|
|
355
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
356
356
|
}, z.core.$strip>>;
|
|
357
357
|
}, z.core.$strip>>;
|
|
358
358
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -393,14 +393,14 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
393
393
|
}>>;
|
|
394
394
|
settings: z.ZodObject<{
|
|
395
395
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
396
|
-
deliveryTimesInterval: z.
|
|
397
|
-
takeAwayTimesInterval: z.
|
|
398
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
399
|
-
numberMinutesTimeChangeTolerance: z.
|
|
400
|
-
maxCountableItemsPerBundle: z.
|
|
401
|
-
maxOrdersPerBundle: z.
|
|
396
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
397
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
398
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
399
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
400
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
401
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
402
402
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
403
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
403
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
404
404
|
}, z.core.$strip>;
|
|
405
405
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
406
406
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -430,7 +430,7 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
430
430
|
times: z.ZodArray<z.ZodObject<{
|
|
431
431
|
startTime: z.ZodString;
|
|
432
432
|
endTime: z.ZodString;
|
|
433
|
-
availableCouriers: z.
|
|
433
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
434
434
|
}, z.core.$strip>>;
|
|
435
435
|
}, z.core.$strip>>;
|
|
436
436
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -450,6 +450,82 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
450
450
|
}, z.core.$strip>>;
|
|
451
451
|
}, z.core.$strip>;
|
|
452
452
|
type WritableCreatePointOfSale = z.infer<typeof writableCreatePointOfSaleSchema>;
|
|
453
|
+
declare const pointOfSaleTimeOverrideSchema: z.ZodObject<{
|
|
454
|
+
id: z.ZodString;
|
|
455
|
+
date: z.ZodString;
|
|
456
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
457
|
+
startTime: z.ZodString;
|
|
458
|
+
endTime: z.ZodString;
|
|
459
|
+
}, z.core.$strip>>;
|
|
460
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
461
|
+
startTime: z.ZodString;
|
|
462
|
+
endTime: z.ZodString;
|
|
463
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
464
|
+
}, z.core.$strip>>;
|
|
465
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
466
|
+
startTime: z.ZodString;
|
|
467
|
+
endTime: z.ZodString;
|
|
468
|
+
}, z.core.$strip>>;
|
|
469
|
+
createdAt: z.ZodString;
|
|
470
|
+
updatedAt: z.ZodString;
|
|
471
|
+
}, z.core.$strip>;
|
|
472
|
+
type PointOfSaleTimeOverride = z.infer<typeof pointOfSaleTimeOverrideSchema>;
|
|
473
|
+
declare const pointOfSaleTimeOverrideDetailsSchema: z.ZodObject<{
|
|
474
|
+
id: z.ZodString;
|
|
475
|
+
date: z.ZodString;
|
|
476
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
477
|
+
startTime: z.ZodString;
|
|
478
|
+
endTime: z.ZodString;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
481
|
+
startTime: z.ZodString;
|
|
482
|
+
endTime: z.ZodString;
|
|
483
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
484
|
+
}, z.core.$strip>>;
|
|
485
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
486
|
+
startTime: z.ZodString;
|
|
487
|
+
endTime: z.ZodString;
|
|
488
|
+
}, z.core.$strip>>;
|
|
489
|
+
createdAt: z.ZodString;
|
|
490
|
+
updatedAt: z.ZodString;
|
|
491
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
492
|
+
}, z.core.$strip>;
|
|
493
|
+
type PointOfSaleTimeOverrideDetails = z.infer<typeof pointOfSaleTimeOverrideDetailsSchema>;
|
|
494
|
+
declare const writableCreatePointOfSaleTimeOverrideSchema: z.ZodObject<{
|
|
495
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
496
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
497
|
+
startTime: z.ZodString;
|
|
498
|
+
endTime: z.ZodString;
|
|
499
|
+
}, z.core.$strip>>;
|
|
500
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
501
|
+
startTime: z.ZodString;
|
|
502
|
+
endTime: z.ZodString;
|
|
503
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
504
|
+
}, z.core.$strip>>;
|
|
505
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
506
|
+
startTime: z.ZodString;
|
|
507
|
+
endTime: z.ZodString;
|
|
508
|
+
}, z.core.$strip>>;
|
|
509
|
+
date: z.ZodString;
|
|
510
|
+
}, z.core.$strip>;
|
|
511
|
+
type WritableCreatePointOfSaleTimeOverride = z.infer<typeof writableCreatePointOfSaleTimeOverrideSchema>;
|
|
512
|
+
declare const writablePointOfSaleTimeOverrideSchema: z.ZodObject<{
|
|
513
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
514
|
+
startTime: z.ZodString;
|
|
515
|
+
endTime: z.ZodString;
|
|
516
|
+
}, z.core.$strip>>;
|
|
517
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
518
|
+
startTime: z.ZodString;
|
|
519
|
+
endTime: z.ZodString;
|
|
520
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
521
|
+
}, z.core.$strip>>;
|
|
522
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
523
|
+
startTime: z.ZodString;
|
|
524
|
+
endTime: z.ZodString;
|
|
525
|
+
}, z.core.$strip>>;
|
|
526
|
+
date: z.ZodString;
|
|
527
|
+
}, z.core.$strip>;
|
|
528
|
+
type WritablePointOfSaleTimeOverride = z.infer<typeof writablePointOfSaleTimeOverrideSchema>;
|
|
453
529
|
declare const pointOfSalesQuerySchema: z.ZodObject<{
|
|
454
530
|
name: z.ZodOptional<z.ZodString>;
|
|
455
531
|
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -474,6 +550,34 @@ declare const pointOfSalesQuerySchema: z.ZodObject<{
|
|
|
474
550
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
475
551
|
}, z.core.$strip>;
|
|
476
552
|
type PointOfSalesQueryParams = z.infer<typeof pointOfSalesQuerySchema>;
|
|
553
|
+
declare const pointOfSaleTimeOverridesQuerySchema: z.ZodObject<{
|
|
554
|
+
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
555
|
+
asc: "asc";
|
|
556
|
+
desc: "desc";
|
|
557
|
+
}>>;
|
|
558
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
559
|
+
asc: "asc";
|
|
560
|
+
desc: "desc";
|
|
561
|
+
}>>;
|
|
562
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
563
|
+
asc: "asc";
|
|
564
|
+
desc: "desc";
|
|
565
|
+
}>>;
|
|
566
|
+
'date[before]': z.ZodOptional<z.ZodString>;
|
|
567
|
+
'date[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
568
|
+
'date[after]': z.ZodOptional<z.ZodString>;
|
|
569
|
+
'date[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
570
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
571
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
572
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
573
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
574
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
575
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
576
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
577
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
578
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
579
|
+
}, z.core.$strip>;
|
|
580
|
+
type PointOfSaleTimeOverridesQueryParams = z.infer<typeof pointOfSaleTimeOverridesQuerySchema>;
|
|
477
581
|
declare const pointOfSaleUsersQuerySchema: z.ZodObject<{
|
|
478
582
|
availableForDelivery: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
479
583
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -1479,14 +1583,14 @@ declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1479
1583
|
}>>>;
|
|
1480
1584
|
settings: z.ZodNonOptional<z.ZodObject<{
|
|
1481
1585
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1482
|
-
deliveryTimesInterval: z.
|
|
1483
|
-
takeAwayTimesInterval: z.
|
|
1484
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
1485
|
-
numberMinutesTimeChangeTolerance: z.
|
|
1486
|
-
maxCountableItemsPerBundle: z.
|
|
1487
|
-
maxOrdersPerBundle: z.
|
|
1586
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
1587
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
1588
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
1589
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
1590
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
1591
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
1488
1592
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1489
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
1593
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1490
1594
|
}, z.core.$strip>>;
|
|
1491
1595
|
openingTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1492
1596
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -1516,7 +1620,7 @@ declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1516
1620
|
times: z.ZodArray<z.ZodObject<{
|
|
1517
1621
|
startTime: z.ZodString;
|
|
1518
1622
|
endTime: z.ZodString;
|
|
1519
|
-
availableCouriers: z.
|
|
1623
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1520
1624
|
}, z.core.$strip>>;
|
|
1521
1625
|
}, z.core.$strip>>>;
|
|
1522
1626
|
takeAwayTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1566,14 +1670,14 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1566
1670
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
1567
1671
|
settings: z.ZodObject<{
|
|
1568
1672
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1569
|
-
deliveryTimesInterval: z.
|
|
1570
|
-
takeAwayTimesInterval: z.
|
|
1571
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
1572
|
-
numberMinutesTimeChangeTolerance: z.
|
|
1573
|
-
maxCountableItemsPerBundle: z.
|
|
1574
|
-
maxOrdersPerBundle: z.
|
|
1673
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
1674
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
1675
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
1676
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
1677
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
1678
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
1575
1679
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1576
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
1680
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1577
1681
|
}, z.core.$strip>;
|
|
1578
1682
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1579
1683
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -1603,7 +1707,7 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1603
1707
|
times: z.ZodArray<z.ZodObject<{
|
|
1604
1708
|
startTime: z.ZodString;
|
|
1605
1709
|
endTime: z.ZodString;
|
|
1606
|
-
availableCouriers: z.
|
|
1710
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1607
1711
|
}, z.core.$strip>>;
|
|
1608
1712
|
}, z.core.$strip>>;
|
|
1609
1713
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -1649,14 +1753,14 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1649
1753
|
}>>>;
|
|
1650
1754
|
settings: z.ZodNonOptional<z.ZodObject<{
|
|
1651
1755
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1652
|
-
deliveryTimesInterval: z.
|
|
1653
|
-
takeAwayTimesInterval: z.
|
|
1654
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
1655
|
-
numberMinutesTimeChangeTolerance: z.
|
|
1656
|
-
maxCountableItemsPerBundle: z.
|
|
1657
|
-
maxOrdersPerBundle: z.
|
|
1756
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
1757
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
1758
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
1759
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
1760
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
1761
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
1658
1762
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1659
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
1763
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1660
1764
|
}, z.core.$strip>>;
|
|
1661
1765
|
openingTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1662
1766
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -1686,7 +1790,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1686
1790
|
times: z.ZodArray<z.ZodObject<{
|
|
1687
1791
|
startTime: z.ZodString;
|
|
1688
1792
|
endTime: z.ZodString;
|
|
1689
|
-
availableCouriers: z.
|
|
1793
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1690
1794
|
}, z.core.$strip>>;
|
|
1691
1795
|
}, z.core.$strip>>>;
|
|
1692
1796
|
takeAwayTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1735,14 +1839,14 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1735
1839
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
1736
1840
|
settings: z.ZodObject<{
|
|
1737
1841
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1738
|
-
deliveryTimesInterval: z.
|
|
1739
|
-
takeAwayTimesInterval: z.
|
|
1740
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
1741
|
-
numberMinutesTimeChangeTolerance: z.
|
|
1742
|
-
maxCountableItemsPerBundle: z.
|
|
1743
|
-
maxOrdersPerBundle: z.
|
|
1842
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
1843
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
1844
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
1845
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
1846
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
1847
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
1744
1848
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1745
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
1849
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1746
1850
|
}, z.core.$strip>;
|
|
1747
1851
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1748
1852
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -1772,7 +1876,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1772
1876
|
times: z.ZodArray<z.ZodObject<{
|
|
1773
1877
|
startTime: z.ZodString;
|
|
1774
1878
|
endTime: z.ZodString;
|
|
1775
|
-
availableCouriers: z.
|
|
1879
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1776
1880
|
}, z.core.$strip>>;
|
|
1777
1881
|
}, z.core.$strip>>;
|
|
1778
1882
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -1965,14 +2069,14 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
1965
2069
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
1966
2070
|
settings: z.ZodObject<{
|
|
1967
2071
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1968
|
-
deliveryTimesInterval: z.
|
|
1969
|
-
takeAwayTimesInterval: z.
|
|
1970
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
1971
|
-
numberMinutesTimeChangeTolerance: z.
|
|
1972
|
-
maxCountableItemsPerBundle: z.
|
|
1973
|
-
maxOrdersPerBundle: z.
|
|
2072
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2073
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2074
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
2075
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
2076
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2077
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
1974
2078
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1975
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
2079
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1976
2080
|
}, z.core.$strip>;
|
|
1977
2081
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1978
2082
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -2002,7 +2106,7 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2002
2106
|
times: z.ZodArray<z.ZodObject<{
|
|
2003
2107
|
startTime: z.ZodString;
|
|
2004
2108
|
endTime: z.ZodString;
|
|
2005
|
-
availableCouriers: z.
|
|
2109
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2006
2110
|
}, z.core.$strip>>;
|
|
2007
2111
|
}, z.core.$strip>>;
|
|
2008
2112
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -2058,14 +2162,14 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2058
2162
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
2059
2163
|
settings: z.ZodObject<{
|
|
2060
2164
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
2061
|
-
deliveryTimesInterval: z.
|
|
2062
|
-
takeAwayTimesInterval: z.
|
|
2063
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
2064
|
-
numberMinutesTimeChangeTolerance: z.
|
|
2065
|
-
maxCountableItemsPerBundle: z.
|
|
2066
|
-
maxOrdersPerBundle: z.
|
|
2165
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2166
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2167
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
2168
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
2169
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2170
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2067
2171
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2068
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
2172
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2069
2173
|
}, z.core.$strip>;
|
|
2070
2174
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2071
2175
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -2095,7 +2199,7 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2095
2199
|
times: z.ZodArray<z.ZodObject<{
|
|
2096
2200
|
startTime: z.ZodString;
|
|
2097
2201
|
endTime: z.ZodString;
|
|
2098
|
-
availableCouriers: z.
|
|
2202
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2099
2203
|
}, z.core.$strip>>;
|
|
2100
2204
|
}, z.core.$strip>>;
|
|
2101
2205
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -2281,14 +2385,14 @@ declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
|
2281
2385
|
}>>>;
|
|
2282
2386
|
settings: z.ZodOptional<z.ZodObject<{
|
|
2283
2387
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
2284
|
-
deliveryTimesInterval: z.
|
|
2285
|
-
takeAwayTimesInterval: z.
|
|
2286
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
2287
|
-
numberMinutesTimeChangeTolerance: z.
|
|
2288
|
-
maxCountableItemsPerBundle: z.
|
|
2289
|
-
maxOrdersPerBundle: z.
|
|
2388
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2389
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2390
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
2391
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
2392
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2393
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2290
2394
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2291
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
2395
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2292
2396
|
}, z.core.$strip>>;
|
|
2293
2397
|
openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2294
2398
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -2318,7 +2422,7 @@ declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
|
2318
2422
|
times: z.ZodArray<z.ZodObject<{
|
|
2319
2423
|
startTime: z.ZodString;
|
|
2320
2424
|
endTime: z.ZodString;
|
|
2321
|
-
availableCouriers: z.
|
|
2425
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2322
2426
|
}, z.core.$strip>>;
|
|
2323
2427
|
}, z.core.$strip>>>;
|
|
2324
2428
|
takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2368,14 +2472,14 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2368
2472
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
2369
2473
|
settings: z.ZodObject<{
|
|
2370
2474
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
2371
|
-
deliveryTimesInterval: z.
|
|
2372
|
-
takeAwayTimesInterval: z.
|
|
2373
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
2374
|
-
numberMinutesTimeChangeTolerance: z.
|
|
2375
|
-
maxCountableItemsPerBundle: z.
|
|
2376
|
-
maxOrdersPerBundle: z.
|
|
2475
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2476
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2477
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
2478
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
2479
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2480
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2377
2481
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2378
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
2482
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2379
2483
|
}, z.core.$strip>;
|
|
2380
2484
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2381
2485
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -2405,7 +2509,7 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2405
2509
|
times: z.ZodArray<z.ZodObject<{
|
|
2406
2510
|
startTime: z.ZodString;
|
|
2407
2511
|
endTime: z.ZodString;
|
|
2408
|
-
availableCouriers: z.
|
|
2512
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2409
2513
|
}, z.core.$strip>>;
|
|
2410
2514
|
}, z.core.$strip>>;
|
|
2411
2515
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -2450,14 +2554,14 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2450
2554
|
}>>>;
|
|
2451
2555
|
settings: z.ZodOptional<z.ZodObject<{
|
|
2452
2556
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
2453
|
-
deliveryTimesInterval: z.
|
|
2454
|
-
takeAwayTimesInterval: z.
|
|
2455
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
2456
|
-
numberMinutesTimeChangeTolerance: z.
|
|
2457
|
-
maxCountableItemsPerBundle: z.
|
|
2458
|
-
maxOrdersPerBundle: z.
|
|
2557
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2558
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2559
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
2560
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
2561
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2562
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2459
2563
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2460
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
2564
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2461
2565
|
}, z.core.$strip>>;
|
|
2462
2566
|
openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2463
2567
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -2487,7 +2591,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2487
2591
|
times: z.ZodArray<z.ZodObject<{
|
|
2488
2592
|
startTime: z.ZodString;
|
|
2489
2593
|
endTime: z.ZodString;
|
|
2490
|
-
availableCouriers: z.
|
|
2594
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2491
2595
|
}, z.core.$strip>>;
|
|
2492
2596
|
}, z.core.$strip>>>;
|
|
2493
2597
|
takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2536,14 +2640,14 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2536
2640
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
2537
2641
|
settings: z.ZodObject<{
|
|
2538
2642
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
2539
|
-
deliveryTimesInterval: z.
|
|
2540
|
-
takeAwayTimesInterval: z.
|
|
2541
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
2542
|
-
numberMinutesTimeChangeTolerance: z.
|
|
2543
|
-
maxCountableItemsPerBundle: z.
|
|
2544
|
-
maxOrdersPerBundle: z.
|
|
2643
|
+
deliveryTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2644
|
+
takeAwayTimesInterval: z.ZodCoercedNumber<unknown>;
|
|
2645
|
+
numberMinutesToPrecessFirstOrder: z.ZodCoercedNumber<unknown>;
|
|
2646
|
+
numberMinutesTimeChangeTolerance: z.ZodCoercedNumber<unknown>;
|
|
2647
|
+
maxCountableItemsPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2648
|
+
maxOrdersPerBundle: z.ZodCoercedNumber<unknown>;
|
|
2545
2649
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2546
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
2650
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2547
2651
|
}, z.core.$strip>;
|
|
2548
2652
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2549
2653
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -2573,7 +2677,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2573
2677
|
times: z.ZodArray<z.ZodObject<{
|
|
2574
2678
|
startTime: z.ZodString;
|
|
2575
2679
|
endTime: z.ZodString;
|
|
2576
|
-
availableCouriers: z.
|
|
2680
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2577
2681
|
}, z.core.$strip>>;
|
|
2578
2682
|
}, z.core.$strip>>;
|
|
2579
2683
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -2600,6 +2704,506 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2600
2704
|
getPath(): string;
|
|
2601
2705
|
}
|
|
2602
2706
|
|
|
2707
|
+
declare const createPointOfSaleTimeOverrideInputSchema: z.ZodObject<{
|
|
2708
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
2709
|
+
openingTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2710
|
+
startTime: z.ZodString;
|
|
2711
|
+
endTime: z.ZodString;
|
|
2712
|
+
}, z.core.$strip>>>;
|
|
2713
|
+
deliveryTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2714
|
+
startTime: z.ZodString;
|
|
2715
|
+
endTime: z.ZodString;
|
|
2716
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2717
|
+
}, z.core.$strip>>>;
|
|
2718
|
+
takeAwayTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2719
|
+
startTime: z.ZodString;
|
|
2720
|
+
endTime: z.ZodString;
|
|
2721
|
+
}, z.core.$strip>>>;
|
|
2722
|
+
date: z.ZodNonOptional<z.ZodString>;
|
|
2723
|
+
}, z.core.$strip>;
|
|
2724
|
+
type CreatePointOfSaleTimeOverrideInput = z.input<typeof createPointOfSaleTimeOverrideInputSchema>;
|
|
2725
|
+
declare const createPointOfSaleTimeOverrideResponseSchema: z.ZodObject<{
|
|
2726
|
+
id: z.ZodString;
|
|
2727
|
+
date: z.ZodString;
|
|
2728
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2729
|
+
startTime: z.ZodString;
|
|
2730
|
+
endTime: z.ZodString;
|
|
2731
|
+
}, z.core.$strip>>;
|
|
2732
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2733
|
+
startTime: z.ZodString;
|
|
2734
|
+
endTime: z.ZodString;
|
|
2735
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2736
|
+
}, z.core.$strip>>;
|
|
2737
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2738
|
+
startTime: z.ZodString;
|
|
2739
|
+
endTime: z.ZodString;
|
|
2740
|
+
}, z.core.$strip>>;
|
|
2741
|
+
createdAt: z.ZodString;
|
|
2742
|
+
updatedAt: z.ZodString;
|
|
2743
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2744
|
+
}, z.core.$strip>;
|
|
2745
|
+
type CreatePointOfSaleTimeOverrideResponse = z.infer<typeof createPointOfSaleTimeOverrideResponseSchema>;
|
|
2746
|
+
declare class CreatePointOfSaleTimeOverride extends AbstractApiRequest<typeof createPointOfSaleTimeOverrideInputSchema, typeof createPointOfSaleTimeOverrideResponseSchema> {
|
|
2747
|
+
readonly method = "POST";
|
|
2748
|
+
readonly contentType = "application/json";
|
|
2749
|
+
readonly accept = "application/json";
|
|
2750
|
+
readonly inputSchema: z.ZodObject<{
|
|
2751
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
2752
|
+
openingTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2753
|
+
startTime: z.ZodString;
|
|
2754
|
+
endTime: z.ZodString;
|
|
2755
|
+
}, z.core.$strip>>>;
|
|
2756
|
+
deliveryTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2757
|
+
startTime: z.ZodString;
|
|
2758
|
+
endTime: z.ZodString;
|
|
2759
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2760
|
+
}, z.core.$strip>>>;
|
|
2761
|
+
takeAwayTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2762
|
+
startTime: z.ZodString;
|
|
2763
|
+
endTime: z.ZodString;
|
|
2764
|
+
}, z.core.$strip>>>;
|
|
2765
|
+
date: z.ZodNonOptional<z.ZodString>;
|
|
2766
|
+
}, z.core.$strip>;
|
|
2767
|
+
readonly outputSchema: z.ZodObject<{
|
|
2768
|
+
id: z.ZodString;
|
|
2769
|
+
date: z.ZodString;
|
|
2770
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2771
|
+
startTime: z.ZodString;
|
|
2772
|
+
endTime: z.ZodString;
|
|
2773
|
+
}, z.core.$strip>>;
|
|
2774
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2775
|
+
startTime: z.ZodString;
|
|
2776
|
+
endTime: z.ZodString;
|
|
2777
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2778
|
+
}, z.core.$strip>>;
|
|
2779
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2780
|
+
startTime: z.ZodString;
|
|
2781
|
+
endTime: z.ZodString;
|
|
2782
|
+
}, z.core.$strip>>;
|
|
2783
|
+
createdAt: z.ZodString;
|
|
2784
|
+
updatedAt: z.ZodString;
|
|
2785
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2786
|
+
}, z.core.$strip>;
|
|
2787
|
+
readonly querySchema: undefined;
|
|
2788
|
+
readonly headersSchema: undefined;
|
|
2789
|
+
constructor(input: CreatePointOfSaleTimeOverrideInput);
|
|
2790
|
+
getPath(): string;
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
declare const deletePointOfSaleTimeOverrideInputSchema: z.ZodUndefined;
|
|
2794
|
+
declare const deletePointOfSaleTimeOverrideResponseSchema: z.ZodUndefined;
|
|
2795
|
+
declare class DeletePointOfSaleTimeOverride extends AbstractApiRequest<typeof deletePointOfSaleTimeOverrideInputSchema, typeof deletePointOfSaleTimeOverrideResponseSchema> {
|
|
2796
|
+
readonly method = "DELETE";
|
|
2797
|
+
readonly contentType = "application/json";
|
|
2798
|
+
readonly accept = "application/json";
|
|
2799
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2800
|
+
readonly outputSchema: z.ZodUndefined;
|
|
2801
|
+
readonly querySchema: undefined;
|
|
2802
|
+
readonly headersSchema: undefined;
|
|
2803
|
+
private readonly pointOfSaleTimeOverrideId;
|
|
2804
|
+
constructor(pointOfSaleTimeOverrideId: string);
|
|
2805
|
+
getPath(): string;
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
declare const getPointOfSaleTimeOverrideDetailsInputSchema: z.ZodUndefined;
|
|
2809
|
+
type GetPointOfSaleTimeOverrideDetailsInput = z.input<typeof getPointOfSaleTimeOverrideDetailsInputSchema>;
|
|
2810
|
+
declare const getPointOfSaleTimeOverrideDetailsResponseSchema: z.ZodObject<{
|
|
2811
|
+
id: z.ZodString;
|
|
2812
|
+
date: z.ZodString;
|
|
2813
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2814
|
+
startTime: z.ZodString;
|
|
2815
|
+
endTime: z.ZodString;
|
|
2816
|
+
}, z.core.$strip>>;
|
|
2817
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2818
|
+
startTime: z.ZodString;
|
|
2819
|
+
endTime: z.ZodString;
|
|
2820
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2821
|
+
}, z.core.$strip>>;
|
|
2822
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2823
|
+
startTime: z.ZodString;
|
|
2824
|
+
endTime: z.ZodString;
|
|
2825
|
+
}, z.core.$strip>>;
|
|
2826
|
+
createdAt: z.ZodString;
|
|
2827
|
+
updatedAt: z.ZodString;
|
|
2828
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2829
|
+
}, z.core.$strip>;
|
|
2830
|
+
type GetPointOfSaleTimeOverrideDetailsResponse = z.infer<typeof getPointOfSaleTimeOverrideDetailsResponseSchema>;
|
|
2831
|
+
declare class GetPointOfSaleTimeOverrideDetails extends AbstractApiRequest<typeof getPointOfSaleTimeOverrideDetailsInputSchema, typeof getPointOfSaleTimeOverrideDetailsResponseSchema> {
|
|
2832
|
+
readonly method = "GET";
|
|
2833
|
+
readonly contentType = "application/json";
|
|
2834
|
+
readonly accept = "application/json";
|
|
2835
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2836
|
+
readonly outputSchema: z.ZodObject<{
|
|
2837
|
+
id: z.ZodString;
|
|
2838
|
+
date: z.ZodString;
|
|
2839
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2840
|
+
startTime: z.ZodString;
|
|
2841
|
+
endTime: z.ZodString;
|
|
2842
|
+
}, z.core.$strip>>;
|
|
2843
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2844
|
+
startTime: z.ZodString;
|
|
2845
|
+
endTime: z.ZodString;
|
|
2846
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2847
|
+
}, z.core.$strip>>;
|
|
2848
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2849
|
+
startTime: z.ZodString;
|
|
2850
|
+
endTime: z.ZodString;
|
|
2851
|
+
}, z.core.$strip>>;
|
|
2852
|
+
createdAt: z.ZodString;
|
|
2853
|
+
updatedAt: z.ZodString;
|
|
2854
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2855
|
+
}, z.core.$strip>;
|
|
2856
|
+
readonly querySchema: undefined;
|
|
2857
|
+
readonly headersSchema: undefined;
|
|
2858
|
+
private readonly pointOfSaleTimeOverrideId;
|
|
2859
|
+
constructor(pointOfSaleTimeOverrideId: string);
|
|
2860
|
+
getPath(): string;
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
declare const getPointOfSaleTimeOverridesQuerySchema: z.ZodObject<{
|
|
2864
|
+
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
2865
|
+
asc: "asc";
|
|
2866
|
+
desc: "desc";
|
|
2867
|
+
}>>;
|
|
2868
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2869
|
+
asc: "asc";
|
|
2870
|
+
desc: "desc";
|
|
2871
|
+
}>>;
|
|
2872
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
2873
|
+
asc: "asc";
|
|
2874
|
+
desc: "desc";
|
|
2875
|
+
}>>;
|
|
2876
|
+
'date[before]': z.ZodOptional<z.ZodString>;
|
|
2877
|
+
'date[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2878
|
+
'date[after]': z.ZodOptional<z.ZodString>;
|
|
2879
|
+
'date[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2880
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2881
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2882
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2883
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2884
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2885
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2886
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2887
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2888
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2889
|
+
}, z.core.$strip>;
|
|
2890
|
+
type GetPointOfSaleTimeOverridesQueryParams = z.infer<typeof getPointOfSaleTimeOverridesQuerySchema>;
|
|
2891
|
+
declare const getPointOfSaleTimeOverridesInputSchema: z.ZodUndefined;
|
|
2892
|
+
type GetPointOfSaleTimeOverridesInput = z.input<typeof getPointOfSaleTimeOverridesInputSchema>;
|
|
2893
|
+
declare const getPointOfSaleTimeOverridesResponseSchema: z.ZodObject<{
|
|
2894
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2895
|
+
id: z.ZodString;
|
|
2896
|
+
date: z.ZodString;
|
|
2897
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2898
|
+
startTime: z.ZodString;
|
|
2899
|
+
endTime: z.ZodString;
|
|
2900
|
+
}, z.core.$strip>>;
|
|
2901
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2902
|
+
startTime: z.ZodString;
|
|
2903
|
+
endTime: z.ZodString;
|
|
2904
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2905
|
+
}, z.core.$strip>>;
|
|
2906
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2907
|
+
startTime: z.ZodString;
|
|
2908
|
+
endTime: z.ZodString;
|
|
2909
|
+
}, z.core.$strip>>;
|
|
2910
|
+
createdAt: z.ZodString;
|
|
2911
|
+
updatedAt: z.ZodString;
|
|
2912
|
+
}, z.core.$strip>>;
|
|
2913
|
+
pagination: z.ZodObject<{
|
|
2914
|
+
from: z.ZodNumber;
|
|
2915
|
+
to: z.ZodNumber;
|
|
2916
|
+
itemsPerPage: z.ZodNumber;
|
|
2917
|
+
totalItems: z.ZodNumber;
|
|
2918
|
+
currentPage: z.ZodNumber;
|
|
2919
|
+
lastPage: z.ZodNumber;
|
|
2920
|
+
}, z.core.$strip>;
|
|
2921
|
+
}, z.core.$strip>;
|
|
2922
|
+
type GetPointOfSaleTimeOverridesResponse = z.infer<typeof getPointOfSaleTimeOverridesResponseSchema>;
|
|
2923
|
+
declare class GetPointOfSaleTimeOverrides extends AbstractApiRequest<typeof getPointOfSaleTimeOverridesInputSchema, typeof getPointOfSaleTimeOverridesResponseSchema, GetPointOfSaleTimeOverridesQueryParams> {
|
|
2924
|
+
readonly method = "GET";
|
|
2925
|
+
readonly contentType = "application/json";
|
|
2926
|
+
readonly accept = "application/json";
|
|
2927
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2928
|
+
readonly outputSchema: z.ZodObject<{
|
|
2929
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2930
|
+
id: z.ZodString;
|
|
2931
|
+
date: z.ZodString;
|
|
2932
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2933
|
+
startTime: z.ZodString;
|
|
2934
|
+
endTime: z.ZodString;
|
|
2935
|
+
}, z.core.$strip>>;
|
|
2936
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2937
|
+
startTime: z.ZodString;
|
|
2938
|
+
endTime: z.ZodString;
|
|
2939
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2940
|
+
}, z.core.$strip>>;
|
|
2941
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2942
|
+
startTime: z.ZodString;
|
|
2943
|
+
endTime: z.ZodString;
|
|
2944
|
+
}, z.core.$strip>>;
|
|
2945
|
+
createdAt: z.ZodString;
|
|
2946
|
+
updatedAt: z.ZodString;
|
|
2947
|
+
}, z.core.$strip>>;
|
|
2948
|
+
pagination: z.ZodObject<{
|
|
2949
|
+
from: z.ZodNumber;
|
|
2950
|
+
to: z.ZodNumber;
|
|
2951
|
+
itemsPerPage: z.ZodNumber;
|
|
2952
|
+
totalItems: z.ZodNumber;
|
|
2953
|
+
currentPage: z.ZodNumber;
|
|
2954
|
+
lastPage: z.ZodNumber;
|
|
2955
|
+
}, z.core.$strip>;
|
|
2956
|
+
}, z.core.$strip>;
|
|
2957
|
+
readonly querySchema: z.ZodObject<{
|
|
2958
|
+
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
2959
|
+
asc: "asc";
|
|
2960
|
+
desc: "desc";
|
|
2961
|
+
}>>;
|
|
2962
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2963
|
+
asc: "asc";
|
|
2964
|
+
desc: "desc";
|
|
2965
|
+
}>>;
|
|
2966
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
2967
|
+
asc: "asc";
|
|
2968
|
+
desc: "desc";
|
|
2969
|
+
}>>;
|
|
2970
|
+
'date[before]': z.ZodOptional<z.ZodString>;
|
|
2971
|
+
'date[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2972
|
+
'date[after]': z.ZodOptional<z.ZodString>;
|
|
2973
|
+
'date[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2974
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2975
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2976
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2977
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2978
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2979
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2980
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2981
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2982
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2983
|
+
}, z.core.$strip>;
|
|
2984
|
+
readonly headersSchema: undefined;
|
|
2985
|
+
constructor(options?: {
|
|
2986
|
+
query?: GetPointOfSaleTimeOverridesQueryParams;
|
|
2987
|
+
});
|
|
2988
|
+
getPath(): string;
|
|
2989
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<PointOfSaleTimeOverride>;
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
declare const getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
2993
|
+
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
2994
|
+
asc: "asc";
|
|
2995
|
+
desc: "desc";
|
|
2996
|
+
}>>;
|
|
2997
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2998
|
+
asc: "asc";
|
|
2999
|
+
desc: "desc";
|
|
3000
|
+
}>>;
|
|
3001
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
3002
|
+
asc: "asc";
|
|
3003
|
+
desc: "desc";
|
|
3004
|
+
}>>;
|
|
3005
|
+
'date[before]': z.ZodOptional<z.ZodString>;
|
|
3006
|
+
'date[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3007
|
+
'date[after]': z.ZodOptional<z.ZodString>;
|
|
3008
|
+
'date[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3009
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3010
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3011
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3012
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3013
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3014
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3015
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3016
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3017
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3018
|
+
}, z.core.$strip>;
|
|
3019
|
+
type GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams = z.infer<typeof getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema>;
|
|
3020
|
+
declare const getPointOfSaleTimeOverridesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
3021
|
+
type GetPointOfSaleTimeOverridesFromPointOfSaleInput = z.input<typeof getPointOfSaleTimeOverridesFromPointOfSaleInputSchema>;
|
|
3022
|
+
declare const getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
3023
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3024
|
+
id: z.ZodString;
|
|
3025
|
+
date: z.ZodString;
|
|
3026
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3027
|
+
startTime: z.ZodString;
|
|
3028
|
+
endTime: z.ZodString;
|
|
3029
|
+
}, z.core.$strip>>;
|
|
3030
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3031
|
+
startTime: z.ZodString;
|
|
3032
|
+
endTime: z.ZodString;
|
|
3033
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
3034
|
+
}, z.core.$strip>>;
|
|
3035
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3036
|
+
startTime: z.ZodString;
|
|
3037
|
+
endTime: z.ZodString;
|
|
3038
|
+
}, z.core.$strip>>;
|
|
3039
|
+
createdAt: z.ZodString;
|
|
3040
|
+
updatedAt: z.ZodString;
|
|
3041
|
+
}, z.core.$strip>>;
|
|
3042
|
+
pagination: z.ZodObject<{
|
|
3043
|
+
from: z.ZodNumber;
|
|
3044
|
+
to: z.ZodNumber;
|
|
3045
|
+
itemsPerPage: z.ZodNumber;
|
|
3046
|
+
totalItems: z.ZodNumber;
|
|
3047
|
+
currentPage: z.ZodNumber;
|
|
3048
|
+
lastPage: z.ZodNumber;
|
|
3049
|
+
}, z.core.$strip>;
|
|
3050
|
+
}, z.core.$strip>;
|
|
3051
|
+
type GetPointOfSaleTimeOverridesFromPointOfSaleResponse = z.infer<typeof getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema>;
|
|
3052
|
+
declare class GetPointOfSaleTimeOverridesFromPointOfSale extends AbstractApiRequest<typeof getPointOfSaleTimeOverridesFromPointOfSaleInputSchema, typeof getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema, GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams> {
|
|
3053
|
+
readonly method = "GET";
|
|
3054
|
+
readonly contentType = "application/json";
|
|
3055
|
+
readonly accept = "application/json";
|
|
3056
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3057
|
+
readonly outputSchema: z.ZodObject<{
|
|
3058
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3059
|
+
id: z.ZodString;
|
|
3060
|
+
date: z.ZodString;
|
|
3061
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3062
|
+
startTime: z.ZodString;
|
|
3063
|
+
endTime: z.ZodString;
|
|
3064
|
+
}, z.core.$strip>>;
|
|
3065
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3066
|
+
startTime: z.ZodString;
|
|
3067
|
+
endTime: z.ZodString;
|
|
3068
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
3069
|
+
}, z.core.$strip>>;
|
|
3070
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3071
|
+
startTime: z.ZodString;
|
|
3072
|
+
endTime: z.ZodString;
|
|
3073
|
+
}, z.core.$strip>>;
|
|
3074
|
+
createdAt: z.ZodString;
|
|
3075
|
+
updatedAt: z.ZodString;
|
|
3076
|
+
}, z.core.$strip>>;
|
|
3077
|
+
pagination: z.ZodObject<{
|
|
3078
|
+
from: z.ZodNumber;
|
|
3079
|
+
to: z.ZodNumber;
|
|
3080
|
+
itemsPerPage: z.ZodNumber;
|
|
3081
|
+
totalItems: z.ZodNumber;
|
|
3082
|
+
currentPage: z.ZodNumber;
|
|
3083
|
+
lastPage: z.ZodNumber;
|
|
3084
|
+
}, z.core.$strip>;
|
|
3085
|
+
}, z.core.$strip>;
|
|
3086
|
+
readonly querySchema: z.ZodObject<{
|
|
3087
|
+
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
3088
|
+
asc: "asc";
|
|
3089
|
+
desc: "desc";
|
|
3090
|
+
}>>;
|
|
3091
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3092
|
+
asc: "asc";
|
|
3093
|
+
desc: "desc";
|
|
3094
|
+
}>>;
|
|
3095
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
3096
|
+
asc: "asc";
|
|
3097
|
+
desc: "desc";
|
|
3098
|
+
}>>;
|
|
3099
|
+
'date[before]': z.ZodOptional<z.ZodString>;
|
|
3100
|
+
'date[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3101
|
+
'date[after]': z.ZodOptional<z.ZodString>;
|
|
3102
|
+
'date[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3103
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3104
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3105
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3106
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3107
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3108
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3109
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3110
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3111
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3112
|
+
}, z.core.$strip>;
|
|
3113
|
+
readonly headersSchema: undefined;
|
|
3114
|
+
private readonly pointOfSaleId;
|
|
3115
|
+
constructor(pointOfSaleId: string, options?: {
|
|
3116
|
+
query?: GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams;
|
|
3117
|
+
});
|
|
3118
|
+
getPath(): string;
|
|
3119
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<PointOfSaleTimeOverride>;
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
declare const updatePointOfSaleTimeOverrideInputSchema: z.ZodObject<{
|
|
3123
|
+
openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3124
|
+
startTime: z.ZodString;
|
|
3125
|
+
endTime: z.ZodString;
|
|
3126
|
+
}, z.core.$strip>>>;
|
|
3127
|
+
deliveryTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3128
|
+
startTime: z.ZodString;
|
|
3129
|
+
endTime: z.ZodString;
|
|
3130
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
3131
|
+
}, z.core.$strip>>>;
|
|
3132
|
+
takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3133
|
+
startTime: z.ZodString;
|
|
3134
|
+
endTime: z.ZodString;
|
|
3135
|
+
}, z.core.$strip>>>;
|
|
3136
|
+
date: z.ZodOptional<z.ZodString>;
|
|
3137
|
+
}, z.core.$strip>;
|
|
3138
|
+
type UpdatePointOfSaleTimeOverrideInput = z.input<typeof updatePointOfSaleTimeOverrideInputSchema>;
|
|
3139
|
+
declare const updatePointOfSaleTimeOverrideResponseSchema: z.ZodObject<{
|
|
3140
|
+
id: z.ZodString;
|
|
3141
|
+
date: z.ZodString;
|
|
3142
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3143
|
+
startTime: z.ZodString;
|
|
3144
|
+
endTime: z.ZodString;
|
|
3145
|
+
}, z.core.$strip>>;
|
|
3146
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3147
|
+
startTime: z.ZodString;
|
|
3148
|
+
endTime: z.ZodString;
|
|
3149
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
3150
|
+
}, z.core.$strip>>;
|
|
3151
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3152
|
+
startTime: z.ZodString;
|
|
3153
|
+
endTime: z.ZodString;
|
|
3154
|
+
}, z.core.$strip>>;
|
|
3155
|
+
createdAt: z.ZodString;
|
|
3156
|
+
updatedAt: z.ZodString;
|
|
3157
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3158
|
+
}, z.core.$strip>;
|
|
3159
|
+
type UpdatePointOfSaleTimeOverrideResponse = z.infer<typeof updatePointOfSaleTimeOverrideResponseSchema>;
|
|
3160
|
+
declare class UpdatePointOfSaleTimeOverride extends AbstractApiRequest<typeof updatePointOfSaleTimeOverrideInputSchema, typeof updatePointOfSaleTimeOverrideResponseSchema> {
|
|
3161
|
+
readonly method = "PATCH";
|
|
3162
|
+
readonly contentType = "application/merge-patch+json";
|
|
3163
|
+
readonly accept = "application/json";
|
|
3164
|
+
readonly inputSchema: z.ZodObject<{
|
|
3165
|
+
openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3166
|
+
startTime: z.ZodString;
|
|
3167
|
+
endTime: z.ZodString;
|
|
3168
|
+
}, z.core.$strip>>>;
|
|
3169
|
+
deliveryTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3170
|
+
startTime: z.ZodString;
|
|
3171
|
+
endTime: z.ZodString;
|
|
3172
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
3173
|
+
}, z.core.$strip>>>;
|
|
3174
|
+
takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3175
|
+
startTime: z.ZodString;
|
|
3176
|
+
endTime: z.ZodString;
|
|
3177
|
+
}, z.core.$strip>>>;
|
|
3178
|
+
date: z.ZodOptional<z.ZodString>;
|
|
3179
|
+
}, z.core.$strip>;
|
|
3180
|
+
readonly outputSchema: z.ZodObject<{
|
|
3181
|
+
id: z.ZodString;
|
|
3182
|
+
date: z.ZodString;
|
|
3183
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3184
|
+
startTime: z.ZodString;
|
|
3185
|
+
endTime: z.ZodString;
|
|
3186
|
+
}, z.core.$strip>>;
|
|
3187
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3188
|
+
startTime: z.ZodString;
|
|
3189
|
+
endTime: z.ZodString;
|
|
3190
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
3191
|
+
}, z.core.$strip>>;
|
|
3192
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
3193
|
+
startTime: z.ZodString;
|
|
3194
|
+
endTime: z.ZodString;
|
|
3195
|
+
}, z.core.$strip>>;
|
|
3196
|
+
createdAt: z.ZodString;
|
|
3197
|
+
updatedAt: z.ZodString;
|
|
3198
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3199
|
+
}, z.core.$strip>;
|
|
3200
|
+
readonly querySchema: undefined;
|
|
3201
|
+
readonly headersSchema: undefined;
|
|
3202
|
+
private readonly pointOfSaleTimeOverrideId;
|
|
3203
|
+
constructor(pointOfSaleTimeOverrideId: string, input: UpdatePointOfSaleTimeOverrideInput);
|
|
3204
|
+
getPath(): string;
|
|
3205
|
+
}
|
|
3206
|
+
|
|
2603
3207
|
declare const pointOfSaleOpeningStatuses: readonly ["OPEN", "CLOSED"];
|
|
2604
3208
|
declare const pointOfSaleOpeningStatusSchema: z.ZodEnum<{
|
|
2605
3209
|
OPEN: "OPEN";
|
|
@@ -2626,4 +3230,4 @@ type PointOfSaleMenuVersionIri = z.infer<typeof pointOfSaleMenuVersionIriSchema>
|
|
|
2626
3230
|
declare const pointOfSaleMenuVersionNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
|
|
2627
3231
|
type PointOfSaleMenuVersionNullableIri = z.infer<typeof pointOfSaleMenuVersionNullableIriSchema>;
|
|
2628
3232
|
|
|
2629
|
-
export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, DeletePointOfSale, DeletePointOfSaleUser, type DeliveryTimeSetting, GetCompanyPointOfSales, type GetCompanyPointOfSalesInput, type GetCompanyPointOfSalesQueryParams, type GetCompanyPointOfSalesResponse, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, GetPointOfSaleUserDetails, type GetPointOfSaleUserDetailsInput, type GetPointOfSaleUserDetailsResponse, GetPointOfSaleUsers, GetPointOfSaleUsersFromPointOfSale, type GetPointOfSaleUsersFromPointOfSaleInput, type GetPointOfSaleUsersFromPointOfSaleQueryParams, type GetPointOfSaleUsersFromPointOfSaleResponse, GetPointOfSaleUsersFromUser, type GetPointOfSaleUsersFromUserInput, type GetPointOfSaleUsersFromUserQueryParams, type GetPointOfSaleUsersFromUserResponse, type GetPointOfSaleUsersInput, type GetPointOfSaleUsersQueryParams, type GetPointOfSaleUsersResponse, GetPointOfSales, type GetPointOfSalesInput, type GetPointOfSalesQueryParams, type GetPointOfSalesResponse, type MenuVersion, type MenuVersionDetails, type PointOfSale, type PointOfSaleCapability, type PointOfSaleDetails, type PointOfSaleIri, type PointOfSaleMenuVersionIri, type PointOfSaleMenuVersionNullableIri, type PointOfSaleNullableIri, type PointOfSaleOpeningStatus, type PointOfSaleUser, type PointOfSaleUserRole, type PointOfSaleUsersQueryParams, type PointOfSalesQueryParams, type TimeSetting, UpdatePointOfSale, type UpdatePointOfSaleInput, type UpdatePointOfSaleResponse, UpdatePointOfSaleUser, type UpdatePointOfSaleUserInput, type UpdatePointOfSaleUserResponse, type UserPointOfSale, type WritableCreatePointOfSale, type WritablePointOfSale, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deletePointOfSaleUserInputSchema, deletePointOfSaleUserResponseSchema, deliveryTimeSettingSchema, getCompanyPointOfSalesInputSchema, getCompanyPointOfSalesQuerySchema, getCompanyPointOfSalesResponseSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, getPointOfSaleUserDetailsInputSchema, getPointOfSaleUserDetailsResponseSchema, getPointOfSaleUsersFromPointOfSaleInputSchema, getPointOfSaleUsersFromPointOfSaleQuerySchema, getPointOfSaleUsersFromPointOfSaleResponseSchema, getPointOfSaleUsersFromUserInputSchema, getPointOfSaleUsersFromUserQuerySchema, getPointOfSaleUsersFromUserResponseSchema, getPointOfSaleUsersInputSchema, getPointOfSaleUsersQuerySchema, getPointOfSaleUsersResponseSchema, getPointOfSalesInputSchema, getPointOfSalesQuerySchema, getPointOfSalesResponseSchema, menuVersionDetailsSchema, menuVersionSchema, pointOfSaleAutoAcceptOrderValues, pointOfSaleCapabilities, pointOfSaleCapabilitySchema, pointOfSaleDetailsSchema, pointOfSaleIntervalValues, pointOfSaleIriSchema, pointOfSaleMenuVersionIriSchema, pointOfSaleMenuVersionNullableIriSchema, pointOfSaleNullableIriSchema, pointOfSaleOpeningStatusSchema, pointOfSaleOpeningStatuses, pointOfSaleSchema, pointOfSaleUserRoleSchema, pointOfSaleUserRoles, pointOfSaleUserSchema, pointOfSaleUsersQuerySchema, pointOfSalesQuerySchema, timeSettingSchema, updatePointOfSaleInputSchema, updatePointOfSaleResponseSchema, updatePointOfSaleUserInputSchema, updatePointOfSaleUserResponseSchema, userPointOfSaleSchema, writableCreatePointOfSaleSchema, writablePointOfSaleSchema };
|
|
3233
|
+
export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, CreatePointOfSaleTimeOverride, type CreatePointOfSaleTimeOverrideInput, type CreatePointOfSaleTimeOverrideResponse, DeletePointOfSale, DeletePointOfSaleTimeOverride, DeletePointOfSaleUser, type DeliveryTimeSetting, GetCompanyPointOfSales, type GetCompanyPointOfSalesInput, type GetCompanyPointOfSalesQueryParams, type GetCompanyPointOfSalesResponse, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, GetPointOfSaleTimeOverrideDetails, type GetPointOfSaleTimeOverrideDetailsInput, type GetPointOfSaleTimeOverrideDetailsResponse, GetPointOfSaleTimeOverrides, GetPointOfSaleTimeOverridesFromPointOfSale, type GetPointOfSaleTimeOverridesFromPointOfSaleInput, type GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams, type GetPointOfSaleTimeOverridesFromPointOfSaleResponse, type GetPointOfSaleTimeOverridesInput, type GetPointOfSaleTimeOverridesQueryParams, type GetPointOfSaleTimeOverridesResponse, GetPointOfSaleUserDetails, type GetPointOfSaleUserDetailsInput, type GetPointOfSaleUserDetailsResponse, GetPointOfSaleUsers, GetPointOfSaleUsersFromPointOfSale, type GetPointOfSaleUsersFromPointOfSaleInput, type GetPointOfSaleUsersFromPointOfSaleQueryParams, type GetPointOfSaleUsersFromPointOfSaleResponse, GetPointOfSaleUsersFromUser, type GetPointOfSaleUsersFromUserInput, type GetPointOfSaleUsersFromUserQueryParams, type GetPointOfSaleUsersFromUserResponse, type GetPointOfSaleUsersInput, type GetPointOfSaleUsersQueryParams, type GetPointOfSaleUsersResponse, GetPointOfSales, type GetPointOfSalesInput, type GetPointOfSalesQueryParams, type GetPointOfSalesResponse, type MenuVersion, type MenuVersionDetails, type PointOfSale, type PointOfSaleCapability, type PointOfSaleDetails, type PointOfSaleIri, type PointOfSaleMenuVersionIri, type PointOfSaleMenuVersionNullableIri, type PointOfSaleNullableIri, type PointOfSaleOpeningStatus, type PointOfSaleTimeOverride, type PointOfSaleTimeOverrideDetails, type PointOfSaleTimeOverridesQueryParams, type PointOfSaleUser, type PointOfSaleUserRole, type PointOfSaleUsersQueryParams, type PointOfSalesQueryParams, type TimeSetting, UpdatePointOfSale, type UpdatePointOfSaleInput, type UpdatePointOfSaleResponse, UpdatePointOfSaleTimeOverride, type UpdatePointOfSaleTimeOverrideInput, type UpdatePointOfSaleTimeOverrideResponse, UpdatePointOfSaleUser, type UpdatePointOfSaleUserInput, type UpdatePointOfSaleUserResponse, type UserPointOfSale, type WritableCreatePointOfSale, type WritableCreatePointOfSaleTimeOverride, type WritablePointOfSale, type WritablePointOfSaleTimeOverride, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, createPointOfSaleTimeOverrideInputSchema, createPointOfSaleTimeOverrideResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deletePointOfSaleTimeOverrideInputSchema, deletePointOfSaleTimeOverrideResponseSchema, deletePointOfSaleUserInputSchema, deletePointOfSaleUserResponseSchema, deliveryTimeSettingSchema, getCompanyPointOfSalesInputSchema, getCompanyPointOfSalesQuerySchema, getCompanyPointOfSalesResponseSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, getPointOfSaleTimeOverrideDetailsInputSchema, getPointOfSaleTimeOverrideDetailsResponseSchema, getPointOfSaleTimeOverridesFromPointOfSaleInputSchema, getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema, getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema, getPointOfSaleTimeOverridesInputSchema, getPointOfSaleTimeOverridesQuerySchema, getPointOfSaleTimeOverridesResponseSchema, getPointOfSaleUserDetailsInputSchema, getPointOfSaleUserDetailsResponseSchema, getPointOfSaleUsersFromPointOfSaleInputSchema, getPointOfSaleUsersFromPointOfSaleQuerySchema, getPointOfSaleUsersFromPointOfSaleResponseSchema, getPointOfSaleUsersFromUserInputSchema, getPointOfSaleUsersFromUserQuerySchema, getPointOfSaleUsersFromUserResponseSchema, getPointOfSaleUsersInputSchema, getPointOfSaleUsersQuerySchema, getPointOfSaleUsersResponseSchema, getPointOfSalesInputSchema, getPointOfSalesQuerySchema, getPointOfSalesResponseSchema, menuVersionDetailsSchema, menuVersionSchema, pointOfSaleAutoAcceptOrderValues, pointOfSaleCapabilities, pointOfSaleCapabilitySchema, pointOfSaleDetailsSchema, pointOfSaleIntervalValues, pointOfSaleIriSchema, pointOfSaleMenuVersionIriSchema, pointOfSaleMenuVersionNullableIriSchema, pointOfSaleNullableIriSchema, pointOfSaleOpeningStatusSchema, pointOfSaleOpeningStatuses, pointOfSaleSchema, pointOfSaleTimeOverrideDetailsSchema, pointOfSaleTimeOverrideSchema, pointOfSaleTimeOverridesQuerySchema, pointOfSaleUserRoleSchema, pointOfSaleUserRoles, pointOfSaleUserSchema, pointOfSaleUsersQuerySchema, pointOfSalesQuerySchema, timeSettingSchema, updatePointOfSaleInputSchema, updatePointOfSaleResponseSchema, updatePointOfSaleTimeOverrideInputSchema, updatePointOfSaleTimeOverrideResponseSchema, updatePointOfSaleUserInputSchema, updatePointOfSaleUserResponseSchema, userPointOfSaleSchema, writableCreatePointOfSaleSchema, writableCreatePointOfSaleTimeOverrideSchema, writablePointOfSaleSchema, writablePointOfSaleTimeOverrideSchema };
|