@deliverart/sdk-js-point-of-sale 2.2.0 → 2.2.2
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 +9 -9
- package/dist/index.d.cts +203 -203
- package/dist/index.d.ts +203 -203
- package/dist/index.js +9 -9
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -39,19 +39,19 @@ type DeliveryTimeSetting = z.infer<typeof deliveryTimeSettingSchema>;
|
|
|
39
39
|
declare const overlappedAvailableBookingCompositionItemSchema: z.ZodObject<{
|
|
40
40
|
id: z.ZodString;
|
|
41
41
|
isDelivery: z.ZodBoolean;
|
|
42
|
-
countableItems: z.
|
|
42
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
43
43
|
}, z.core.$strip>;
|
|
44
44
|
type OverlappedAvailableBookingCompositionItem = z.infer<typeof overlappedAvailableBookingCompositionItemSchema>;
|
|
45
45
|
declare const overlappedAvailableBookingSchema: z.ZodObject<{
|
|
46
46
|
id: z.ZodString;
|
|
47
47
|
locked: z.ZodBoolean;
|
|
48
|
-
totalCountableItems: z.
|
|
48
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
49
49
|
start: z.ZodString;
|
|
50
50
|
end: z.ZodString;
|
|
51
51
|
compositions: z.ZodArray<z.ZodObject<{
|
|
52
52
|
id: z.ZodString;
|
|
53
53
|
isDelivery: z.ZodBoolean;
|
|
54
|
-
countableItems: z.
|
|
54
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
55
55
|
}, z.core.$strip>>;
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
type OverlappedAvailableBooking = z.infer<typeof overlappedAvailableBookingSchema>;
|
|
@@ -68,13 +68,13 @@ declare const availableDeliveryTimeItemSchema: z.ZodObject<{
|
|
|
68
68
|
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
69
69
|
id: z.ZodString;
|
|
70
70
|
locked: z.ZodBoolean;
|
|
71
|
-
totalCountableItems: z.
|
|
71
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
72
72
|
start: z.ZodString;
|
|
73
73
|
end: z.ZodString;
|
|
74
74
|
compositions: z.ZodArray<z.ZodObject<{
|
|
75
75
|
id: z.ZodString;
|
|
76
76
|
isDelivery: z.ZodBoolean;
|
|
77
|
-
countableItems: z.
|
|
77
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
78
78
|
}, z.core.$strip>>;
|
|
79
79
|
}, z.core.$strip>>;
|
|
80
80
|
}, z.core.$strip>;
|
|
@@ -95,13 +95,13 @@ declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
|
|
|
95
95
|
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
96
96
|
id: z.ZodString;
|
|
97
97
|
locked: z.ZodBoolean;
|
|
98
|
-
totalCountableItems: z.
|
|
98
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
99
99
|
start: z.ZodString;
|
|
100
100
|
end: z.ZodString;
|
|
101
101
|
compositions: z.ZodArray<z.ZodObject<{
|
|
102
102
|
id: z.ZodString;
|
|
103
103
|
isDelivery: z.ZodBoolean;
|
|
104
|
-
countableItems: z.
|
|
104
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
105
105
|
}, z.core.$strip>>;
|
|
106
106
|
}, z.core.$strip>>;
|
|
107
107
|
}, z.core.$strip>>;
|
|
@@ -126,13 +126,13 @@ declare const availableTakeAwayTimeItemSchema: z.ZodObject<{
|
|
|
126
126
|
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
127
127
|
id: z.ZodString;
|
|
128
128
|
locked: z.ZodBoolean;
|
|
129
|
-
totalCountableItems: z.
|
|
129
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
130
130
|
start: z.ZodString;
|
|
131
131
|
end: z.ZodString;
|
|
132
132
|
compositions: z.ZodArray<z.ZodObject<{
|
|
133
133
|
id: z.ZodString;
|
|
134
134
|
isDelivery: z.ZodBoolean;
|
|
135
|
-
countableItems: z.
|
|
135
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
136
136
|
}, z.core.$strip>>;
|
|
137
137
|
}, z.core.$strip>>;
|
|
138
138
|
}, z.core.$strip>;
|
|
@@ -152,13 +152,13 @@ declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
|
|
|
152
152
|
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
153
153
|
id: z.ZodString;
|
|
154
154
|
locked: z.ZodBoolean;
|
|
155
|
-
totalCountableItems: z.
|
|
155
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
156
156
|
start: z.ZodString;
|
|
157
157
|
end: z.ZodString;
|
|
158
158
|
compositions: z.ZodArray<z.ZodObject<{
|
|
159
159
|
id: z.ZodString;
|
|
160
160
|
isDelivery: z.ZodBoolean;
|
|
161
|
-
countableItems: z.
|
|
161
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
162
162
|
}, z.core.$strip>>;
|
|
163
163
|
}, z.core.$strip>>;
|
|
164
164
|
}, z.core.$strip>>;
|
|
@@ -170,11 +170,11 @@ declare const availableTakeAwayTimesQuerySchema: z.ZodObject<{
|
|
|
170
170
|
}, z.core.$strip>;
|
|
171
171
|
type AvailableTakeAwayTimesQueryParams = z.infer<typeof availableTakeAwayTimesQuerySchema>;
|
|
172
172
|
declare const integrationsStatsSchema: z.ZodObject<{
|
|
173
|
-
integrationsCount: z.
|
|
174
|
-
pendingIntegrationsCount: z.
|
|
175
|
-
erroringIntegrationsCount: z.
|
|
176
|
-
activationRequestsCount: z.
|
|
177
|
-
cancellationRequestsCount: z.
|
|
173
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
174
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
175
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
176
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
177
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
178
178
|
}, z.core.$strip>;
|
|
179
179
|
type IntegrationsStats = z.infer<typeof integrationsStatsSchema>;
|
|
180
180
|
declare const pointOfSaleSchema: z.ZodObject<{
|
|
@@ -203,11 +203,11 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
203
203
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
204
204
|
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>>;
|
|
205
205
|
integrationsStats: z.ZodObject<{
|
|
206
|
-
integrationsCount: z.
|
|
207
|
-
pendingIntegrationsCount: z.
|
|
208
|
-
erroringIntegrationsCount: z.
|
|
209
|
-
activationRequestsCount: z.
|
|
210
|
-
cancellationRequestsCount: z.
|
|
206
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
207
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
208
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
209
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
210
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
211
211
|
}, z.core.$strip>;
|
|
212
212
|
createdAt: z.ZodString;
|
|
213
213
|
updatedAt: z.ZodString;
|
|
@@ -240,11 +240,11 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
240
240
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
241
241
|
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>>;
|
|
242
242
|
integrationsStats: z.ZodObject<{
|
|
243
|
-
integrationsCount: z.
|
|
244
|
-
pendingIntegrationsCount: z.
|
|
245
|
-
erroringIntegrationsCount: z.
|
|
246
|
-
activationRequestsCount: z.
|
|
247
|
-
cancellationRequestsCount: z.
|
|
243
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
244
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
245
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
246
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
247
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
248
248
|
}, z.core.$strip>;
|
|
249
249
|
createdAt: z.ZodString;
|
|
250
250
|
updatedAt: z.ZodString;
|
|
@@ -333,11 +333,11 @@ declare const pointOfSaleUserSchema: z.ZodObject<{
|
|
|
333
333
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
334
334
|
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>>;
|
|
335
335
|
integrationsStats: z.ZodObject<{
|
|
336
|
-
integrationsCount: z.
|
|
337
|
-
pendingIntegrationsCount: z.
|
|
338
|
-
erroringIntegrationsCount: z.
|
|
339
|
-
activationRequestsCount: z.
|
|
340
|
-
cancellationRequestsCount: z.
|
|
336
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
337
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
338
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
339
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
340
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
341
341
|
}, z.core.$strip>;
|
|
342
342
|
createdAt: z.ZodString;
|
|
343
343
|
updatedAt: z.ZodString;
|
|
@@ -395,11 +395,11 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
395
395
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
396
396
|
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>>;
|
|
397
397
|
integrationsStats: z.ZodObject<{
|
|
398
|
-
integrationsCount: z.
|
|
399
|
-
pendingIntegrationsCount: z.
|
|
400
|
-
erroringIntegrationsCount: z.
|
|
401
|
-
activationRequestsCount: z.
|
|
402
|
-
cancellationRequestsCount: z.
|
|
398
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
399
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
400
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
401
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
402
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
403
403
|
}, z.core.$strip>;
|
|
404
404
|
createdAt: z.ZodString;
|
|
405
405
|
updatedAt: z.ZodString;
|
|
@@ -463,7 +463,7 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
463
463
|
endTime: z.ZodString;
|
|
464
464
|
}, z.core.$strip>>;
|
|
465
465
|
}, z.core.$strip>>;
|
|
466
|
-
numberOfCouriers: z.
|
|
466
|
+
numberOfCouriers: z.ZodCoercedNumber<unknown>;
|
|
467
467
|
}, z.core.$strip>;
|
|
468
468
|
type PointOfSaleDetails = z.infer<typeof pointOfSaleDetailsSchema>;
|
|
469
469
|
declare const writablePointOfSaleSchema: z.ZodObject<{
|
|
@@ -866,11 +866,11 @@ declare const getPointOfSaleUserDetailsResponseSchema: z.ZodObject<{
|
|
|
866
866
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
867
867
|
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>>;
|
|
868
868
|
integrationsStats: z.ZodObject<{
|
|
869
|
-
integrationsCount: z.
|
|
870
|
-
pendingIntegrationsCount: z.
|
|
871
|
-
erroringIntegrationsCount: z.
|
|
872
|
-
activationRequestsCount: z.
|
|
873
|
-
cancellationRequestsCount: z.
|
|
869
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
870
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
871
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
872
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
873
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
874
874
|
}, z.core.$strip>;
|
|
875
875
|
createdAt: z.ZodString;
|
|
876
876
|
updatedAt: z.ZodString;
|
|
@@ -966,11 +966,11 @@ declare class GetPointOfSaleUserDetails extends AbstractApiRequest<typeof getPoi
|
|
|
966
966
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
967
967
|
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>>;
|
|
968
968
|
integrationsStats: z.ZodObject<{
|
|
969
|
-
integrationsCount: z.
|
|
970
|
-
pendingIntegrationsCount: z.
|
|
971
|
-
erroringIntegrationsCount: z.
|
|
972
|
-
activationRequestsCount: z.
|
|
973
|
-
cancellationRequestsCount: z.
|
|
969
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
970
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
971
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
972
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
973
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
974
974
|
}, z.core.$strip>;
|
|
975
975
|
createdAt: z.ZodString;
|
|
976
976
|
updatedAt: z.ZodString;
|
|
@@ -1091,11 +1091,11 @@ declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
|
1091
1091
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1092
1092
|
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>>;
|
|
1093
1093
|
integrationsStats: z.ZodObject<{
|
|
1094
|
-
integrationsCount: z.
|
|
1095
|
-
pendingIntegrationsCount: z.
|
|
1096
|
-
erroringIntegrationsCount: z.
|
|
1097
|
-
activationRequestsCount: z.
|
|
1098
|
-
cancellationRequestsCount: z.
|
|
1094
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1095
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1096
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1097
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1098
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1099
1099
|
}, z.core.$strip>;
|
|
1100
1100
|
createdAt: z.ZodString;
|
|
1101
1101
|
updatedAt: z.ZodString;
|
|
@@ -1108,12 +1108,12 @@ declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
|
1108
1108
|
updatedAt: z.ZodString;
|
|
1109
1109
|
}, z.core.$strip>>;
|
|
1110
1110
|
pagination: z.ZodObject<{
|
|
1111
|
-
from: z.
|
|
1112
|
-
to: z.
|
|
1113
|
-
itemsPerPage: z.
|
|
1114
|
-
totalItems: z.
|
|
1115
|
-
currentPage: z.
|
|
1116
|
-
lastPage: z.
|
|
1111
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1112
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1113
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1114
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1115
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1116
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1117
1117
|
}, z.core.$strip>;
|
|
1118
1118
|
}, z.core.$strip>;
|
|
1119
1119
|
type GetPointOfSaleUsersResponse = z.infer<typeof getPointOfSaleUsersResponseSchema>;
|
|
@@ -1201,11 +1201,11 @@ declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSa
|
|
|
1201
1201
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1202
1202
|
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>>;
|
|
1203
1203
|
integrationsStats: z.ZodObject<{
|
|
1204
|
-
integrationsCount: z.
|
|
1205
|
-
pendingIntegrationsCount: z.
|
|
1206
|
-
erroringIntegrationsCount: z.
|
|
1207
|
-
activationRequestsCount: z.
|
|
1208
|
-
cancellationRequestsCount: z.
|
|
1204
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1205
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1206
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1207
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1208
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1209
1209
|
}, z.core.$strip>;
|
|
1210
1210
|
createdAt: z.ZodString;
|
|
1211
1211
|
updatedAt: z.ZodString;
|
|
@@ -1218,12 +1218,12 @@ declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSa
|
|
|
1218
1218
|
updatedAt: z.ZodString;
|
|
1219
1219
|
}, z.core.$strip>>;
|
|
1220
1220
|
pagination: z.ZodObject<{
|
|
1221
|
-
from: z.
|
|
1222
|
-
to: z.
|
|
1223
|
-
itemsPerPage: z.
|
|
1224
|
-
totalItems: z.
|
|
1225
|
-
currentPage: z.
|
|
1226
|
-
lastPage: z.
|
|
1221
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1222
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1223
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1224
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1225
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1226
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1227
1227
|
}, z.core.$strip>;
|
|
1228
1228
|
}, z.core.$strip>;
|
|
1229
1229
|
readonly querySchema: z.ZodObject<{
|
|
@@ -1483,11 +1483,11 @@ declare const getPointOfSaleUsersFromUserResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1483
1483
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1484
1484
|
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>>;
|
|
1485
1485
|
integrationsStats: z.ZodObject<{
|
|
1486
|
-
integrationsCount: z.
|
|
1487
|
-
pendingIntegrationsCount: z.
|
|
1488
|
-
erroringIntegrationsCount: z.
|
|
1489
|
-
activationRequestsCount: z.
|
|
1490
|
-
cancellationRequestsCount: z.
|
|
1486
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1487
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1488
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1489
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1490
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1491
1491
|
}, z.core.$strip>;
|
|
1492
1492
|
createdAt: z.ZodString;
|
|
1493
1493
|
updatedAt: z.ZodString;
|
|
@@ -1533,11 +1533,11 @@ declare class GetPointOfSaleUsersFromUser extends AbstractApiRequest<typeof getP
|
|
|
1533
1533
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1534
1534
|
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>>;
|
|
1535
1535
|
integrationsStats: z.ZodObject<{
|
|
1536
|
-
integrationsCount: z.
|
|
1537
|
-
pendingIntegrationsCount: z.
|
|
1538
|
-
erroringIntegrationsCount: z.
|
|
1539
|
-
activationRequestsCount: z.
|
|
1540
|
-
cancellationRequestsCount: z.
|
|
1536
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1537
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1538
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1539
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1540
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1541
1541
|
}, z.core.$strip>;
|
|
1542
1542
|
createdAt: z.ZodString;
|
|
1543
1543
|
updatedAt: z.ZodString;
|
|
@@ -1661,11 +1661,11 @@ declare const updatePointOfSaleUserResponseSchema: z.ZodObject<{
|
|
|
1661
1661
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1662
1662
|
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>>;
|
|
1663
1663
|
integrationsStats: z.ZodObject<{
|
|
1664
|
-
integrationsCount: z.
|
|
1665
|
-
pendingIntegrationsCount: z.
|
|
1666
|
-
erroringIntegrationsCount: z.
|
|
1667
|
-
activationRequestsCount: z.
|
|
1668
|
-
cancellationRequestsCount: z.
|
|
1664
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1665
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1666
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1667
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1668
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1669
1669
|
}, z.core.$strip>;
|
|
1670
1670
|
createdAt: z.ZodString;
|
|
1671
1671
|
updatedAt: z.ZodString;
|
|
@@ -1766,11 +1766,11 @@ declare class UpdatePointOfSaleUser extends AbstractApiRequest<typeof updatePoin
|
|
|
1766
1766
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1767
1767
|
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>>;
|
|
1768
1768
|
integrationsStats: z.ZodObject<{
|
|
1769
|
-
integrationsCount: z.
|
|
1770
|
-
pendingIntegrationsCount: z.
|
|
1771
|
-
erroringIntegrationsCount: z.
|
|
1772
|
-
activationRequestsCount: z.
|
|
1773
|
-
cancellationRequestsCount: z.
|
|
1769
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1770
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1771
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1772
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1773
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1774
1774
|
}, z.core.$strip>;
|
|
1775
1775
|
createdAt: z.ZodString;
|
|
1776
1776
|
updatedAt: z.ZodString;
|
|
@@ -1893,11 +1893,11 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1893
1893
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1894
1894
|
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>>;
|
|
1895
1895
|
integrationsStats: z.ZodObject<{
|
|
1896
|
-
integrationsCount: z.
|
|
1897
|
-
pendingIntegrationsCount: z.
|
|
1898
|
-
erroringIntegrationsCount: z.
|
|
1899
|
-
activationRequestsCount: z.
|
|
1900
|
-
cancellationRequestsCount: z.
|
|
1896
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1897
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1898
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1899
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1900
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1901
1901
|
}, z.core.$strip>;
|
|
1902
1902
|
createdAt: z.ZodString;
|
|
1903
1903
|
updatedAt: z.ZodString;
|
|
@@ -1961,7 +1961,7 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1961
1961
|
endTime: z.ZodString;
|
|
1962
1962
|
}, z.core.$strip>>;
|
|
1963
1963
|
}, z.core.$strip>>;
|
|
1964
|
-
numberOfCouriers: z.
|
|
1964
|
+
numberOfCouriers: z.ZodCoercedNumber<unknown>;
|
|
1965
1965
|
}, z.core.$strip>;
|
|
1966
1966
|
type CreatePointOfSaleResponse = z.infer<typeof createPointOfSaleResponseSchema>;
|
|
1967
1967
|
declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfSaleInputSchema, typeof createPointOfSaleResponseSchema> {
|
|
@@ -2071,11 +2071,11 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
2071
2071
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2072
2072
|
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>>;
|
|
2073
2073
|
integrationsStats: z.ZodObject<{
|
|
2074
|
-
integrationsCount: z.
|
|
2075
|
-
pendingIntegrationsCount: z.
|
|
2076
|
-
erroringIntegrationsCount: z.
|
|
2077
|
-
activationRequestsCount: z.
|
|
2078
|
-
cancellationRequestsCount: z.
|
|
2074
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2075
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2076
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2077
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2078
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2079
2079
|
}, z.core.$strip>;
|
|
2080
2080
|
createdAt: z.ZodString;
|
|
2081
2081
|
updatedAt: z.ZodString;
|
|
@@ -2139,7 +2139,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
2139
2139
|
endTime: z.ZodString;
|
|
2140
2140
|
}, z.core.$strip>>;
|
|
2141
2141
|
}, z.core.$strip>>;
|
|
2142
|
-
numberOfCouriers: z.
|
|
2142
|
+
numberOfCouriers: z.ZodCoercedNumber<unknown>;
|
|
2143
2143
|
}, z.core.$strip>;
|
|
2144
2144
|
readonly querySchema: undefined;
|
|
2145
2145
|
readonly headersSchema: undefined;
|
|
@@ -2187,13 +2187,13 @@ declare const getAvailablePointOfSaleDeliveryTimesResponseSchema: z.ZodArray<z.Z
|
|
|
2187
2187
|
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2188
2188
|
id: z.ZodString;
|
|
2189
2189
|
locked: z.ZodBoolean;
|
|
2190
|
-
totalCountableItems: z.
|
|
2190
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2191
2191
|
start: z.ZodString;
|
|
2192
2192
|
end: z.ZodString;
|
|
2193
2193
|
compositions: z.ZodArray<z.ZodObject<{
|
|
2194
2194
|
id: z.ZodString;
|
|
2195
2195
|
isDelivery: z.ZodBoolean;
|
|
2196
|
-
countableItems: z.
|
|
2196
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
2197
2197
|
}, z.core.$strip>>;
|
|
2198
2198
|
}, z.core.$strip>>;
|
|
2199
2199
|
}, z.core.$strip>>;
|
|
@@ -2220,13 +2220,13 @@ declare class GetAvailablePointOfSaleDeliveryTimes extends AbstractApiRequest<ty
|
|
|
2220
2220
|
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2221
2221
|
id: z.ZodString;
|
|
2222
2222
|
locked: z.ZodBoolean;
|
|
2223
|
-
totalCountableItems: z.
|
|
2223
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2224
2224
|
start: z.ZodString;
|
|
2225
2225
|
end: z.ZodString;
|
|
2226
2226
|
compositions: z.ZodArray<z.ZodObject<{
|
|
2227
2227
|
id: z.ZodString;
|
|
2228
2228
|
isDelivery: z.ZodBoolean;
|
|
2229
|
-
countableItems: z.
|
|
2229
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
2230
2230
|
}, z.core.$strip>>;
|
|
2231
2231
|
}, z.core.$strip>>;
|
|
2232
2232
|
}, z.core.$strip>>;
|
|
@@ -2268,13 +2268,13 @@ declare const getAvailablePointOfSaleTakeAwayTimesResponseSchema: z.ZodArray<z.Z
|
|
|
2268
2268
|
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2269
2269
|
id: z.ZodString;
|
|
2270
2270
|
locked: z.ZodBoolean;
|
|
2271
|
-
totalCountableItems: z.
|
|
2271
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2272
2272
|
start: z.ZodString;
|
|
2273
2273
|
end: z.ZodString;
|
|
2274
2274
|
compositions: z.ZodArray<z.ZodObject<{
|
|
2275
2275
|
id: z.ZodString;
|
|
2276
2276
|
isDelivery: z.ZodBoolean;
|
|
2277
|
-
countableItems: z.
|
|
2277
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
2278
2278
|
}, z.core.$strip>>;
|
|
2279
2279
|
}, z.core.$strip>>;
|
|
2280
2280
|
}, z.core.$strip>>;
|
|
@@ -2300,13 +2300,13 @@ declare class GetAvailablePointOfSaleTakeAwayTimes extends AbstractApiRequest<ty
|
|
|
2300
2300
|
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2301
2301
|
id: z.ZodString;
|
|
2302
2302
|
locked: z.ZodBoolean;
|
|
2303
|
-
totalCountableItems: z.
|
|
2303
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2304
2304
|
start: z.ZodString;
|
|
2305
2305
|
end: z.ZodString;
|
|
2306
2306
|
compositions: z.ZodArray<z.ZodObject<{
|
|
2307
2307
|
id: z.ZodString;
|
|
2308
2308
|
isDelivery: z.ZodBoolean;
|
|
2309
|
-
countableItems: z.
|
|
2309
|
+
countableItems: z.ZodCoercedNumber<unknown>;
|
|
2310
2310
|
}, z.core.$strip>>;
|
|
2311
2311
|
}, z.core.$strip>>;
|
|
2312
2312
|
}, z.core.$strip>>;
|
|
@@ -2376,11 +2376,11 @@ declare const getCompanyPointOfSalesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
2376
2376
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2377
2377
|
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>>;
|
|
2378
2378
|
integrationsStats: z.ZodObject<{
|
|
2379
|
-
integrationsCount: z.
|
|
2380
|
-
pendingIntegrationsCount: z.
|
|
2381
|
-
erroringIntegrationsCount: z.
|
|
2382
|
-
activationRequestsCount: z.
|
|
2383
|
-
cancellationRequestsCount: z.
|
|
2379
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2380
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2381
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2382
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2383
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2384
2384
|
}, z.core.$strip>;
|
|
2385
2385
|
createdAt: z.ZodString;
|
|
2386
2386
|
updatedAt: z.ZodString;
|
|
@@ -2417,11 +2417,11 @@ declare class GetCompanyPointOfSales extends AbstractApiRequest<typeof getCompan
|
|
|
2417
2417
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2418
2418
|
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>>;
|
|
2419
2419
|
integrationsStats: z.ZodObject<{
|
|
2420
|
-
integrationsCount: z.
|
|
2421
|
-
pendingIntegrationsCount: z.
|
|
2422
|
-
erroringIntegrationsCount: z.
|
|
2423
|
-
activationRequestsCount: z.
|
|
2424
|
-
cancellationRequestsCount: z.
|
|
2420
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2421
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2422
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2423
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2424
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2425
2425
|
}, z.core.$strip>;
|
|
2426
2426
|
createdAt: z.ZodString;
|
|
2427
2427
|
updatedAt: z.ZodString;
|
|
@@ -2486,11 +2486,11 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2486
2486
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2487
2487
|
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>>;
|
|
2488
2488
|
integrationsStats: z.ZodObject<{
|
|
2489
|
-
integrationsCount: z.
|
|
2490
|
-
pendingIntegrationsCount: z.
|
|
2491
|
-
erroringIntegrationsCount: z.
|
|
2492
|
-
activationRequestsCount: z.
|
|
2493
|
-
cancellationRequestsCount: z.
|
|
2489
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2490
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2491
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2492
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2493
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2494
2494
|
}, z.core.$strip>;
|
|
2495
2495
|
createdAt: z.ZodString;
|
|
2496
2496
|
updatedAt: z.ZodString;
|
|
@@ -2554,7 +2554,7 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2554
2554
|
endTime: z.ZodString;
|
|
2555
2555
|
}, z.core.$strip>>;
|
|
2556
2556
|
}, z.core.$strip>>;
|
|
2557
|
-
numberOfCouriers: z.
|
|
2557
|
+
numberOfCouriers: z.ZodCoercedNumber<unknown>;
|
|
2558
2558
|
}, z.core.$strip>;
|
|
2559
2559
|
type GetPointOfSaleDetailsResponse = z.infer<typeof getPointOfSaleDetailsResponseSchema>;
|
|
2560
2560
|
declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOfSaleDetailsInputSchema, typeof getPointOfSaleDetailsResponseSchema> {
|
|
@@ -2588,11 +2588,11 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2588
2588
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2589
2589
|
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>>;
|
|
2590
2590
|
integrationsStats: z.ZodObject<{
|
|
2591
|
-
integrationsCount: z.
|
|
2592
|
-
pendingIntegrationsCount: z.
|
|
2593
|
-
erroringIntegrationsCount: z.
|
|
2594
|
-
activationRequestsCount: z.
|
|
2595
|
-
cancellationRequestsCount: z.
|
|
2591
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2592
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2593
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2594
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2595
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2596
2596
|
}, z.core.$strip>;
|
|
2597
2597
|
createdAt: z.ZodString;
|
|
2598
2598
|
updatedAt: z.ZodString;
|
|
@@ -2656,7 +2656,7 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2656
2656
|
endTime: z.ZodString;
|
|
2657
2657
|
}, z.core.$strip>>;
|
|
2658
2658
|
}, z.core.$strip>>;
|
|
2659
|
-
numberOfCouriers: z.
|
|
2659
|
+
numberOfCouriers: z.ZodCoercedNumber<unknown>;
|
|
2660
2660
|
}, z.core.$strip>;
|
|
2661
2661
|
readonly querySchema: undefined;
|
|
2662
2662
|
readonly headersSchema: undefined;
|
|
@@ -2698,7 +2698,7 @@ declare class GetPointOfSaleMenuVersionDetails extends AbstractApiRequest<typeof
|
|
|
2698
2698
|
}
|
|
2699
2699
|
|
|
2700
2700
|
declare const getPointOfSaleMenuVersionsQuerySchema: z.ZodObject<{
|
|
2701
|
-
page: z.ZodOptional<z.
|
|
2701
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2702
2702
|
}, z.core.$strip>;
|
|
2703
2703
|
type GetPointOfSaleMenuVersionsQueryParams = z.infer<typeof getPointOfSaleMenuVersionsQuerySchema>;
|
|
2704
2704
|
declare const getPointOfSaleMenuVersionsInputSchema: z.ZodUndefined;
|
|
@@ -2712,12 +2712,12 @@ declare const getPointOfSaleMenuVersionsResponseSchema: z.ZodObject<{
|
|
|
2712
2712
|
updatedAt: z.ZodString;
|
|
2713
2713
|
}, z.core.$strip>>;
|
|
2714
2714
|
pagination: z.ZodObject<{
|
|
2715
|
-
from: z.
|
|
2716
|
-
to: z.
|
|
2717
|
-
itemsPerPage: z.
|
|
2718
|
-
totalItems: z.
|
|
2719
|
-
currentPage: z.
|
|
2720
|
-
lastPage: z.
|
|
2715
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2716
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2717
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2718
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2719
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2720
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2721
2721
|
}, z.core.$strip>;
|
|
2722
2722
|
}, z.core.$strip>;
|
|
2723
2723
|
type GetPointOfSaleMenuVersionsResponse = z.infer<typeof getPointOfSaleMenuVersionsResponseSchema>;
|
|
@@ -2735,16 +2735,16 @@ declare class GetPointOfSaleMenuVersions extends AbstractApiRequest<typeof getPo
|
|
|
2735
2735
|
updatedAt: z.ZodString;
|
|
2736
2736
|
}, z.core.$strip>>;
|
|
2737
2737
|
pagination: z.ZodObject<{
|
|
2738
|
-
from: z.
|
|
2739
|
-
to: z.
|
|
2740
|
-
itemsPerPage: z.
|
|
2741
|
-
totalItems: z.
|
|
2742
|
-
currentPage: z.
|
|
2743
|
-
lastPage: z.
|
|
2738
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2739
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2740
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2741
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2742
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2743
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2744
2744
|
}, z.core.$strip>;
|
|
2745
2745
|
}, z.core.$strip>;
|
|
2746
2746
|
readonly querySchema: z.ZodObject<{
|
|
2747
|
-
page: z.ZodOptional<z.
|
|
2747
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2748
2748
|
}, z.core.$strip>;
|
|
2749
2749
|
readonly headersSchema: undefined;
|
|
2750
2750
|
private readonly pointOfSaleId;
|
|
@@ -2808,22 +2808,22 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2808
2808
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2809
2809
|
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>>;
|
|
2810
2810
|
integrationsStats: z.ZodObject<{
|
|
2811
|
-
integrationsCount: z.
|
|
2812
|
-
pendingIntegrationsCount: z.
|
|
2813
|
-
erroringIntegrationsCount: z.
|
|
2814
|
-
activationRequestsCount: z.
|
|
2815
|
-
cancellationRequestsCount: z.
|
|
2811
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2812
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2813
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2814
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2815
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2816
2816
|
}, z.core.$strip>;
|
|
2817
2817
|
createdAt: z.ZodString;
|
|
2818
2818
|
updatedAt: z.ZodString;
|
|
2819
2819
|
}, z.core.$strip>>;
|
|
2820
2820
|
pagination: z.ZodObject<{
|
|
2821
|
-
from: z.
|
|
2822
|
-
to: z.
|
|
2823
|
-
itemsPerPage: z.
|
|
2824
|
-
totalItems: z.
|
|
2825
|
-
currentPage: z.
|
|
2826
|
-
lastPage: z.
|
|
2821
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2822
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2823
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2824
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2825
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2826
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2827
2827
|
}, z.core.$strip>;
|
|
2828
2828
|
}, z.core.$strip>;
|
|
2829
2829
|
type GetPointOfSalesResponse = z.infer<typeof getPointOfSalesResponseSchema>;
|
|
@@ -2859,22 +2859,22 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2859
2859
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2860
2860
|
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>>;
|
|
2861
2861
|
integrationsStats: z.ZodObject<{
|
|
2862
|
-
integrationsCount: z.
|
|
2863
|
-
pendingIntegrationsCount: z.
|
|
2864
|
-
erroringIntegrationsCount: z.
|
|
2865
|
-
activationRequestsCount: z.
|
|
2866
|
-
cancellationRequestsCount: z.
|
|
2862
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2863
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2864
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
2865
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2866
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
2867
2867
|
}, z.core.$strip>;
|
|
2868
2868
|
createdAt: z.ZodString;
|
|
2869
2869
|
updatedAt: z.ZodString;
|
|
2870
2870
|
}, z.core.$strip>>;
|
|
2871
2871
|
pagination: z.ZodObject<{
|
|
2872
|
-
from: z.
|
|
2873
|
-
to: z.
|
|
2874
|
-
itemsPerPage: z.
|
|
2875
|
-
totalItems: z.
|
|
2876
|
-
currentPage: z.
|
|
2877
|
-
lastPage: z.
|
|
2872
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2873
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2874
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2875
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2876
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2877
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2878
2878
|
}, z.core.$strip>;
|
|
2879
2879
|
}, z.core.$strip>;
|
|
2880
2880
|
readonly querySchema: z.ZodObject<{
|
|
@@ -3011,11 +3011,11 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
3011
3011
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
3012
3012
|
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>>;
|
|
3013
3013
|
integrationsStats: z.ZodObject<{
|
|
3014
|
-
integrationsCount: z.
|
|
3015
|
-
pendingIntegrationsCount: z.
|
|
3016
|
-
erroringIntegrationsCount: z.
|
|
3017
|
-
activationRequestsCount: z.
|
|
3018
|
-
cancellationRequestsCount: z.
|
|
3014
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3015
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3016
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3017
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3018
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3019
3019
|
}, z.core.$strip>;
|
|
3020
3020
|
createdAt: z.ZodString;
|
|
3021
3021
|
updatedAt: z.ZodString;
|
|
@@ -3079,7 +3079,7 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
3079
3079
|
endTime: z.ZodString;
|
|
3080
3080
|
}, z.core.$strip>>;
|
|
3081
3081
|
}, z.core.$strip>>;
|
|
3082
|
-
numberOfCouriers: z.
|
|
3082
|
+
numberOfCouriers: z.ZodCoercedNumber<unknown>;
|
|
3083
3083
|
}, z.core.$strip>;
|
|
3084
3084
|
type UpdatePointOfSaleResponse = z.infer<typeof updatePointOfSaleResponseSchema>;
|
|
3085
3085
|
declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfSaleInputSchema, typeof updatePointOfSaleResponseSchema> {
|
|
@@ -3188,11 +3188,11 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
3188
3188
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
3189
3189
|
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>>;
|
|
3190
3190
|
integrationsStats: z.ZodObject<{
|
|
3191
|
-
integrationsCount: z.
|
|
3192
|
-
pendingIntegrationsCount: z.
|
|
3193
|
-
erroringIntegrationsCount: z.
|
|
3194
|
-
activationRequestsCount: z.
|
|
3195
|
-
cancellationRequestsCount: z.
|
|
3191
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3192
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3193
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3194
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3195
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3196
3196
|
}, z.core.$strip>;
|
|
3197
3197
|
createdAt: z.ZodString;
|
|
3198
3198
|
updatedAt: z.ZodString;
|
|
@@ -3256,7 +3256,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
3256
3256
|
endTime: z.ZodString;
|
|
3257
3257
|
}, z.core.$strip>>;
|
|
3258
3258
|
}, z.core.$strip>>;
|
|
3259
|
-
numberOfCouriers: z.
|
|
3259
|
+
numberOfCouriers: z.ZodCoercedNumber<unknown>;
|
|
3260
3260
|
}, z.core.$strip>;
|
|
3261
3261
|
readonly querySchema: undefined;
|
|
3262
3262
|
readonly headersSchema: undefined;
|
|
@@ -3472,12 +3472,12 @@ declare const getPointOfSaleTimeOverridesResponseSchema: z.ZodObject<{
|
|
|
3472
3472
|
updatedAt: z.ZodString;
|
|
3473
3473
|
}, z.core.$strip>>;
|
|
3474
3474
|
pagination: z.ZodObject<{
|
|
3475
|
-
from: z.
|
|
3476
|
-
to: z.
|
|
3477
|
-
itemsPerPage: z.
|
|
3478
|
-
totalItems: z.
|
|
3479
|
-
currentPage: z.
|
|
3480
|
-
lastPage: z.
|
|
3475
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3476
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3477
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3478
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3479
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3480
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3481
3481
|
}, z.core.$strip>;
|
|
3482
3482
|
}, z.core.$strip>;
|
|
3483
3483
|
type GetPointOfSaleTimeOverridesResponse = z.infer<typeof getPointOfSaleTimeOverridesResponseSchema>;
|
|
@@ -3507,12 +3507,12 @@ declare class GetPointOfSaleTimeOverrides extends AbstractApiRequest<typeof getP
|
|
|
3507
3507
|
updatedAt: z.ZodString;
|
|
3508
3508
|
}, z.core.$strip>>;
|
|
3509
3509
|
pagination: z.ZodObject<{
|
|
3510
|
-
from: z.
|
|
3511
|
-
to: z.
|
|
3512
|
-
itemsPerPage: z.
|
|
3513
|
-
totalItems: z.
|
|
3514
|
-
currentPage: z.
|
|
3515
|
-
lastPage: z.
|
|
3510
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3511
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3512
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3513
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3514
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3515
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3516
3516
|
}, z.core.$strip>;
|
|
3517
3517
|
}, z.core.$strip>;
|
|
3518
3518
|
readonly querySchema: z.ZodObject<{
|
|
@@ -3601,12 +3601,12 @@ declare const getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema: z.ZodObj
|
|
|
3601
3601
|
updatedAt: z.ZodString;
|
|
3602
3602
|
}, z.core.$strip>>;
|
|
3603
3603
|
pagination: z.ZodObject<{
|
|
3604
|
-
from: z.
|
|
3605
|
-
to: z.
|
|
3606
|
-
itemsPerPage: z.
|
|
3607
|
-
totalItems: z.
|
|
3608
|
-
currentPage: z.
|
|
3609
|
-
lastPage: z.
|
|
3604
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3605
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3606
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3607
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3608
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3609
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3610
3610
|
}, z.core.$strip>;
|
|
3611
3611
|
}, z.core.$strip>;
|
|
3612
3612
|
type GetPointOfSaleTimeOverridesFromPointOfSaleResponse = z.infer<typeof getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema>;
|
|
@@ -3636,12 +3636,12 @@ declare class GetPointOfSaleTimeOverridesFromPointOfSale extends AbstractApiRequ
|
|
|
3636
3636
|
updatedAt: z.ZodString;
|
|
3637
3637
|
}, z.core.$strip>>;
|
|
3638
3638
|
pagination: z.ZodObject<{
|
|
3639
|
-
from: z.
|
|
3640
|
-
to: z.
|
|
3641
|
-
itemsPerPage: z.
|
|
3642
|
-
totalItems: z.
|
|
3643
|
-
currentPage: z.
|
|
3644
|
-
lastPage: z.
|
|
3639
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3640
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3641
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3642
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3643
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3644
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3645
3645
|
}, z.core.$strip>;
|
|
3646
3646
|
}, z.core.$strip>;
|
|
3647
3647
|
readonly querySchema: z.ZodObject<{
|