@deliverart/sdk-js-point-of-sale 2.1.14 → 2.1.16
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 +459 -25
- package/dist/index.d.cts +2228 -661
- package/dist/index.d.ts +2228 -661
- package/dist/index.js +422 -25
- package/package.json +5 -5
package/dist/index.d.cts
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,7 +550,36 @@ 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<{
|
|
582
|
+
availableForDelivery: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
478
583
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
479
584
|
asc: "asc";
|
|
480
585
|
desc: "desc";
|
|
@@ -495,106 +600,1068 @@ declare const pointOfSaleUsersQuerySchema: z.ZodObject<{
|
|
|
495
600
|
}, z.core.$strip>;
|
|
496
601
|
type PointOfSaleUsersQueryParams = z.infer<typeof pointOfSaleUsersQuerySchema>;
|
|
497
602
|
|
|
498
|
-
declare const
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}>>>;
|
|
517
|
-
settings: z.ZodNonOptional<z.ZodObject<{
|
|
518
|
-
menuLocales: z.ZodArray<z.ZodAny>;
|
|
519
|
-
deliveryTimesInterval: z.ZodNumber;
|
|
520
|
-
takeAwayTimesInterval: z.ZodNumber;
|
|
521
|
-
numberMinutesToPrecessFirstOrder: z.ZodNumber;
|
|
522
|
-
numberMinutesTimeChangeTolerance: z.ZodNumber;
|
|
523
|
-
maxCountableItemsPerBundle: z.ZodNumber;
|
|
524
|
-
maxOrdersPerBundle: z.ZodNumber;
|
|
525
|
-
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
526
|
-
numberMinutesBeforeAutoAcceptOrder: z.ZodNumber;
|
|
527
|
-
}, z.core.$strip>>;
|
|
528
|
-
openingTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
529
|
-
dayOfWeek: z.ZodEnum<{
|
|
530
|
-
monday: "monday";
|
|
531
|
-
tuesday: "tuesday";
|
|
532
|
-
wednesday: "wednesday";
|
|
533
|
-
thursday: "thursday";
|
|
534
|
-
friday: "friday";
|
|
535
|
-
saturday: "saturday";
|
|
536
|
-
sunday: "sunday";
|
|
537
|
-
}>;
|
|
538
|
-
times: z.ZodArray<z.ZodObject<{
|
|
539
|
-
startTime: z.ZodString;
|
|
540
|
-
endTime: z.ZodString;
|
|
541
|
-
}, z.core.$strip>>;
|
|
542
|
-
}, z.core.$strip>>>;
|
|
543
|
-
deliveryTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
544
|
-
dayOfWeek: z.ZodEnum<{
|
|
545
|
-
monday: "monday";
|
|
546
|
-
tuesday: "tuesday";
|
|
547
|
-
wednesday: "wednesday";
|
|
548
|
-
thursday: "thursday";
|
|
549
|
-
friday: "friday";
|
|
550
|
-
saturday: "saturday";
|
|
551
|
-
sunday: "sunday";
|
|
552
|
-
}>;
|
|
553
|
-
times: z.ZodArray<z.ZodObject<{
|
|
554
|
-
startTime: z.ZodString;
|
|
555
|
-
endTime: z.ZodString;
|
|
556
|
-
availableCouriers: z.ZodNumber;
|
|
557
|
-
}, z.core.$strip>>;
|
|
558
|
-
}, z.core.$strip>>>;
|
|
559
|
-
takeAwayTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
560
|
-
dayOfWeek: z.ZodEnum<{
|
|
561
|
-
monday: "monday";
|
|
562
|
-
tuesday: "tuesday";
|
|
563
|
-
wednesday: "wednesday";
|
|
564
|
-
thursday: "thursday";
|
|
565
|
-
friday: "friday";
|
|
566
|
-
saturday: "saturday";
|
|
567
|
-
sunday: "sunday";
|
|
568
|
-
}>;
|
|
569
|
-
times: z.ZodArray<z.ZodObject<{
|
|
570
|
-
startTime: z.ZodString;
|
|
571
|
-
endTime: z.ZodString;
|
|
572
|
-
}, z.core.$strip>>;
|
|
573
|
-
}, z.core.$strip>>>;
|
|
574
|
-
}, z.core.$strip>;
|
|
575
|
-
type CreatePointOfSaleInput = z.input<typeof createPointOfSaleInputSchema>;
|
|
576
|
-
declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
603
|
+
declare const deletePointOfSaleUserInputSchema: z.ZodUndefined;
|
|
604
|
+
declare const deletePointOfSaleUserResponseSchema: z.ZodUndefined;
|
|
605
|
+
declare class DeletePointOfSaleUser extends AbstractApiRequest<typeof deletePointOfSaleUserInputSchema, typeof deletePointOfSaleUserResponseSchema> {
|
|
606
|
+
readonly method = "DELETE";
|
|
607
|
+
readonly contentType = "application/json";
|
|
608
|
+
readonly accept = "application/json";
|
|
609
|
+
readonly inputSchema: z.ZodUndefined;
|
|
610
|
+
readonly outputSchema: z.ZodUndefined;
|
|
611
|
+
readonly querySchema: undefined;
|
|
612
|
+
readonly headersSchema: undefined;
|
|
613
|
+
private readonly pointOfSaleUserId;
|
|
614
|
+
constructor(pointOfSaleUserId: string);
|
|
615
|
+
getPath(): string;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
declare const getPointOfSaleUserDetailsInputSchema: z.ZodUndefined;
|
|
619
|
+
type GetPointOfSaleUserDetailsInput = z.input<typeof getPointOfSaleUserDetailsInputSchema>;
|
|
620
|
+
declare const getPointOfSaleUserDetailsResponseSchema: z.ZodObject<{
|
|
577
621
|
id: z.ZodString;
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
622
|
+
user: z.ZodObject<{
|
|
623
|
+
id: z.ZodString;
|
|
624
|
+
firstName: z.ZodString;
|
|
625
|
+
lastName: z.ZodString;
|
|
626
|
+
email: z.ZodEmail;
|
|
627
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
628
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
629
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
630
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
631
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
632
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
633
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
634
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
635
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
636
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
637
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
638
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
639
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
640
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
641
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
642
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
643
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
644
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
645
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
646
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
647
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
648
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
649
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
650
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
651
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
652
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
653
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
654
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
655
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
656
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
657
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
658
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
659
|
+
ROLE_USER: "ROLE_USER";
|
|
660
|
+
}>>;
|
|
661
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
662
|
+
registration: "registration";
|
|
663
|
+
verify_email: "verify_email";
|
|
664
|
+
create_company: "create_company";
|
|
665
|
+
create_point_of_sale: "create_point_of_sale";
|
|
666
|
+
}>>;
|
|
667
|
+
emailVerified: z.ZodBoolean;
|
|
668
|
+
suspended: z.ZodBoolean;
|
|
669
|
+
createdAt: z.ZodString;
|
|
670
|
+
updatedAt: z.ZodString;
|
|
586
671
|
}, z.core.$strip>;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
672
|
+
pointOfSale: z.ZodObject<{
|
|
673
|
+
id: z.ZodString;
|
|
674
|
+
name: z.ZodString;
|
|
675
|
+
address: z.ZodObject<{
|
|
676
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
677
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
678
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
679
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
680
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
681
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
682
|
+
}, z.core.$strip>;
|
|
683
|
+
timezone: z.ZodString;
|
|
684
|
+
location: z.ZodObject<{
|
|
685
|
+
latitude: z.ZodNumber;
|
|
686
|
+
longitude: z.ZodNumber;
|
|
687
|
+
}, z.core.$strip>;
|
|
688
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
689
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
690
|
+
}>>;
|
|
691
|
+
openingStatus: z.ZodEnum<{
|
|
692
|
+
OPEN: "OPEN";
|
|
693
|
+
CLOSED: "CLOSED";
|
|
694
|
+
}>;
|
|
695
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
696
|
+
currentMenuVersion: 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>>;
|
|
697
|
+
createdAt: z.ZodString;
|
|
698
|
+
updatedAt: z.ZodString;
|
|
591
699
|
}, z.core.$strip>;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
700
|
+
role: z.ZodEnum<{
|
|
701
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
702
|
+
ROLE_READER: "ROLE_READER";
|
|
703
|
+
}>;
|
|
704
|
+
createdAt: z.ZodString;
|
|
705
|
+
updatedAt: z.ZodString;
|
|
706
|
+
}, z.core.$strip>;
|
|
707
|
+
type GetPointOfSaleUserDetailsResponse = z.infer<typeof getPointOfSaleUserDetailsResponseSchema>;
|
|
708
|
+
declare class GetPointOfSaleUserDetails extends AbstractApiRequest<typeof getPointOfSaleUserDetailsInputSchema, typeof getPointOfSaleUserDetailsResponseSchema> {
|
|
709
|
+
readonly method = "GET";
|
|
710
|
+
readonly contentType = "application/json";
|
|
711
|
+
readonly accept = "application/json";
|
|
712
|
+
readonly inputSchema: z.ZodUndefined;
|
|
713
|
+
readonly outputSchema: z.ZodObject<{
|
|
714
|
+
id: z.ZodString;
|
|
715
|
+
user: z.ZodObject<{
|
|
716
|
+
id: z.ZodString;
|
|
717
|
+
firstName: z.ZodString;
|
|
718
|
+
lastName: z.ZodString;
|
|
719
|
+
email: z.ZodEmail;
|
|
720
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
721
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
722
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
723
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
724
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
725
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
726
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
727
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
728
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
729
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
730
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
731
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
732
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
733
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
734
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
735
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
736
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
737
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
738
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
739
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
740
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
741
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
742
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
743
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
744
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
745
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
746
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
747
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
748
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
749
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
750
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
751
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
752
|
+
ROLE_USER: "ROLE_USER";
|
|
753
|
+
}>>;
|
|
754
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
755
|
+
registration: "registration";
|
|
756
|
+
verify_email: "verify_email";
|
|
757
|
+
create_company: "create_company";
|
|
758
|
+
create_point_of_sale: "create_point_of_sale";
|
|
759
|
+
}>>;
|
|
760
|
+
emailVerified: z.ZodBoolean;
|
|
761
|
+
suspended: z.ZodBoolean;
|
|
762
|
+
createdAt: z.ZodString;
|
|
763
|
+
updatedAt: z.ZodString;
|
|
764
|
+
}, z.core.$strip>;
|
|
765
|
+
pointOfSale: z.ZodObject<{
|
|
766
|
+
id: z.ZodString;
|
|
767
|
+
name: z.ZodString;
|
|
768
|
+
address: z.ZodObject<{
|
|
769
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
770
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
771
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
772
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
773
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
774
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
775
|
+
}, z.core.$strip>;
|
|
776
|
+
timezone: z.ZodString;
|
|
777
|
+
location: z.ZodObject<{
|
|
778
|
+
latitude: z.ZodNumber;
|
|
779
|
+
longitude: z.ZodNumber;
|
|
780
|
+
}, z.core.$strip>;
|
|
781
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
782
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
783
|
+
}>>;
|
|
784
|
+
openingStatus: z.ZodEnum<{
|
|
785
|
+
OPEN: "OPEN";
|
|
786
|
+
CLOSED: "CLOSED";
|
|
787
|
+
}>;
|
|
788
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
789
|
+
currentMenuVersion: 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>>;
|
|
790
|
+
createdAt: z.ZodString;
|
|
791
|
+
updatedAt: z.ZodString;
|
|
792
|
+
}, z.core.$strip>;
|
|
793
|
+
role: z.ZodEnum<{
|
|
794
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
795
|
+
ROLE_READER: "ROLE_READER";
|
|
796
|
+
}>;
|
|
797
|
+
createdAt: z.ZodString;
|
|
798
|
+
updatedAt: z.ZodString;
|
|
799
|
+
}, z.core.$strip>;
|
|
800
|
+
readonly querySchema: undefined;
|
|
801
|
+
readonly headersSchema: undefined;
|
|
802
|
+
private readonly pointOfSaleUserId;
|
|
803
|
+
constructor(pointOfSaleUserId: string);
|
|
804
|
+
getPath(): string;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
declare const getPointOfSaleUsersQuerySchema: z.ZodObject<{
|
|
808
|
+
availableForDelivery: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
809
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
810
|
+
asc: "asc";
|
|
811
|
+
desc: "desc";
|
|
812
|
+
}>>;
|
|
813
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
814
|
+
asc: "asc";
|
|
815
|
+
desc: "desc";
|
|
816
|
+
}>>;
|
|
817
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
818
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
819
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
820
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
821
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
822
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
823
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
824
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
825
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
826
|
+
}, z.core.$strip>;
|
|
827
|
+
type GetPointOfSaleUsersQueryParams = z.infer<typeof getPointOfSaleUsersQuerySchema>;
|
|
828
|
+
declare const getPointOfSaleUsersInputSchema: z.ZodUndefined;
|
|
829
|
+
type GetPointOfSaleUsersInput = z.input<typeof getPointOfSaleUsersInputSchema>;
|
|
830
|
+
declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
831
|
+
data: z.ZodArray<z.ZodObject<{
|
|
832
|
+
id: z.ZodString;
|
|
833
|
+
user: z.ZodObject<{
|
|
834
|
+
id: z.ZodString;
|
|
835
|
+
firstName: z.ZodString;
|
|
836
|
+
lastName: z.ZodString;
|
|
837
|
+
email: z.ZodEmail;
|
|
838
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
839
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
840
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
841
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
842
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
843
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
844
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
845
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
846
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
847
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
848
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
849
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
850
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
851
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
852
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
853
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
854
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
855
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
856
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
857
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
858
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
859
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
860
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
861
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
862
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
863
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
864
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
865
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
866
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
867
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
868
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
869
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
870
|
+
ROLE_USER: "ROLE_USER";
|
|
871
|
+
}>>;
|
|
872
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
873
|
+
registration: "registration";
|
|
874
|
+
verify_email: "verify_email";
|
|
875
|
+
create_company: "create_company";
|
|
876
|
+
create_point_of_sale: "create_point_of_sale";
|
|
877
|
+
}>>;
|
|
878
|
+
emailVerified: z.ZodBoolean;
|
|
879
|
+
suspended: z.ZodBoolean;
|
|
880
|
+
createdAt: z.ZodString;
|
|
881
|
+
updatedAt: z.ZodString;
|
|
882
|
+
}, z.core.$strip>;
|
|
883
|
+
pointOfSale: z.ZodObject<{
|
|
884
|
+
id: z.ZodString;
|
|
885
|
+
name: z.ZodString;
|
|
886
|
+
address: z.ZodObject<{
|
|
887
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
888
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
889
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
890
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
891
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
892
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
893
|
+
}, z.core.$strip>;
|
|
894
|
+
timezone: z.ZodString;
|
|
895
|
+
location: z.ZodObject<{
|
|
896
|
+
latitude: z.ZodNumber;
|
|
897
|
+
longitude: z.ZodNumber;
|
|
898
|
+
}, z.core.$strip>;
|
|
899
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
900
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
901
|
+
}>>;
|
|
902
|
+
openingStatus: z.ZodEnum<{
|
|
903
|
+
OPEN: "OPEN";
|
|
904
|
+
CLOSED: "CLOSED";
|
|
905
|
+
}>;
|
|
906
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
907
|
+
currentMenuVersion: 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>>;
|
|
908
|
+
createdAt: z.ZodString;
|
|
909
|
+
updatedAt: z.ZodString;
|
|
910
|
+
}, z.core.$strip>;
|
|
911
|
+
role: z.ZodEnum<{
|
|
912
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
913
|
+
ROLE_READER: "ROLE_READER";
|
|
914
|
+
}>;
|
|
915
|
+
createdAt: z.ZodString;
|
|
916
|
+
updatedAt: z.ZodString;
|
|
917
|
+
}, z.core.$strip>>;
|
|
918
|
+
pagination: z.ZodObject<{
|
|
919
|
+
from: z.ZodNumber;
|
|
920
|
+
to: z.ZodNumber;
|
|
921
|
+
itemsPerPage: z.ZodNumber;
|
|
922
|
+
totalItems: z.ZodNumber;
|
|
923
|
+
currentPage: z.ZodNumber;
|
|
924
|
+
lastPage: z.ZodNumber;
|
|
925
|
+
}, z.core.$strip>;
|
|
926
|
+
}, z.core.$strip>;
|
|
927
|
+
type GetPointOfSaleUsersResponse = z.infer<typeof getPointOfSaleUsersResponseSchema>;
|
|
928
|
+
declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSaleUsersInputSchema, typeof getPointOfSaleUsersResponseSchema, GetPointOfSaleUsersQueryParams> {
|
|
929
|
+
readonly method = "GET";
|
|
930
|
+
readonly contentType = "application/json";
|
|
931
|
+
readonly accept = "application/json";
|
|
932
|
+
readonly inputSchema: z.ZodUndefined;
|
|
933
|
+
readonly outputSchema: z.ZodObject<{
|
|
934
|
+
data: z.ZodArray<z.ZodObject<{
|
|
935
|
+
id: z.ZodString;
|
|
936
|
+
user: z.ZodObject<{
|
|
937
|
+
id: z.ZodString;
|
|
938
|
+
firstName: z.ZodString;
|
|
939
|
+
lastName: z.ZodString;
|
|
940
|
+
email: z.ZodEmail;
|
|
941
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
942
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
943
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
944
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
945
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
946
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
947
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
948
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
949
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
950
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
951
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
952
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
953
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
954
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
955
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
956
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
957
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
958
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
959
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
960
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
961
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
962
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
963
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
964
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
965
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
966
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
967
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
968
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
969
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
970
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
971
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
972
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
973
|
+
ROLE_USER: "ROLE_USER";
|
|
974
|
+
}>>;
|
|
975
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
976
|
+
registration: "registration";
|
|
977
|
+
verify_email: "verify_email";
|
|
978
|
+
create_company: "create_company";
|
|
979
|
+
create_point_of_sale: "create_point_of_sale";
|
|
980
|
+
}>>;
|
|
981
|
+
emailVerified: z.ZodBoolean;
|
|
982
|
+
suspended: z.ZodBoolean;
|
|
983
|
+
createdAt: z.ZodString;
|
|
984
|
+
updatedAt: z.ZodString;
|
|
985
|
+
}, z.core.$strip>;
|
|
986
|
+
pointOfSale: z.ZodObject<{
|
|
987
|
+
id: z.ZodString;
|
|
988
|
+
name: z.ZodString;
|
|
989
|
+
address: z.ZodObject<{
|
|
990
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
991
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
992
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
993
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
994
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
995
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
996
|
+
}, z.core.$strip>;
|
|
997
|
+
timezone: z.ZodString;
|
|
998
|
+
location: z.ZodObject<{
|
|
999
|
+
latitude: z.ZodNumber;
|
|
1000
|
+
longitude: z.ZodNumber;
|
|
1001
|
+
}, z.core.$strip>;
|
|
1002
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1003
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1004
|
+
}>>;
|
|
1005
|
+
openingStatus: z.ZodEnum<{
|
|
1006
|
+
OPEN: "OPEN";
|
|
1007
|
+
CLOSED: "CLOSED";
|
|
1008
|
+
}>;
|
|
1009
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1010
|
+
currentMenuVersion: 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>>;
|
|
1011
|
+
createdAt: z.ZodString;
|
|
1012
|
+
updatedAt: z.ZodString;
|
|
1013
|
+
}, z.core.$strip>;
|
|
1014
|
+
role: z.ZodEnum<{
|
|
1015
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1016
|
+
ROLE_READER: "ROLE_READER";
|
|
1017
|
+
}>;
|
|
1018
|
+
createdAt: z.ZodString;
|
|
1019
|
+
updatedAt: z.ZodString;
|
|
1020
|
+
}, z.core.$strip>>;
|
|
1021
|
+
pagination: z.ZodObject<{
|
|
1022
|
+
from: z.ZodNumber;
|
|
1023
|
+
to: z.ZodNumber;
|
|
1024
|
+
itemsPerPage: z.ZodNumber;
|
|
1025
|
+
totalItems: z.ZodNumber;
|
|
1026
|
+
currentPage: z.ZodNumber;
|
|
1027
|
+
lastPage: z.ZodNumber;
|
|
1028
|
+
}, z.core.$strip>;
|
|
1029
|
+
}, z.core.$strip>;
|
|
1030
|
+
readonly querySchema: z.ZodObject<{
|
|
1031
|
+
availableForDelivery: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
1032
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1033
|
+
asc: "asc";
|
|
1034
|
+
desc: "desc";
|
|
1035
|
+
}>>;
|
|
1036
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
1037
|
+
asc: "asc";
|
|
1038
|
+
desc: "desc";
|
|
1039
|
+
}>>;
|
|
1040
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1041
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1042
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1043
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1044
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1045
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1046
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1047
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1048
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1049
|
+
}, z.core.$strip>;
|
|
1050
|
+
readonly headersSchema: undefined;
|
|
1051
|
+
constructor(options?: {
|
|
1052
|
+
query?: GetPointOfSaleUsersQueryParams;
|
|
1053
|
+
});
|
|
1054
|
+
getPath(): string;
|
|
1055
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<PointOfSaleUser>;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
declare const getPointOfSaleUsersFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
1059
|
+
availableForDelivery: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
1060
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1061
|
+
asc: "asc";
|
|
1062
|
+
desc: "desc";
|
|
1063
|
+
}>>;
|
|
1064
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
1065
|
+
asc: "asc";
|
|
1066
|
+
desc: "desc";
|
|
1067
|
+
}>>;
|
|
1068
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1069
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1070
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1071
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1072
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1073
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1074
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1075
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1076
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1077
|
+
}, z.core.$strip>;
|
|
1078
|
+
type GetPointOfSaleUsersFromPointOfSaleQueryParams = z.infer<typeof getPointOfSaleUsersFromPointOfSaleQuerySchema>;
|
|
1079
|
+
declare const getPointOfSaleUsersFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
1080
|
+
type GetPointOfSaleUsersFromPointOfSaleInput = z.input<typeof getPointOfSaleUsersFromPointOfSaleInputSchema>;
|
|
1081
|
+
declare const getPointOfSaleUsersFromPointOfSaleResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1082
|
+
createdAt: z.ZodString;
|
|
1083
|
+
updatedAt: z.ZodString;
|
|
1084
|
+
id: z.ZodString;
|
|
1085
|
+
role: z.ZodEnum<{
|
|
1086
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1087
|
+
ROLE_READER: "ROLE_READER";
|
|
1088
|
+
}>;
|
|
1089
|
+
user: z.ZodObject<{
|
|
1090
|
+
id: z.ZodString;
|
|
1091
|
+
firstName: z.ZodString;
|
|
1092
|
+
lastName: z.ZodString;
|
|
1093
|
+
email: z.ZodEmail;
|
|
1094
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
1095
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1096
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
1097
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
1098
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
1099
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
1100
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
1101
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
1102
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
1103
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
1104
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
1105
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
1106
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
1107
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
1108
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
1109
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
1110
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
1111
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
1112
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
1113
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
1114
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
1115
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
1116
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
1117
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
1118
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
1119
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
1120
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
1121
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
1122
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1123
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1124
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1125
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1126
|
+
ROLE_USER: "ROLE_USER";
|
|
1127
|
+
}>>;
|
|
1128
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
1129
|
+
registration: "registration";
|
|
1130
|
+
verify_email: "verify_email";
|
|
1131
|
+
create_company: "create_company";
|
|
1132
|
+
create_point_of_sale: "create_point_of_sale";
|
|
1133
|
+
}>>;
|
|
1134
|
+
emailVerified: z.ZodBoolean;
|
|
1135
|
+
suspended: z.ZodBoolean;
|
|
1136
|
+
createdAt: z.ZodString;
|
|
1137
|
+
updatedAt: z.ZodString;
|
|
1138
|
+
}, z.core.$strip>;
|
|
1139
|
+
}, z.core.$strip>>;
|
|
1140
|
+
type GetPointOfSaleUsersFromPointOfSaleResponse = z.infer<typeof getPointOfSaleUsersFromPointOfSaleResponseSchema>;
|
|
1141
|
+
declare class GetPointOfSaleUsersFromPointOfSale extends AbstractApiRequest<typeof getPointOfSaleUsersFromPointOfSaleInputSchema, typeof getPointOfSaleUsersFromPointOfSaleResponseSchema, GetPointOfSaleUsersFromPointOfSaleQueryParams> {
|
|
1142
|
+
readonly method = "GET";
|
|
1143
|
+
readonly contentType = "application/json";
|
|
1144
|
+
readonly accept = "application/json";
|
|
1145
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1146
|
+
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
1147
|
+
createdAt: z.ZodString;
|
|
1148
|
+
updatedAt: z.ZodString;
|
|
1149
|
+
id: z.ZodString;
|
|
1150
|
+
role: z.ZodEnum<{
|
|
1151
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1152
|
+
ROLE_READER: "ROLE_READER";
|
|
1153
|
+
}>;
|
|
1154
|
+
user: z.ZodObject<{
|
|
1155
|
+
id: z.ZodString;
|
|
1156
|
+
firstName: z.ZodString;
|
|
1157
|
+
lastName: z.ZodString;
|
|
1158
|
+
email: z.ZodEmail;
|
|
1159
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
1160
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1161
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
1162
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
1163
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
1164
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
1165
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
1166
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
1167
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
1168
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
1169
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
1170
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
1171
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
1172
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
1173
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
1174
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
1175
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
1176
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
1177
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
1178
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
1179
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
1180
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
1181
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
1182
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
1183
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
1184
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
1185
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
1186
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
1187
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1188
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1189
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1190
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1191
|
+
ROLE_USER: "ROLE_USER";
|
|
1192
|
+
}>>;
|
|
1193
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
1194
|
+
registration: "registration";
|
|
1195
|
+
verify_email: "verify_email";
|
|
1196
|
+
create_company: "create_company";
|
|
1197
|
+
create_point_of_sale: "create_point_of_sale";
|
|
1198
|
+
}>>;
|
|
1199
|
+
emailVerified: z.ZodBoolean;
|
|
1200
|
+
suspended: z.ZodBoolean;
|
|
1201
|
+
createdAt: z.ZodString;
|
|
1202
|
+
updatedAt: z.ZodString;
|
|
1203
|
+
}, z.core.$strip>;
|
|
1204
|
+
}, z.core.$strip>>;
|
|
1205
|
+
readonly querySchema: z.ZodObject<{
|
|
1206
|
+
availableForDelivery: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
1207
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1208
|
+
asc: "asc";
|
|
1209
|
+
desc: "desc";
|
|
1210
|
+
}>>;
|
|
1211
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
1212
|
+
asc: "asc";
|
|
1213
|
+
desc: "desc";
|
|
1214
|
+
}>>;
|
|
1215
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1216
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1217
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1218
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1219
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1220
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1221
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1222
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1223
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1224
|
+
}, z.core.$strip>;
|
|
1225
|
+
readonly headersSchema: undefined;
|
|
1226
|
+
private readonly pointOfSaleId;
|
|
1227
|
+
constructor(pointOfSaleId: string, options?: {
|
|
1228
|
+
query?: GetPointOfSaleUsersFromPointOfSaleQueryParams;
|
|
1229
|
+
});
|
|
1230
|
+
getPath(): string;
|
|
1231
|
+
parseResponse(data: unknown): Array<Omit<PointOfSaleUser, 'pointOfSale'>>;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
declare const getPointOfSaleUsersFromUserQuerySchema: z.ZodObject<{
|
|
1235
|
+
availableForDelivery: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
1236
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1237
|
+
asc: "asc";
|
|
1238
|
+
desc: "desc";
|
|
1239
|
+
}>>;
|
|
1240
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
1241
|
+
asc: "asc";
|
|
1242
|
+
desc: "desc";
|
|
1243
|
+
}>>;
|
|
1244
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1245
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1246
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1247
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1248
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1249
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1250
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1251
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1252
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1253
|
+
}, z.core.$strip>;
|
|
1254
|
+
type GetPointOfSaleUsersFromUserQueryParams = z.infer<typeof getPointOfSaleUsersFromUserQuerySchema>;
|
|
1255
|
+
declare const getPointOfSaleUsersFromUserInputSchema: z.ZodUndefined;
|
|
1256
|
+
type GetPointOfSaleUsersFromUserInput = z.input<typeof getPointOfSaleUsersFromUserInputSchema>;
|
|
1257
|
+
declare const getPointOfSaleUsersFromUserResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1258
|
+
createdAt: z.ZodString;
|
|
1259
|
+
updatedAt: z.ZodString;
|
|
1260
|
+
id: z.ZodString;
|
|
1261
|
+
pointOfSale: z.ZodObject<{
|
|
1262
|
+
id: z.ZodString;
|
|
1263
|
+
name: z.ZodString;
|
|
1264
|
+
address: z.ZodObject<{
|
|
1265
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1266
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1267
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1269
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1270
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1271
|
+
}, z.core.$strip>;
|
|
1272
|
+
timezone: z.ZodString;
|
|
1273
|
+
location: z.ZodObject<{
|
|
1274
|
+
latitude: z.ZodNumber;
|
|
1275
|
+
longitude: z.ZodNumber;
|
|
1276
|
+
}, z.core.$strip>;
|
|
1277
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1278
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1279
|
+
}>>;
|
|
1280
|
+
openingStatus: z.ZodEnum<{
|
|
1281
|
+
OPEN: "OPEN";
|
|
1282
|
+
CLOSED: "CLOSED";
|
|
1283
|
+
}>;
|
|
1284
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1285
|
+
currentMenuVersion: 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>>;
|
|
1286
|
+
createdAt: z.ZodString;
|
|
1287
|
+
updatedAt: z.ZodString;
|
|
1288
|
+
}, z.core.$strip>;
|
|
1289
|
+
role: z.ZodEnum<{
|
|
1290
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1291
|
+
ROLE_READER: "ROLE_READER";
|
|
1292
|
+
}>;
|
|
1293
|
+
}, z.core.$strip>>;
|
|
1294
|
+
type GetPointOfSaleUsersFromUserResponse = z.infer<typeof getPointOfSaleUsersFromUserResponseSchema>;
|
|
1295
|
+
declare class GetPointOfSaleUsersFromUser extends AbstractApiRequest<typeof getPointOfSaleUsersFromUserInputSchema, typeof getPointOfSaleUsersFromUserResponseSchema, GetPointOfSaleUsersFromUserQueryParams> {
|
|
1296
|
+
readonly method = "GET";
|
|
1297
|
+
readonly contentType = "application/json";
|
|
1298
|
+
readonly accept = "application/json";
|
|
1299
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1300
|
+
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
1301
|
+
createdAt: z.ZodString;
|
|
1302
|
+
updatedAt: z.ZodString;
|
|
1303
|
+
id: z.ZodString;
|
|
1304
|
+
pointOfSale: z.ZodObject<{
|
|
1305
|
+
id: z.ZodString;
|
|
1306
|
+
name: z.ZodString;
|
|
1307
|
+
address: z.ZodObject<{
|
|
1308
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1309
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1310
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1311
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1312
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1313
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1314
|
+
}, z.core.$strip>;
|
|
1315
|
+
timezone: z.ZodString;
|
|
1316
|
+
location: z.ZodObject<{
|
|
1317
|
+
latitude: z.ZodNumber;
|
|
1318
|
+
longitude: z.ZodNumber;
|
|
1319
|
+
}, z.core.$strip>;
|
|
1320
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1321
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1322
|
+
}>>;
|
|
1323
|
+
openingStatus: z.ZodEnum<{
|
|
1324
|
+
OPEN: "OPEN";
|
|
1325
|
+
CLOSED: "CLOSED";
|
|
1326
|
+
}>;
|
|
1327
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1328
|
+
currentMenuVersion: 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>>;
|
|
1329
|
+
createdAt: z.ZodString;
|
|
1330
|
+
updatedAt: z.ZodString;
|
|
1331
|
+
}, z.core.$strip>;
|
|
1332
|
+
role: z.ZodEnum<{
|
|
1333
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1334
|
+
ROLE_READER: "ROLE_READER";
|
|
1335
|
+
}>;
|
|
1336
|
+
}, z.core.$strip>>;
|
|
1337
|
+
readonly querySchema: z.ZodObject<{
|
|
1338
|
+
availableForDelivery: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
1339
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1340
|
+
asc: "asc";
|
|
1341
|
+
desc: "desc";
|
|
1342
|
+
}>>;
|
|
1343
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
1344
|
+
asc: "asc";
|
|
1345
|
+
desc: "desc";
|
|
1346
|
+
}>>;
|
|
1347
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1348
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1349
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1350
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1351
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1352
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1353
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1354
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1355
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1356
|
+
}, z.core.$strip>;
|
|
1357
|
+
readonly headersSchema: undefined;
|
|
1358
|
+
private readonly userId;
|
|
1359
|
+
constructor(userId: string, options?: {
|
|
1360
|
+
query?: GetPointOfSaleUsersFromUserQueryParams;
|
|
1361
|
+
});
|
|
1362
|
+
getPath(): string;
|
|
1363
|
+
parseResponse(data: unknown): Array<Omit<PointOfSaleUser, 'user'>>;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
declare const updatePointOfSaleUserInputSchema: z.ZodObject<{
|
|
1367
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1368
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1369
|
+
ROLE_READER: "ROLE_READER";
|
|
1370
|
+
}>>;
|
|
1371
|
+
}, z.core.$strip>;
|
|
1372
|
+
type UpdatePointOfSaleUserInput = z.input<typeof updatePointOfSaleUserInputSchema>;
|
|
1373
|
+
declare const updatePointOfSaleUserResponseSchema: z.ZodObject<{
|
|
1374
|
+
id: z.ZodString;
|
|
1375
|
+
user: z.ZodObject<{
|
|
1376
|
+
id: z.ZodString;
|
|
1377
|
+
firstName: z.ZodString;
|
|
1378
|
+
lastName: z.ZodString;
|
|
1379
|
+
email: z.ZodEmail;
|
|
1380
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
1381
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1382
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
1383
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
1384
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
1385
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
1386
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
1387
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
1388
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
1389
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
1390
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
1391
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
1392
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
1393
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
1394
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
1395
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
1396
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
1397
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
1398
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
1399
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
1400
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
1401
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
1402
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
1403
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
1404
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
1405
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
1406
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
1407
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
1408
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1409
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1410
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1411
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1412
|
+
ROLE_USER: "ROLE_USER";
|
|
1413
|
+
}>>;
|
|
1414
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
1415
|
+
registration: "registration";
|
|
1416
|
+
verify_email: "verify_email";
|
|
1417
|
+
create_company: "create_company";
|
|
1418
|
+
create_point_of_sale: "create_point_of_sale";
|
|
1419
|
+
}>>;
|
|
1420
|
+
emailVerified: z.ZodBoolean;
|
|
1421
|
+
suspended: z.ZodBoolean;
|
|
1422
|
+
createdAt: z.ZodString;
|
|
1423
|
+
updatedAt: z.ZodString;
|
|
1424
|
+
}, z.core.$strip>;
|
|
1425
|
+
pointOfSale: z.ZodObject<{
|
|
1426
|
+
id: z.ZodString;
|
|
1427
|
+
name: z.ZodString;
|
|
1428
|
+
address: z.ZodObject<{
|
|
1429
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1430
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1431
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1432
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1433
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1434
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1435
|
+
}, z.core.$strip>;
|
|
1436
|
+
timezone: z.ZodString;
|
|
1437
|
+
location: z.ZodObject<{
|
|
1438
|
+
latitude: z.ZodNumber;
|
|
1439
|
+
longitude: z.ZodNumber;
|
|
1440
|
+
}, z.core.$strip>;
|
|
1441
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1442
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1443
|
+
}>>;
|
|
1444
|
+
openingStatus: z.ZodEnum<{
|
|
1445
|
+
OPEN: "OPEN";
|
|
1446
|
+
CLOSED: "CLOSED";
|
|
1447
|
+
}>;
|
|
1448
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1449
|
+
currentMenuVersion: 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>>;
|
|
1450
|
+
createdAt: z.ZodString;
|
|
1451
|
+
updatedAt: z.ZodString;
|
|
1452
|
+
}, z.core.$strip>;
|
|
1453
|
+
role: z.ZodEnum<{
|
|
1454
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1455
|
+
ROLE_READER: "ROLE_READER";
|
|
1456
|
+
}>;
|
|
1457
|
+
createdAt: z.ZodString;
|
|
1458
|
+
updatedAt: z.ZodString;
|
|
1459
|
+
}, z.core.$strip>;
|
|
1460
|
+
type UpdatePointOfSaleUserResponse = z.infer<typeof updatePointOfSaleUserResponseSchema>;
|
|
1461
|
+
declare class UpdatePointOfSaleUser extends AbstractApiRequest<typeof updatePointOfSaleUserInputSchema, typeof updatePointOfSaleUserResponseSchema> {
|
|
1462
|
+
readonly method = "PATCH";
|
|
1463
|
+
readonly contentType = "application/merge-patch+json";
|
|
1464
|
+
readonly accept = "application/json";
|
|
1465
|
+
readonly inputSchema: z.ZodObject<{
|
|
1466
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1467
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1468
|
+
ROLE_READER: "ROLE_READER";
|
|
1469
|
+
}>>;
|
|
1470
|
+
}, z.core.$strip>;
|
|
1471
|
+
readonly outputSchema: z.ZodObject<{
|
|
1472
|
+
id: z.ZodString;
|
|
1473
|
+
user: z.ZodObject<{
|
|
1474
|
+
id: z.ZodString;
|
|
1475
|
+
firstName: z.ZodString;
|
|
1476
|
+
lastName: z.ZodString;
|
|
1477
|
+
email: z.ZodEmail;
|
|
1478
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
1479
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1480
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
1481
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
1482
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
1483
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
1484
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
1485
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
1486
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
1487
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
1488
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
1489
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
1490
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
1491
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
1492
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
1493
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
1494
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
1495
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
1496
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
1497
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
1498
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
1499
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
1500
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
1501
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
1502
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
1503
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
1504
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
1505
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
1506
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1507
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1508
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1509
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1510
|
+
ROLE_USER: "ROLE_USER";
|
|
1511
|
+
}>>;
|
|
1512
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
1513
|
+
registration: "registration";
|
|
1514
|
+
verify_email: "verify_email";
|
|
1515
|
+
create_company: "create_company";
|
|
1516
|
+
create_point_of_sale: "create_point_of_sale";
|
|
1517
|
+
}>>;
|
|
1518
|
+
emailVerified: z.ZodBoolean;
|
|
1519
|
+
suspended: z.ZodBoolean;
|
|
1520
|
+
createdAt: z.ZodString;
|
|
1521
|
+
updatedAt: z.ZodString;
|
|
1522
|
+
}, z.core.$strip>;
|
|
1523
|
+
pointOfSale: z.ZodObject<{
|
|
1524
|
+
id: z.ZodString;
|
|
1525
|
+
name: z.ZodString;
|
|
1526
|
+
address: z.ZodObject<{
|
|
1527
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1528
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1529
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1530
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1531
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1532
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1533
|
+
}, z.core.$strip>;
|
|
1534
|
+
timezone: z.ZodString;
|
|
1535
|
+
location: z.ZodObject<{
|
|
1536
|
+
latitude: z.ZodNumber;
|
|
1537
|
+
longitude: z.ZodNumber;
|
|
1538
|
+
}, z.core.$strip>;
|
|
1539
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1540
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1541
|
+
}>>;
|
|
1542
|
+
openingStatus: z.ZodEnum<{
|
|
1543
|
+
OPEN: "OPEN";
|
|
1544
|
+
CLOSED: "CLOSED";
|
|
1545
|
+
}>;
|
|
1546
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1547
|
+
currentMenuVersion: 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>>;
|
|
1548
|
+
createdAt: z.ZodString;
|
|
1549
|
+
updatedAt: z.ZodString;
|
|
1550
|
+
}, z.core.$strip>;
|
|
1551
|
+
role: z.ZodEnum<{
|
|
1552
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1553
|
+
ROLE_READER: "ROLE_READER";
|
|
1554
|
+
}>;
|
|
1555
|
+
createdAt: z.ZodString;
|
|
1556
|
+
updatedAt: z.ZodString;
|
|
1557
|
+
}, z.core.$strip>;
|
|
1558
|
+
readonly querySchema: undefined;
|
|
1559
|
+
readonly headersSchema: undefined;
|
|
1560
|
+
private readonly pointOfSaleUserId;
|
|
1561
|
+
constructor(pointOfSaleUserId: string, input: UpdatePointOfSaleUserInput);
|
|
1562
|
+
getPath(): string;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
1566
|
+
company: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>>;
|
|
1567
|
+
address: z.ZodNonOptional<z.ZodObject<{
|
|
1568
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1569
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1570
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1571
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1572
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1573
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1574
|
+
}, z.core.$strip>>;
|
|
1575
|
+
openingStatus: z.ZodNonOptional<z.ZodEnum<{
|
|
1576
|
+
OPEN: "OPEN";
|
|
1577
|
+
CLOSED: "CLOSED";
|
|
1578
|
+
}>>;
|
|
1579
|
+
name: z.ZodNonOptional<z.ZodString>;
|
|
1580
|
+
timezone: z.ZodNonOptional<z.ZodString>;
|
|
1581
|
+
capabilities: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
1582
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1583
|
+
}>>>;
|
|
1584
|
+
settings: z.ZodNonOptional<z.ZodObject<{
|
|
1585
|
+
menuLocales: z.ZodArray<z.ZodAny>;
|
|
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>;
|
|
1592
|
+
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1593
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1594
|
+
}, z.core.$strip>>;
|
|
1595
|
+
openingTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1596
|
+
dayOfWeek: z.ZodEnum<{
|
|
1597
|
+
monday: "monday";
|
|
1598
|
+
tuesday: "tuesday";
|
|
1599
|
+
wednesday: "wednesday";
|
|
1600
|
+
thursday: "thursday";
|
|
1601
|
+
friday: "friday";
|
|
1602
|
+
saturday: "saturday";
|
|
1603
|
+
sunday: "sunday";
|
|
1604
|
+
}>;
|
|
1605
|
+
times: z.ZodArray<z.ZodObject<{
|
|
1606
|
+
startTime: z.ZodString;
|
|
1607
|
+
endTime: z.ZodString;
|
|
1608
|
+
}, z.core.$strip>>;
|
|
1609
|
+
}, z.core.$strip>>>;
|
|
1610
|
+
deliveryTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1611
|
+
dayOfWeek: z.ZodEnum<{
|
|
1612
|
+
monday: "monday";
|
|
1613
|
+
tuesday: "tuesday";
|
|
1614
|
+
wednesday: "wednesday";
|
|
1615
|
+
thursday: "thursday";
|
|
1616
|
+
friday: "friday";
|
|
1617
|
+
saturday: "saturday";
|
|
1618
|
+
sunday: "sunday";
|
|
1619
|
+
}>;
|
|
1620
|
+
times: z.ZodArray<z.ZodObject<{
|
|
1621
|
+
startTime: z.ZodString;
|
|
1622
|
+
endTime: z.ZodString;
|
|
1623
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1624
|
+
}, z.core.$strip>>;
|
|
1625
|
+
}, z.core.$strip>>>;
|
|
1626
|
+
takeAwayTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1627
|
+
dayOfWeek: z.ZodEnum<{
|
|
1628
|
+
monday: "monday";
|
|
1629
|
+
tuesday: "tuesday";
|
|
1630
|
+
wednesday: "wednesday";
|
|
1631
|
+
thursday: "thursday";
|
|
1632
|
+
friday: "friday";
|
|
1633
|
+
saturday: "saturday";
|
|
1634
|
+
sunday: "sunday";
|
|
1635
|
+
}>;
|
|
1636
|
+
times: z.ZodArray<z.ZodObject<{
|
|
1637
|
+
startTime: z.ZodString;
|
|
1638
|
+
endTime: z.ZodString;
|
|
1639
|
+
}, z.core.$strip>>;
|
|
1640
|
+
}, z.core.$strip>>>;
|
|
1641
|
+
}, z.core.$strip>;
|
|
1642
|
+
type CreatePointOfSaleInput = z.input<typeof createPointOfSaleInputSchema>;
|
|
1643
|
+
declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
1644
|
+
id: z.ZodString;
|
|
1645
|
+
name: z.ZodString;
|
|
1646
|
+
address: z.ZodObject<{
|
|
1647
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1648
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1649
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1650
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1651
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1652
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1653
|
+
}, z.core.$strip>;
|
|
1654
|
+
timezone: z.ZodString;
|
|
1655
|
+
location: z.ZodObject<{
|
|
1656
|
+
latitude: z.ZodNumber;
|
|
1657
|
+
longitude: z.ZodNumber;
|
|
1658
|
+
}, z.core.$strip>;
|
|
1659
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1660
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1661
|
+
}>>;
|
|
1662
|
+
openingStatus: z.ZodEnum<{
|
|
1663
|
+
OPEN: "OPEN";
|
|
1664
|
+
CLOSED: "CLOSED";
|
|
598
1665
|
}>;
|
|
599
1666
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
600
1667
|
currentMenuVersion: 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>>;
|
|
@@ -603,14 +1670,14 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
603
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>>;
|
|
604
1671
|
settings: z.ZodObject<{
|
|
605
1672
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
606
|
-
deliveryTimesInterval: z.
|
|
607
|
-
takeAwayTimesInterval: z.
|
|
608
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
609
|
-
numberMinutesTimeChangeTolerance: z.
|
|
610
|
-
maxCountableItemsPerBundle: z.
|
|
611
|
-
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>;
|
|
612
1679
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
613
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
1680
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
614
1681
|
}, z.core.$strip>;
|
|
615
1682
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
616
1683
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -640,7 +1707,7 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
640
1707
|
times: z.ZodArray<z.ZodObject<{
|
|
641
1708
|
startTime: z.ZodString;
|
|
642
1709
|
endTime: z.ZodString;
|
|
643
|
-
availableCouriers: z.
|
|
1710
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
644
1711
|
}, z.core.$strip>>;
|
|
645
1712
|
}, z.core.$strip>>;
|
|
646
1713
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -674,28 +1741,114 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
674
1741
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
675
1742
|
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
676
1743
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
677
|
-
}, z.core.$strip>>;
|
|
678
|
-
openingStatus: z.ZodNonOptional<z.ZodEnum<{
|
|
1744
|
+
}, z.core.$strip>>;
|
|
1745
|
+
openingStatus: z.ZodNonOptional<z.ZodEnum<{
|
|
1746
|
+
OPEN: "OPEN";
|
|
1747
|
+
CLOSED: "CLOSED";
|
|
1748
|
+
}>>;
|
|
1749
|
+
name: z.ZodNonOptional<z.ZodString>;
|
|
1750
|
+
timezone: z.ZodNonOptional<z.ZodString>;
|
|
1751
|
+
capabilities: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
1752
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1753
|
+
}>>>;
|
|
1754
|
+
settings: z.ZodNonOptional<z.ZodObject<{
|
|
1755
|
+
menuLocales: z.ZodArray<z.ZodAny>;
|
|
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>;
|
|
1762
|
+
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1763
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1764
|
+
}, z.core.$strip>>;
|
|
1765
|
+
openingTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1766
|
+
dayOfWeek: z.ZodEnum<{
|
|
1767
|
+
monday: "monday";
|
|
1768
|
+
tuesday: "tuesday";
|
|
1769
|
+
wednesday: "wednesday";
|
|
1770
|
+
thursday: "thursday";
|
|
1771
|
+
friday: "friday";
|
|
1772
|
+
saturday: "saturday";
|
|
1773
|
+
sunday: "sunday";
|
|
1774
|
+
}>;
|
|
1775
|
+
times: z.ZodArray<z.ZodObject<{
|
|
1776
|
+
startTime: z.ZodString;
|
|
1777
|
+
endTime: z.ZodString;
|
|
1778
|
+
}, z.core.$strip>>;
|
|
1779
|
+
}, z.core.$strip>>>;
|
|
1780
|
+
deliveryTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1781
|
+
dayOfWeek: z.ZodEnum<{
|
|
1782
|
+
monday: "monday";
|
|
1783
|
+
tuesday: "tuesday";
|
|
1784
|
+
wednesday: "wednesday";
|
|
1785
|
+
thursday: "thursday";
|
|
1786
|
+
friday: "friday";
|
|
1787
|
+
saturday: "saturday";
|
|
1788
|
+
sunday: "sunday";
|
|
1789
|
+
}>;
|
|
1790
|
+
times: z.ZodArray<z.ZodObject<{
|
|
1791
|
+
startTime: z.ZodString;
|
|
1792
|
+
endTime: z.ZodString;
|
|
1793
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1794
|
+
}, z.core.$strip>>;
|
|
1795
|
+
}, z.core.$strip>>>;
|
|
1796
|
+
takeAwayTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1797
|
+
dayOfWeek: z.ZodEnum<{
|
|
1798
|
+
monday: "monday";
|
|
1799
|
+
tuesday: "tuesday";
|
|
1800
|
+
wednesday: "wednesday";
|
|
1801
|
+
thursday: "thursday";
|
|
1802
|
+
friday: "friday";
|
|
1803
|
+
saturday: "saturday";
|
|
1804
|
+
sunday: "sunday";
|
|
1805
|
+
}>;
|
|
1806
|
+
times: z.ZodArray<z.ZodObject<{
|
|
1807
|
+
startTime: z.ZodString;
|
|
1808
|
+
endTime: z.ZodString;
|
|
1809
|
+
}, z.core.$strip>>;
|
|
1810
|
+
}, z.core.$strip>>>;
|
|
1811
|
+
}, z.core.$strip>;
|
|
1812
|
+
readonly outputSchema: z.ZodObject<{
|
|
1813
|
+
id: z.ZodString;
|
|
1814
|
+
name: z.ZodString;
|
|
1815
|
+
address: z.ZodObject<{
|
|
1816
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1817
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1818
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1819
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1820
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1821
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1822
|
+
}, z.core.$strip>;
|
|
1823
|
+
timezone: z.ZodString;
|
|
1824
|
+
location: z.ZodObject<{
|
|
1825
|
+
latitude: z.ZodNumber;
|
|
1826
|
+
longitude: z.ZodNumber;
|
|
1827
|
+
}, z.core.$strip>;
|
|
1828
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1829
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1830
|
+
}>>;
|
|
1831
|
+
openingStatus: z.ZodEnum<{
|
|
679
1832
|
OPEN: "OPEN";
|
|
680
1833
|
CLOSED: "CLOSED";
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
settings: z.
|
|
1834
|
+
}>;
|
|
1835
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1836
|
+
currentMenuVersion: 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>>;
|
|
1837
|
+
createdAt: z.ZodString;
|
|
1838
|
+
updatedAt: z.ZodString;
|
|
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>>;
|
|
1840
|
+
settings: z.ZodObject<{
|
|
688
1841
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
689
|
-
deliveryTimesInterval: z.
|
|
690
|
-
takeAwayTimesInterval: z.
|
|
691
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
692
|
-
numberMinutesTimeChangeTolerance: z.
|
|
693
|
-
maxCountableItemsPerBundle: z.
|
|
694
|
-
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>;
|
|
695
1848
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
696
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
697
|
-
}, z.core.$strip
|
|
698
|
-
openingTimeSettings: z.
|
|
1849
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1850
|
+
}, z.core.$strip>;
|
|
1851
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
699
1852
|
dayOfWeek: z.ZodEnum<{
|
|
700
1853
|
monday: "monday";
|
|
701
1854
|
tuesday: "tuesday";
|
|
@@ -709,8 +1862,8 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
709
1862
|
startTime: z.ZodString;
|
|
710
1863
|
endTime: z.ZodString;
|
|
711
1864
|
}, z.core.$strip>>;
|
|
712
|
-
}, z.core.$strip
|
|
713
|
-
deliveryTimeSettings: z.
|
|
1865
|
+
}, z.core.$strip>>;
|
|
1866
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
714
1867
|
dayOfWeek: z.ZodEnum<{
|
|
715
1868
|
monday: "monday";
|
|
716
1869
|
tuesday: "tuesday";
|
|
@@ -723,10 +1876,10 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
723
1876
|
times: z.ZodArray<z.ZodObject<{
|
|
724
1877
|
startTime: z.ZodString;
|
|
725
1878
|
endTime: z.ZodString;
|
|
726
|
-
availableCouriers: z.
|
|
1879
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
727
1880
|
}, z.core.$strip>>;
|
|
728
|
-
}, z.core.$strip
|
|
729
|
-
takeAwayTimeSettings: z.
|
|
1881
|
+
}, z.core.$strip>>;
|
|
1882
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
730
1883
|
dayOfWeek: z.ZodEnum<{
|
|
731
1884
|
monday: "monday";
|
|
732
1885
|
tuesday: "tuesday";
|
|
@@ -740,8 +1893,245 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
740
1893
|
startTime: z.ZodString;
|
|
741
1894
|
endTime: z.ZodString;
|
|
742
1895
|
}, z.core.$strip>>;
|
|
743
|
-
}, z.core.$strip
|
|
1896
|
+
}, z.core.$strip>>;
|
|
1897
|
+
numberOfCouriers: z.ZodNumber;
|
|
1898
|
+
}, z.core.$strip>;
|
|
1899
|
+
readonly querySchema: undefined;
|
|
1900
|
+
readonly headersSchema: undefined;
|
|
1901
|
+
constructor(input: CreatePointOfSaleInput);
|
|
1902
|
+
getPath(): string;
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
declare const deletePointOfSaleInputSchema: z.ZodUndefined;
|
|
1906
|
+
declare const deletePointOfSaleResponseSchema: z.ZodUndefined;
|
|
1907
|
+
declare class DeletePointOfSale extends AbstractApiRequest<typeof deletePointOfSaleInputSchema, typeof deletePointOfSaleResponseSchema> {
|
|
1908
|
+
readonly method = "DELETE";
|
|
1909
|
+
readonly contentType = "application/json";
|
|
1910
|
+
readonly accept = "application/json";
|
|
1911
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1912
|
+
readonly outputSchema: z.ZodUndefined;
|
|
1913
|
+
readonly querySchema: undefined;
|
|
1914
|
+
readonly headersSchema: undefined;
|
|
1915
|
+
private readonly pointOfSaleId;
|
|
1916
|
+
constructor(pointOfSaleId: string);
|
|
1917
|
+
getPath(): string;
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
declare const getCompanyPointOfSalesQuerySchema: z.ZodObject<{
|
|
1921
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1922
|
+
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
1923
|
+
OPEN: "OPEN";
|
|
1924
|
+
CLOSED: "CLOSED";
|
|
1925
|
+
}>>;
|
|
1926
|
+
'integrationActivationRequests.connectionId': z.ZodOptional<z.ZodString>;
|
|
1927
|
+
'address.city': z.ZodOptional<z.ZodString>;
|
|
1928
|
+
'address.postalCode': z.ZodOptional<z.ZodString>;
|
|
1929
|
+
'order[name]': z.ZodOptional<z.ZodEnum<{
|
|
1930
|
+
asc: "asc";
|
|
1931
|
+
desc: "desc";
|
|
1932
|
+
}>>;
|
|
1933
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1934
|
+
asc: "asc";
|
|
1935
|
+
desc: "desc";
|
|
1936
|
+
}>>;
|
|
1937
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
1938
|
+
asc: "asc";
|
|
1939
|
+
desc: "desc";
|
|
1940
|
+
}>>;
|
|
1941
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1942
|
+
}, z.core.$strip>;
|
|
1943
|
+
type GetCompanyPointOfSalesQueryParams = z.infer<typeof getCompanyPointOfSalesQuerySchema>;
|
|
1944
|
+
declare const getCompanyPointOfSalesInputSchema: z.ZodUndefined;
|
|
1945
|
+
type GetCompanyPointOfSalesInput = z.input<typeof getCompanyPointOfSalesInputSchema>;
|
|
1946
|
+
declare const getCompanyPointOfSalesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1947
|
+
id: z.ZodString;
|
|
1948
|
+
name: z.ZodString;
|
|
1949
|
+
address: z.ZodObject<{
|
|
1950
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1951
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1952
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1953
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1954
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1955
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1956
|
+
}, z.core.$strip>;
|
|
1957
|
+
timezone: z.ZodString;
|
|
1958
|
+
location: z.ZodObject<{
|
|
1959
|
+
latitude: z.ZodNumber;
|
|
1960
|
+
longitude: z.ZodNumber;
|
|
1961
|
+
}, z.core.$strip>;
|
|
1962
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1963
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1964
|
+
}>>;
|
|
1965
|
+
openingStatus: z.ZodEnum<{
|
|
1966
|
+
OPEN: "OPEN";
|
|
1967
|
+
CLOSED: "CLOSED";
|
|
1968
|
+
}>;
|
|
1969
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1970
|
+
currentMenuVersion: 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>>;
|
|
1971
|
+
createdAt: z.ZodString;
|
|
1972
|
+
updatedAt: z.ZodString;
|
|
1973
|
+
}, z.core.$strip>>;
|
|
1974
|
+
type GetCompanyPointOfSalesResponse = z.infer<typeof getCompanyPointOfSalesResponseSchema>;
|
|
1975
|
+
declare class GetCompanyPointOfSales extends AbstractApiRequest<typeof getCompanyPointOfSalesInputSchema, typeof getCompanyPointOfSalesResponseSchema, GetCompanyPointOfSalesQueryParams> {
|
|
1976
|
+
readonly method = "GET";
|
|
1977
|
+
readonly contentType = "application/json";
|
|
1978
|
+
readonly accept = "application/json";
|
|
1979
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1980
|
+
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
1981
|
+
id: z.ZodString;
|
|
1982
|
+
name: z.ZodString;
|
|
1983
|
+
address: z.ZodObject<{
|
|
1984
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1985
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1986
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1987
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1988
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1989
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1990
|
+
}, z.core.$strip>;
|
|
1991
|
+
timezone: z.ZodString;
|
|
1992
|
+
location: z.ZodObject<{
|
|
1993
|
+
latitude: z.ZodNumber;
|
|
1994
|
+
longitude: z.ZodNumber;
|
|
1995
|
+
}, z.core.$strip>;
|
|
1996
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1997
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1998
|
+
}>>;
|
|
1999
|
+
openingStatus: z.ZodEnum<{
|
|
2000
|
+
OPEN: "OPEN";
|
|
2001
|
+
CLOSED: "CLOSED";
|
|
2002
|
+
}>;
|
|
2003
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2004
|
+
currentMenuVersion: 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>>;
|
|
2005
|
+
createdAt: z.ZodString;
|
|
2006
|
+
updatedAt: z.ZodString;
|
|
2007
|
+
}, z.core.$strip>>;
|
|
2008
|
+
readonly querySchema: z.ZodObject<{
|
|
2009
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2010
|
+
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
2011
|
+
OPEN: "OPEN";
|
|
2012
|
+
CLOSED: "CLOSED";
|
|
2013
|
+
}>>;
|
|
2014
|
+
'integrationActivationRequests.connectionId': z.ZodOptional<z.ZodString>;
|
|
2015
|
+
'address.city': z.ZodOptional<z.ZodString>;
|
|
2016
|
+
'address.postalCode': z.ZodOptional<z.ZodString>;
|
|
2017
|
+
'order[name]': z.ZodOptional<z.ZodEnum<{
|
|
2018
|
+
asc: "asc";
|
|
2019
|
+
desc: "desc";
|
|
2020
|
+
}>>;
|
|
2021
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2022
|
+
asc: "asc";
|
|
2023
|
+
desc: "desc";
|
|
2024
|
+
}>>;
|
|
2025
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
2026
|
+
asc: "asc";
|
|
2027
|
+
desc: "desc";
|
|
2028
|
+
}>>;
|
|
2029
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2030
|
+
}, z.core.$strip>;
|
|
2031
|
+
readonly headersSchema: undefined;
|
|
2032
|
+
private readonly companyId;
|
|
2033
|
+
constructor(companyId: string, options?: {
|
|
2034
|
+
query?: GetCompanyPointOfSalesQueryParams;
|
|
2035
|
+
});
|
|
2036
|
+
getPath(): string;
|
|
2037
|
+
parseResponse(data: unknown): PointOfSale[];
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
declare const getPointOfSaleDetailsInputSchema: z.ZodUndefined;
|
|
2041
|
+
type GetPointOfSaleDetailsInput = z.input<typeof getPointOfSaleDetailsInputSchema>;
|
|
2042
|
+
declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
2043
|
+
id: z.ZodString;
|
|
2044
|
+
name: z.ZodString;
|
|
2045
|
+
address: z.ZodObject<{
|
|
2046
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2047
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2048
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2049
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2050
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2051
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2052
|
+
}, z.core.$strip>;
|
|
2053
|
+
timezone: z.ZodString;
|
|
2054
|
+
location: z.ZodObject<{
|
|
2055
|
+
latitude: z.ZodNumber;
|
|
2056
|
+
longitude: z.ZodNumber;
|
|
2057
|
+
}, z.core.$strip>;
|
|
2058
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
2059
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
2060
|
+
}>>;
|
|
2061
|
+
openingStatus: z.ZodEnum<{
|
|
2062
|
+
OPEN: "OPEN";
|
|
2063
|
+
CLOSED: "CLOSED";
|
|
2064
|
+
}>;
|
|
2065
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2066
|
+
currentMenuVersion: 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>>;
|
|
2067
|
+
createdAt: z.ZodString;
|
|
2068
|
+
updatedAt: z.ZodString;
|
|
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>>;
|
|
2070
|
+
settings: z.ZodObject<{
|
|
2071
|
+
menuLocales: z.ZodArray<z.ZodAny>;
|
|
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>;
|
|
2078
|
+
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2079
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
744
2080
|
}, z.core.$strip>;
|
|
2081
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2082
|
+
dayOfWeek: z.ZodEnum<{
|
|
2083
|
+
monday: "monday";
|
|
2084
|
+
tuesday: "tuesday";
|
|
2085
|
+
wednesday: "wednesday";
|
|
2086
|
+
thursday: "thursday";
|
|
2087
|
+
friday: "friday";
|
|
2088
|
+
saturday: "saturday";
|
|
2089
|
+
sunday: "sunday";
|
|
2090
|
+
}>;
|
|
2091
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2092
|
+
startTime: z.ZodString;
|
|
2093
|
+
endTime: z.ZodString;
|
|
2094
|
+
}, z.core.$strip>>;
|
|
2095
|
+
}, z.core.$strip>>;
|
|
2096
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2097
|
+
dayOfWeek: z.ZodEnum<{
|
|
2098
|
+
monday: "monday";
|
|
2099
|
+
tuesday: "tuesday";
|
|
2100
|
+
wednesday: "wednesday";
|
|
2101
|
+
thursday: "thursday";
|
|
2102
|
+
friday: "friday";
|
|
2103
|
+
saturday: "saturday";
|
|
2104
|
+
sunday: "sunday";
|
|
2105
|
+
}>;
|
|
2106
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2107
|
+
startTime: z.ZodString;
|
|
2108
|
+
endTime: z.ZodString;
|
|
2109
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2110
|
+
}, z.core.$strip>>;
|
|
2111
|
+
}, z.core.$strip>>;
|
|
2112
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2113
|
+
dayOfWeek: z.ZodEnum<{
|
|
2114
|
+
monday: "monday";
|
|
2115
|
+
tuesday: "tuesday";
|
|
2116
|
+
wednesday: "wednesday";
|
|
2117
|
+
thursday: "thursday";
|
|
2118
|
+
friday: "friday";
|
|
2119
|
+
saturday: "saturday";
|
|
2120
|
+
sunday: "sunday";
|
|
2121
|
+
}>;
|
|
2122
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2123
|
+
startTime: z.ZodString;
|
|
2124
|
+
endTime: z.ZodString;
|
|
2125
|
+
}, z.core.$strip>>;
|
|
2126
|
+
}, z.core.$strip>>;
|
|
2127
|
+
numberOfCouriers: z.ZodNumber;
|
|
2128
|
+
}, z.core.$strip>;
|
|
2129
|
+
type GetPointOfSaleDetailsResponse = z.infer<typeof getPointOfSaleDetailsResponseSchema>;
|
|
2130
|
+
declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOfSaleDetailsInputSchema, typeof getPointOfSaleDetailsResponseSchema> {
|
|
2131
|
+
readonly method = "GET";
|
|
2132
|
+
readonly contentType = "application/json";
|
|
2133
|
+
readonly accept = "application/json";
|
|
2134
|
+
readonly inputSchema: z.ZodUndefined;
|
|
745
2135
|
readonly outputSchema: z.ZodObject<{
|
|
746
2136
|
id: z.ZodString;
|
|
747
2137
|
name: z.ZodString;
|
|
@@ -772,14 +2162,14 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
772
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>>;
|
|
773
2163
|
settings: z.ZodObject<{
|
|
774
2164
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
775
|
-
deliveryTimesInterval: z.
|
|
776
|
-
takeAwayTimesInterval: z.
|
|
777
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
778
|
-
numberMinutesTimeChangeTolerance: z.
|
|
779
|
-
maxCountableItemsPerBundle: z.
|
|
780
|
-
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>;
|
|
781
2171
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
782
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
2172
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
783
2173
|
}, z.core.$strip>;
|
|
784
2174
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
785
2175
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -809,7 +2199,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
809
2199
|
times: z.ZodArray<z.ZodObject<{
|
|
810
2200
|
startTime: z.ZodString;
|
|
811
2201
|
endTime: z.ZodString;
|
|
812
|
-
availableCouriers: z.
|
|
2202
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
813
2203
|
}, z.core.$strip>>;
|
|
814
2204
|
}, z.core.$strip>>;
|
|
815
2205
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -831,26 +2221,12 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
831
2221
|
}, z.core.$strip>;
|
|
832
2222
|
readonly querySchema: undefined;
|
|
833
2223
|
readonly headersSchema: undefined;
|
|
834
|
-
constructor(input: CreatePointOfSaleInput);
|
|
835
|
-
getPath(): string;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
declare const deletePointOfSaleInputSchema: z.ZodUndefined;
|
|
839
|
-
declare const deletePointOfSaleResponseSchema: z.ZodUndefined;
|
|
840
|
-
declare class DeletePointOfSale extends AbstractApiRequest<typeof deletePointOfSaleInputSchema, typeof deletePointOfSaleResponseSchema> {
|
|
841
|
-
readonly method = "DELETE";
|
|
842
|
-
readonly contentType = "application/json";
|
|
843
|
-
readonly accept = "application/json";
|
|
844
|
-
readonly inputSchema: z.ZodUndefined;
|
|
845
|
-
readonly outputSchema: z.ZodUndefined;
|
|
846
|
-
readonly querySchema: undefined;
|
|
847
|
-
readonly headersSchema: undefined;
|
|
848
2224
|
private readonly pointOfSaleId;
|
|
849
2225
|
constructor(pointOfSaleId: string);
|
|
850
2226
|
getPath(): string;
|
|
851
2227
|
}
|
|
852
2228
|
|
|
853
|
-
declare const
|
|
2229
|
+
declare const getPointOfSalesQuerySchema: z.ZodObject<{
|
|
854
2230
|
name: z.ZodOptional<z.ZodString>;
|
|
855
2231
|
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
856
2232
|
OPEN: "OPEN";
|
|
@@ -873,44 +2249,11 @@ declare const getCompanyPointOfSalesQuerySchema: z.ZodObject<{
|
|
|
873
2249
|
}>>;
|
|
874
2250
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
875
2251
|
}, z.core.$strip>;
|
|
876
|
-
type
|
|
877
|
-
declare const
|
|
878
|
-
type
|
|
879
|
-
declare const
|
|
880
|
-
|
|
881
|
-
name: z.ZodString;
|
|
882
|
-
address: z.ZodObject<{
|
|
883
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
884
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
885
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
886
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
887
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
888
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
889
|
-
}, z.core.$strip>;
|
|
890
|
-
timezone: z.ZodString;
|
|
891
|
-
location: z.ZodObject<{
|
|
892
|
-
latitude: z.ZodNumber;
|
|
893
|
-
longitude: z.ZodNumber;
|
|
894
|
-
}, z.core.$strip>;
|
|
895
|
-
capabilities: z.ZodArray<z.ZodEnum<{
|
|
896
|
-
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
897
|
-
}>>;
|
|
898
|
-
openingStatus: z.ZodEnum<{
|
|
899
|
-
OPEN: "OPEN";
|
|
900
|
-
CLOSED: "CLOSED";
|
|
901
|
-
}>;
|
|
902
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
903
|
-
currentMenuVersion: 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>>;
|
|
904
|
-
createdAt: z.ZodString;
|
|
905
|
-
updatedAt: z.ZodString;
|
|
906
|
-
}, z.core.$strip>>;
|
|
907
|
-
type GetCompanyPointOfSalesResponse = z.infer<typeof getCompanyPointOfSalesResponseSchema>;
|
|
908
|
-
declare class GetCompanyPointOfSales extends AbstractApiRequest<typeof getCompanyPointOfSalesInputSchema, typeof getCompanyPointOfSalesResponseSchema, GetCompanyPointOfSalesQueryParams> {
|
|
909
|
-
readonly method = "GET";
|
|
910
|
-
readonly contentType = "application/json";
|
|
911
|
-
readonly accept = "application/json";
|
|
912
|
-
readonly inputSchema: z.ZodUndefined;
|
|
913
|
-
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
2252
|
+
type GetPointOfSalesQueryParams = z.infer<typeof getPointOfSalesQuerySchema>;
|
|
2253
|
+
declare const getPointOfSalesInputSchema: z.ZodUndefined;
|
|
2254
|
+
type GetPointOfSalesInput = z.input<typeof getPointOfSalesInputSchema>;
|
|
2255
|
+
declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
2256
|
+
data: z.ZodArray<z.ZodObject<{
|
|
914
2257
|
id: z.ZodString;
|
|
915
2258
|
name: z.ZodString;
|
|
916
2259
|
address: z.ZodObject<{
|
|
@@ -933,46 +2276,173 @@ declare class GetCompanyPointOfSales extends AbstractApiRequest<typeof getCompan
|
|
|
933
2276
|
OPEN: "OPEN";
|
|
934
2277
|
CLOSED: "CLOSED";
|
|
935
2278
|
}>;
|
|
936
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
937
|
-
currentMenuVersion: 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>>;
|
|
938
|
-
createdAt: z.ZodString;
|
|
939
|
-
updatedAt: z.ZodString;
|
|
940
|
-
}, z.core.$strip>>;
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
2279
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2280
|
+
currentMenuVersion: 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>>;
|
|
2281
|
+
createdAt: z.ZodString;
|
|
2282
|
+
updatedAt: z.ZodString;
|
|
2283
|
+
}, z.core.$strip>>;
|
|
2284
|
+
pagination: z.ZodObject<{
|
|
2285
|
+
from: z.ZodNumber;
|
|
2286
|
+
to: z.ZodNumber;
|
|
2287
|
+
itemsPerPage: z.ZodNumber;
|
|
2288
|
+
totalItems: z.ZodNumber;
|
|
2289
|
+
currentPage: z.ZodNumber;
|
|
2290
|
+
lastPage: z.ZodNumber;
|
|
2291
|
+
}, z.core.$strip>;
|
|
2292
|
+
}, z.core.$strip>;
|
|
2293
|
+
type GetPointOfSalesResponse = z.infer<typeof getPointOfSalesResponseSchema>;
|
|
2294
|
+
declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesInputSchema, typeof getPointOfSalesResponseSchema, GetPointOfSalesQueryParams> {
|
|
2295
|
+
readonly method = "GET";
|
|
2296
|
+
readonly contentType = "application/json";
|
|
2297
|
+
readonly accept = "application/json";
|
|
2298
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2299
|
+
readonly outputSchema: z.ZodObject<{
|
|
2300
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2301
|
+
id: z.ZodString;
|
|
2302
|
+
name: z.ZodString;
|
|
2303
|
+
address: z.ZodObject<{
|
|
2304
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2305
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2306
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2307
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2308
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2309
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2310
|
+
}, z.core.$strip>;
|
|
2311
|
+
timezone: z.ZodString;
|
|
2312
|
+
location: z.ZodObject<{
|
|
2313
|
+
latitude: z.ZodNumber;
|
|
2314
|
+
longitude: z.ZodNumber;
|
|
2315
|
+
}, z.core.$strip>;
|
|
2316
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
2317
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
2318
|
+
}>>;
|
|
2319
|
+
openingStatus: z.ZodEnum<{
|
|
2320
|
+
OPEN: "OPEN";
|
|
2321
|
+
CLOSED: "CLOSED";
|
|
2322
|
+
}>;
|
|
2323
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2324
|
+
currentMenuVersion: 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>>;
|
|
2325
|
+
createdAt: z.ZodString;
|
|
2326
|
+
updatedAt: z.ZodString;
|
|
2327
|
+
}, z.core.$strip>>;
|
|
2328
|
+
pagination: z.ZodObject<{
|
|
2329
|
+
from: z.ZodNumber;
|
|
2330
|
+
to: z.ZodNumber;
|
|
2331
|
+
itemsPerPage: z.ZodNumber;
|
|
2332
|
+
totalItems: z.ZodNumber;
|
|
2333
|
+
currentPage: z.ZodNumber;
|
|
2334
|
+
lastPage: z.ZodNumber;
|
|
2335
|
+
}, z.core.$strip>;
|
|
2336
|
+
}, z.core.$strip>;
|
|
2337
|
+
readonly querySchema: z.ZodObject<{
|
|
2338
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2339
|
+
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
2340
|
+
OPEN: "OPEN";
|
|
2341
|
+
CLOSED: "CLOSED";
|
|
2342
|
+
}>>;
|
|
2343
|
+
'integrationActivationRequests.connectionId': z.ZodOptional<z.ZodString>;
|
|
2344
|
+
'address.city': z.ZodOptional<z.ZodString>;
|
|
2345
|
+
'address.postalCode': z.ZodOptional<z.ZodString>;
|
|
2346
|
+
'order[name]': z.ZodOptional<z.ZodEnum<{
|
|
2347
|
+
asc: "asc";
|
|
2348
|
+
desc: "desc";
|
|
2349
|
+
}>>;
|
|
2350
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2351
|
+
asc: "asc";
|
|
2352
|
+
desc: "desc";
|
|
2353
|
+
}>>;
|
|
2354
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
2355
|
+
asc: "asc";
|
|
2356
|
+
desc: "desc";
|
|
2357
|
+
}>>;
|
|
2358
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2359
|
+
}, z.core.$strip>;
|
|
2360
|
+
readonly headersSchema: undefined;
|
|
2361
|
+
constructor(options?: {
|
|
2362
|
+
query?: GetPointOfSalesQueryParams;
|
|
2363
|
+
});
|
|
2364
|
+
getPath(): string;
|
|
2365
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<PointOfSale>;
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
2369
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
2370
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2371
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2372
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2373
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2374
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2375
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2376
|
+
}, z.core.$strip>>;
|
|
2377
|
+
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
2378
|
+
OPEN: "OPEN";
|
|
2379
|
+
CLOSED: "CLOSED";
|
|
2380
|
+
}>>;
|
|
2381
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2382
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
2383
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2384
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
2385
|
+
}>>>;
|
|
2386
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2387
|
+
menuLocales: z.ZodArray<z.ZodAny>;
|
|
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>;
|
|
2394
|
+
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2395
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2396
|
+
}, z.core.$strip>>;
|
|
2397
|
+
openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2398
|
+
dayOfWeek: z.ZodEnum<{
|
|
2399
|
+
monday: "monday";
|
|
2400
|
+
tuesday: "tuesday";
|
|
2401
|
+
wednesday: "wednesday";
|
|
2402
|
+
thursday: "thursday";
|
|
2403
|
+
friday: "friday";
|
|
2404
|
+
saturday: "saturday";
|
|
2405
|
+
sunday: "sunday";
|
|
2406
|
+
}>;
|
|
2407
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2408
|
+
startTime: z.ZodString;
|
|
2409
|
+
endTime: z.ZodString;
|
|
2410
|
+
}, z.core.$strip>>;
|
|
2411
|
+
}, z.core.$strip>>>;
|
|
2412
|
+
deliveryTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2413
|
+
dayOfWeek: z.ZodEnum<{
|
|
2414
|
+
monday: "monday";
|
|
2415
|
+
tuesday: "tuesday";
|
|
2416
|
+
wednesday: "wednesday";
|
|
2417
|
+
thursday: "thursday";
|
|
2418
|
+
friday: "friday";
|
|
2419
|
+
saturday: "saturday";
|
|
2420
|
+
sunday: "sunday";
|
|
2421
|
+
}>;
|
|
2422
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2423
|
+
startTime: z.ZodString;
|
|
2424
|
+
endTime: z.ZodString;
|
|
2425
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2426
|
+
}, z.core.$strip>>;
|
|
2427
|
+
}, z.core.$strip>>>;
|
|
2428
|
+
takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2429
|
+
dayOfWeek: z.ZodEnum<{
|
|
2430
|
+
monday: "monday";
|
|
2431
|
+
tuesday: "tuesday";
|
|
2432
|
+
wednesday: "wednesday";
|
|
2433
|
+
thursday: "thursday";
|
|
2434
|
+
friday: "friday";
|
|
2435
|
+
saturday: "saturday";
|
|
2436
|
+
sunday: "sunday";
|
|
2437
|
+
}>;
|
|
2438
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2439
|
+
startTime: z.ZodString;
|
|
2440
|
+
endTime: z.ZodString;
|
|
2441
|
+
}, z.core.$strip>>;
|
|
2442
|
+
}, z.core.$strip>>>;
|
|
2443
|
+
}, z.core.$strip>;
|
|
2444
|
+
type UpdatePointOfSaleInput = z.input<typeof updatePointOfSaleInputSchema>;
|
|
2445
|
+
declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
976
2446
|
id: z.ZodString;
|
|
977
2447
|
name: z.ZodString;
|
|
978
2448
|
address: z.ZodObject<{
|
|
@@ -1002,14 +2472,14 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
1002
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>>;
|
|
1003
2473
|
settings: z.ZodObject<{
|
|
1004
2474
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1005
|
-
deliveryTimesInterval: z.
|
|
1006
|
-
takeAwayTimesInterval: z.
|
|
1007
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
1008
|
-
numberMinutesTimeChangeTolerance: z.
|
|
1009
|
-
maxCountableItemsPerBundle: z.
|
|
1010
|
-
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>;
|
|
1011
2481
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1012
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
2482
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1013
2483
|
}, z.core.$strip>;
|
|
1014
2484
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1015
2485
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -1039,7 +2509,7 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
1039
2509
|
times: z.ZodArray<z.ZodObject<{
|
|
1040
2510
|
startTime: z.ZodString;
|
|
1041
2511
|
endTime: z.ZodString;
|
|
1042
|
-
availableCouriers: z.
|
|
2512
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1043
2513
|
}, z.core.$strip>>;
|
|
1044
2514
|
}, z.core.$strip>>;
|
|
1045
2515
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
@@ -1059,12 +2529,87 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
1059
2529
|
}, z.core.$strip>>;
|
|
1060
2530
|
numberOfCouriers: z.ZodNumber;
|
|
1061
2531
|
}, z.core.$strip>;
|
|
1062
|
-
type
|
|
1063
|
-
declare class
|
|
1064
|
-
readonly method = "
|
|
1065
|
-
readonly contentType = "application/json";
|
|
2532
|
+
type UpdatePointOfSaleResponse = z.infer<typeof updatePointOfSaleResponseSchema>;
|
|
2533
|
+
declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfSaleInputSchema, typeof updatePointOfSaleResponseSchema> {
|
|
2534
|
+
readonly method = "PATCH";
|
|
2535
|
+
readonly contentType = "application/merge-patch+json";
|
|
1066
2536
|
readonly accept = "application/json";
|
|
1067
|
-
readonly inputSchema: z.
|
|
2537
|
+
readonly inputSchema: z.ZodObject<{
|
|
2538
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
2539
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2540
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2541
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2542
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2543
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2544
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2545
|
+
}, z.core.$strip>>;
|
|
2546
|
+
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
2547
|
+
OPEN: "OPEN";
|
|
2548
|
+
CLOSED: "CLOSED";
|
|
2549
|
+
}>>;
|
|
2550
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2551
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
2552
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2553
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
2554
|
+
}>>>;
|
|
2555
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2556
|
+
menuLocales: z.ZodArray<z.ZodAny>;
|
|
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>;
|
|
2563
|
+
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2564
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2565
|
+
}, z.core.$strip>>;
|
|
2566
|
+
openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2567
|
+
dayOfWeek: z.ZodEnum<{
|
|
2568
|
+
monday: "monday";
|
|
2569
|
+
tuesday: "tuesday";
|
|
2570
|
+
wednesday: "wednesday";
|
|
2571
|
+
thursday: "thursday";
|
|
2572
|
+
friday: "friday";
|
|
2573
|
+
saturday: "saturday";
|
|
2574
|
+
sunday: "sunday";
|
|
2575
|
+
}>;
|
|
2576
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2577
|
+
startTime: z.ZodString;
|
|
2578
|
+
endTime: z.ZodString;
|
|
2579
|
+
}, z.core.$strip>>;
|
|
2580
|
+
}, z.core.$strip>>>;
|
|
2581
|
+
deliveryTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2582
|
+
dayOfWeek: z.ZodEnum<{
|
|
2583
|
+
monday: "monday";
|
|
2584
|
+
tuesday: "tuesday";
|
|
2585
|
+
wednesday: "wednesday";
|
|
2586
|
+
thursday: "thursday";
|
|
2587
|
+
friday: "friday";
|
|
2588
|
+
saturday: "saturday";
|
|
2589
|
+
sunday: "sunday";
|
|
2590
|
+
}>;
|
|
2591
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2592
|
+
startTime: z.ZodString;
|
|
2593
|
+
endTime: z.ZodString;
|
|
2594
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2595
|
+
}, z.core.$strip>>;
|
|
2596
|
+
}, z.core.$strip>>>;
|
|
2597
|
+
takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2598
|
+
dayOfWeek: z.ZodEnum<{
|
|
2599
|
+
monday: "monday";
|
|
2600
|
+
tuesday: "tuesday";
|
|
2601
|
+
wednesday: "wednesday";
|
|
2602
|
+
thursday: "thursday";
|
|
2603
|
+
friday: "friday";
|
|
2604
|
+
saturday: "saturday";
|
|
2605
|
+
sunday: "sunday";
|
|
2606
|
+
}>;
|
|
2607
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2608
|
+
startTime: z.ZodString;
|
|
2609
|
+
endTime: z.ZodString;
|
|
2610
|
+
}, z.core.$strip>>;
|
|
2611
|
+
}, z.core.$strip>>>;
|
|
2612
|
+
}, z.core.$strip>;
|
|
1068
2613
|
readonly outputSchema: z.ZodObject<{
|
|
1069
2614
|
id: z.ZodString;
|
|
1070
2615
|
name: z.ZodString;
|
|
@@ -1095,14 +2640,14 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
1095
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>>;
|
|
1096
2641
|
settings: z.ZodObject<{
|
|
1097
2642
|
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1098
|
-
deliveryTimesInterval: z.
|
|
1099
|
-
takeAwayTimesInterval: z.
|
|
1100
|
-
numberMinutesToPrecessFirstOrder: z.
|
|
1101
|
-
numberMinutesTimeChangeTolerance: z.
|
|
1102
|
-
maxCountableItemsPerBundle: z.
|
|
1103
|
-
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>;
|
|
1104
2649
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1105
|
-
numberMinutesBeforeAutoAcceptOrder: z.
|
|
2650
|
+
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1106
2651
|
}, z.core.$strip>;
|
|
1107
2652
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1108
2653
|
dayOfWeek: z.ZodEnum<{
|
|
@@ -1132,43 +2677,191 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
1132
2677
|
times: z.ZodArray<z.ZodObject<{
|
|
1133
2678
|
startTime: z.ZodString;
|
|
1134
2679
|
endTime: z.ZodString;
|
|
1135
|
-
availableCouriers: z.
|
|
2680
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
2681
|
+
}, z.core.$strip>>;
|
|
2682
|
+
}, z.core.$strip>>;
|
|
2683
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2684
|
+
dayOfWeek: z.ZodEnum<{
|
|
2685
|
+
monday: "monday";
|
|
2686
|
+
tuesday: "tuesday";
|
|
2687
|
+
wednesday: "wednesday";
|
|
2688
|
+
thursday: "thursday";
|
|
2689
|
+
friday: "friday";
|
|
2690
|
+
saturday: "saturday";
|
|
2691
|
+
sunday: "sunday";
|
|
2692
|
+
}>;
|
|
2693
|
+
times: z.ZodArray<z.ZodObject<{
|
|
2694
|
+
startTime: z.ZodString;
|
|
2695
|
+
endTime: z.ZodString;
|
|
1136
2696
|
}, z.core.$strip>>;
|
|
1137
2697
|
}, z.core.$strip>>;
|
|
2698
|
+
numberOfCouriers: z.ZodNumber;
|
|
2699
|
+
}, z.core.$strip>;
|
|
2700
|
+
readonly querySchema: undefined;
|
|
2701
|
+
readonly headersSchema: undefined;
|
|
2702
|
+
private readonly pointOfSaleId;
|
|
2703
|
+
constructor(pointOfSaleId: string, input: UpdatePointOfSaleInput);
|
|
2704
|
+
getPath(): string;
|
|
2705
|
+
}
|
|
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>>;
|
|
1138
2848
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
tuesday: "tuesday";
|
|
1142
|
-
wednesday: "wednesday";
|
|
1143
|
-
thursday: "thursday";
|
|
1144
|
-
friday: "friday";
|
|
1145
|
-
saturday: "saturday";
|
|
1146
|
-
sunday: "sunday";
|
|
1147
|
-
}>;
|
|
1148
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1149
|
-
startTime: z.ZodString;
|
|
1150
|
-
endTime: z.ZodString;
|
|
1151
|
-
}, z.core.$strip>>;
|
|
2849
|
+
startTime: z.ZodString;
|
|
2850
|
+
endTime: z.ZodString;
|
|
1152
2851
|
}, z.core.$strip>>;
|
|
1153
|
-
|
|
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>>;
|
|
1154
2855
|
}, z.core.$strip>;
|
|
1155
2856
|
readonly querySchema: undefined;
|
|
1156
2857
|
readonly headersSchema: undefined;
|
|
1157
|
-
private readonly
|
|
1158
|
-
constructor(
|
|
2858
|
+
private readonly pointOfSaleTimeOverrideId;
|
|
2859
|
+
constructor(pointOfSaleTimeOverrideId: string);
|
|
1159
2860
|
getPath(): string;
|
|
1160
2861
|
}
|
|
1161
2862
|
|
|
1162
|
-
declare const
|
|
1163
|
-
|
|
1164
|
-
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
1165
|
-
OPEN: "OPEN";
|
|
1166
|
-
CLOSED: "CLOSED";
|
|
1167
|
-
}>>;
|
|
1168
|
-
'integrationActivationRequests.connectionId': z.ZodOptional<z.ZodString>;
|
|
1169
|
-
'address.city': z.ZodOptional<z.ZodString>;
|
|
1170
|
-
'address.postalCode': z.ZodOptional<z.ZodString>;
|
|
1171
|
-
'order[name]': z.ZodOptional<z.ZodEnum<{
|
|
2863
|
+
declare const getPointOfSaleTimeOverridesQuerySchema: z.ZodObject<{
|
|
2864
|
+
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
1172
2865
|
asc: "asc";
|
|
1173
2866
|
desc: "desc";
|
|
1174
2867
|
}>>;
|
|
@@ -1180,37 +2873,40 @@ declare const getPointOfSalesQuerySchema: z.ZodObject<{
|
|
|
1180
2873
|
asc: "asc";
|
|
1181
2874
|
desc: "desc";
|
|
1182
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>;
|
|
1183
2888
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1184
2889
|
}, z.core.$strip>;
|
|
1185
|
-
type
|
|
1186
|
-
declare const
|
|
1187
|
-
type
|
|
1188
|
-
declare const
|
|
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<{
|
|
1189
2894
|
data: z.ZodArray<z.ZodObject<{
|
|
1190
2895
|
id: z.ZodString;
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
}, z.core.$strip
|
|
1205
|
-
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1206
|
-
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1207
|
-
}>>;
|
|
1208
|
-
openingStatus: z.ZodEnum<{
|
|
1209
|
-
OPEN: "OPEN";
|
|
1210
|
-
CLOSED: "CLOSED";
|
|
1211
|
-
}>;
|
|
1212
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1213
|
-
currentMenuVersion: 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>>;
|
|
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>>;
|
|
1214
2910
|
createdAt: z.ZodString;
|
|
1215
2911
|
updatedAt: z.ZodString;
|
|
1216
2912
|
}, z.core.$strip>>;
|
|
@@ -1223,8 +2919,8 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
1223
2919
|
lastPage: z.ZodNumber;
|
|
1224
2920
|
}, z.core.$strip>;
|
|
1225
2921
|
}, z.core.$strip>;
|
|
1226
|
-
type
|
|
1227
|
-
declare class
|
|
2922
|
+
type GetPointOfSaleTimeOverridesResponse = z.infer<typeof getPointOfSaleTimeOverridesResponseSchema>;
|
|
2923
|
+
declare class GetPointOfSaleTimeOverrides extends AbstractApiRequest<typeof getPointOfSaleTimeOverridesInputSchema, typeof getPointOfSaleTimeOverridesResponseSchema, GetPointOfSaleTimeOverridesQueryParams> {
|
|
1228
2924
|
readonly method = "GET";
|
|
1229
2925
|
readonly contentType = "application/json";
|
|
1230
2926
|
readonly accept = "application/json";
|
|
@@ -1232,29 +2928,20 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
1232
2928
|
readonly outputSchema: z.ZodObject<{
|
|
1233
2929
|
data: z.ZodArray<z.ZodObject<{
|
|
1234
2930
|
id: z.ZodString;
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
}, z.core.$strip
|
|
1249
|
-
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1250
|
-
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1251
|
-
}>>;
|
|
1252
|
-
openingStatus: z.ZodEnum<{
|
|
1253
|
-
OPEN: "OPEN";
|
|
1254
|
-
CLOSED: "CLOSED";
|
|
1255
|
-
}>;
|
|
1256
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1257
|
-
currentMenuVersion: 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>>;
|
|
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>>;
|
|
1258
2945
|
createdAt: z.ZodString;
|
|
1259
2946
|
updatedAt: z.ZodString;
|
|
1260
2947
|
}, z.core.$strip>>;
|
|
@@ -1268,15 +2955,7 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
1268
2955
|
}, z.core.$strip>;
|
|
1269
2956
|
}, z.core.$strip>;
|
|
1270
2957
|
readonly querySchema: z.ZodObject<{
|
|
1271
|
-
|
|
1272
|
-
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
1273
|
-
OPEN: "OPEN";
|
|
1274
|
-
CLOSED: "CLOSED";
|
|
1275
|
-
}>>;
|
|
1276
|
-
'integrationActivationRequests.connectionId': z.ZodOptional<z.ZodString>;
|
|
1277
|
-
'address.city': z.ZodOptional<z.ZodString>;
|
|
1278
|
-
'address.postalCode': z.ZodOptional<z.ZodString>;
|
|
1279
|
-
'order[name]': z.ZodOptional<z.ZodEnum<{
|
|
2958
|
+
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
1280
2959
|
asc: "asc";
|
|
1281
2960
|
desc: "desc";
|
|
1282
2961
|
}>>;
|
|
@@ -1288,352 +2967,240 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
1288
2967
|
asc: "asc";
|
|
1289
2968
|
desc: "desc";
|
|
1290
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>;
|
|
1291
2982
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1292
2983
|
}, z.core.$strip>;
|
|
1293
2984
|
readonly headersSchema: undefined;
|
|
1294
2985
|
constructor(options?: {
|
|
1295
|
-
query?:
|
|
2986
|
+
query?: GetPointOfSaleTimeOverridesQueryParams;
|
|
1296
2987
|
});
|
|
1297
2988
|
getPath(): string;
|
|
1298
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<
|
|
2989
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<PointOfSaleTimeOverride>;
|
|
1299
2990
|
}
|
|
1300
2991
|
|
|
1301
|
-
declare const
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1306
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1307
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1308
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1309
|
-
}, z.core.$strip>>;
|
|
1310
|
-
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
1311
|
-
OPEN: "OPEN";
|
|
1312
|
-
CLOSED: "CLOSED";
|
|
2992
|
+
declare const getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
2993
|
+
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
2994
|
+
asc: "asc";
|
|
2995
|
+
desc: "desc";
|
|
1313
2996
|
}>>;
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
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<{
|
|
1341
3027
|
startTime: z.ZodString;
|
|
1342
3028
|
endTime: z.ZodString;
|
|
1343
3029
|
}, z.core.$strip>>;
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
thursday: "thursday";
|
|
1351
|
-
friday: "friday";
|
|
1352
|
-
saturday: "saturday";
|
|
1353
|
-
sunday: "sunday";
|
|
1354
|
-
}>;
|
|
1355
|
-
times: z.ZodArray<z.ZodObject<{
|
|
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<{
|
|
1356
3036
|
startTime: z.ZodString;
|
|
1357
3037
|
endTime: z.ZodString;
|
|
1358
|
-
availableCouriers: z.ZodNumber;
|
|
1359
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>;
|
|
1360
3131
|
}, z.core.$strip>>>;
|
|
1361
3132
|
takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
tuesday: "tuesday";
|
|
1365
|
-
wednesday: "wednesday";
|
|
1366
|
-
thursday: "thursday";
|
|
1367
|
-
friday: "friday";
|
|
1368
|
-
saturday: "saturday";
|
|
1369
|
-
sunday: "sunday";
|
|
1370
|
-
}>;
|
|
1371
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1372
|
-
startTime: z.ZodString;
|
|
1373
|
-
endTime: z.ZodString;
|
|
1374
|
-
}, z.core.$strip>>;
|
|
3133
|
+
startTime: z.ZodString;
|
|
3134
|
+
endTime: z.ZodString;
|
|
1375
3135
|
}, z.core.$strip>>>;
|
|
3136
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1376
3137
|
}, z.core.$strip>;
|
|
1377
|
-
type
|
|
1378
|
-
declare const
|
|
3138
|
+
type UpdatePointOfSaleTimeOverrideInput = z.input<typeof updatePointOfSaleTimeOverrideInputSchema>;
|
|
3139
|
+
declare const updatePointOfSaleTimeOverrideResponseSchema: z.ZodObject<{
|
|
1379
3140
|
id: z.ZodString;
|
|
1380
|
-
|
|
1381
|
-
address: z.ZodObject<{
|
|
1382
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1383
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1384
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1385
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1386
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1387
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1388
|
-
}, z.core.$strip>;
|
|
1389
|
-
timezone: z.ZodString;
|
|
1390
|
-
location: z.ZodObject<{
|
|
1391
|
-
latitude: z.ZodNumber;
|
|
1392
|
-
longitude: z.ZodNumber;
|
|
1393
|
-
}, z.core.$strip>;
|
|
1394
|
-
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1395
|
-
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1396
|
-
}>>;
|
|
1397
|
-
openingStatus: z.ZodEnum<{
|
|
1398
|
-
OPEN: "OPEN";
|
|
1399
|
-
CLOSED: "CLOSED";
|
|
1400
|
-
}>;
|
|
1401
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1402
|
-
currentMenuVersion: 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>>;
|
|
1403
|
-
createdAt: z.ZodString;
|
|
1404
|
-
updatedAt: z.ZodString;
|
|
1405
|
-
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
1406
|
-
settings: z.ZodObject<{
|
|
1407
|
-
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1408
|
-
deliveryTimesInterval: z.ZodNumber;
|
|
1409
|
-
takeAwayTimesInterval: z.ZodNumber;
|
|
1410
|
-
numberMinutesToPrecessFirstOrder: z.ZodNumber;
|
|
1411
|
-
numberMinutesTimeChangeTolerance: z.ZodNumber;
|
|
1412
|
-
maxCountableItemsPerBundle: z.ZodNumber;
|
|
1413
|
-
maxOrdersPerBundle: z.ZodNumber;
|
|
1414
|
-
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1415
|
-
numberMinutesBeforeAutoAcceptOrder: z.ZodNumber;
|
|
1416
|
-
}, z.core.$strip>;
|
|
3141
|
+
date: z.ZodString;
|
|
1417
3142
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
tuesday: "tuesday";
|
|
1421
|
-
wednesday: "wednesday";
|
|
1422
|
-
thursday: "thursday";
|
|
1423
|
-
friday: "friday";
|
|
1424
|
-
saturday: "saturday";
|
|
1425
|
-
sunday: "sunday";
|
|
1426
|
-
}>;
|
|
1427
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1428
|
-
startTime: z.ZodString;
|
|
1429
|
-
endTime: z.ZodString;
|
|
1430
|
-
}, z.core.$strip>>;
|
|
3143
|
+
startTime: z.ZodString;
|
|
3144
|
+
endTime: z.ZodString;
|
|
1431
3145
|
}, z.core.$strip>>;
|
|
1432
3146
|
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
wednesday: "wednesday";
|
|
1437
|
-
thursday: "thursday";
|
|
1438
|
-
friday: "friday";
|
|
1439
|
-
saturday: "saturday";
|
|
1440
|
-
sunday: "sunday";
|
|
1441
|
-
}>;
|
|
1442
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1443
|
-
startTime: z.ZodString;
|
|
1444
|
-
endTime: z.ZodString;
|
|
1445
|
-
availableCouriers: z.ZodNumber;
|
|
1446
|
-
}, z.core.$strip>>;
|
|
3147
|
+
startTime: z.ZodString;
|
|
3148
|
+
endTime: z.ZodString;
|
|
3149
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1447
3150
|
}, z.core.$strip>>;
|
|
1448
3151
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
tuesday: "tuesday";
|
|
1452
|
-
wednesday: "wednesday";
|
|
1453
|
-
thursday: "thursday";
|
|
1454
|
-
friday: "friday";
|
|
1455
|
-
saturday: "saturday";
|
|
1456
|
-
sunday: "sunday";
|
|
1457
|
-
}>;
|
|
1458
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1459
|
-
startTime: z.ZodString;
|
|
1460
|
-
endTime: z.ZodString;
|
|
1461
|
-
}, z.core.$strip>>;
|
|
3152
|
+
startTime: z.ZodString;
|
|
3153
|
+
endTime: z.ZodString;
|
|
1462
3154
|
}, z.core.$strip>>;
|
|
1463
|
-
|
|
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>>;
|
|
1464
3158
|
}, z.core.$strip>;
|
|
1465
|
-
type
|
|
1466
|
-
declare class
|
|
3159
|
+
type UpdatePointOfSaleTimeOverrideResponse = z.infer<typeof updatePointOfSaleTimeOverrideResponseSchema>;
|
|
3160
|
+
declare class UpdatePointOfSaleTimeOverride extends AbstractApiRequest<typeof updatePointOfSaleTimeOverrideInputSchema, typeof updatePointOfSaleTimeOverrideResponseSchema> {
|
|
1467
3161
|
readonly method = "PATCH";
|
|
1468
3162
|
readonly contentType = "application/merge-patch+json";
|
|
1469
3163
|
readonly accept = "application/json";
|
|
1470
3164
|
readonly inputSchema: z.ZodObject<{
|
|
1471
|
-
address: z.ZodOptional<z.ZodObject<{
|
|
1472
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1473
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1474
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1475
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1476
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1477
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1478
|
-
}, z.core.$strip>>;
|
|
1479
|
-
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
1480
|
-
OPEN: "OPEN";
|
|
1481
|
-
CLOSED: "CLOSED";
|
|
1482
|
-
}>>;
|
|
1483
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1484
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
1485
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1486
|
-
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1487
|
-
}>>>;
|
|
1488
|
-
settings: z.ZodOptional<z.ZodObject<{
|
|
1489
|
-
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1490
|
-
deliveryTimesInterval: z.ZodNumber;
|
|
1491
|
-
takeAwayTimesInterval: z.ZodNumber;
|
|
1492
|
-
numberMinutesToPrecessFirstOrder: z.ZodNumber;
|
|
1493
|
-
numberMinutesTimeChangeTolerance: z.ZodNumber;
|
|
1494
|
-
maxCountableItemsPerBundle: z.ZodNumber;
|
|
1495
|
-
maxOrdersPerBundle: z.ZodNumber;
|
|
1496
|
-
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1497
|
-
numberMinutesBeforeAutoAcceptOrder: z.ZodNumber;
|
|
1498
|
-
}, z.core.$strip>>;
|
|
1499
3165
|
openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
tuesday: "tuesday";
|
|
1503
|
-
wednesday: "wednesday";
|
|
1504
|
-
thursday: "thursday";
|
|
1505
|
-
friday: "friday";
|
|
1506
|
-
saturday: "saturday";
|
|
1507
|
-
sunday: "sunday";
|
|
1508
|
-
}>;
|
|
1509
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1510
|
-
startTime: z.ZodString;
|
|
1511
|
-
endTime: z.ZodString;
|
|
1512
|
-
}, z.core.$strip>>;
|
|
3166
|
+
startTime: z.ZodString;
|
|
3167
|
+
endTime: z.ZodString;
|
|
1513
3168
|
}, z.core.$strip>>>;
|
|
1514
3169
|
deliveryTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
wednesday: "wednesday";
|
|
1519
|
-
thursday: "thursday";
|
|
1520
|
-
friday: "friday";
|
|
1521
|
-
saturday: "saturday";
|
|
1522
|
-
sunday: "sunday";
|
|
1523
|
-
}>;
|
|
1524
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1525
|
-
startTime: z.ZodString;
|
|
1526
|
-
endTime: z.ZodString;
|
|
1527
|
-
availableCouriers: z.ZodNumber;
|
|
1528
|
-
}, z.core.$strip>>;
|
|
3170
|
+
startTime: z.ZodString;
|
|
3171
|
+
endTime: z.ZodString;
|
|
3172
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1529
3173
|
}, z.core.$strip>>>;
|
|
1530
3174
|
takeAwayTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
tuesday: "tuesday";
|
|
1534
|
-
wednesday: "wednesday";
|
|
1535
|
-
thursday: "thursday";
|
|
1536
|
-
friday: "friday";
|
|
1537
|
-
saturday: "saturday";
|
|
1538
|
-
sunday: "sunday";
|
|
1539
|
-
}>;
|
|
1540
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1541
|
-
startTime: z.ZodString;
|
|
1542
|
-
endTime: z.ZodString;
|
|
1543
|
-
}, z.core.$strip>>;
|
|
3175
|
+
startTime: z.ZodString;
|
|
3176
|
+
endTime: z.ZodString;
|
|
1544
3177
|
}, z.core.$strip>>>;
|
|
3178
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1545
3179
|
}, z.core.$strip>;
|
|
1546
3180
|
readonly outputSchema: z.ZodObject<{
|
|
1547
3181
|
id: z.ZodString;
|
|
1548
|
-
|
|
1549
|
-
address: z.ZodObject<{
|
|
1550
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1551
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1552
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1553
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1554
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1555
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1556
|
-
}, z.core.$strip>;
|
|
1557
|
-
timezone: z.ZodString;
|
|
1558
|
-
location: z.ZodObject<{
|
|
1559
|
-
latitude: z.ZodNumber;
|
|
1560
|
-
longitude: z.ZodNumber;
|
|
1561
|
-
}, z.core.$strip>;
|
|
1562
|
-
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1563
|
-
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1564
|
-
}>>;
|
|
1565
|
-
openingStatus: z.ZodEnum<{
|
|
1566
|
-
OPEN: "OPEN";
|
|
1567
|
-
CLOSED: "CLOSED";
|
|
1568
|
-
}>;
|
|
1569
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1570
|
-
currentMenuVersion: 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>>;
|
|
1571
|
-
createdAt: z.ZodString;
|
|
1572
|
-
updatedAt: z.ZodString;
|
|
1573
|
-
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
1574
|
-
settings: z.ZodObject<{
|
|
1575
|
-
menuLocales: z.ZodArray<z.ZodAny>;
|
|
1576
|
-
deliveryTimesInterval: z.ZodNumber;
|
|
1577
|
-
takeAwayTimesInterval: z.ZodNumber;
|
|
1578
|
-
numberMinutesToPrecessFirstOrder: z.ZodNumber;
|
|
1579
|
-
numberMinutesTimeChangeTolerance: z.ZodNumber;
|
|
1580
|
-
maxCountableItemsPerBundle: z.ZodNumber;
|
|
1581
|
-
maxOrdersPerBundle: z.ZodNumber;
|
|
1582
|
-
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1583
|
-
numberMinutesBeforeAutoAcceptOrder: z.ZodNumber;
|
|
1584
|
-
}, z.core.$strip>;
|
|
3182
|
+
date: z.ZodString;
|
|
1585
3183
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
tuesday: "tuesday";
|
|
1589
|
-
wednesday: "wednesday";
|
|
1590
|
-
thursday: "thursday";
|
|
1591
|
-
friday: "friday";
|
|
1592
|
-
saturday: "saturday";
|
|
1593
|
-
sunday: "sunday";
|
|
1594
|
-
}>;
|
|
1595
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1596
|
-
startTime: z.ZodString;
|
|
1597
|
-
endTime: z.ZodString;
|
|
1598
|
-
}, z.core.$strip>>;
|
|
3184
|
+
startTime: z.ZodString;
|
|
3185
|
+
endTime: z.ZodString;
|
|
1599
3186
|
}, z.core.$strip>>;
|
|
1600
3187
|
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
wednesday: "wednesday";
|
|
1605
|
-
thursday: "thursday";
|
|
1606
|
-
friday: "friday";
|
|
1607
|
-
saturday: "saturday";
|
|
1608
|
-
sunday: "sunday";
|
|
1609
|
-
}>;
|
|
1610
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1611
|
-
startTime: z.ZodString;
|
|
1612
|
-
endTime: z.ZodString;
|
|
1613
|
-
availableCouriers: z.ZodNumber;
|
|
1614
|
-
}, z.core.$strip>>;
|
|
3188
|
+
startTime: z.ZodString;
|
|
3189
|
+
endTime: z.ZodString;
|
|
3190
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
1615
3191
|
}, z.core.$strip>>;
|
|
1616
3192
|
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
tuesday: "tuesday";
|
|
1620
|
-
wednesday: "wednesday";
|
|
1621
|
-
thursday: "thursday";
|
|
1622
|
-
friday: "friday";
|
|
1623
|
-
saturday: "saturday";
|
|
1624
|
-
sunday: "sunday";
|
|
1625
|
-
}>;
|
|
1626
|
-
times: z.ZodArray<z.ZodObject<{
|
|
1627
|
-
startTime: z.ZodString;
|
|
1628
|
-
endTime: z.ZodString;
|
|
1629
|
-
}, z.core.$strip>>;
|
|
3193
|
+
startTime: z.ZodString;
|
|
3194
|
+
endTime: z.ZodString;
|
|
1630
3195
|
}, z.core.$strip>>;
|
|
1631
|
-
|
|
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>>;
|
|
1632
3199
|
}, z.core.$strip>;
|
|
1633
3200
|
readonly querySchema: undefined;
|
|
1634
3201
|
readonly headersSchema: undefined;
|
|
1635
|
-
private readonly
|
|
1636
|
-
constructor(
|
|
3202
|
+
private readonly pointOfSaleTimeOverrideId;
|
|
3203
|
+
constructor(pointOfSaleTimeOverrideId: string, input: UpdatePointOfSaleTimeOverrideInput);
|
|
1637
3204
|
getPath(): string;
|
|
1638
3205
|
}
|
|
1639
3206
|
|
|
@@ -1663,4 +3230,4 @@ type PointOfSaleMenuVersionIri = z.infer<typeof pointOfSaleMenuVersionIriSchema>
|
|
|
1663
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>>;
|
|
1664
3231
|
type PointOfSaleMenuVersionNullableIri = z.infer<typeof pointOfSaleMenuVersionNullableIriSchema>;
|
|
1665
3232
|
|
|
1666
|
-
export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, DeletePointOfSale, type DeliveryTimeSetting, GetCompanyPointOfSales, type GetCompanyPointOfSalesInput, type GetCompanyPointOfSalesQueryParams, type GetCompanyPointOfSalesResponse, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, 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, type UserPointOfSale, type WritableCreatePointOfSale, type WritablePointOfSale, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deliveryTimeSettingSchema, getCompanyPointOfSalesInputSchema, getCompanyPointOfSalesQuerySchema, getCompanyPointOfSalesResponseSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, 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, 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 };
|