order3000 1.11.0 → 1.12.0
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/client.cjs +31 -4
- package/dist/client.d.cts +21 -6
- package/dist/client.d.mts +21 -6
- package/dist/client.mjs +31 -4
- package/dist/{index-CQHgJH4m.d.cts → index-bbg7Ev_r.d.cts} +243 -33
- package/dist/{index-CQHgJH4m.d.mts → index-bbg7Ev_r.d.mts} +243 -33
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +394 -48
- package/dist/schemas.d.cts +306 -1
- package/dist/schemas.d.mts +306 -1
- package/dist/schemas.mjs +394 -48
- package/package.json +1 -1
|
@@ -45,6 +45,13 @@ interface components {
|
|
|
45
45
|
calloutIds: (string | number | boolean | (null)) | {
|
|
46
46
|
[key: string]: unknown;
|
|
47
47
|
} | unknown[];
|
|
48
|
+
manageCallScheduleSelf: boolean;
|
|
49
|
+
callScheduleRitualAccessors: (string | number | boolean | (null)) | {
|
|
50
|
+
[key: string]: unknown;
|
|
51
|
+
} | unknown[];
|
|
52
|
+
phone: string | null;
|
|
53
|
+
manageBiddingStrategySelf: boolean;
|
|
54
|
+
biddingStrategy: components["schemas"]["AdBiddingStrategy"];
|
|
48
55
|
publishedContentHash: string | null;
|
|
49
56
|
publishedAt: unknown;
|
|
50
57
|
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
@@ -101,6 +108,13 @@ interface components {
|
|
|
101
108
|
calloutIds: (string | number | boolean | (null)) | {
|
|
102
109
|
[key: string]: unknown;
|
|
103
110
|
} | unknown[];
|
|
111
|
+
manageCallScheduleSelf: boolean;
|
|
112
|
+
callScheduleRitualAccessors: (string | number | boolean | (null)) | {
|
|
113
|
+
[key: string]: unknown;
|
|
114
|
+
} | unknown[];
|
|
115
|
+
phone: string | null;
|
|
116
|
+
manageBiddingStrategySelf: boolean;
|
|
117
|
+
biddingStrategy: components["schemas"]["AdBiddingStrategy"];
|
|
104
118
|
publishedContentHash: string | null;
|
|
105
119
|
publishedAt: unknown;
|
|
106
120
|
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
@@ -170,6 +184,13 @@ interface components {
|
|
|
170
184
|
calloutIds: (string | number | boolean | (null)) | {
|
|
171
185
|
[key: string]: unknown;
|
|
172
186
|
} | unknown[];
|
|
187
|
+
manageCallScheduleSelf: boolean;
|
|
188
|
+
callScheduleRitualAccessors: (string | number | boolean | (null)) | {
|
|
189
|
+
[key: string]: unknown;
|
|
190
|
+
} | unknown[];
|
|
191
|
+
phone: string | null;
|
|
192
|
+
manageBiddingStrategySelf: boolean;
|
|
193
|
+
biddingStrategy: components["schemas"]["AdBiddingStrategy"];
|
|
173
194
|
publishedContentHash: string | null;
|
|
174
195
|
publishedAt: unknown;
|
|
175
196
|
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
@@ -254,6 +275,13 @@ interface components {
|
|
|
254
275
|
calloutIds: (string | number | boolean | (null)) | {
|
|
255
276
|
[key: string]: unknown;
|
|
256
277
|
} | unknown[];
|
|
278
|
+
manageCallScheduleSelf: boolean;
|
|
279
|
+
callScheduleRitualAccessors: (string | number | boolean | (null)) | {
|
|
280
|
+
[key: string]: unknown;
|
|
281
|
+
} | unknown[];
|
|
282
|
+
phone: string | null;
|
|
283
|
+
manageBiddingStrategySelf: boolean;
|
|
284
|
+
biddingStrategy: components["schemas"]["AdBiddingStrategy"];
|
|
257
285
|
publishedContentHash: string | null;
|
|
258
286
|
publishedAt: unknown;
|
|
259
287
|
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
@@ -341,6 +369,13 @@ interface components {
|
|
|
341
369
|
calloutIds: (string | number | boolean | (null)) | {
|
|
342
370
|
[key: string]: unknown;
|
|
343
371
|
} | unknown[];
|
|
372
|
+
manageCallScheduleSelf: boolean;
|
|
373
|
+
callScheduleRitualAccessors: (string | number | boolean | (null)) | {
|
|
374
|
+
[key: string]: unknown;
|
|
375
|
+
} | unknown[];
|
|
376
|
+
phone: string | null;
|
|
377
|
+
manageBiddingStrategySelf: boolean;
|
|
378
|
+
biddingStrategy: components["schemas"]["AdBiddingStrategy"];
|
|
344
379
|
publishedContentHash: string | null;
|
|
345
380
|
publishedAt: unknown;
|
|
346
381
|
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
@@ -455,6 +490,13 @@ interface components {
|
|
|
455
490
|
calloutIds: (string | number | boolean | (null)) | {
|
|
456
491
|
[key: string]: unknown;
|
|
457
492
|
} | unknown[];
|
|
493
|
+
manageCallScheduleSelf: boolean;
|
|
494
|
+
callScheduleRitualAccessors: (string | number | boolean | (null)) | {
|
|
495
|
+
[key: string]: unknown;
|
|
496
|
+
} | unknown[];
|
|
497
|
+
phone: string | null;
|
|
498
|
+
manageBiddingStrategySelf: boolean;
|
|
499
|
+
biddingStrategy: components["schemas"]["AdBiddingStrategy"];
|
|
458
500
|
publishedContentHash: string | null;
|
|
459
501
|
publishedAt: unknown;
|
|
460
502
|
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
@@ -511,6 +553,13 @@ interface components {
|
|
|
511
553
|
calloutIds: (string | number | boolean | (null)) | {
|
|
512
554
|
[key: string]: unknown;
|
|
513
555
|
} | unknown[];
|
|
556
|
+
manageCallScheduleSelf: boolean;
|
|
557
|
+
callScheduleRitualAccessors: (string | number | boolean | (null)) | {
|
|
558
|
+
[key: string]: unknown;
|
|
559
|
+
} | unknown[];
|
|
560
|
+
phone: string | null;
|
|
561
|
+
manageBiddingStrategySelf: boolean;
|
|
562
|
+
biddingStrategy: components["schemas"]["AdBiddingStrategy"];
|
|
514
563
|
publishedContentHash: string | null;
|
|
515
564
|
publishedAt: unknown;
|
|
516
565
|
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
@@ -1106,6 +1155,153 @@ interface components {
|
|
|
1106
1155
|
count: number;
|
|
1107
1156
|
}[];
|
|
1108
1157
|
};
|
|
1158
|
+
/** AssetWithPublicUrl */
|
|
1159
|
+
AssetWithPublicUrl: {
|
|
1160
|
+
id: string;
|
|
1161
|
+
type: components["schemas"]["AssetType"];
|
|
1162
|
+
tags: string[] | null;
|
|
1163
|
+
bucket: string;
|
|
1164
|
+
storagePath: string;
|
|
1165
|
+
filename: string;
|
|
1166
|
+
contentType: string;
|
|
1167
|
+
sizeBytes: number;
|
|
1168
|
+
caption: (string | number | boolean | (null)) | {
|
|
1169
|
+
[key: string]: unknown;
|
|
1170
|
+
} | unknown[];
|
|
1171
|
+
alt: (string | number | boolean | (null)) | {
|
|
1172
|
+
[key: string]: unknown;
|
|
1173
|
+
} | unknown[];
|
|
1174
|
+
metadata: ((string | number | boolean | (null)) | {
|
|
1175
|
+
[key: string]: unknown;
|
|
1176
|
+
} | unknown[]) | null;
|
|
1177
|
+
cropArea: ((string | number | boolean | (null)) | {
|
|
1178
|
+
[key: string]: unknown;
|
|
1179
|
+
} | unknown[]) | null;
|
|
1180
|
+
isActive: boolean;
|
|
1181
|
+
sortIndex: string | null;
|
|
1182
|
+
createdAt: unknown;
|
|
1183
|
+
updatedAt: unknown;
|
|
1184
|
+
createdBy: string | null;
|
|
1185
|
+
updatedBy: string | null;
|
|
1186
|
+
venueId: string | null;
|
|
1187
|
+
contentHash: string | null;
|
|
1188
|
+
publicUrl: string | null;
|
|
1189
|
+
};
|
|
1190
|
+
/** FetchBeverageResponse */
|
|
1191
|
+
FetchBeverageResponse: {
|
|
1192
|
+
id: string;
|
|
1193
|
+
venueId: string;
|
|
1194
|
+
accessor: string;
|
|
1195
|
+
name: (string | number | boolean | (null)) | {
|
|
1196
|
+
[key: string]: unknown;
|
|
1197
|
+
} | unknown[];
|
|
1198
|
+
shortName: ((string | number | boolean | (null)) | {
|
|
1199
|
+
[key: string]: unknown;
|
|
1200
|
+
} | unknown[]) | null;
|
|
1201
|
+
kitchenName: ((string | number | boolean | (null)) | {
|
|
1202
|
+
[key: string]: unknown;
|
|
1203
|
+
} | unknown[]) | null;
|
|
1204
|
+
description: ((string | number | boolean | (null)) | {
|
|
1205
|
+
[key: string]: unknown;
|
|
1206
|
+
} | unknown[]) | null;
|
|
1207
|
+
longDescription: ((string | number | boolean | (null)) | {
|
|
1208
|
+
[key: string]: unknown;
|
|
1209
|
+
} | unknown[]) | null;
|
|
1210
|
+
isAlcoholic: boolean;
|
|
1211
|
+
alcoholPercentage: string | null;
|
|
1212
|
+
volumes: ((string | number | boolean | (null)) | {
|
|
1213
|
+
[key: string]: unknown;
|
|
1214
|
+
} | unknown[]) | null;
|
|
1215
|
+
category: components["schemas"]["BeverageCategory"];
|
|
1216
|
+
categoryAttributes: ((string | number | boolean | (null)) | {
|
|
1217
|
+
[key: string]: unknown;
|
|
1218
|
+
} | unknown[]) | null;
|
|
1219
|
+
servingRecommendations: ((string | number | boolean | (null)) | {
|
|
1220
|
+
[key: string]: unknown;
|
|
1221
|
+
} | unknown[]) | null;
|
|
1222
|
+
isActive: boolean;
|
|
1223
|
+
sortIndex: string | null;
|
|
1224
|
+
updatedAt: unknown;
|
|
1225
|
+
updatedBy: string | null;
|
|
1226
|
+
createdAt: unknown;
|
|
1227
|
+
createdBy: string | null;
|
|
1228
|
+
assets: components["schemas"]["AssetWithPublicUrl"][];
|
|
1229
|
+
};
|
|
1230
|
+
/** EditBeverageRequest */
|
|
1231
|
+
EditBeverageRequest: {
|
|
1232
|
+
id: string;
|
|
1233
|
+
venueId?: string;
|
|
1234
|
+
accessor?: string;
|
|
1235
|
+
name?: (string | number | boolean | (null)) | {
|
|
1236
|
+
[key: string]: unknown;
|
|
1237
|
+
} | unknown[];
|
|
1238
|
+
shortName?: ((string | number | boolean | (null)) | {
|
|
1239
|
+
[key: string]: unknown;
|
|
1240
|
+
} | unknown[]) | null;
|
|
1241
|
+
kitchenName?: ((string | number | boolean | (null)) | {
|
|
1242
|
+
[key: string]: unknown;
|
|
1243
|
+
} | unknown[]) | null;
|
|
1244
|
+
description?: ((string | number | boolean | (null)) | {
|
|
1245
|
+
[key: string]: unknown;
|
|
1246
|
+
} | unknown[]) | null;
|
|
1247
|
+
longDescription?: ((string | number | boolean | (null)) | {
|
|
1248
|
+
[key: string]: unknown;
|
|
1249
|
+
} | unknown[]) | null;
|
|
1250
|
+
isAlcoholic?: boolean;
|
|
1251
|
+
alcoholPercentage?: string | null;
|
|
1252
|
+
volumes?: ((string | number | boolean | (null)) | {
|
|
1253
|
+
[key: string]: unknown;
|
|
1254
|
+
} | unknown[]) | null;
|
|
1255
|
+
category?: components["schemas"]["BeverageCategory"];
|
|
1256
|
+
categoryAttributes?: ((string | number | boolean | (null)) | {
|
|
1257
|
+
[key: string]: unknown;
|
|
1258
|
+
} | unknown[]) | null;
|
|
1259
|
+
servingRecommendations?: ((string | number | boolean | (null)) | {
|
|
1260
|
+
[key: string]: unknown;
|
|
1261
|
+
} | unknown[]) | null;
|
|
1262
|
+
isActive?: boolean;
|
|
1263
|
+
sortIndex?: string | null;
|
|
1264
|
+
venueAccessor: string;
|
|
1265
|
+
};
|
|
1266
|
+
/** EditBeverageResponse */
|
|
1267
|
+
EditBeverageResponse: {
|
|
1268
|
+
id: string;
|
|
1269
|
+
venueId: string;
|
|
1270
|
+
accessor: string;
|
|
1271
|
+
name: (string | number | boolean | (null)) | {
|
|
1272
|
+
[key: string]: unknown;
|
|
1273
|
+
} | unknown[];
|
|
1274
|
+
shortName: ((string | number | boolean | (null)) | {
|
|
1275
|
+
[key: string]: unknown;
|
|
1276
|
+
} | unknown[]) | null;
|
|
1277
|
+
kitchenName: ((string | number | boolean | (null)) | {
|
|
1278
|
+
[key: string]: unknown;
|
|
1279
|
+
} | unknown[]) | null;
|
|
1280
|
+
description: ((string | number | boolean | (null)) | {
|
|
1281
|
+
[key: string]: unknown;
|
|
1282
|
+
} | unknown[]) | null;
|
|
1283
|
+
longDescription: ((string | number | boolean | (null)) | {
|
|
1284
|
+
[key: string]: unknown;
|
|
1285
|
+
} | unknown[]) | null;
|
|
1286
|
+
isAlcoholic: boolean;
|
|
1287
|
+
alcoholPercentage: string | null;
|
|
1288
|
+
volumes: ((string | number | boolean | (null)) | {
|
|
1289
|
+
[key: string]: unknown;
|
|
1290
|
+
} | unknown[]) | null;
|
|
1291
|
+
category: components["schemas"]["BeverageCategory"];
|
|
1292
|
+
categoryAttributes: ((string | number | boolean | (null)) | {
|
|
1293
|
+
[key: string]: unknown;
|
|
1294
|
+
} | unknown[]) | null;
|
|
1295
|
+
servingRecommendations: ((string | number | boolean | (null)) | {
|
|
1296
|
+
[key: string]: unknown;
|
|
1297
|
+
} | unknown[]) | null;
|
|
1298
|
+
isActive: boolean;
|
|
1299
|
+
sortIndex: string | null;
|
|
1300
|
+
updatedAt: unknown;
|
|
1301
|
+
updatedBy: string | null;
|
|
1302
|
+
createdAt: unknown;
|
|
1303
|
+
createdBy: string | null;
|
|
1304
|
+
};
|
|
1109
1305
|
/** GetCalloutsResponse */
|
|
1110
1306
|
GetCalloutsResponse: {
|
|
1111
1307
|
id: string;
|
|
@@ -1181,6 +1377,9 @@ interface components {
|
|
|
1181
1377
|
shortName: ((string | number | boolean | (null)) | {
|
|
1182
1378
|
[key: string]: unknown;
|
|
1183
1379
|
} | unknown[]) | null;
|
|
1380
|
+
kitchenName: ((string | number | boolean | (null)) | {
|
|
1381
|
+
[key: string]: unknown;
|
|
1382
|
+
} | unknown[]) | null;
|
|
1184
1383
|
description: ((string | number | boolean | (null)) | {
|
|
1185
1384
|
[key: string]: unknown;
|
|
1186
1385
|
} | unknown[]) | null;
|
|
@@ -1200,37 +1399,7 @@ interface components {
|
|
|
1200
1399
|
updatedBy: string | null;
|
|
1201
1400
|
createdAt: unknown;
|
|
1202
1401
|
createdBy: string | null;
|
|
1203
|
-
assets:
|
|
1204
|
-
id: string;
|
|
1205
|
-
type: components["schemas"]["AssetType"];
|
|
1206
|
-
tags: string[] | null;
|
|
1207
|
-
bucket: string;
|
|
1208
|
-
storagePath: string;
|
|
1209
|
-
filename: string;
|
|
1210
|
-
contentType: string;
|
|
1211
|
-
sizeBytes: number;
|
|
1212
|
-
caption: (string | number | boolean | (null)) | {
|
|
1213
|
-
[key: string]: unknown;
|
|
1214
|
-
} | unknown[];
|
|
1215
|
-
alt: (string | number | boolean | (null)) | {
|
|
1216
|
-
[key: string]: unknown;
|
|
1217
|
-
} | unknown[];
|
|
1218
|
-
metadata: ((string | number | boolean | (null)) | {
|
|
1219
|
-
[key: string]: unknown;
|
|
1220
|
-
} | unknown[]) | null;
|
|
1221
|
-
cropArea: ((string | number | boolean | (null)) | {
|
|
1222
|
-
[key: string]: unknown;
|
|
1223
|
-
} | unknown[]) | null;
|
|
1224
|
-
isActive: boolean;
|
|
1225
|
-
sortIndex: string | null;
|
|
1226
|
-
createdAt: unknown;
|
|
1227
|
-
updatedAt: unknown;
|
|
1228
|
-
createdBy: string | null;
|
|
1229
|
-
updatedBy: string | null;
|
|
1230
|
-
venueId: string | null;
|
|
1231
|
-
contentHash: string | null;
|
|
1232
|
-
publicUrl: string | null;
|
|
1233
|
-
}[];
|
|
1402
|
+
assets: components["schemas"]["AssetWithPublicUrl"][];
|
|
1234
1403
|
};
|
|
1235
1404
|
/** EditDishRequest */
|
|
1236
1405
|
EditDishRequest: {
|
|
@@ -1242,6 +1411,9 @@ interface components {
|
|
|
1242
1411
|
shortName?: {
|
|
1243
1412
|
[key: string]: string;
|
|
1244
1413
|
} | null;
|
|
1414
|
+
kitchenName?: {
|
|
1415
|
+
[key: string]: string;
|
|
1416
|
+
} | null;
|
|
1245
1417
|
description?: {
|
|
1246
1418
|
[key: string]: string;
|
|
1247
1419
|
} | null;
|
|
@@ -1274,6 +1446,9 @@ interface components {
|
|
|
1274
1446
|
shortName: ((string | number | boolean | (null)) | {
|
|
1275
1447
|
[key: string]: unknown;
|
|
1276
1448
|
} | unknown[]) | null;
|
|
1449
|
+
kitchenName: ((string | number | boolean | (null)) | {
|
|
1450
|
+
[key: string]: unknown;
|
|
1451
|
+
} | unknown[]) | null;
|
|
1277
1452
|
description: ((string | number | boolean | (null)) | {
|
|
1278
1453
|
[key: string]: unknown;
|
|
1279
1454
|
} | unknown[]) | null;
|
|
@@ -1734,6 +1909,7 @@ interface components {
|
|
|
1734
1909
|
id: string;
|
|
1735
1910
|
startTime: string;
|
|
1736
1911
|
endTime: string | null;
|
|
1912
|
+
channel: components["schemas"]["BookingChannel"];
|
|
1737
1913
|
isActive: boolean | null;
|
|
1738
1914
|
isSchedulable: boolean | null;
|
|
1739
1915
|
maxBookings: number | null;
|
|
@@ -1767,6 +1943,7 @@ interface components {
|
|
|
1767
1943
|
id: string;
|
|
1768
1944
|
startTime: string;
|
|
1769
1945
|
endTime: string | null;
|
|
1946
|
+
channel: components["schemas"]["BookingChannel"];
|
|
1770
1947
|
isActive: boolean | null;
|
|
1771
1948
|
isSchedulable: boolean | null;
|
|
1772
1949
|
maxBookings: number | null;
|
|
@@ -1781,6 +1958,20 @@ interface components {
|
|
|
1781
1958
|
};
|
|
1782
1959
|
}[];
|
|
1783
1960
|
}[];
|
|
1961
|
+
scheduleSlotPolicies?: {
|
|
1962
|
+
id: string;
|
|
1963
|
+
scheduleId: string;
|
|
1964
|
+
channel: components["schemas"]["BookingChannel"];
|
|
1965
|
+
slotMode: components["schemas"]["SlotMode"];
|
|
1966
|
+
intervalDuration: number | null;
|
|
1967
|
+
duration: number | null;
|
|
1968
|
+
bookingOpensAtDays: number | null;
|
|
1969
|
+
bookingClosesAtOffset: number | null;
|
|
1970
|
+
updatedAt: unknown;
|
|
1971
|
+
updatedBy: string | null;
|
|
1972
|
+
createdAt: unknown;
|
|
1973
|
+
createdBy: string | null;
|
|
1974
|
+
}[];
|
|
1784
1975
|
};
|
|
1785
1976
|
/**
|
|
1786
1977
|
* EditEventResponse
|
|
@@ -3039,6 +3230,8 @@ interface components {
|
|
|
3039
3230
|
/** @enum {string} */
|
|
3040
3231
|
BeverageCategory: "wine" | "beer" | "coffee" | "tea" | "cocktail" | "juice" | "soft_drink" | "dairy_drink" | "spirit" | "water";
|
|
3041
3232
|
/** @enum {string} */
|
|
3233
|
+
BookingChannel: "reservation" | "order";
|
|
3234
|
+
/** @enum {string} */
|
|
3042
3235
|
CancellationReason: "guest_request" | "restaurant_request";
|
|
3043
3236
|
/** @enum {string} */
|
|
3044
3237
|
ContactPreference: "email" | "phone" | "sms" | "none";
|
|
@@ -3069,7 +3262,7 @@ interface components {
|
|
|
3069
3262
|
/** @enum {string} */
|
|
3070
3263
|
MenuItemType: "dish" | "beverage";
|
|
3071
3264
|
/** @enum {string} */
|
|
3072
|
-
OccupancyReason: "ok" | "tables" | "personnel";
|
|
3265
|
+
OccupancyReason: "ok" | "tables" | "personnel" | "window" | "slot_capacity";
|
|
3073
3266
|
/** @enum {string} */
|
|
3074
3267
|
FulfillmentType: "pickup" | "delivery";
|
|
3075
3268
|
/** @enum {string} */
|
|
@@ -3101,6 +3294,8 @@ interface components {
|
|
|
3101
3294
|
/** @enum {string} */
|
|
3102
3295
|
Unit: "grams" | "kilograms" | "liters" | "milliliters" | "pieces";
|
|
3103
3296
|
/** @enum {string} */
|
|
3297
|
+
AdBiddingStrategy: "MAXIMIZE_CONVERSIONS" | "MAXIMIZE_CLICKS";
|
|
3298
|
+
/** @enum {string} */
|
|
3104
3299
|
AdChannel: "google" | "facebook" | "instagram";
|
|
3105
3300
|
/** @enum {string} */
|
|
3106
3301
|
AdOwnerType: "event" | "ritual" | "venue" | "dish" | "beverage" | "menu";
|
|
@@ -3251,6 +3446,14 @@ type DeleteCalloutResponse = schemas['DeleteCalloutResponse'];
|
|
|
3251
3446
|
type FetchDishResponse = schemas['FetchDishResponse'];
|
|
3252
3447
|
type EditDishRequest = schemas['EditDishRequest'];
|
|
3253
3448
|
type EditDishResponse = schemas['EditDishResponse'];
|
|
3449
|
+
/**
|
|
3450
|
+
* A beverage read by accessor: localized name/description, price, and
|
|
3451
|
+
* assets with public URLs. Generated-bound to `FetchBeverageResponse`
|
|
3452
|
+
* (`createSelectSchema(beverages)` + assets, server-side).
|
|
3453
|
+
*/
|
|
3454
|
+
type FetchBeverageResponse = schemas['FetchBeverageResponse'];
|
|
3455
|
+
type EditBeverageRequest = schemas['EditBeverageRequest'];
|
|
3456
|
+
type EditBeverageResponse = schemas['EditBeverageResponse'];
|
|
3254
3457
|
type GetWebsitePagesResponse = schemas['GetWebsitePagesResponse'];
|
|
3255
3458
|
type CreateWebsitePageRequest = schemas['CreateWebsitePageRequest'];
|
|
3256
3459
|
type CreateWebsitePageResponse = schemas['CreateWebsitePageResponse'];
|
|
@@ -3515,6 +3718,13 @@ interface GetEventSlotAvailabilityOptions {
|
|
|
3515
3718
|
reservationDate: string;
|
|
3516
3719
|
partySize: number;
|
|
3517
3720
|
areaId?: string;
|
|
3721
|
+
/**
|
|
3722
|
+
* Booking channel to evaluate (default 'reservation'). 'order' returns the
|
|
3723
|
+
* event's order-pickup grid — its own slot rows and per-slot caps, gated by
|
|
3724
|
+
* the order booking window instead of the table-occupancy engine. An event
|
|
3725
|
+
* without a dedicated order grid inherits the reservation grid.
|
|
3726
|
+
*/
|
|
3727
|
+
channel?: 'reservation' | 'order';
|
|
3518
3728
|
}
|
|
3519
3729
|
interface GetAreaAvailabilityOptions {
|
|
3520
3730
|
/** YYYY-MM-DD — defaults to today */
|
|
@@ -3645,4 +3855,4 @@ type SubscribeRequest = schemas['SubscribeToSubscriptionBody'];
|
|
|
3645
3855
|
type SubscribeResponse = schemas['SubscribeToSubscriptionResponse'];
|
|
3646
3856
|
type SubscriptionCredit = schemas['GetSubscriptionCreditsResponse'][number];
|
|
3647
3857
|
|
|
3648
|
-
export type {
|
|
3858
|
+
export type { EventMenu as $, Ad as A, Basket as B, ConfirmOrderRequest as C, CreateDeltaPaymentIntentResponse as D, CreateEventRequest as E, CreateEventResponse as F, CreatePaymentIntentRequest as G, CreatePaymentIntentResponse as H, CreateWebsitePageRequest as I, CreateWebsitePageResponse as J, CropArea as K, Currency as L, DayOfWeek as M, DeclaredReturn as N, DeleteAdResponse as O, DeleteCalloutResponse as P, DeleteEventResponse as Q, DeleteWebsitePageResponse as R, EditBeverageRequest as S, EditBeverageResponse as T, EditDishRequest as U, EditDishResponse as V, EditMetaAdRequest as W, EditMetaAdResponse as X, Event as Y, EventAsset as Z, EventByAccessor as _, AddToBasketRequest as a, SetAdBudgetRequest as a$, EventSlotAvailabilityResponse as a0, FeatureImage as a1, FetchBeverageResponse as a2, FetchDishResponse as a3, GetAreaAvailabilityOptions as a4, GetAreaOptions as a5, GetArticleResponse as a6, GetCalloutsResponse as a7, GetEventOptions as a8, GetEventSlotAvailabilityOptions as a9, PatchAdRequest as aA, PatchAdResponse as aB, PatchArticleRequest as aC, PatchArticleResponse as aD, PatchEventRequest as aE, PatchEventResponse as aF, PatchFeatureImageRequest as aG, PaymentStatus as aH, PlaceOrderRequest as aI, PlaceOrderResponse as aJ, Promotion as aK, ReduceDeltaPaymentIntentRequest as aL, ReduceDeltaPaymentIntentResponse as aM, RemoveFromBasketResponse as aN, RitualByAccessor as aO, SaveAdCalloutsRequest as aP, SaveAdCalloutsResponse as aQ, SaveAdKeywordsRequest as aR, SaveAdKeywordsResponse as aS, SaveAdNegativeKeywordsRequest as aT, SaveAdNegativeKeywordsResponse as aU, SaveAdWebsitePagesRequest as aV, SaveAdWebsitePagesResponse as aW, Schedule as aX, ScheduleOverride as aY, ScheduleTimeSlot as aZ, ScheduleWithTimeSlots as a_, GetMenuOptions as aa, GetVenueResponse as ab, GetWebsitePagesResponse as ac, LatestOrder as ad, ListAdsOptions as ae, ListAdsResponse as af, ListArticlesOptions as ag, ListArticlesResponse as ah, ListAssetsOptions as ai, ListAssetsResponse as aj, ListEventsOptions as ak, ListEventsResponse as al, MakeReservationRequest as am, MakeReservationResponse as an, Menu as ao, MenuAsset as ap, MenuBeverage as aq, MenuBundle as ar, MenuBundleDeposit as as, MenuDish as at, MenuItem as au, MenuItemType as av, MenuSubscription as aw, MenuSubscriptionPoster as ax, OrderFulfillmentType as ay, OrderStatus as az, AddToBasketResponse as b, SetAdBudgetResponse as b0, SubmitAreaBookingRequestPayload as b1, SubscribeRequest as b2, SubscribeResponse as b3, SubscriberStatus as b4, SubscriptionCredit as b5, SubscriptionCreditStatus as b6, SubscriptionPeriod as b7, TimeSlot as b8, Unit as b9, UpdateCalloutRequest as ba, UpdateCalloutResponse as bb, UpdateWebsitePageRequest as bc, UpdateWebsitePageResponse as bd, UploadAssetArgs as be, UploadAssetResponse as bf, UploadEventAssetArgs as bg, UploadEventAssetResponse as bh, UploadFeatureImageArgs as bi, Venue as bj, Area as c, AreaAsset as d, AreaAvailabilityResponse as e, AreaAvailabilityWindow as f, AreaBookingMode as g, AreaBookingRequestResponse as h, AreaBookingRequestSource as i, AreaBookingRequestStatus as j, AreaBookingStatus as k, AreaFeature as l, Article as m, Asset as n, BasketItem as o, BasketItemDeposit as p, BasketItemMenuItemRef as q, BasketItemMetadata as r, BasketStatus as s, BasketTotals as t, ConfirmOrderResponse as u, CreateAdRequest as v, CreateAdResponse as w, CreateCalloutRequest as x, CreateCalloutResponse as y, CreateDeltaPaymentIntentRequest as z };
|
package/dist/menu.d.cts
CHANGED
package/dist/menu.d.mts
CHANGED