@deliverart/sdk-js-point-of-sale 2.1.44 → 2.1.46
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 +17 -2
- package/dist/index.d.cts +136 -21
- package/dist/index.d.ts +136 -21
- package/dist/index.js +17 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -11333,11 +11333,25 @@ var deliveryTimeSettingSchema = external_exports.object({
|
|
|
11333
11333
|
availableCouriers: external_exports.coerce.number().nonnegative()
|
|
11334
11334
|
}).array()
|
|
11335
11335
|
});
|
|
11336
|
+
var overlappedAvailableBookingCompositionItemSchema = external_exports.object({
|
|
11337
|
+
id: external_exports.string(),
|
|
11338
|
+
isDelivery: external_exports.boolean(),
|
|
11339
|
+
countableItems: external_exports.number().nonnegative()
|
|
11340
|
+
});
|
|
11341
|
+
var overlappedAvailableBookingSchema = external_exports.object({
|
|
11342
|
+
id: external_exports.string(),
|
|
11343
|
+
locked: external_exports.boolean(),
|
|
11344
|
+
totalCountableItems: external_exports.number().nonnegative(),
|
|
11345
|
+
start: import_sdk_js_global_types2.datetimeSchema,
|
|
11346
|
+
end: import_sdk_js_global_types2.datetimeSchema,
|
|
11347
|
+
compositions: external_exports.array(overlappedAvailableBookingCompositionItemSchema)
|
|
11348
|
+
});
|
|
11336
11349
|
var availableDeliveryTimeItemSchema = external_exports.object({
|
|
11337
11350
|
time: external_exports.string().regex(/^\d{2}:\d{2}$/),
|
|
11338
11351
|
valid: external_exports.boolean(),
|
|
11339
11352
|
free: external_exports.boolean(),
|
|
11340
|
-
invalidReason: invalidDeliveryTimeCauseSchema
|
|
11353
|
+
invalidReason: invalidDeliveryTimeCauseSchema.nullable(),
|
|
11354
|
+
overlappedAvailableBooking: overlappedAvailableBookingSchema.nullable()
|
|
11341
11355
|
});
|
|
11342
11356
|
var availableDeliveryTimeSlotSchema = external_exports.object({
|
|
11343
11357
|
start: import_sdk_js_global_types2.datetimeSchema,
|
|
@@ -11353,7 +11367,8 @@ var availableTakeAwayTimeItemSchema = external_exports.object({
|
|
|
11353
11367
|
time: external_exports.string().regex(/^\d{2}:\d{2}$/),
|
|
11354
11368
|
valid: external_exports.boolean(),
|
|
11355
11369
|
free: external_exports.boolean(),
|
|
11356
|
-
invalidReason: invalidTakeAwayTimeCauseSchema
|
|
11370
|
+
invalidReason: invalidTakeAwayTimeCauseSchema.nullable(),
|
|
11371
|
+
overlappedAvailableBooking: overlappedAvailableBookingSchema.nullable()
|
|
11357
11372
|
});
|
|
11358
11373
|
var availableTakeAwayTimeSlotSchema = external_exports.object({
|
|
11359
11374
|
start: import_sdk_js_global_types2.datetimeSchema,
|
package/dist/index.d.cts
CHANGED
|
@@ -36,16 +36,47 @@ 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 overlappedAvailableBookingCompositionItemSchema: z.ZodObject<{
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
isDelivery: z.ZodBoolean;
|
|
42
|
+
countableItems: z.ZodNumber;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
type OverlappedAvailableBookingCompositionItem = z.infer<typeof overlappedAvailableBookingCompositionItemSchema>;
|
|
45
|
+
declare const overlappedAvailableBookingSchema: z.ZodObject<{
|
|
46
|
+
id: z.ZodString;
|
|
47
|
+
locked: z.ZodBoolean;
|
|
48
|
+
totalCountableItems: z.ZodNumber;
|
|
49
|
+
start: z.ZodString;
|
|
50
|
+
end: z.ZodString;
|
|
51
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
isDelivery: z.ZodBoolean;
|
|
54
|
+
countableItems: z.ZodNumber;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
type OverlappedAvailableBooking = z.infer<typeof overlappedAvailableBookingSchema>;
|
|
39
58
|
declare const availableDeliveryTimeItemSchema: z.ZodObject<{
|
|
40
59
|
time: z.ZodString;
|
|
41
60
|
valid: z.ZodBoolean;
|
|
42
61
|
free: z.ZodBoolean;
|
|
43
|
-
invalidReason: z.ZodEnum<{
|
|
62
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
44
63
|
pos_closed: "pos_closed";
|
|
45
64
|
no_slot_found: "no_slot_found";
|
|
46
65
|
first_time_not_available: "first_time_not_available";
|
|
47
66
|
journey_outside_slot: "journey_outside_slot";
|
|
48
|
-
}
|
|
67
|
+
}>>;
|
|
68
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
locked: z.ZodBoolean;
|
|
71
|
+
totalCountableItems: z.ZodNumber;
|
|
72
|
+
start: z.ZodString;
|
|
73
|
+
end: z.ZodString;
|
|
74
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
75
|
+
id: z.ZodString;
|
|
76
|
+
isDelivery: z.ZodBoolean;
|
|
77
|
+
countableItems: z.ZodNumber;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
49
80
|
}, z.core.$strip>;
|
|
50
81
|
type DeliveryTimeItem = z.infer<typeof availableDeliveryTimeItemSchema>;
|
|
51
82
|
declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
|
|
@@ -55,12 +86,24 @@ declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
|
|
|
55
86
|
time: z.ZodString;
|
|
56
87
|
valid: z.ZodBoolean;
|
|
57
88
|
free: z.ZodBoolean;
|
|
58
|
-
invalidReason: z.ZodEnum<{
|
|
89
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
59
90
|
pos_closed: "pos_closed";
|
|
60
91
|
no_slot_found: "no_slot_found";
|
|
61
92
|
first_time_not_available: "first_time_not_available";
|
|
62
93
|
journey_outside_slot: "journey_outside_slot";
|
|
63
|
-
}
|
|
94
|
+
}>>;
|
|
95
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
96
|
+
id: z.ZodString;
|
|
97
|
+
locked: z.ZodBoolean;
|
|
98
|
+
totalCountableItems: z.ZodNumber;
|
|
99
|
+
start: z.ZodString;
|
|
100
|
+
end: z.ZodString;
|
|
101
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
102
|
+
id: z.ZodString;
|
|
103
|
+
isDelivery: z.ZodBoolean;
|
|
104
|
+
countableItems: z.ZodNumber;
|
|
105
|
+
}, z.core.$strip>>;
|
|
106
|
+
}, z.core.$strip>>;
|
|
64
107
|
}, z.core.$strip>>;
|
|
65
108
|
}, z.core.$strip>;
|
|
66
109
|
type AvailableDeliveryTimeSlot = z.infer<typeof availableDeliveryTimeSlotSchema>;
|
|
@@ -74,11 +117,23 @@ declare const availableTakeAwayTimeItemSchema: z.ZodObject<{
|
|
|
74
117
|
time: z.ZodString;
|
|
75
118
|
valid: z.ZodBoolean;
|
|
76
119
|
free: z.ZodBoolean;
|
|
77
|
-
invalidReason: z.ZodEnum<{
|
|
120
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
78
121
|
pos_closed: "pos_closed";
|
|
79
122
|
no_slot_found: "no_slot_found";
|
|
80
123
|
first_time_not_available: "first_time_not_available";
|
|
81
|
-
}
|
|
124
|
+
}>>;
|
|
125
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
126
|
+
id: z.ZodString;
|
|
127
|
+
locked: z.ZodBoolean;
|
|
128
|
+
totalCountableItems: z.ZodNumber;
|
|
129
|
+
start: z.ZodString;
|
|
130
|
+
end: z.ZodString;
|
|
131
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
isDelivery: z.ZodBoolean;
|
|
134
|
+
countableItems: z.ZodNumber;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
82
137
|
}, z.core.$strip>;
|
|
83
138
|
type TakeAwayTimeItem = z.infer<typeof availableTakeAwayTimeItemSchema>;
|
|
84
139
|
declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
|
|
@@ -88,11 +143,23 @@ declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
|
|
|
88
143
|
time: z.ZodString;
|
|
89
144
|
valid: z.ZodBoolean;
|
|
90
145
|
free: z.ZodBoolean;
|
|
91
|
-
invalidReason: z.ZodEnum<{
|
|
146
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
92
147
|
pos_closed: "pos_closed";
|
|
93
148
|
no_slot_found: "no_slot_found";
|
|
94
149
|
first_time_not_available: "first_time_not_available";
|
|
95
|
-
}
|
|
150
|
+
}>>;
|
|
151
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
152
|
+
id: z.ZodString;
|
|
153
|
+
locked: z.ZodBoolean;
|
|
154
|
+
totalCountableItems: z.ZodNumber;
|
|
155
|
+
start: z.ZodString;
|
|
156
|
+
end: z.ZodString;
|
|
157
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
isDelivery: z.ZodBoolean;
|
|
160
|
+
countableItems: z.ZodNumber;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
}, z.core.$strip>>;
|
|
96
163
|
}, z.core.$strip>>;
|
|
97
164
|
}, z.core.$strip>;
|
|
98
165
|
type AvailableTakeAwayTimeSlot = z.infer<typeof availableTakeAwayTimeSlotSchema>;
|
|
@@ -1210,9 +1277,9 @@ type GetPointOfSaleUsersFromPointOfSaleQueryParams = z.infer<typeof getPointOfSa
|
|
|
1210
1277
|
declare const getPointOfSaleUsersFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
1211
1278
|
type GetPointOfSaleUsersFromPointOfSaleInput = z.input<typeof getPointOfSaleUsersFromPointOfSaleInputSchema>;
|
|
1212
1279
|
declare const getPointOfSaleUsersFromPointOfSaleResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1280
|
+
id: z.ZodString;
|
|
1213
1281
|
createdAt: z.ZodString;
|
|
1214
1282
|
updatedAt: z.ZodString;
|
|
1215
|
-
id: z.ZodString;
|
|
1216
1283
|
role: z.ZodEnum<{
|
|
1217
1284
|
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1218
1285
|
ROLE_READER: "ROLE_READER";
|
|
@@ -1275,9 +1342,9 @@ declare class GetPointOfSaleUsersFromPointOfSale extends AbstractApiRequest<type
|
|
|
1275
1342
|
readonly accept = "application/json";
|
|
1276
1343
|
readonly inputSchema: z.ZodUndefined;
|
|
1277
1344
|
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
1345
|
+
id: z.ZodString;
|
|
1278
1346
|
createdAt: z.ZodString;
|
|
1279
1347
|
updatedAt: z.ZodString;
|
|
1280
|
-
id: z.ZodString;
|
|
1281
1348
|
role: z.ZodEnum<{
|
|
1282
1349
|
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1283
1350
|
ROLE_READER: "ROLE_READER";
|
|
@@ -1386,9 +1453,9 @@ type GetPointOfSaleUsersFromUserQueryParams = z.infer<typeof getPointOfSaleUsers
|
|
|
1386
1453
|
declare const getPointOfSaleUsersFromUserInputSchema: z.ZodUndefined;
|
|
1387
1454
|
type GetPointOfSaleUsersFromUserInput = z.input<typeof getPointOfSaleUsersFromUserInputSchema>;
|
|
1388
1455
|
declare const getPointOfSaleUsersFromUserResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1456
|
+
id: z.ZodString;
|
|
1389
1457
|
createdAt: z.ZodString;
|
|
1390
1458
|
updatedAt: z.ZodString;
|
|
1391
|
-
id: z.ZodString;
|
|
1392
1459
|
pointOfSale: z.ZodObject<{
|
|
1393
1460
|
id: z.ZodString;
|
|
1394
1461
|
name: z.ZodString;
|
|
@@ -1436,9 +1503,9 @@ declare class GetPointOfSaleUsersFromUser extends AbstractApiRequest<typeof getP
|
|
|
1436
1503
|
readonly accept = "application/json";
|
|
1437
1504
|
readonly inputSchema: z.ZodUndefined;
|
|
1438
1505
|
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
1506
|
+
id: z.ZodString;
|
|
1439
1507
|
createdAt: z.ZodString;
|
|
1440
1508
|
updatedAt: z.ZodString;
|
|
1441
|
-
id: z.ZodString;
|
|
1442
1509
|
pointOfSale: z.ZodObject<{
|
|
1443
1510
|
id: z.ZodString;
|
|
1444
1511
|
name: z.ZodString;
|
|
@@ -2109,12 +2176,24 @@ declare const getAvailablePointOfSaleDeliveryTimesResponseSchema: z.ZodArray<z.Z
|
|
|
2109
2176
|
time: z.ZodString;
|
|
2110
2177
|
valid: z.ZodBoolean;
|
|
2111
2178
|
free: z.ZodBoolean;
|
|
2112
|
-
invalidReason: z.ZodEnum<{
|
|
2179
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
2113
2180
|
pos_closed: "pos_closed";
|
|
2114
2181
|
no_slot_found: "no_slot_found";
|
|
2115
2182
|
first_time_not_available: "first_time_not_available";
|
|
2116
2183
|
journey_outside_slot: "journey_outside_slot";
|
|
2117
|
-
}
|
|
2184
|
+
}>>;
|
|
2185
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2186
|
+
id: z.ZodString;
|
|
2187
|
+
locked: z.ZodBoolean;
|
|
2188
|
+
totalCountableItems: z.ZodNumber;
|
|
2189
|
+
start: z.ZodString;
|
|
2190
|
+
end: z.ZodString;
|
|
2191
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
2192
|
+
id: z.ZodString;
|
|
2193
|
+
isDelivery: z.ZodBoolean;
|
|
2194
|
+
countableItems: z.ZodNumber;
|
|
2195
|
+
}, z.core.$strip>>;
|
|
2196
|
+
}, z.core.$strip>>;
|
|
2118
2197
|
}, z.core.$strip>>;
|
|
2119
2198
|
}, z.core.$strip>>;
|
|
2120
2199
|
type GetAvailablePointOfSaleDeliveryTimesResponse = z.infer<typeof getAvailablePointOfSaleDeliveryTimesResponseSchema>;
|
|
@@ -2130,12 +2209,24 @@ declare class GetAvailablePointOfSaleDeliveryTimes extends AbstractApiRequest<ty
|
|
|
2130
2209
|
time: z.ZodString;
|
|
2131
2210
|
valid: z.ZodBoolean;
|
|
2132
2211
|
free: z.ZodBoolean;
|
|
2133
|
-
invalidReason: z.ZodEnum<{
|
|
2212
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
2134
2213
|
pos_closed: "pos_closed";
|
|
2135
2214
|
no_slot_found: "no_slot_found";
|
|
2136
2215
|
first_time_not_available: "first_time_not_available";
|
|
2137
2216
|
journey_outside_slot: "journey_outside_slot";
|
|
2138
|
-
}
|
|
2217
|
+
}>>;
|
|
2218
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2219
|
+
id: z.ZodString;
|
|
2220
|
+
locked: z.ZodBoolean;
|
|
2221
|
+
totalCountableItems: z.ZodNumber;
|
|
2222
|
+
start: z.ZodString;
|
|
2223
|
+
end: z.ZodString;
|
|
2224
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
2225
|
+
id: z.ZodString;
|
|
2226
|
+
isDelivery: z.ZodBoolean;
|
|
2227
|
+
countableItems: z.ZodNumber;
|
|
2228
|
+
}, z.core.$strip>>;
|
|
2229
|
+
}, z.core.$strip>>;
|
|
2139
2230
|
}, z.core.$strip>>;
|
|
2140
2231
|
}, z.core.$strip>>;
|
|
2141
2232
|
readonly querySchema: z.ZodObject<{
|
|
@@ -2166,11 +2257,23 @@ declare const getAvailablePointOfSaleTakeAwayTimesResponseSchema: z.ZodArray<z.Z
|
|
|
2166
2257
|
time: z.ZodString;
|
|
2167
2258
|
valid: z.ZodBoolean;
|
|
2168
2259
|
free: z.ZodBoolean;
|
|
2169
|
-
invalidReason: z.ZodEnum<{
|
|
2260
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
2170
2261
|
pos_closed: "pos_closed";
|
|
2171
2262
|
no_slot_found: "no_slot_found";
|
|
2172
2263
|
first_time_not_available: "first_time_not_available";
|
|
2173
|
-
}
|
|
2264
|
+
}>>;
|
|
2265
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2266
|
+
id: z.ZodString;
|
|
2267
|
+
locked: z.ZodBoolean;
|
|
2268
|
+
totalCountableItems: z.ZodNumber;
|
|
2269
|
+
start: z.ZodString;
|
|
2270
|
+
end: z.ZodString;
|
|
2271
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
2272
|
+
id: z.ZodString;
|
|
2273
|
+
isDelivery: z.ZodBoolean;
|
|
2274
|
+
countableItems: z.ZodNumber;
|
|
2275
|
+
}, z.core.$strip>>;
|
|
2276
|
+
}, z.core.$strip>>;
|
|
2174
2277
|
}, z.core.$strip>>;
|
|
2175
2278
|
}, z.core.$strip>>;
|
|
2176
2279
|
type GetAvailablePointOfSaleTakeAwayTimesResponse = z.infer<typeof getAvailablePointOfSaleTakeAwayTimesResponseSchema>;
|
|
@@ -2186,11 +2289,23 @@ declare class GetAvailablePointOfSaleTakeAwayTimes extends AbstractApiRequest<ty
|
|
|
2186
2289
|
time: z.ZodString;
|
|
2187
2290
|
valid: z.ZodBoolean;
|
|
2188
2291
|
free: z.ZodBoolean;
|
|
2189
|
-
invalidReason: z.ZodEnum<{
|
|
2292
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
2190
2293
|
pos_closed: "pos_closed";
|
|
2191
2294
|
no_slot_found: "no_slot_found";
|
|
2192
2295
|
first_time_not_available: "first_time_not_available";
|
|
2193
|
-
}
|
|
2296
|
+
}>>;
|
|
2297
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2298
|
+
id: z.ZodString;
|
|
2299
|
+
locked: z.ZodBoolean;
|
|
2300
|
+
totalCountableItems: z.ZodNumber;
|
|
2301
|
+
start: z.ZodString;
|
|
2302
|
+
end: z.ZodString;
|
|
2303
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
2304
|
+
id: z.ZodString;
|
|
2305
|
+
isDelivery: z.ZodBoolean;
|
|
2306
|
+
countableItems: z.ZodNumber;
|
|
2307
|
+
}, z.core.$strip>>;
|
|
2308
|
+
}, z.core.$strip>>;
|
|
2194
2309
|
}, z.core.$strip>>;
|
|
2195
2310
|
}, z.core.$strip>>;
|
|
2196
2311
|
readonly querySchema: z.ZodObject<{
|
|
@@ -3688,4 +3803,4 @@ type PointOfSaleMenuVersionIri = z.infer<typeof pointOfSaleMenuVersionIriSchema>
|
|
|
3688
3803
|
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>>;
|
|
3689
3804
|
type PointOfSaleMenuVersionNullableIri = z.infer<typeof pointOfSaleMenuVersionNullableIriSchema>;
|
|
3690
3805
|
|
|
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 };
|
|
3806
|
+
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 OverlappedAvailableBooking, type OverlappedAvailableBookingCompositionItem, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -36,16 +36,47 @@ 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 overlappedAvailableBookingCompositionItemSchema: z.ZodObject<{
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
isDelivery: z.ZodBoolean;
|
|
42
|
+
countableItems: z.ZodNumber;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
type OverlappedAvailableBookingCompositionItem = z.infer<typeof overlappedAvailableBookingCompositionItemSchema>;
|
|
45
|
+
declare const overlappedAvailableBookingSchema: z.ZodObject<{
|
|
46
|
+
id: z.ZodString;
|
|
47
|
+
locked: z.ZodBoolean;
|
|
48
|
+
totalCountableItems: z.ZodNumber;
|
|
49
|
+
start: z.ZodString;
|
|
50
|
+
end: z.ZodString;
|
|
51
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
isDelivery: z.ZodBoolean;
|
|
54
|
+
countableItems: z.ZodNumber;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
type OverlappedAvailableBooking = z.infer<typeof overlappedAvailableBookingSchema>;
|
|
39
58
|
declare const availableDeliveryTimeItemSchema: z.ZodObject<{
|
|
40
59
|
time: z.ZodString;
|
|
41
60
|
valid: z.ZodBoolean;
|
|
42
61
|
free: z.ZodBoolean;
|
|
43
|
-
invalidReason: z.ZodEnum<{
|
|
62
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
44
63
|
pos_closed: "pos_closed";
|
|
45
64
|
no_slot_found: "no_slot_found";
|
|
46
65
|
first_time_not_available: "first_time_not_available";
|
|
47
66
|
journey_outside_slot: "journey_outside_slot";
|
|
48
|
-
}
|
|
67
|
+
}>>;
|
|
68
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
locked: z.ZodBoolean;
|
|
71
|
+
totalCountableItems: z.ZodNumber;
|
|
72
|
+
start: z.ZodString;
|
|
73
|
+
end: z.ZodString;
|
|
74
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
75
|
+
id: z.ZodString;
|
|
76
|
+
isDelivery: z.ZodBoolean;
|
|
77
|
+
countableItems: z.ZodNumber;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
49
80
|
}, z.core.$strip>;
|
|
50
81
|
type DeliveryTimeItem = z.infer<typeof availableDeliveryTimeItemSchema>;
|
|
51
82
|
declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
|
|
@@ -55,12 +86,24 @@ declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
|
|
|
55
86
|
time: z.ZodString;
|
|
56
87
|
valid: z.ZodBoolean;
|
|
57
88
|
free: z.ZodBoolean;
|
|
58
|
-
invalidReason: z.ZodEnum<{
|
|
89
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
59
90
|
pos_closed: "pos_closed";
|
|
60
91
|
no_slot_found: "no_slot_found";
|
|
61
92
|
first_time_not_available: "first_time_not_available";
|
|
62
93
|
journey_outside_slot: "journey_outside_slot";
|
|
63
|
-
}
|
|
94
|
+
}>>;
|
|
95
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
96
|
+
id: z.ZodString;
|
|
97
|
+
locked: z.ZodBoolean;
|
|
98
|
+
totalCountableItems: z.ZodNumber;
|
|
99
|
+
start: z.ZodString;
|
|
100
|
+
end: z.ZodString;
|
|
101
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
102
|
+
id: z.ZodString;
|
|
103
|
+
isDelivery: z.ZodBoolean;
|
|
104
|
+
countableItems: z.ZodNumber;
|
|
105
|
+
}, z.core.$strip>>;
|
|
106
|
+
}, z.core.$strip>>;
|
|
64
107
|
}, z.core.$strip>>;
|
|
65
108
|
}, z.core.$strip>;
|
|
66
109
|
type AvailableDeliveryTimeSlot = z.infer<typeof availableDeliveryTimeSlotSchema>;
|
|
@@ -74,11 +117,23 @@ declare const availableTakeAwayTimeItemSchema: z.ZodObject<{
|
|
|
74
117
|
time: z.ZodString;
|
|
75
118
|
valid: z.ZodBoolean;
|
|
76
119
|
free: z.ZodBoolean;
|
|
77
|
-
invalidReason: z.ZodEnum<{
|
|
120
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
78
121
|
pos_closed: "pos_closed";
|
|
79
122
|
no_slot_found: "no_slot_found";
|
|
80
123
|
first_time_not_available: "first_time_not_available";
|
|
81
|
-
}
|
|
124
|
+
}>>;
|
|
125
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
126
|
+
id: z.ZodString;
|
|
127
|
+
locked: z.ZodBoolean;
|
|
128
|
+
totalCountableItems: z.ZodNumber;
|
|
129
|
+
start: z.ZodString;
|
|
130
|
+
end: z.ZodString;
|
|
131
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
isDelivery: z.ZodBoolean;
|
|
134
|
+
countableItems: z.ZodNumber;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
82
137
|
}, z.core.$strip>;
|
|
83
138
|
type TakeAwayTimeItem = z.infer<typeof availableTakeAwayTimeItemSchema>;
|
|
84
139
|
declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
|
|
@@ -88,11 +143,23 @@ declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
|
|
|
88
143
|
time: z.ZodString;
|
|
89
144
|
valid: z.ZodBoolean;
|
|
90
145
|
free: z.ZodBoolean;
|
|
91
|
-
invalidReason: z.ZodEnum<{
|
|
146
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
92
147
|
pos_closed: "pos_closed";
|
|
93
148
|
no_slot_found: "no_slot_found";
|
|
94
149
|
first_time_not_available: "first_time_not_available";
|
|
95
|
-
}
|
|
150
|
+
}>>;
|
|
151
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
152
|
+
id: z.ZodString;
|
|
153
|
+
locked: z.ZodBoolean;
|
|
154
|
+
totalCountableItems: z.ZodNumber;
|
|
155
|
+
start: z.ZodString;
|
|
156
|
+
end: z.ZodString;
|
|
157
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
isDelivery: z.ZodBoolean;
|
|
160
|
+
countableItems: z.ZodNumber;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
}, z.core.$strip>>;
|
|
96
163
|
}, z.core.$strip>>;
|
|
97
164
|
}, z.core.$strip>;
|
|
98
165
|
type AvailableTakeAwayTimeSlot = z.infer<typeof availableTakeAwayTimeSlotSchema>;
|
|
@@ -1210,9 +1277,9 @@ type GetPointOfSaleUsersFromPointOfSaleQueryParams = z.infer<typeof getPointOfSa
|
|
|
1210
1277
|
declare const getPointOfSaleUsersFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
1211
1278
|
type GetPointOfSaleUsersFromPointOfSaleInput = z.input<typeof getPointOfSaleUsersFromPointOfSaleInputSchema>;
|
|
1212
1279
|
declare const getPointOfSaleUsersFromPointOfSaleResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1280
|
+
id: z.ZodString;
|
|
1213
1281
|
createdAt: z.ZodString;
|
|
1214
1282
|
updatedAt: z.ZodString;
|
|
1215
|
-
id: z.ZodString;
|
|
1216
1283
|
role: z.ZodEnum<{
|
|
1217
1284
|
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1218
1285
|
ROLE_READER: "ROLE_READER";
|
|
@@ -1275,9 +1342,9 @@ declare class GetPointOfSaleUsersFromPointOfSale extends AbstractApiRequest<type
|
|
|
1275
1342
|
readonly accept = "application/json";
|
|
1276
1343
|
readonly inputSchema: z.ZodUndefined;
|
|
1277
1344
|
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
1345
|
+
id: z.ZodString;
|
|
1278
1346
|
createdAt: z.ZodString;
|
|
1279
1347
|
updatedAt: z.ZodString;
|
|
1280
|
-
id: z.ZodString;
|
|
1281
1348
|
role: z.ZodEnum<{
|
|
1282
1349
|
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1283
1350
|
ROLE_READER: "ROLE_READER";
|
|
@@ -1386,9 +1453,9 @@ type GetPointOfSaleUsersFromUserQueryParams = z.infer<typeof getPointOfSaleUsers
|
|
|
1386
1453
|
declare const getPointOfSaleUsersFromUserInputSchema: z.ZodUndefined;
|
|
1387
1454
|
type GetPointOfSaleUsersFromUserInput = z.input<typeof getPointOfSaleUsersFromUserInputSchema>;
|
|
1388
1455
|
declare const getPointOfSaleUsersFromUserResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1456
|
+
id: z.ZodString;
|
|
1389
1457
|
createdAt: z.ZodString;
|
|
1390
1458
|
updatedAt: z.ZodString;
|
|
1391
|
-
id: z.ZodString;
|
|
1392
1459
|
pointOfSale: z.ZodObject<{
|
|
1393
1460
|
id: z.ZodString;
|
|
1394
1461
|
name: z.ZodString;
|
|
@@ -1436,9 +1503,9 @@ declare class GetPointOfSaleUsersFromUser extends AbstractApiRequest<typeof getP
|
|
|
1436
1503
|
readonly accept = "application/json";
|
|
1437
1504
|
readonly inputSchema: z.ZodUndefined;
|
|
1438
1505
|
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
1506
|
+
id: z.ZodString;
|
|
1439
1507
|
createdAt: z.ZodString;
|
|
1440
1508
|
updatedAt: z.ZodString;
|
|
1441
|
-
id: z.ZodString;
|
|
1442
1509
|
pointOfSale: z.ZodObject<{
|
|
1443
1510
|
id: z.ZodString;
|
|
1444
1511
|
name: z.ZodString;
|
|
@@ -2109,12 +2176,24 @@ declare const getAvailablePointOfSaleDeliveryTimesResponseSchema: z.ZodArray<z.Z
|
|
|
2109
2176
|
time: z.ZodString;
|
|
2110
2177
|
valid: z.ZodBoolean;
|
|
2111
2178
|
free: z.ZodBoolean;
|
|
2112
|
-
invalidReason: z.ZodEnum<{
|
|
2179
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
2113
2180
|
pos_closed: "pos_closed";
|
|
2114
2181
|
no_slot_found: "no_slot_found";
|
|
2115
2182
|
first_time_not_available: "first_time_not_available";
|
|
2116
2183
|
journey_outside_slot: "journey_outside_slot";
|
|
2117
|
-
}
|
|
2184
|
+
}>>;
|
|
2185
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2186
|
+
id: z.ZodString;
|
|
2187
|
+
locked: z.ZodBoolean;
|
|
2188
|
+
totalCountableItems: z.ZodNumber;
|
|
2189
|
+
start: z.ZodString;
|
|
2190
|
+
end: z.ZodString;
|
|
2191
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
2192
|
+
id: z.ZodString;
|
|
2193
|
+
isDelivery: z.ZodBoolean;
|
|
2194
|
+
countableItems: z.ZodNumber;
|
|
2195
|
+
}, z.core.$strip>>;
|
|
2196
|
+
}, z.core.$strip>>;
|
|
2118
2197
|
}, z.core.$strip>>;
|
|
2119
2198
|
}, z.core.$strip>>;
|
|
2120
2199
|
type GetAvailablePointOfSaleDeliveryTimesResponse = z.infer<typeof getAvailablePointOfSaleDeliveryTimesResponseSchema>;
|
|
@@ -2130,12 +2209,24 @@ declare class GetAvailablePointOfSaleDeliveryTimes extends AbstractApiRequest<ty
|
|
|
2130
2209
|
time: z.ZodString;
|
|
2131
2210
|
valid: z.ZodBoolean;
|
|
2132
2211
|
free: z.ZodBoolean;
|
|
2133
|
-
invalidReason: z.ZodEnum<{
|
|
2212
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
2134
2213
|
pos_closed: "pos_closed";
|
|
2135
2214
|
no_slot_found: "no_slot_found";
|
|
2136
2215
|
first_time_not_available: "first_time_not_available";
|
|
2137
2216
|
journey_outside_slot: "journey_outside_slot";
|
|
2138
|
-
}
|
|
2217
|
+
}>>;
|
|
2218
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2219
|
+
id: z.ZodString;
|
|
2220
|
+
locked: z.ZodBoolean;
|
|
2221
|
+
totalCountableItems: z.ZodNumber;
|
|
2222
|
+
start: z.ZodString;
|
|
2223
|
+
end: z.ZodString;
|
|
2224
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
2225
|
+
id: z.ZodString;
|
|
2226
|
+
isDelivery: z.ZodBoolean;
|
|
2227
|
+
countableItems: z.ZodNumber;
|
|
2228
|
+
}, z.core.$strip>>;
|
|
2229
|
+
}, z.core.$strip>>;
|
|
2139
2230
|
}, z.core.$strip>>;
|
|
2140
2231
|
}, z.core.$strip>>;
|
|
2141
2232
|
readonly querySchema: z.ZodObject<{
|
|
@@ -2166,11 +2257,23 @@ declare const getAvailablePointOfSaleTakeAwayTimesResponseSchema: z.ZodArray<z.Z
|
|
|
2166
2257
|
time: z.ZodString;
|
|
2167
2258
|
valid: z.ZodBoolean;
|
|
2168
2259
|
free: z.ZodBoolean;
|
|
2169
|
-
invalidReason: z.ZodEnum<{
|
|
2260
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
2170
2261
|
pos_closed: "pos_closed";
|
|
2171
2262
|
no_slot_found: "no_slot_found";
|
|
2172
2263
|
first_time_not_available: "first_time_not_available";
|
|
2173
|
-
}
|
|
2264
|
+
}>>;
|
|
2265
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2266
|
+
id: z.ZodString;
|
|
2267
|
+
locked: z.ZodBoolean;
|
|
2268
|
+
totalCountableItems: z.ZodNumber;
|
|
2269
|
+
start: z.ZodString;
|
|
2270
|
+
end: z.ZodString;
|
|
2271
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
2272
|
+
id: z.ZodString;
|
|
2273
|
+
isDelivery: z.ZodBoolean;
|
|
2274
|
+
countableItems: z.ZodNumber;
|
|
2275
|
+
}, z.core.$strip>>;
|
|
2276
|
+
}, z.core.$strip>>;
|
|
2174
2277
|
}, z.core.$strip>>;
|
|
2175
2278
|
}, z.core.$strip>>;
|
|
2176
2279
|
type GetAvailablePointOfSaleTakeAwayTimesResponse = z.infer<typeof getAvailablePointOfSaleTakeAwayTimesResponseSchema>;
|
|
@@ -2186,11 +2289,23 @@ declare class GetAvailablePointOfSaleTakeAwayTimes extends AbstractApiRequest<ty
|
|
|
2186
2289
|
time: z.ZodString;
|
|
2187
2290
|
valid: z.ZodBoolean;
|
|
2188
2291
|
free: z.ZodBoolean;
|
|
2189
|
-
invalidReason: z.ZodEnum<{
|
|
2292
|
+
invalidReason: z.ZodNullable<z.ZodEnum<{
|
|
2190
2293
|
pos_closed: "pos_closed";
|
|
2191
2294
|
no_slot_found: "no_slot_found";
|
|
2192
2295
|
first_time_not_available: "first_time_not_available";
|
|
2193
|
-
}
|
|
2296
|
+
}>>;
|
|
2297
|
+
overlappedAvailableBooking: z.ZodNullable<z.ZodObject<{
|
|
2298
|
+
id: z.ZodString;
|
|
2299
|
+
locked: z.ZodBoolean;
|
|
2300
|
+
totalCountableItems: z.ZodNumber;
|
|
2301
|
+
start: z.ZodString;
|
|
2302
|
+
end: z.ZodString;
|
|
2303
|
+
compositions: z.ZodArray<z.ZodObject<{
|
|
2304
|
+
id: z.ZodString;
|
|
2305
|
+
isDelivery: z.ZodBoolean;
|
|
2306
|
+
countableItems: z.ZodNumber;
|
|
2307
|
+
}, z.core.$strip>>;
|
|
2308
|
+
}, z.core.$strip>>;
|
|
2194
2309
|
}, z.core.$strip>>;
|
|
2195
2310
|
}, z.core.$strip>>;
|
|
2196
2311
|
readonly querySchema: z.ZodObject<{
|
|
@@ -3688,4 +3803,4 @@ type PointOfSaleMenuVersionIri = z.infer<typeof pointOfSaleMenuVersionIriSchema>
|
|
|
3688
3803
|
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>>;
|
|
3689
3804
|
type PointOfSaleMenuVersionNullableIri = z.infer<typeof pointOfSaleMenuVersionNullableIriSchema>;
|
|
3690
3805
|
|
|
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 };
|
|
3806
|
+
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 OverlappedAvailableBooking, type OverlappedAvailableBookingCompositionItem, 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 };
|
package/dist/index.js
CHANGED
|
@@ -11204,11 +11204,25 @@ var deliveryTimeSettingSchema = external_exports.object({
|
|
|
11204
11204
|
availableCouriers: external_exports.coerce.number().nonnegative()
|
|
11205
11205
|
}).array()
|
|
11206
11206
|
});
|
|
11207
|
+
var overlappedAvailableBookingCompositionItemSchema = external_exports.object({
|
|
11208
|
+
id: external_exports.string(),
|
|
11209
|
+
isDelivery: external_exports.boolean(),
|
|
11210
|
+
countableItems: external_exports.number().nonnegative()
|
|
11211
|
+
});
|
|
11212
|
+
var overlappedAvailableBookingSchema = external_exports.object({
|
|
11213
|
+
id: external_exports.string(),
|
|
11214
|
+
locked: external_exports.boolean(),
|
|
11215
|
+
totalCountableItems: external_exports.number().nonnegative(),
|
|
11216
|
+
start: datetimeSchema,
|
|
11217
|
+
end: datetimeSchema,
|
|
11218
|
+
compositions: external_exports.array(overlappedAvailableBookingCompositionItemSchema)
|
|
11219
|
+
});
|
|
11207
11220
|
var availableDeliveryTimeItemSchema = external_exports.object({
|
|
11208
11221
|
time: external_exports.string().regex(/^\d{2}:\d{2}$/),
|
|
11209
11222
|
valid: external_exports.boolean(),
|
|
11210
11223
|
free: external_exports.boolean(),
|
|
11211
|
-
invalidReason: invalidDeliveryTimeCauseSchema
|
|
11224
|
+
invalidReason: invalidDeliveryTimeCauseSchema.nullable(),
|
|
11225
|
+
overlappedAvailableBooking: overlappedAvailableBookingSchema.nullable()
|
|
11212
11226
|
});
|
|
11213
11227
|
var availableDeliveryTimeSlotSchema = external_exports.object({
|
|
11214
11228
|
start: datetimeSchema,
|
|
@@ -11224,7 +11238,8 @@ var availableTakeAwayTimeItemSchema = external_exports.object({
|
|
|
11224
11238
|
time: external_exports.string().regex(/^\d{2}:\d{2}$/),
|
|
11225
11239
|
valid: external_exports.boolean(),
|
|
11226
11240
|
free: external_exports.boolean(),
|
|
11227
|
-
invalidReason: invalidTakeAwayTimeCauseSchema
|
|
11241
|
+
invalidReason: invalidTakeAwayTimeCauseSchema.nullable(),
|
|
11242
|
+
overlappedAvailableBooking: overlappedAvailableBookingSchema.nullable()
|
|
11228
11243
|
});
|
|
11229
11244
|
var availableTakeAwayTimeSlotSchema = external_exports.object({
|
|
11230
11245
|
start: datetimeSchema,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-point-of-sale",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Point of Sale Management",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.46",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-company": "2.1.46",
|
|
22
|
+
"@deliverart/sdk-js-core": "2.1.46",
|
|
23
|
+
"@deliverart/sdk-js-user": "2.1.46",
|
|
24
|
+
"@deliverart/sdk-js-global-types": "2.1.46"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|