@deliverart/sdk-js-point-of-sale 2.1.40 → 2.1.42

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.d.ts CHANGED
@@ -36,6 +36,71 @@ declare const deliveryTimeSettingSchema: z.ZodObject<{
36
36
  }, z.core.$strip>>;
37
37
  }, z.core.$strip>;
38
38
  type DeliveryTimeSetting = z.infer<typeof deliveryTimeSettingSchema>;
39
+ declare const availableDeliveryTimeItemSchema: z.ZodObject<{
40
+ time: z.ZodString;
41
+ valid: z.ZodBoolean;
42
+ free: z.ZodBoolean;
43
+ invalidReason: z.ZodEnum<{
44
+ pos_closed: "pos_closed";
45
+ no_slot_found: "no_slot_found";
46
+ first_time_not_available: "first_time_not_available";
47
+ journey_outside_slot: "journey_outside_slot";
48
+ }>;
49
+ }, z.core.$strip>;
50
+ type DeliveryTimeItem = z.infer<typeof availableDeliveryTimeItemSchema>;
51
+ declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
52
+ start: z.ZodString;
53
+ end: z.ZodString;
54
+ times: z.ZodArray<z.ZodObject<{
55
+ time: z.ZodString;
56
+ valid: z.ZodBoolean;
57
+ free: z.ZodBoolean;
58
+ invalidReason: z.ZodEnum<{
59
+ pos_closed: "pos_closed";
60
+ no_slot_found: "no_slot_found";
61
+ first_time_not_available: "first_time_not_available";
62
+ journey_outside_slot: "journey_outside_slot";
63
+ }>;
64
+ }, z.core.$strip>>;
65
+ }, z.core.$strip>;
66
+ type AvailableDeliveryTimeSlot = z.infer<typeof availableDeliveryTimeSlotSchema>;
67
+ declare const availableDeliveryTimesQuerySchema: z.ZodObject<{
68
+ date: z.ZodString;
69
+ address: z.ZodString;
70
+ countableItems: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
71
+ }, z.core.$strip>;
72
+ type AvailableDeliveryTimesQueryParams = z.infer<typeof availableDeliveryTimesQuerySchema>;
73
+ declare const availableTakeAwayTimeItemSchema: z.ZodObject<{
74
+ time: z.ZodString;
75
+ valid: z.ZodBoolean;
76
+ free: z.ZodBoolean;
77
+ invalidReason: z.ZodEnum<{
78
+ pos_closed: "pos_closed";
79
+ no_slot_found: "no_slot_found";
80
+ first_time_not_available: "first_time_not_available";
81
+ }>;
82
+ }, z.core.$strip>;
83
+ type TakeAwayTimeItem = z.infer<typeof availableTakeAwayTimeItemSchema>;
84
+ declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
85
+ start: z.ZodString;
86
+ end: z.ZodString;
87
+ times: z.ZodArray<z.ZodObject<{
88
+ time: z.ZodString;
89
+ valid: z.ZodBoolean;
90
+ free: z.ZodBoolean;
91
+ invalidReason: z.ZodEnum<{
92
+ pos_closed: "pos_closed";
93
+ no_slot_found: "no_slot_found";
94
+ first_time_not_available: "first_time_not_available";
95
+ }>;
96
+ }, z.core.$strip>>;
97
+ }, z.core.$strip>;
98
+ type AvailableTakeAwayTimeSlot = z.infer<typeof availableTakeAwayTimeSlotSchema>;
99
+ declare const availableTakeAwayTimesQuerySchema: z.ZodObject<{
100
+ date: z.ZodString;
101
+ countableItems: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
102
+ }, z.core.$strip>;
103
+ type AvailableTakeAwayTimesQueryParams = z.infer<typeof availableTakeAwayTimesQuerySchema>;
39
104
  declare const integrationsStatsSchema: z.ZodObject<{
40
105
  integrationsCount: z.ZodNumber;
41
106
  pendingIntegrationsCount: z.ZodNumber;
@@ -530,6 +595,7 @@ declare const pointOfSaleTimeOverrideDetailsSchema: z.ZodObject<{
530
595
  }, z.core.$strip>;
531
596
  type PointOfSaleTimeOverrideDetails = z.infer<typeof pointOfSaleTimeOverrideDetailsSchema>;
532
597
  declare const writableCreatePointOfSaleTimeOverrideSchema: z.ZodObject<{
598
+ date: z.ZodString;
533
599
  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>>;
534
600
  openingTimeSettings: z.ZodArray<z.ZodObject<{
535
601
  startTime: z.ZodString;
@@ -544,10 +610,10 @@ declare const writableCreatePointOfSaleTimeOverrideSchema: z.ZodObject<{
544
610
  startTime: z.ZodString;
545
611
  endTime: z.ZodString;
546
612
  }, z.core.$strip>>;
547
- date: z.ZodString;
548
613
  }, z.core.$strip>;
549
614
  type WritableCreatePointOfSaleTimeOverride = z.infer<typeof writableCreatePointOfSaleTimeOverrideSchema>;
550
615
  declare const writablePointOfSaleTimeOverrideSchema: z.ZodObject<{
616
+ date: z.ZodString;
551
617
  openingTimeSettings: z.ZodArray<z.ZodObject<{
552
618
  startTime: z.ZodString;
553
619
  endTime: z.ZodString;
@@ -561,7 +627,6 @@ declare const writablePointOfSaleTimeOverrideSchema: z.ZodObject<{
561
627
  startTime: z.ZodString;
562
628
  endTime: z.ZodString;
563
629
  }, z.core.$strip>>;
564
- date: z.ZodString;
565
630
  }, z.core.$strip>;
566
631
  type WritablePointOfSaleTimeOverride = z.infer<typeof writablePointOfSaleTimeOverrideSchema>;
567
632
  declare const pointOfSalesQuerySchema: z.ZodObject<{
@@ -2029,6 +2094,118 @@ declare class DeletePointOfSale extends AbstractApiRequest<typeof deletePointOfS
2029
2094
  getPath(): string;
2030
2095
  }
2031
2096
 
2097
+ declare const getAvailablePointOfSaleDeliveryTimesQuerySchema: z.ZodObject<{
2098
+ date: z.ZodString;
2099
+ address: z.ZodString;
2100
+ countableItems: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2101
+ }, z.core.$strip>;
2102
+ type GetAvailablePointOfSaleDeliveryTimesQueryParams = z.infer<typeof getAvailablePointOfSaleDeliveryTimesQuerySchema>;
2103
+ declare const getAvailablePointOfSaleDeliveryTimesInputSchema: z.ZodUndefined;
2104
+ type GetAvailablePointOfSaleDeliveryTimesInput = z.input<typeof getAvailablePointOfSaleDeliveryTimesInputSchema>;
2105
+ declare const getAvailablePointOfSaleDeliveryTimesResponseSchema: z.ZodArray<z.ZodObject<{
2106
+ start: z.ZodString;
2107
+ end: z.ZodString;
2108
+ times: z.ZodArray<z.ZodObject<{
2109
+ time: z.ZodString;
2110
+ valid: z.ZodBoolean;
2111
+ free: z.ZodBoolean;
2112
+ invalidReason: z.ZodEnum<{
2113
+ pos_closed: "pos_closed";
2114
+ no_slot_found: "no_slot_found";
2115
+ first_time_not_available: "first_time_not_available";
2116
+ journey_outside_slot: "journey_outside_slot";
2117
+ }>;
2118
+ }, z.core.$strip>>;
2119
+ }, z.core.$strip>>;
2120
+ type GetAvailablePointOfSaleDeliveryTimesResponse = z.infer<typeof getAvailablePointOfSaleDeliveryTimesResponseSchema>;
2121
+ declare class GetAvailablePointOfSaleDeliveryTimes extends AbstractApiRequest<typeof getAvailablePointOfSaleDeliveryTimesInputSchema, typeof getAvailablePointOfSaleDeliveryTimesResponseSchema, GetAvailablePointOfSaleDeliveryTimesQueryParams> {
2122
+ readonly method = "GET";
2123
+ readonly contentType = "application/json";
2124
+ readonly accept = "application/json";
2125
+ readonly inputSchema: z.ZodUndefined;
2126
+ readonly outputSchema: z.ZodArray<z.ZodObject<{
2127
+ start: z.ZodString;
2128
+ end: z.ZodString;
2129
+ times: z.ZodArray<z.ZodObject<{
2130
+ time: z.ZodString;
2131
+ valid: z.ZodBoolean;
2132
+ free: z.ZodBoolean;
2133
+ invalidReason: z.ZodEnum<{
2134
+ pos_closed: "pos_closed";
2135
+ no_slot_found: "no_slot_found";
2136
+ first_time_not_available: "first_time_not_available";
2137
+ journey_outside_slot: "journey_outside_slot";
2138
+ }>;
2139
+ }, z.core.$strip>>;
2140
+ }, z.core.$strip>>;
2141
+ readonly querySchema: z.ZodObject<{
2142
+ date: z.ZodString;
2143
+ address: z.ZodString;
2144
+ countableItems: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2145
+ }, z.core.$strip>;
2146
+ readonly headersSchema: undefined;
2147
+ private readonly pointOfSaleId;
2148
+ constructor(pointOfSaleId: string, options: {
2149
+ query: GetAvailablePointOfSaleDeliveryTimesQueryParams;
2150
+ });
2151
+ getPath(): string;
2152
+ parseResponse(data: unknown): GetAvailablePointOfSaleDeliveryTimesResponse;
2153
+ }
2154
+
2155
+ declare const getAvailablePointOfSaleTakeAwayTimesQuerySchema: z.ZodObject<{
2156
+ date: z.ZodString;
2157
+ countableItems: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2158
+ }, z.core.$strip>;
2159
+ type GetAvailablePointOfSaleTakeAwayTimesQueryParams = z.infer<typeof getAvailablePointOfSaleTakeAwayTimesQuerySchema>;
2160
+ declare const getAvailablePointOfSaleTakeAwayTimesInputSchema: z.ZodUndefined;
2161
+ type GetAvailablePointOfSaleTakeAwayTimesInput = z.input<typeof getAvailablePointOfSaleTakeAwayTimesInputSchema>;
2162
+ declare const getAvailablePointOfSaleTakeAwayTimesResponseSchema: z.ZodArray<z.ZodObject<{
2163
+ start: z.ZodString;
2164
+ end: z.ZodString;
2165
+ times: z.ZodArray<z.ZodObject<{
2166
+ time: z.ZodString;
2167
+ valid: z.ZodBoolean;
2168
+ free: z.ZodBoolean;
2169
+ invalidReason: z.ZodEnum<{
2170
+ pos_closed: "pos_closed";
2171
+ no_slot_found: "no_slot_found";
2172
+ first_time_not_available: "first_time_not_available";
2173
+ }>;
2174
+ }, z.core.$strip>>;
2175
+ }, z.core.$strip>>;
2176
+ type GetAvailablePointOfSaleTakeAwayTimesResponse = z.infer<typeof getAvailablePointOfSaleTakeAwayTimesResponseSchema>;
2177
+ declare class GetAvailablePointOfSaleTakeAwayTimes extends AbstractApiRequest<typeof getAvailablePointOfSaleTakeAwayTimesInputSchema, typeof getAvailablePointOfSaleTakeAwayTimesResponseSchema, GetAvailablePointOfSaleTakeAwayTimesQueryParams> {
2178
+ readonly method = "GET";
2179
+ readonly contentType = "application/json";
2180
+ readonly accept = "application/json";
2181
+ readonly inputSchema: z.ZodUndefined;
2182
+ readonly outputSchema: z.ZodArray<z.ZodObject<{
2183
+ start: z.ZodString;
2184
+ end: z.ZodString;
2185
+ times: z.ZodArray<z.ZodObject<{
2186
+ time: z.ZodString;
2187
+ valid: z.ZodBoolean;
2188
+ free: z.ZodBoolean;
2189
+ invalidReason: z.ZodEnum<{
2190
+ pos_closed: "pos_closed";
2191
+ no_slot_found: "no_slot_found";
2192
+ first_time_not_available: "first_time_not_available";
2193
+ }>;
2194
+ }, z.core.$strip>>;
2195
+ }, z.core.$strip>>;
2196
+ readonly querySchema: z.ZodObject<{
2197
+ date: z.ZodString;
2198
+ countableItems: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2199
+ }, z.core.$strip>;
2200
+ readonly headersSchema: undefined;
2201
+ private readonly pointOfSaleId;
2202
+ constructor(pointOfSaleId: string, options: {
2203
+ query: GetAvailablePointOfSaleTakeAwayTimesQueryParams;
2204
+ });
2205
+ getPath(): string;
2206
+ parseResponse(data: unknown): GetAvailablePointOfSaleTakeAwayTimesResponse;
2207
+ }
2208
+
2032
2209
  declare const getCompanyPointOfSalesQuerySchema: z.ZodObject<{
2033
2210
  name: z.ZodOptional<z.ZodString>;
2034
2211
  openingStatus: z.ZodOptional<z.ZodEnum<{
@@ -2370,6 +2547,96 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
2370
2547
  getPath(): string;
2371
2548
  }
2372
2549
 
2550
+ declare const getPointOfSaleMenuVersionDetailsInputSchema: z.ZodUndefined;
2551
+ type GetPointOfSaleMenuVersionDetailsInput = z.input<typeof getPointOfSaleMenuVersionDetailsInputSchema>;
2552
+ declare const getPointOfSaleMenuVersionDetailsResponseSchema: z.ZodObject<{
2553
+ id: z.ZodString;
2554
+ contentUrl: z.ZodString;
2555
+ filePath: z.ZodString;
2556
+ createdAt: z.ZodString;
2557
+ updatedAt: z.ZodString;
2558
+ 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>>;
2559
+ }, z.core.$strip>;
2560
+ type GetPointOfSaleMenuVersionDetailsResponse = MenuVersionDetails;
2561
+ declare class GetPointOfSaleMenuVersionDetails extends AbstractApiRequest<typeof getPointOfSaleMenuVersionDetailsInputSchema, typeof getPointOfSaleMenuVersionDetailsResponseSchema> {
2562
+ readonly method = "GET";
2563
+ readonly contentType = "application/json";
2564
+ readonly accept = "application/json";
2565
+ readonly inputSchema: z.ZodUndefined;
2566
+ readonly outputSchema: z.ZodObject<{
2567
+ id: z.ZodString;
2568
+ contentUrl: z.ZodString;
2569
+ filePath: z.ZodString;
2570
+ createdAt: z.ZodString;
2571
+ updatedAt: z.ZodString;
2572
+ 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>>;
2573
+ }, z.core.$strip>;
2574
+ readonly querySchema: undefined;
2575
+ readonly headersSchema: undefined;
2576
+ private readonly pointOfSaleId;
2577
+ private readonly versionId;
2578
+ constructor(pointOfSaleId: string, versionId: string);
2579
+ getPath(): string;
2580
+ }
2581
+
2582
+ declare const getPointOfSaleMenuVersionsQuerySchema: z.ZodObject<{
2583
+ page: z.ZodOptional<z.ZodNumber>;
2584
+ }, z.core.$strip>;
2585
+ type GetPointOfSaleMenuVersionsQueryParams = z.infer<typeof getPointOfSaleMenuVersionsQuerySchema>;
2586
+ declare const getPointOfSaleMenuVersionsInputSchema: z.ZodUndefined;
2587
+ type GetPointOfSaleMenuVersionsInput = z.infer<typeof getPointOfSaleMenuVersionsInputSchema>;
2588
+ declare const getPointOfSaleMenuVersionsResponseSchema: z.ZodObject<{
2589
+ data: z.ZodArray<z.ZodObject<{
2590
+ id: z.ZodString;
2591
+ contentUrl: z.ZodString;
2592
+ filePath: z.ZodString;
2593
+ createdAt: z.ZodString;
2594
+ updatedAt: z.ZodString;
2595
+ }, z.core.$strip>>;
2596
+ pagination: z.ZodObject<{
2597
+ from: z.ZodNumber;
2598
+ to: z.ZodNumber;
2599
+ itemsPerPage: z.ZodNumber;
2600
+ totalItems: z.ZodNumber;
2601
+ currentPage: z.ZodNumber;
2602
+ lastPage: z.ZodNumber;
2603
+ }, z.core.$strip>;
2604
+ }, z.core.$strip>;
2605
+ type GetPointOfSaleMenuVersionsResponse = z.infer<typeof getPointOfSaleMenuVersionsResponseSchema>;
2606
+ declare class GetPointOfSaleMenuVersions extends AbstractApiRequest<typeof getPointOfSaleMenuVersionsInputSchema, typeof getPointOfSaleMenuVersionsResponseSchema, GetPointOfSaleMenuVersionsQueryParams> {
2607
+ readonly method = "GET";
2608
+ readonly contentType = "application/json";
2609
+ readonly accept = "application/json";
2610
+ readonly inputSchema: z.ZodUndefined;
2611
+ readonly outputSchema: z.ZodObject<{
2612
+ data: z.ZodArray<z.ZodObject<{
2613
+ id: z.ZodString;
2614
+ contentUrl: z.ZodString;
2615
+ filePath: z.ZodString;
2616
+ createdAt: z.ZodString;
2617
+ updatedAt: z.ZodString;
2618
+ }, z.core.$strip>>;
2619
+ pagination: z.ZodObject<{
2620
+ from: z.ZodNumber;
2621
+ to: z.ZodNumber;
2622
+ itemsPerPage: z.ZodNumber;
2623
+ totalItems: z.ZodNumber;
2624
+ currentPage: z.ZodNumber;
2625
+ lastPage: z.ZodNumber;
2626
+ }, z.core.$strip>;
2627
+ }, z.core.$strip>;
2628
+ readonly querySchema: z.ZodObject<{
2629
+ page: z.ZodOptional<z.ZodNumber>;
2630
+ }, z.core.$strip>;
2631
+ readonly headersSchema: undefined;
2632
+ private readonly pointOfSaleId;
2633
+ constructor(pointOfSaleId: string, options?: {
2634
+ query?: GetPointOfSaleMenuVersionsQueryParams;
2635
+ });
2636
+ getPath(): string;
2637
+ parseResponse(data: unknown, rawResponse: Response): Paginated<MenuVersion>;
2638
+ }
2639
+
2373
2640
  declare const getPointOfSalesQuerySchema: z.ZodObject<{
2374
2641
  name: z.ZodOptional<z.ZodString>;
2375
2642
  openingStatus: z.ZodOptional<z.ZodEnum<{
@@ -2881,6 +3148,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
2881
3148
  }
2882
3149
 
2883
3150
  declare const createPointOfSaleTimeOverrideInputSchema: z.ZodObject<{
3151
+ date: z.ZodNonOptional<z.ZodString>;
2884
3152
  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>>>;
2885
3153
  openingTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
2886
3154
  startTime: z.ZodString;
@@ -2895,7 +3163,6 @@ declare const createPointOfSaleTimeOverrideInputSchema: z.ZodObject<{
2895
3163
  startTime: z.ZodString;
2896
3164
  endTime: z.ZodString;
2897
3165
  }, z.core.$strip>>>;
2898
- date: z.ZodNonOptional<z.ZodString>;
2899
3166
  }, z.core.$strip>;
2900
3167
  type CreatePointOfSaleTimeOverrideInput = z.input<typeof createPointOfSaleTimeOverrideInputSchema>;
2901
3168
  declare const createPointOfSaleTimeOverrideResponseSchema: z.ZodObject<{
@@ -2924,6 +3191,7 @@ declare class CreatePointOfSaleTimeOverride extends AbstractApiRequest<typeof cr
2924
3191
  readonly contentType = "application/json";
2925
3192
  readonly accept = "application/json";
2926
3193
  readonly inputSchema: z.ZodObject<{
3194
+ date: z.ZodNonOptional<z.ZodString>;
2927
3195
  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>>>;
2928
3196
  openingTimeSettings: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
2929
3197
  startTime: z.ZodString;
@@ -2938,7 +3206,6 @@ declare class CreatePointOfSaleTimeOverride extends AbstractApiRequest<typeof cr
2938
3206
  startTime: z.ZodString;
2939
3207
  endTime: z.ZodString;
2940
3208
  }, z.core.$strip>>>;
2941
- date: z.ZodNonOptional<z.ZodString>;
2942
3209
  }, z.core.$strip>;
2943
3210
  readonly outputSchema: z.ZodObject<{
2944
3211
  id: z.ZodString;
@@ -3296,6 +3563,7 @@ declare class GetPointOfSaleTimeOverridesFromPointOfSale extends AbstractApiRequ
3296
3563
  }
3297
3564
 
3298
3565
  declare const updatePointOfSaleTimeOverrideInputSchema: z.ZodObject<{
3566
+ date: z.ZodOptional<z.ZodString>;
3299
3567
  openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3300
3568
  startTime: z.ZodString;
3301
3569
  endTime: z.ZodString;
@@ -3309,7 +3577,6 @@ declare const updatePointOfSaleTimeOverrideInputSchema: z.ZodObject<{
3309
3577
  startTime: z.ZodString;
3310
3578
  endTime: z.ZodString;
3311
3579
  }, z.core.$strip>>>;
3312
- date: z.ZodOptional<z.ZodString>;
3313
3580
  }, z.core.$strip>;
3314
3581
  type UpdatePointOfSaleTimeOverrideInput = z.input<typeof updatePointOfSaleTimeOverrideInputSchema>;
3315
3582
  declare const updatePointOfSaleTimeOverrideResponseSchema: z.ZodObject<{
@@ -3338,6 +3605,7 @@ declare class UpdatePointOfSaleTimeOverride extends AbstractApiRequest<typeof up
3338
3605
  readonly contentType = "application/merge-patch+json";
3339
3606
  readonly accept = "application/json";
3340
3607
  readonly inputSchema: z.ZodObject<{
3608
+ date: z.ZodOptional<z.ZodString>;
3341
3609
  openingTimeSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3342
3610
  startTime: z.ZodString;
3343
3611
  endTime: z.ZodString;
@@ -3351,7 +3619,6 @@ declare class UpdatePointOfSaleTimeOverride extends AbstractApiRequest<typeof up
3351
3619
  startTime: z.ZodString;
3352
3620
  endTime: z.ZodString;
3353
3621
  }, z.core.$strip>>>;
3354
- date: z.ZodOptional<z.ZodString>;
3355
3622
  }, z.core.$strip>;
3356
3623
  readonly outputSchema: z.ZodObject<{
3357
3624
  id: z.ZodString;
@@ -3397,6 +3664,21 @@ declare const pointOfSaleUserRoleSchema: z.ZodEnum<{
3397
3664
  ROLE_READER: "ROLE_READER";
3398
3665
  }>;
3399
3666
  type PointOfSaleUserRole = z.infer<typeof pointOfSaleUserRoleSchema>;
3667
+ declare const invalidDeliveryTimeCauses: readonly ["pos_closed", "no_slot_found", "first_time_not_available", "journey_outside_slot"];
3668
+ declare const invalidDeliveryTimeCauseSchema: z.ZodEnum<{
3669
+ pos_closed: "pos_closed";
3670
+ no_slot_found: "no_slot_found";
3671
+ first_time_not_available: "first_time_not_available";
3672
+ journey_outside_slot: "journey_outside_slot";
3673
+ }>;
3674
+ type InvalidDeliveryTimeCause = z.infer<typeof invalidDeliveryTimeCauseSchema>;
3675
+ declare const invalidTakeAwayTimeCauses: readonly ["pos_closed", "no_slot_found", "first_time_not_available"];
3676
+ declare const invalidTakeAwayTimeCauseSchema: z.ZodEnum<{
3677
+ pos_closed: "pos_closed";
3678
+ no_slot_found: "no_slot_found";
3679
+ first_time_not_available: "first_time_not_available";
3680
+ }>;
3681
+ type InvalidTakeAwayTimeCause = z.infer<typeof invalidTakeAwayTimeCauseSchema>;
3400
3682
  declare const pointOfSaleIriSchema: 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>>;
3401
3683
  type PointOfSaleIri = z.infer<typeof pointOfSaleIriSchema>;
3402
3684
  declare const pointOfSaleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null, unknown>>;
@@ -3406,4 +3688,4 @@ type PointOfSaleMenuVersionIri = z.infer<typeof pointOfSaleMenuVersionIriSchema>
3406
3688
  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>>;
3407
3689
  type PointOfSaleMenuVersionNullableIri = z.infer<typeof pointOfSaleMenuVersionNullableIriSchema>;
3408
3690
 
3409
- 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 IntegrationsStats, 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, integrationsStatsSchema, 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 };
3691
+ export { type AvailableDeliveryTimeSlot, type AvailableDeliveryTimesQueryParams, type AvailableTakeAwayTimeSlot, type AvailableTakeAwayTimesQueryParams, CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, CreatePointOfSaleTimeOverride, type CreatePointOfSaleTimeOverrideInput, type CreatePointOfSaleTimeOverrideResponse, DeletePointOfSale, DeletePointOfSaleTimeOverride, DeletePointOfSaleUser, type DeliveryTimeItem, type DeliveryTimeSetting, GetAvailablePointOfSaleDeliveryTimes, type GetAvailablePointOfSaleDeliveryTimesInput, type GetAvailablePointOfSaleDeliveryTimesQueryParams, type GetAvailablePointOfSaleDeliveryTimesResponse, GetAvailablePointOfSaleTakeAwayTimes, type GetAvailablePointOfSaleTakeAwayTimesInput, type GetAvailablePointOfSaleTakeAwayTimesQueryParams, type GetAvailablePointOfSaleTakeAwayTimesResponse, GetCompanyPointOfSales, type GetCompanyPointOfSalesInput, type GetCompanyPointOfSalesQueryParams, type GetCompanyPointOfSalesResponse, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, GetPointOfSaleMenuVersionDetails, type GetPointOfSaleMenuVersionDetailsInput, type GetPointOfSaleMenuVersionDetailsResponse, GetPointOfSaleMenuVersions, type GetPointOfSaleMenuVersionsInput, type GetPointOfSaleMenuVersionsQueryParams, type GetPointOfSaleMenuVersionsResponse, 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 IntegrationsStats, type InvalidDeliveryTimeCause, type InvalidTakeAwayTimeCause, 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 TakeAwayTimeItem, 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, availableDeliveryTimeItemSchema, availableDeliveryTimeSlotSchema, availableDeliveryTimesQuerySchema, availableTakeAwayTimeItemSchema, availableTakeAwayTimeSlotSchema, availableTakeAwayTimesQuerySchema, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, createPointOfSaleTimeOverrideInputSchema, createPointOfSaleTimeOverrideResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deletePointOfSaleTimeOverrideInputSchema, deletePointOfSaleTimeOverrideResponseSchema, deletePointOfSaleUserInputSchema, deletePointOfSaleUserResponseSchema, deliveryTimeSettingSchema, getAvailablePointOfSaleDeliveryTimesInputSchema, getAvailablePointOfSaleDeliveryTimesQuerySchema, getAvailablePointOfSaleDeliveryTimesResponseSchema, getAvailablePointOfSaleTakeAwayTimesInputSchema, getAvailablePointOfSaleTakeAwayTimesQuerySchema, getAvailablePointOfSaleTakeAwayTimesResponseSchema, getCompanyPointOfSalesInputSchema, getCompanyPointOfSalesQuerySchema, getCompanyPointOfSalesResponseSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, getPointOfSaleMenuVersionDetailsInputSchema, getPointOfSaleMenuVersionDetailsResponseSchema, getPointOfSaleMenuVersionsInputSchema, getPointOfSaleMenuVersionsQuerySchema, getPointOfSaleMenuVersionsResponseSchema, getPointOfSaleTimeOverrideDetailsInputSchema, getPointOfSaleTimeOverrideDetailsResponseSchema, getPointOfSaleTimeOverridesFromPointOfSaleInputSchema, getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema, getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema, getPointOfSaleTimeOverridesInputSchema, getPointOfSaleTimeOverridesQuerySchema, getPointOfSaleTimeOverridesResponseSchema, getPointOfSaleUserDetailsInputSchema, getPointOfSaleUserDetailsResponseSchema, getPointOfSaleUsersFromPointOfSaleInputSchema, getPointOfSaleUsersFromPointOfSaleQuerySchema, getPointOfSaleUsersFromPointOfSaleResponseSchema, getPointOfSaleUsersFromUserInputSchema, getPointOfSaleUsersFromUserQuerySchema, getPointOfSaleUsersFromUserResponseSchema, getPointOfSaleUsersInputSchema, getPointOfSaleUsersQuerySchema, getPointOfSaleUsersResponseSchema, getPointOfSalesInputSchema, getPointOfSalesQuerySchema, getPointOfSalesResponseSchema, integrationsStatsSchema, invalidDeliveryTimeCauseSchema, invalidDeliveryTimeCauses, invalidTakeAwayTimeCauseSchema, invalidTakeAwayTimeCauses, 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 };