order3000 2.2.5 → 2.3.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 +65 -48
- package/dist/client.d.cts +42 -5
- package/dist/client.d.mts +42 -5
- package/dist/client.mjs +63 -49
- package/dist/{index-DJ6-ihXb.d.cts → index-Be_lu95q.d.cts} +56 -7
- package/dist/{index-DJ6-ihXb.d.mts → index-Be_lu95q.d.mts} +56 -7
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +156 -6
- package/dist/schemas.d.cts +155 -13
- package/dist/schemas.d.mts +155 -13
- package/dist/schemas.mjs +156 -6
- package/package.json +2 -2
- package/dist/index-ChIpruKt.d.cts +0 -4458
- package/dist/index-ChIpruKt.d.mts +0 -4458
|
@@ -1,4458 +0,0 @@
|
|
|
1
|
-
interface components {
|
|
2
|
-
schemas: {
|
|
3
|
-
/** FetchAdsResponse */
|
|
4
|
-
FetchAdsResponse: {
|
|
5
|
-
id: string;
|
|
6
|
-
venueId: string;
|
|
7
|
-
ownerEntityType: components["schemas"]["AdOwnerType"];
|
|
8
|
-
ownerEntityId: string;
|
|
9
|
-
channel: components["schemas"]["AdChannel"];
|
|
10
|
-
status: components["schemas"]["AdStatus"];
|
|
11
|
-
campaignId: string | null;
|
|
12
|
-
content: (string | number | boolean | (null)) | {
|
|
13
|
-
[key: string]: unknown;
|
|
14
|
-
} | unknown[];
|
|
15
|
-
metaContent: ((string | number | boolean | (null)) | {
|
|
16
|
-
[key: string]: unknown;
|
|
17
|
-
} | unknown[]) | null;
|
|
18
|
-
metaRefs: ((string | number | boolean | (null)) | {
|
|
19
|
-
[key: string]: unknown;
|
|
20
|
-
} | unknown[]) | null;
|
|
21
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
22
|
-
[key: string]: unknown;
|
|
23
|
-
} | unknown[]) | null;
|
|
24
|
-
keywords: (string | number | boolean | (null)) | {
|
|
25
|
-
[key: string]: unknown;
|
|
26
|
-
} | unknown[];
|
|
27
|
-
negativeKeywords: (string | number | boolean | (null)) | {
|
|
28
|
-
[key: string]: unknown;
|
|
29
|
-
} | unknown[];
|
|
30
|
-
disabledVenueKeywords: (string | number | boolean | (null)) | {
|
|
31
|
-
[key: string]: unknown;
|
|
32
|
-
} | unknown[];
|
|
33
|
-
disabledVenueNegativeKeywords: (string | number | boolean | (null)) | {
|
|
34
|
-
[key: string]: unknown;
|
|
35
|
-
} | unknown[];
|
|
36
|
-
dismissedKeywords: (string | number | boolean | (null)) | {
|
|
37
|
-
[key: string]: unknown;
|
|
38
|
-
} | unknown[];
|
|
39
|
-
keywordMetrics: (string | number | boolean | (null)) | {
|
|
40
|
-
[key: string]: unknown;
|
|
41
|
-
} | unknown[];
|
|
42
|
-
websitePageIds: (string | number | boolean | (null)) | {
|
|
43
|
-
[key: string]: unknown;
|
|
44
|
-
} | unknown[];
|
|
45
|
-
calloutIds: (string | number | boolean | (null)) | {
|
|
46
|
-
[key: string]: unknown;
|
|
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"];
|
|
55
|
-
publishedContentHash: string | null;
|
|
56
|
-
publishedAt: unknown;
|
|
57
|
-
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
58
|
-
[key: string]: unknown;
|
|
59
|
-
} | unknown[]) | null;
|
|
60
|
-
dailyBudget: number | null;
|
|
61
|
-
createdBy: string | null;
|
|
62
|
-
updatedBy: string | null;
|
|
63
|
-
createdAt: unknown;
|
|
64
|
-
updatedAt: unknown;
|
|
65
|
-
}[];
|
|
66
|
-
/** FetchAdResponse */
|
|
67
|
-
FetchAdResponse: {
|
|
68
|
-
id: string;
|
|
69
|
-
venueId: string;
|
|
70
|
-
ownerEntityType: components["schemas"]["AdOwnerType"];
|
|
71
|
-
ownerEntityId: string;
|
|
72
|
-
channel: components["schemas"]["AdChannel"];
|
|
73
|
-
status: components["schemas"]["AdStatus"];
|
|
74
|
-
campaignId: string | null;
|
|
75
|
-
content: (string | number | boolean | (null)) | {
|
|
76
|
-
[key: string]: unknown;
|
|
77
|
-
} | unknown[];
|
|
78
|
-
metaContent: ((string | number | boolean | (null)) | {
|
|
79
|
-
[key: string]: unknown;
|
|
80
|
-
} | unknown[]) | null;
|
|
81
|
-
metaRefs: ((string | number | boolean | (null)) | {
|
|
82
|
-
[key: string]: unknown;
|
|
83
|
-
} | unknown[]) | null;
|
|
84
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
85
|
-
[key: string]: unknown;
|
|
86
|
-
} | unknown[]) | null;
|
|
87
|
-
keywords: (string | number | boolean | (null)) | {
|
|
88
|
-
[key: string]: unknown;
|
|
89
|
-
} | unknown[];
|
|
90
|
-
negativeKeywords: (string | number | boolean | (null)) | {
|
|
91
|
-
[key: string]: unknown;
|
|
92
|
-
} | unknown[];
|
|
93
|
-
disabledVenueKeywords: (string | number | boolean | (null)) | {
|
|
94
|
-
[key: string]: unknown;
|
|
95
|
-
} | unknown[];
|
|
96
|
-
disabledVenueNegativeKeywords: (string | number | boolean | (null)) | {
|
|
97
|
-
[key: string]: unknown;
|
|
98
|
-
} | unknown[];
|
|
99
|
-
dismissedKeywords: (string | number | boolean | (null)) | {
|
|
100
|
-
[key: string]: unknown;
|
|
101
|
-
} | unknown[];
|
|
102
|
-
keywordMetrics: (string | number | boolean | (null)) | {
|
|
103
|
-
[key: string]: unknown;
|
|
104
|
-
} | unknown[];
|
|
105
|
-
websitePageIds: (string | number | boolean | (null)) | {
|
|
106
|
-
[key: string]: unknown;
|
|
107
|
-
} | unknown[];
|
|
108
|
-
calloutIds: (string | number | boolean | (null)) | {
|
|
109
|
-
[key: string]: unknown;
|
|
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"];
|
|
118
|
-
publishedContentHash: string | null;
|
|
119
|
-
publishedAt: unknown;
|
|
120
|
-
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
121
|
-
[key: string]: unknown;
|
|
122
|
-
} | unknown[]) | null;
|
|
123
|
-
dailyBudget: number | null;
|
|
124
|
-
createdBy: string | null;
|
|
125
|
-
updatedBy: string | null;
|
|
126
|
-
createdAt: unknown;
|
|
127
|
-
updatedAt: unknown;
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* CreateAdRequest
|
|
131
|
-
* @description Request payload for creating a new ad
|
|
132
|
-
*/
|
|
133
|
-
CreateAdRequest: {
|
|
134
|
-
venueAccessor: string;
|
|
135
|
-
ownerEntityType: components["schemas"]["AdOwnerType"];
|
|
136
|
-
ownerEntityId: string;
|
|
137
|
-
channel: components["schemas"]["AdChannel"];
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* CreateAdResponse
|
|
141
|
-
* @description Successfully created ad
|
|
142
|
-
*/
|
|
143
|
-
CreateAdResponse: {
|
|
144
|
-
id: string;
|
|
145
|
-
venueId: string;
|
|
146
|
-
ownerEntityType: components["schemas"]["AdOwnerType"];
|
|
147
|
-
ownerEntityId: string;
|
|
148
|
-
channel: components["schemas"]["AdChannel"];
|
|
149
|
-
status: components["schemas"]["AdStatus"];
|
|
150
|
-
campaignId: string | null;
|
|
151
|
-
content: (string | number | boolean | (null)) | {
|
|
152
|
-
[key: string]: unknown;
|
|
153
|
-
} | unknown[];
|
|
154
|
-
metaContent: ((string | number | boolean | (null)) | {
|
|
155
|
-
[key: string]: unknown;
|
|
156
|
-
} | unknown[]) | null;
|
|
157
|
-
metaRefs: ((string | number | boolean | (null)) | {
|
|
158
|
-
[key: string]: unknown;
|
|
159
|
-
} | unknown[]) | null;
|
|
160
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
161
|
-
[key: string]: unknown;
|
|
162
|
-
} | unknown[]) | null;
|
|
163
|
-
keywords: (string | number | boolean | (null)) | {
|
|
164
|
-
[key: string]: unknown;
|
|
165
|
-
} | unknown[];
|
|
166
|
-
negativeKeywords: (string | number | boolean | (null)) | {
|
|
167
|
-
[key: string]: unknown;
|
|
168
|
-
} | unknown[];
|
|
169
|
-
disabledVenueKeywords: (string | number | boolean | (null)) | {
|
|
170
|
-
[key: string]: unknown;
|
|
171
|
-
} | unknown[];
|
|
172
|
-
disabledVenueNegativeKeywords: (string | number | boolean | (null)) | {
|
|
173
|
-
[key: string]: unknown;
|
|
174
|
-
} | unknown[];
|
|
175
|
-
dismissedKeywords: (string | number | boolean | (null)) | {
|
|
176
|
-
[key: string]: unknown;
|
|
177
|
-
} | unknown[];
|
|
178
|
-
keywordMetrics: (string | number | boolean | (null)) | {
|
|
179
|
-
[key: string]: unknown;
|
|
180
|
-
} | unknown[];
|
|
181
|
-
websitePageIds: (string | number | boolean | (null)) | {
|
|
182
|
-
[key: string]: unknown;
|
|
183
|
-
} | unknown[];
|
|
184
|
-
calloutIds: (string | number | boolean | (null)) | {
|
|
185
|
-
[key: string]: unknown;
|
|
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"];
|
|
194
|
-
publishedContentHash: string | null;
|
|
195
|
-
publishedAt: unknown;
|
|
196
|
-
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
197
|
-
[key: string]: unknown;
|
|
198
|
-
} | unknown[]) | null;
|
|
199
|
-
dailyBudget: number | null;
|
|
200
|
-
createdBy: string | null;
|
|
201
|
-
updatedBy: string | null;
|
|
202
|
-
createdAt: unknown;
|
|
203
|
-
updatedAt: unknown;
|
|
204
|
-
};
|
|
205
|
-
/**
|
|
206
|
-
* EditAdRequest
|
|
207
|
-
* @description Partial-update body for an existing ad
|
|
208
|
-
*/
|
|
209
|
-
EditAdRequest: {
|
|
210
|
-
venueAccessor: string;
|
|
211
|
-
id: string;
|
|
212
|
-
content?: {
|
|
213
|
-
businessName: {
|
|
214
|
-
[key: string]: string;
|
|
215
|
-
};
|
|
216
|
-
headlines: {
|
|
217
|
-
[key: string]: string[];
|
|
218
|
-
};
|
|
219
|
-
descriptions: {
|
|
220
|
-
[key: string]: string[];
|
|
221
|
-
};
|
|
222
|
-
paths: {
|
|
223
|
-
[key: string]: string[];
|
|
224
|
-
};
|
|
225
|
-
/** Format: uri */
|
|
226
|
-
finalUrl: string;
|
|
227
|
-
};
|
|
228
|
-
status?: components["schemas"]["AdStatus"];
|
|
229
|
-
};
|
|
230
|
-
/**
|
|
231
|
-
* EditAdResponse
|
|
232
|
-
* @description Successfully updated ad
|
|
233
|
-
*/
|
|
234
|
-
EditAdResponse: {
|
|
235
|
-
id: string;
|
|
236
|
-
venueId: string;
|
|
237
|
-
ownerEntityType: components["schemas"]["AdOwnerType"];
|
|
238
|
-
ownerEntityId: string;
|
|
239
|
-
channel: components["schemas"]["AdChannel"];
|
|
240
|
-
status: components["schemas"]["AdStatus"];
|
|
241
|
-
campaignId: string | null;
|
|
242
|
-
content: (string | number | boolean | (null)) | {
|
|
243
|
-
[key: string]: unknown;
|
|
244
|
-
} | unknown[];
|
|
245
|
-
metaContent: ((string | number | boolean | (null)) | {
|
|
246
|
-
[key: string]: unknown;
|
|
247
|
-
} | unknown[]) | null;
|
|
248
|
-
metaRefs: ((string | number | boolean | (null)) | {
|
|
249
|
-
[key: string]: unknown;
|
|
250
|
-
} | unknown[]) | null;
|
|
251
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
252
|
-
[key: string]: unknown;
|
|
253
|
-
} | unknown[]) | null;
|
|
254
|
-
keywords: (string | number | boolean | (null)) | {
|
|
255
|
-
[key: string]: unknown;
|
|
256
|
-
} | unknown[];
|
|
257
|
-
negativeKeywords: (string | number | boolean | (null)) | {
|
|
258
|
-
[key: string]: unknown;
|
|
259
|
-
} | unknown[];
|
|
260
|
-
disabledVenueKeywords: (string | number | boolean | (null)) | {
|
|
261
|
-
[key: string]: unknown;
|
|
262
|
-
} | unknown[];
|
|
263
|
-
disabledVenueNegativeKeywords: (string | number | boolean | (null)) | {
|
|
264
|
-
[key: string]: unknown;
|
|
265
|
-
} | unknown[];
|
|
266
|
-
dismissedKeywords: (string | number | boolean | (null)) | {
|
|
267
|
-
[key: string]: unknown;
|
|
268
|
-
} | unknown[];
|
|
269
|
-
keywordMetrics: (string | number | boolean | (null)) | {
|
|
270
|
-
[key: string]: unknown;
|
|
271
|
-
} | unknown[];
|
|
272
|
-
websitePageIds: (string | number | boolean | (null)) | {
|
|
273
|
-
[key: string]: unknown;
|
|
274
|
-
} | unknown[];
|
|
275
|
-
calloutIds: (string | number | boolean | (null)) | {
|
|
276
|
-
[key: string]: unknown;
|
|
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"];
|
|
285
|
-
publishedContentHash: string | null;
|
|
286
|
-
publishedAt: unknown;
|
|
287
|
-
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
288
|
-
[key: string]: unknown;
|
|
289
|
-
} | unknown[]) | null;
|
|
290
|
-
dailyBudget: number | null;
|
|
291
|
-
createdBy: string | null;
|
|
292
|
-
updatedBy: string | null;
|
|
293
|
-
createdAt: unknown;
|
|
294
|
-
updatedAt: unknown;
|
|
295
|
-
};
|
|
296
|
-
/**
|
|
297
|
-
* EditMetaAdRequest
|
|
298
|
-
* @description Partial-update body for an existing Meta ad
|
|
299
|
-
*/
|
|
300
|
-
EditMetaAdRequest: {
|
|
301
|
-
venueAccessor: string;
|
|
302
|
-
id: string;
|
|
303
|
-
metaContent?: {
|
|
304
|
-
primaryText: {
|
|
305
|
-
[key: string]: string;
|
|
306
|
-
};
|
|
307
|
-
headline: {
|
|
308
|
-
[key: string]: string;
|
|
309
|
-
};
|
|
310
|
-
description: {
|
|
311
|
-
[key: string]: string;
|
|
312
|
-
};
|
|
313
|
-
/** Format: uri */
|
|
314
|
-
finalUrl: string;
|
|
315
|
-
callToAction: string;
|
|
316
|
-
creatives: {
|
|
317
|
-
[key: string]: {
|
|
318
|
-
assetId: string;
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
|
-
status?: components["schemas"]["AdStatus"];
|
|
323
|
-
};
|
|
324
|
-
/**
|
|
325
|
-
* EditMetaAdResponse
|
|
326
|
-
* @description Successfully updated Meta ad
|
|
327
|
-
*/
|
|
328
|
-
EditMetaAdResponse: {
|
|
329
|
-
id: string;
|
|
330
|
-
venueId: string;
|
|
331
|
-
ownerEntityType: components["schemas"]["AdOwnerType"];
|
|
332
|
-
ownerEntityId: string;
|
|
333
|
-
channel: components["schemas"]["AdChannel"];
|
|
334
|
-
status: components["schemas"]["AdStatus"];
|
|
335
|
-
campaignId: string | null;
|
|
336
|
-
content: (string | number | boolean | (null)) | {
|
|
337
|
-
[key: string]: unknown;
|
|
338
|
-
} | unknown[];
|
|
339
|
-
metaContent: ((string | number | boolean | (null)) | {
|
|
340
|
-
[key: string]: unknown;
|
|
341
|
-
} | unknown[]) | null;
|
|
342
|
-
metaRefs: ((string | number | boolean | (null)) | {
|
|
343
|
-
[key: string]: unknown;
|
|
344
|
-
} | unknown[]) | null;
|
|
345
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
346
|
-
[key: string]: unknown;
|
|
347
|
-
} | unknown[]) | null;
|
|
348
|
-
keywords: (string | number | boolean | (null)) | {
|
|
349
|
-
[key: string]: unknown;
|
|
350
|
-
} | unknown[];
|
|
351
|
-
negativeKeywords: (string | number | boolean | (null)) | {
|
|
352
|
-
[key: string]: unknown;
|
|
353
|
-
} | unknown[];
|
|
354
|
-
disabledVenueKeywords: (string | number | boolean | (null)) | {
|
|
355
|
-
[key: string]: unknown;
|
|
356
|
-
} | unknown[];
|
|
357
|
-
disabledVenueNegativeKeywords: (string | number | boolean | (null)) | {
|
|
358
|
-
[key: string]: unknown;
|
|
359
|
-
} | unknown[];
|
|
360
|
-
dismissedKeywords: (string | number | boolean | (null)) | {
|
|
361
|
-
[key: string]: unknown;
|
|
362
|
-
} | unknown[];
|
|
363
|
-
keywordMetrics: (string | number | boolean | (null)) | {
|
|
364
|
-
[key: string]: unknown;
|
|
365
|
-
} | unknown[];
|
|
366
|
-
websitePageIds: (string | number | boolean | (null)) | {
|
|
367
|
-
[key: string]: unknown;
|
|
368
|
-
} | unknown[];
|
|
369
|
-
calloutIds: (string | number | boolean | (null)) | {
|
|
370
|
-
[key: string]: unknown;
|
|
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"];
|
|
379
|
-
publishedContentHash: string | null;
|
|
380
|
-
publishedAt: unknown;
|
|
381
|
-
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
382
|
-
[key: string]: unknown;
|
|
383
|
-
} | unknown[]) | null;
|
|
384
|
-
dailyBudget: number | null;
|
|
385
|
-
createdBy: string | null;
|
|
386
|
-
updatedBy: string | null;
|
|
387
|
-
createdAt: unknown;
|
|
388
|
-
updatedAt: unknown;
|
|
389
|
-
};
|
|
390
|
-
/** SaveAdKeywordsRequest */
|
|
391
|
-
SaveAdKeywordsRequest: {
|
|
392
|
-
venueAccessor: string;
|
|
393
|
-
adId: string;
|
|
394
|
-
keywords: string[];
|
|
395
|
-
dismissedKeywords: string[];
|
|
396
|
-
disabledVenueKeywords: string[];
|
|
397
|
-
};
|
|
398
|
-
/** SaveAdKeywordsResponse */
|
|
399
|
-
SaveAdKeywordsResponse: {
|
|
400
|
-
success: boolean;
|
|
401
|
-
keywords: string[];
|
|
402
|
-
dismissedKeywords: string[];
|
|
403
|
-
disabledVenueKeywords: string[];
|
|
404
|
-
};
|
|
405
|
-
/** SaveAdCalloutsRequest */
|
|
406
|
-
SaveAdCalloutsRequest: {
|
|
407
|
-
venueAccessor: string;
|
|
408
|
-
adId: string;
|
|
409
|
-
calloutIds: string[];
|
|
410
|
-
};
|
|
411
|
-
/** SaveAdCalloutsResponse */
|
|
412
|
-
SaveAdCalloutsResponse: {
|
|
413
|
-
success: boolean;
|
|
414
|
-
calloutIds: string[];
|
|
415
|
-
};
|
|
416
|
-
/** SaveAdNegativeKeywordsRequest */
|
|
417
|
-
SaveAdNegativeKeywordsRequest: {
|
|
418
|
-
venueAccessor: string;
|
|
419
|
-
adId: string;
|
|
420
|
-
negativeKeywords: string[];
|
|
421
|
-
/** @default [] */
|
|
422
|
-
disabledVenueNegativeKeywords: string[];
|
|
423
|
-
};
|
|
424
|
-
/** SaveAdNegativeKeywordsResponse */
|
|
425
|
-
SaveAdNegativeKeywordsResponse: {
|
|
426
|
-
success: boolean;
|
|
427
|
-
negativeKeywords: string[];
|
|
428
|
-
disabledVenueNegativeKeywords: string[];
|
|
429
|
-
syncedToGoogle: boolean;
|
|
430
|
-
};
|
|
431
|
-
/** SaveAdWebsitePagesRequest */
|
|
432
|
-
SaveAdWebsitePagesRequest: {
|
|
433
|
-
venueAccessor: string;
|
|
434
|
-
adId: string;
|
|
435
|
-
websitePageIds: string[];
|
|
436
|
-
};
|
|
437
|
-
/** SaveAdWebsitePagesResponse */
|
|
438
|
-
SaveAdWebsitePagesResponse: {
|
|
439
|
-
success: boolean;
|
|
440
|
-
websitePageIds: string[];
|
|
441
|
-
};
|
|
442
|
-
/** SetAdBudgetRequest */
|
|
443
|
-
SetAdBudgetRequest: {
|
|
444
|
-
venueAccessor: string;
|
|
445
|
-
adId: string;
|
|
446
|
-
dailyBudget: number;
|
|
447
|
-
};
|
|
448
|
-
/** SetAdBudgetResponse */
|
|
449
|
-
SetAdBudgetResponse: {
|
|
450
|
-
id: string;
|
|
451
|
-
venueId: string;
|
|
452
|
-
ownerEntityType: components["schemas"]["AdOwnerType"];
|
|
453
|
-
ownerEntityId: string;
|
|
454
|
-
channel: components["schemas"]["AdChannel"];
|
|
455
|
-
status: components["schemas"]["AdStatus"];
|
|
456
|
-
campaignId: string | null;
|
|
457
|
-
content: (string | number | boolean | (null)) | {
|
|
458
|
-
[key: string]: unknown;
|
|
459
|
-
} | unknown[];
|
|
460
|
-
metaContent: ((string | number | boolean | (null)) | {
|
|
461
|
-
[key: string]: unknown;
|
|
462
|
-
} | unknown[]) | null;
|
|
463
|
-
metaRefs: ((string | number | boolean | (null)) | {
|
|
464
|
-
[key: string]: unknown;
|
|
465
|
-
} | unknown[]) | null;
|
|
466
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
467
|
-
[key: string]: unknown;
|
|
468
|
-
} | unknown[]) | null;
|
|
469
|
-
keywords: (string | number | boolean | (null)) | {
|
|
470
|
-
[key: string]: unknown;
|
|
471
|
-
} | unknown[];
|
|
472
|
-
negativeKeywords: (string | number | boolean | (null)) | {
|
|
473
|
-
[key: string]: unknown;
|
|
474
|
-
} | unknown[];
|
|
475
|
-
disabledVenueKeywords: (string | number | boolean | (null)) | {
|
|
476
|
-
[key: string]: unknown;
|
|
477
|
-
} | unknown[];
|
|
478
|
-
disabledVenueNegativeKeywords: (string | number | boolean | (null)) | {
|
|
479
|
-
[key: string]: unknown;
|
|
480
|
-
} | unknown[];
|
|
481
|
-
dismissedKeywords: (string | number | boolean | (null)) | {
|
|
482
|
-
[key: string]: unknown;
|
|
483
|
-
} | unknown[];
|
|
484
|
-
keywordMetrics: (string | number | boolean | (null)) | {
|
|
485
|
-
[key: string]: unknown;
|
|
486
|
-
} | unknown[];
|
|
487
|
-
websitePageIds: (string | number | boolean | (null)) | {
|
|
488
|
-
[key: string]: unknown;
|
|
489
|
-
} | unknown[];
|
|
490
|
-
calloutIds: (string | number | boolean | (null)) | {
|
|
491
|
-
[key: string]: unknown;
|
|
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"];
|
|
500
|
-
publishedContentHash: string | null;
|
|
501
|
-
publishedAt: unknown;
|
|
502
|
-
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
503
|
-
[key: string]: unknown;
|
|
504
|
-
} | unknown[]) | null;
|
|
505
|
-
dailyBudget: number | null;
|
|
506
|
-
createdBy: string | null;
|
|
507
|
-
updatedBy: string | null;
|
|
508
|
-
createdAt: unknown;
|
|
509
|
-
updatedAt: unknown;
|
|
510
|
-
};
|
|
511
|
-
/** DeleteAdResponse */
|
|
512
|
-
DeleteAdResponse: {
|
|
513
|
-
id: string;
|
|
514
|
-
venueId: string;
|
|
515
|
-
ownerEntityType: components["schemas"]["AdOwnerType"];
|
|
516
|
-
ownerEntityId: string;
|
|
517
|
-
channel: components["schemas"]["AdChannel"];
|
|
518
|
-
status: components["schemas"]["AdStatus"];
|
|
519
|
-
campaignId: string | null;
|
|
520
|
-
content: (string | number | boolean | (null)) | {
|
|
521
|
-
[key: string]: unknown;
|
|
522
|
-
} | unknown[];
|
|
523
|
-
metaContent: ((string | number | boolean | (null)) | {
|
|
524
|
-
[key: string]: unknown;
|
|
525
|
-
} | unknown[]) | null;
|
|
526
|
-
metaRefs: ((string | number | boolean | (null)) | {
|
|
527
|
-
[key: string]: unknown;
|
|
528
|
-
} | unknown[]) | null;
|
|
529
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
530
|
-
[key: string]: unknown;
|
|
531
|
-
} | unknown[]) | null;
|
|
532
|
-
keywords: (string | number | boolean | (null)) | {
|
|
533
|
-
[key: string]: unknown;
|
|
534
|
-
} | unknown[];
|
|
535
|
-
negativeKeywords: (string | number | boolean | (null)) | {
|
|
536
|
-
[key: string]: unknown;
|
|
537
|
-
} | unknown[];
|
|
538
|
-
disabledVenueKeywords: (string | number | boolean | (null)) | {
|
|
539
|
-
[key: string]: unknown;
|
|
540
|
-
} | unknown[];
|
|
541
|
-
disabledVenueNegativeKeywords: (string | number | boolean | (null)) | {
|
|
542
|
-
[key: string]: unknown;
|
|
543
|
-
} | unknown[];
|
|
544
|
-
dismissedKeywords: (string | number | boolean | (null)) | {
|
|
545
|
-
[key: string]: unknown;
|
|
546
|
-
} | unknown[];
|
|
547
|
-
keywordMetrics: (string | number | boolean | (null)) | {
|
|
548
|
-
[key: string]: unknown;
|
|
549
|
-
} | unknown[];
|
|
550
|
-
websitePageIds: (string | number | boolean | (null)) | {
|
|
551
|
-
[key: string]: unknown;
|
|
552
|
-
} | unknown[];
|
|
553
|
-
calloutIds: (string | number | boolean | (null)) | {
|
|
554
|
-
[key: string]: unknown;
|
|
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"];
|
|
563
|
-
publishedContentHash: string | null;
|
|
564
|
-
publishedAt: unknown;
|
|
565
|
-
pushedKeywords: ((string | number | boolean | (null)) | {
|
|
566
|
-
[key: string]: unknown;
|
|
567
|
-
} | unknown[]) | null;
|
|
568
|
-
dailyBudget: number | null;
|
|
569
|
-
createdBy: string | null;
|
|
570
|
-
updatedBy: string | null;
|
|
571
|
-
createdAt: unknown;
|
|
572
|
-
updatedAt: unknown;
|
|
573
|
-
};
|
|
574
|
-
/**
|
|
575
|
-
* Area
|
|
576
|
-
* @description A bookable + public area for a venue. Assets are only included when the request expands them. Operational flags (`isActive`, `isPublic`, `isBookable`) and audit columns are only populated for authenticated venue staff.
|
|
577
|
-
*/
|
|
578
|
-
Area: {
|
|
579
|
-
id: string;
|
|
580
|
-
venueId: string;
|
|
581
|
-
accessor: string;
|
|
582
|
-
name: {
|
|
583
|
-
[key: string]: string;
|
|
584
|
-
};
|
|
585
|
-
description: {
|
|
586
|
-
[key: string]: string;
|
|
587
|
-
} | null;
|
|
588
|
-
longDescription: {
|
|
589
|
-
[key: string]: string;
|
|
590
|
-
} | null;
|
|
591
|
-
minCapacity: number | null;
|
|
592
|
-
maxCapacity: number;
|
|
593
|
-
currency: components["schemas"]["Currency"];
|
|
594
|
-
basePrice: number | null;
|
|
595
|
-
perPersonPrice: number | null;
|
|
596
|
-
features: {
|
|
597
|
-
icon: string;
|
|
598
|
-
label: {
|
|
599
|
-
[key: string]: string;
|
|
600
|
-
};
|
|
601
|
-
description?: {
|
|
602
|
-
[key: string]: string;
|
|
603
|
-
};
|
|
604
|
-
}[] | null;
|
|
605
|
-
bookingMode: components["schemas"]["AreaBookingMode"];
|
|
606
|
-
isBookable?: boolean;
|
|
607
|
-
isPublic?: boolean;
|
|
608
|
-
isActive?: boolean;
|
|
609
|
-
areaType?: components["schemas"]["AreaType"];
|
|
610
|
-
turnTimes?: {
|
|
611
|
-
[key: string]: number;
|
|
612
|
-
} | null;
|
|
613
|
-
cleanup?: number | null;
|
|
614
|
-
usages?: {
|
|
615
|
-
type: string;
|
|
616
|
-
count: number;
|
|
617
|
-
name?: string;
|
|
618
|
-
href?: string;
|
|
619
|
-
}[];
|
|
620
|
-
assets?: {
|
|
621
|
-
id: string;
|
|
622
|
-
type: components["schemas"]["AssetType"];
|
|
623
|
-
tags: string[] | null;
|
|
624
|
-
filename: string;
|
|
625
|
-
contentType: string;
|
|
626
|
-
metadata: {
|
|
627
|
-
width?: number;
|
|
628
|
-
height?: number;
|
|
629
|
-
duration?: number;
|
|
630
|
-
} | null;
|
|
631
|
-
cropArea: {
|
|
632
|
-
x: number;
|
|
633
|
-
y: number;
|
|
634
|
-
width: number;
|
|
635
|
-
height: number;
|
|
636
|
-
} | null;
|
|
637
|
-
/** Format: uri */
|
|
638
|
-
publicUrl: string;
|
|
639
|
-
}[];
|
|
640
|
-
closures?: {
|
|
641
|
-
id: string;
|
|
642
|
-
date: string;
|
|
643
|
-
reason: {
|
|
644
|
-
[key: string]: string;
|
|
645
|
-
} | null;
|
|
646
|
-
isActive: boolean;
|
|
647
|
-
}[];
|
|
648
|
-
};
|
|
649
|
-
/** FetchAreasResponse */
|
|
650
|
-
FetchAreasResponse: components["schemas"]["Area"][];
|
|
651
|
-
/**
|
|
652
|
-
* FetchAreaResponse
|
|
653
|
-
* @description A bookable + public area for a venue. Assets are only included when the request expands them. Operational flags (`isActive`, `isPublic`, `isBookable`) and audit columns are only populated for authenticated venue staff.
|
|
654
|
-
*/
|
|
655
|
-
FetchAreaResponse: {
|
|
656
|
-
id: string;
|
|
657
|
-
venueId: string;
|
|
658
|
-
accessor: string;
|
|
659
|
-
name: {
|
|
660
|
-
[key: string]: string;
|
|
661
|
-
};
|
|
662
|
-
description: {
|
|
663
|
-
[key: string]: string;
|
|
664
|
-
} | null;
|
|
665
|
-
longDescription: {
|
|
666
|
-
[key: string]: string;
|
|
667
|
-
} | null;
|
|
668
|
-
minCapacity: number | null;
|
|
669
|
-
maxCapacity: number;
|
|
670
|
-
currency: components["schemas"]["Currency"];
|
|
671
|
-
basePrice: number | null;
|
|
672
|
-
perPersonPrice: number | null;
|
|
673
|
-
features: {
|
|
674
|
-
icon: string;
|
|
675
|
-
label: {
|
|
676
|
-
[key: string]: string;
|
|
677
|
-
};
|
|
678
|
-
description?: {
|
|
679
|
-
[key: string]: string;
|
|
680
|
-
};
|
|
681
|
-
}[] | null;
|
|
682
|
-
bookingMode: components["schemas"]["AreaBookingMode"];
|
|
683
|
-
isBookable?: boolean;
|
|
684
|
-
isPublic?: boolean;
|
|
685
|
-
isActive?: boolean;
|
|
686
|
-
areaType?: components["schemas"]["AreaType"];
|
|
687
|
-
turnTimes?: {
|
|
688
|
-
[key: string]: number;
|
|
689
|
-
} | null;
|
|
690
|
-
cleanup?: number | null;
|
|
691
|
-
usages?: {
|
|
692
|
-
type: string;
|
|
693
|
-
count: number;
|
|
694
|
-
name?: string;
|
|
695
|
-
href?: string;
|
|
696
|
-
}[];
|
|
697
|
-
assets?: {
|
|
698
|
-
id: string;
|
|
699
|
-
type: components["schemas"]["AssetType"];
|
|
700
|
-
tags: string[] | null;
|
|
701
|
-
filename: string;
|
|
702
|
-
contentType: string;
|
|
703
|
-
metadata: {
|
|
704
|
-
width?: number;
|
|
705
|
-
height?: number;
|
|
706
|
-
duration?: number;
|
|
707
|
-
} | null;
|
|
708
|
-
cropArea: {
|
|
709
|
-
x: number;
|
|
710
|
-
y: number;
|
|
711
|
-
width: number;
|
|
712
|
-
height: number;
|
|
713
|
-
} | null;
|
|
714
|
-
/** Format: uri */
|
|
715
|
-
publicUrl: string;
|
|
716
|
-
}[];
|
|
717
|
-
closures?: {
|
|
718
|
-
id: string;
|
|
719
|
-
date: string;
|
|
720
|
-
reason: {
|
|
721
|
-
[key: string]: string;
|
|
722
|
-
} | null;
|
|
723
|
-
isActive: boolean;
|
|
724
|
-
}[];
|
|
725
|
-
};
|
|
726
|
-
/** GetAreaAvailabilityResponse */
|
|
727
|
-
GetAreaAvailabilityResponse: {
|
|
728
|
-
from: string;
|
|
729
|
-
to: string;
|
|
730
|
-
bookingMode: components["schemas"]["AreaBookingMode"];
|
|
731
|
-
occupied: {
|
|
732
|
-
date: string;
|
|
733
|
-
startTime: string | null;
|
|
734
|
-
endTime: string | null;
|
|
735
|
-
}[];
|
|
736
|
-
};
|
|
737
|
-
/** FetchAreaBookingsResponse */
|
|
738
|
-
FetchAreaBookingsResponse: {
|
|
739
|
-
id: string;
|
|
740
|
-
areaId: string;
|
|
741
|
-
bookingDate: string;
|
|
742
|
-
startTime: string | null;
|
|
743
|
-
endTime: string | null;
|
|
744
|
-
partySize: number;
|
|
745
|
-
status: components["schemas"]["AreaBookingStatus"];
|
|
746
|
-
guestFirstName?: string;
|
|
747
|
-
guestLastName?: string;
|
|
748
|
-
totalPrice?: number;
|
|
749
|
-
currency?: components["schemas"]["Currency"];
|
|
750
|
-
confirmationCode?: string | null;
|
|
751
|
-
}[];
|
|
752
|
-
/** SubmitAreaBookingPayload */
|
|
753
|
-
SubmitAreaBookingPayload: {
|
|
754
|
-
requestedDate: string;
|
|
755
|
-
requestedStartTime?: string;
|
|
756
|
-
requestedEndTime?: string;
|
|
757
|
-
partySize: number;
|
|
758
|
-
guestFirstName: string;
|
|
759
|
-
guestLastName: string;
|
|
760
|
-
/** Format: email */
|
|
761
|
-
guestEmail: string;
|
|
762
|
-
guestPhone?: string;
|
|
763
|
-
message?: string;
|
|
764
|
-
source?: components["schemas"]["AreaBookingRequestSource"];
|
|
765
|
-
};
|
|
766
|
-
/** SubmitAreaBookingRequestResponse */
|
|
767
|
-
SubmitAreaBookingRequestResponse: {
|
|
768
|
-
id: string;
|
|
769
|
-
venueId: string;
|
|
770
|
-
areaId: string;
|
|
771
|
-
requestedDate: string;
|
|
772
|
-
requestedStartTime: string | null;
|
|
773
|
-
requestedEndTime: string | null;
|
|
774
|
-
partySize: number;
|
|
775
|
-
guestFirstName: string;
|
|
776
|
-
guestLastName: string;
|
|
777
|
-
guestEmail: string;
|
|
778
|
-
guestPhone: string | null;
|
|
779
|
-
message: string | null;
|
|
780
|
-
source: components["schemas"]["AreaBookingRequestSource"];
|
|
781
|
-
status: components["schemas"]["AreaBookingRequestStatus"];
|
|
782
|
-
areaBookingId: string | null;
|
|
783
|
-
createdAt: string | null;
|
|
784
|
-
updatedAt: string | null;
|
|
785
|
-
};
|
|
786
|
-
/**
|
|
787
|
-
* FeatureImage
|
|
788
|
-
* @description An article's resolved feature image. `caption` / `alt` are per-locale TipTap docs (PATCH accepts plain strings — server normalises). `captionByLocale` / `altByLocale` expose the raw per-locale records for editor surfaces.
|
|
789
|
-
*/
|
|
790
|
-
FeatureImage: {
|
|
791
|
-
id: string;
|
|
792
|
-
publicUrl: string | null;
|
|
793
|
-
locale: string;
|
|
794
|
-
caption: {
|
|
795
|
-
[key: string]: unknown;
|
|
796
|
-
} | null;
|
|
797
|
-
alt: {
|
|
798
|
-
[key: string]: unknown;
|
|
799
|
-
} | null;
|
|
800
|
-
captionByLocale: {
|
|
801
|
-
[key: string]: unknown;
|
|
802
|
-
};
|
|
803
|
-
altByLocale: {
|
|
804
|
-
[key: string]: unknown;
|
|
805
|
-
};
|
|
806
|
-
};
|
|
807
|
-
/** OgImage */
|
|
808
|
-
OgImage: {
|
|
809
|
-
id: string;
|
|
810
|
-
publicUrl: string | null;
|
|
811
|
-
locale: string;
|
|
812
|
-
};
|
|
813
|
-
/** ArticleMentionCounts */
|
|
814
|
-
ArticleMentionCounts: {
|
|
815
|
-
dishes: number;
|
|
816
|
-
beverages: number;
|
|
817
|
-
ingredients: number;
|
|
818
|
-
menus: number;
|
|
819
|
-
rituals: number;
|
|
820
|
-
};
|
|
821
|
-
/** FetchArticlesResponse */
|
|
822
|
-
FetchArticlesResponse: {
|
|
823
|
-
id: string;
|
|
824
|
-
venueId: string;
|
|
825
|
-
accessor: string;
|
|
826
|
-
slug: {
|
|
827
|
-
[key: string]: {
|
|
828
|
-
[key: string]: unknown;
|
|
829
|
-
};
|
|
830
|
-
};
|
|
831
|
-
title: {
|
|
832
|
-
[key: string]: {
|
|
833
|
-
[key: string]: unknown;
|
|
834
|
-
};
|
|
835
|
-
};
|
|
836
|
-
excerpt: {
|
|
837
|
-
[key: string]: {
|
|
838
|
-
[key: string]: unknown;
|
|
839
|
-
};
|
|
840
|
-
};
|
|
841
|
-
content: {
|
|
842
|
-
[key: string]: unknown;
|
|
843
|
-
} | null;
|
|
844
|
-
metaTitle: {
|
|
845
|
-
[key: string]: string;
|
|
846
|
-
} | null;
|
|
847
|
-
metaDescription: {
|
|
848
|
-
[key: string]: string;
|
|
849
|
-
} | null;
|
|
850
|
-
tags: string[];
|
|
851
|
-
isActive: boolean;
|
|
852
|
-
isFeatured: boolean;
|
|
853
|
-
priority: number;
|
|
854
|
-
status: components["schemas"]["ArticleStatus"];
|
|
855
|
-
publishedAt: string | null;
|
|
856
|
-
createdAt: string | null;
|
|
857
|
-
updatedAt: string | null;
|
|
858
|
-
featureImage: components["schemas"]["FeatureImage"] | null;
|
|
859
|
-
ogImage?: components["schemas"]["OgImage"] | null;
|
|
860
|
-
mentionCounts?: components["schemas"]["ArticleMentionCounts"];
|
|
861
|
-
}[];
|
|
862
|
-
/**
|
|
863
|
-
* FetchArticleResponse
|
|
864
|
-
* @description A venue's article. `content` is a TipTap JSON document; treat it as opaque on the wire. `featureImage` is resolved per-locale with a fallback to the venue's primary locale. `ogImage` overrides the social-card image when set; `null` means it falls back to `featureImage`.
|
|
865
|
-
*/
|
|
866
|
-
FetchArticleResponse: {
|
|
867
|
-
id: string;
|
|
868
|
-
venueId: string;
|
|
869
|
-
accessor: string;
|
|
870
|
-
slug: {
|
|
871
|
-
[key: string]: {
|
|
872
|
-
[key: string]: unknown;
|
|
873
|
-
};
|
|
874
|
-
};
|
|
875
|
-
title: {
|
|
876
|
-
[key: string]: {
|
|
877
|
-
[key: string]: unknown;
|
|
878
|
-
};
|
|
879
|
-
};
|
|
880
|
-
excerpt: {
|
|
881
|
-
[key: string]: {
|
|
882
|
-
[key: string]: unknown;
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
|
-
content: {
|
|
886
|
-
[key: string]: unknown;
|
|
887
|
-
} | null;
|
|
888
|
-
metaTitle: {
|
|
889
|
-
[key: string]: string;
|
|
890
|
-
} | null;
|
|
891
|
-
metaDescription: {
|
|
892
|
-
[key: string]: string;
|
|
893
|
-
} | null;
|
|
894
|
-
tags: string[];
|
|
895
|
-
isActive: boolean;
|
|
896
|
-
isFeatured: boolean;
|
|
897
|
-
priority: number;
|
|
898
|
-
status: components["schemas"]["ArticleStatus"];
|
|
899
|
-
publishedAt: string | null;
|
|
900
|
-
createdAt: string | null;
|
|
901
|
-
updatedAt: string | null;
|
|
902
|
-
featureImage: components["schemas"]["FeatureImage"] | null;
|
|
903
|
-
ogImage?: components["schemas"]["OgImage"] | null;
|
|
904
|
-
};
|
|
905
|
-
/** EditArticleRequest */
|
|
906
|
-
EditArticleRequest: {
|
|
907
|
-
slug?: {
|
|
908
|
-
[key: string]: unknown;
|
|
909
|
-
};
|
|
910
|
-
title?: {
|
|
911
|
-
[key: string]: unknown;
|
|
912
|
-
};
|
|
913
|
-
excerpt?: {
|
|
914
|
-
[key: string]: unknown;
|
|
915
|
-
};
|
|
916
|
-
content?: {
|
|
917
|
-
[key: string]: unknown;
|
|
918
|
-
};
|
|
919
|
-
metaTitle?: {
|
|
920
|
-
[key: string]: string;
|
|
921
|
-
};
|
|
922
|
-
metaDescription?: {
|
|
923
|
-
[key: string]: string;
|
|
924
|
-
};
|
|
925
|
-
tags?: string[];
|
|
926
|
-
isActive?: boolean;
|
|
927
|
-
isFeatured?: boolean;
|
|
928
|
-
priority?: number;
|
|
929
|
-
};
|
|
930
|
-
/**
|
|
931
|
-
* EditArticleResponse
|
|
932
|
-
* @description A venue's article. `content` is a TipTap JSON document; treat it as opaque on the wire. `featureImage` is resolved per-locale with a fallback to the venue's primary locale. `ogImage` overrides the social-card image when set; `null` means it falls back to `featureImage`.
|
|
933
|
-
*/
|
|
934
|
-
EditArticleResponse: {
|
|
935
|
-
id: string;
|
|
936
|
-
venueId: string;
|
|
937
|
-
accessor: string;
|
|
938
|
-
slug: {
|
|
939
|
-
[key: string]: {
|
|
940
|
-
[key: string]: unknown;
|
|
941
|
-
};
|
|
942
|
-
};
|
|
943
|
-
title: {
|
|
944
|
-
[key: string]: {
|
|
945
|
-
[key: string]: unknown;
|
|
946
|
-
};
|
|
947
|
-
};
|
|
948
|
-
excerpt: {
|
|
949
|
-
[key: string]: {
|
|
950
|
-
[key: string]: unknown;
|
|
951
|
-
};
|
|
952
|
-
};
|
|
953
|
-
content: {
|
|
954
|
-
[key: string]: unknown;
|
|
955
|
-
} | null;
|
|
956
|
-
metaTitle: {
|
|
957
|
-
[key: string]: string;
|
|
958
|
-
} | null;
|
|
959
|
-
metaDescription: {
|
|
960
|
-
[key: string]: string;
|
|
961
|
-
} | null;
|
|
962
|
-
tags: string[];
|
|
963
|
-
isActive: boolean;
|
|
964
|
-
isFeatured: boolean;
|
|
965
|
-
priority: number;
|
|
966
|
-
status: components["schemas"]["ArticleStatus"];
|
|
967
|
-
publishedAt: string | null;
|
|
968
|
-
createdAt: string | null;
|
|
969
|
-
updatedAt: string | null;
|
|
970
|
-
featureImage: components["schemas"]["FeatureImage"] | null;
|
|
971
|
-
ogImage?: components["schemas"]["OgImage"] | null;
|
|
972
|
-
};
|
|
973
|
-
/** SetArticleFeatureImageUploadBody */
|
|
974
|
-
SetArticleFeatureImageUploadBody: {
|
|
975
|
-
/** @description Image file (multipart/form-data field) */
|
|
976
|
-
file: string;
|
|
977
|
-
};
|
|
978
|
-
/**
|
|
979
|
-
* PatchArticleFeatureImageBody
|
|
980
|
-
* @description Locale-keyed merge of the asset-side `caption` and `alt` records. Each locale value may be a plain string OR a TipTap doc; strings are wrapped server-side. Setting `en` does not touch `de`.
|
|
981
|
-
*/
|
|
982
|
-
PatchArticleFeatureImageBody: {
|
|
983
|
-
caption?: {
|
|
984
|
-
[key: string]: unknown;
|
|
985
|
-
};
|
|
986
|
-
alt?: {
|
|
987
|
-
[key: string]: unknown;
|
|
988
|
-
};
|
|
989
|
-
};
|
|
990
|
-
/** FetchAssetsByTagResponse */
|
|
991
|
-
FetchAssetsByTagResponse: {
|
|
992
|
-
id: string;
|
|
993
|
-
type: components["schemas"]["AssetType"];
|
|
994
|
-
metadata: {
|
|
995
|
-
width?: number;
|
|
996
|
-
height?: number;
|
|
997
|
-
duration?: number;
|
|
998
|
-
} | null;
|
|
999
|
-
isActive: boolean;
|
|
1000
|
-
sortIndex: string | null;
|
|
1001
|
-
updatedAt: unknown;
|
|
1002
|
-
updatedBy: string | null;
|
|
1003
|
-
createdAt: unknown;
|
|
1004
|
-
createdBy: string | null;
|
|
1005
|
-
venueId: string | null;
|
|
1006
|
-
tags: string[] | null;
|
|
1007
|
-
bucket: string;
|
|
1008
|
-
storagePath: string;
|
|
1009
|
-
filename: string;
|
|
1010
|
-
contentType: string;
|
|
1011
|
-
sizeBytes: number;
|
|
1012
|
-
caption: {
|
|
1013
|
-
[key: string]: unknown;
|
|
1014
|
-
};
|
|
1015
|
-
alt: {
|
|
1016
|
-
[key: string]: unknown;
|
|
1017
|
-
};
|
|
1018
|
-
cropArea: {
|
|
1019
|
-
x: number;
|
|
1020
|
-
y: number;
|
|
1021
|
-
width: number;
|
|
1022
|
-
height: number;
|
|
1023
|
-
} | null;
|
|
1024
|
-
publicUrl: string;
|
|
1025
|
-
}[];
|
|
1026
|
-
/** BasketTotals */
|
|
1027
|
-
BasketTotals: {
|
|
1028
|
-
currency: components["schemas"]["Currency"];
|
|
1029
|
-
itemsTotal: number;
|
|
1030
|
-
taxAmount: number;
|
|
1031
|
-
depositCharge: number;
|
|
1032
|
-
grossTotal: number;
|
|
1033
|
-
depositCredit: number;
|
|
1034
|
-
effectiveTotal: number;
|
|
1035
|
-
cashRefund: number;
|
|
1036
|
-
returnable: {
|
|
1037
|
-
depositwareTemplateId: string;
|
|
1038
|
-
count: number;
|
|
1039
|
-
}[];
|
|
1040
|
-
};
|
|
1041
|
-
/** FetchBasketResponse */
|
|
1042
|
-
FetchBasketResponse: {
|
|
1043
|
-
/** Format: uuid */
|
|
1044
|
-
id: string;
|
|
1045
|
-
sessionId: string;
|
|
1046
|
-
status: components["schemas"]["BasketStatus"];
|
|
1047
|
-
currency: components["schemas"]["Currency"];
|
|
1048
|
-
items: {
|
|
1049
|
-
/** Format: uuid */
|
|
1050
|
-
id: string;
|
|
1051
|
-
metadata: {
|
|
1052
|
-
[key: string]: unknown;
|
|
1053
|
-
} | null;
|
|
1054
|
-
deposit: {
|
|
1055
|
-
depositwareTemplateId: string;
|
|
1056
|
-
name: {
|
|
1057
|
-
[key: string]: string;
|
|
1058
|
-
};
|
|
1059
|
-
amount: number;
|
|
1060
|
-
currency: components["schemas"]["Currency"];
|
|
1061
|
-
} | null;
|
|
1062
|
-
menuItems: {
|
|
1063
|
-
menuItemId: string;
|
|
1064
|
-
role: string | null;
|
|
1065
|
-
quantity: number;
|
|
1066
|
-
unit: components["schemas"]["Unit"];
|
|
1067
|
-
}[];
|
|
1068
|
-
}[];
|
|
1069
|
-
itemCount: number;
|
|
1070
|
-
totals: components["schemas"]["BasketTotals"];
|
|
1071
|
-
declaredReturns: {
|
|
1072
|
-
depositwareTemplateId: string;
|
|
1073
|
-
count: number;
|
|
1074
|
-
}[];
|
|
1075
|
-
expiresAt: string;
|
|
1076
|
-
createdAt: string | null;
|
|
1077
|
-
updatedAt: string | null;
|
|
1078
|
-
};
|
|
1079
|
-
/**
|
|
1080
|
-
* AddToBasketRequest
|
|
1081
|
-
* @description Add an item to the shopping basket
|
|
1082
|
-
*/
|
|
1083
|
-
AddToBasketRequest: {
|
|
1084
|
-
/** Format: uuid */
|
|
1085
|
-
venueId: string;
|
|
1086
|
-
sessionId: string;
|
|
1087
|
-
menuItems: {
|
|
1088
|
-
menuItemId: string;
|
|
1089
|
-
role?: string;
|
|
1090
|
-
quantity?: number;
|
|
1091
|
-
unit?: components["schemas"]["Unit"];
|
|
1092
|
-
}[];
|
|
1093
|
-
metadata?: {
|
|
1094
|
-
[key: string]: unknown;
|
|
1095
|
-
};
|
|
1096
|
-
};
|
|
1097
|
-
/** AddToBasketResponse */
|
|
1098
|
-
AddToBasketResponse: {
|
|
1099
|
-
/** Format: uuid */
|
|
1100
|
-
basketItemId: string;
|
|
1101
|
-
itemCount: number;
|
|
1102
|
-
deposit: {
|
|
1103
|
-
depositwareTemplateId: string;
|
|
1104
|
-
name: {
|
|
1105
|
-
[key: string]: string;
|
|
1106
|
-
};
|
|
1107
|
-
amount: number;
|
|
1108
|
-
currency: components["schemas"]["Currency"];
|
|
1109
|
-
} | null;
|
|
1110
|
-
totals: components["schemas"]["BasketTotals"];
|
|
1111
|
-
};
|
|
1112
|
-
/** RemoveFromBasketResponse */
|
|
1113
|
-
RemoveFromBasketResponse: {
|
|
1114
|
-
success: boolean;
|
|
1115
|
-
/** Format: uuid */
|
|
1116
|
-
basketItemId: string;
|
|
1117
|
-
itemCount: number;
|
|
1118
|
-
totals: components["schemas"]["BasketTotals"] | null;
|
|
1119
|
-
};
|
|
1120
|
-
/** GetBasketTotalsRequest */
|
|
1121
|
-
GetBasketTotalsRequest: {
|
|
1122
|
-
venueAccessor: string;
|
|
1123
|
-
basketId: string;
|
|
1124
|
-
declaredReturns?: {
|
|
1125
|
-
depositwareTemplateId: string;
|
|
1126
|
-
count: number;
|
|
1127
|
-
}[];
|
|
1128
|
-
};
|
|
1129
|
-
/** GetBasketTotalsResponse */
|
|
1130
|
-
GetBasketTotalsResponse: {
|
|
1131
|
-
currency: components["schemas"]["Currency"];
|
|
1132
|
-
itemsTotal: number;
|
|
1133
|
-
taxAmount: number;
|
|
1134
|
-
depositCharge: number;
|
|
1135
|
-
grossTotal: number;
|
|
1136
|
-
depositCredit: number;
|
|
1137
|
-
effectiveTotal: number;
|
|
1138
|
-
cashRefund: number;
|
|
1139
|
-
returnable: {
|
|
1140
|
-
depositwareTemplateId: string;
|
|
1141
|
-
count: number;
|
|
1142
|
-
}[];
|
|
1143
|
-
};
|
|
1144
|
-
/** AbandonBasketRequest */
|
|
1145
|
-
AbandonBasketRequest: {
|
|
1146
|
-
sessionId: string;
|
|
1147
|
-
};
|
|
1148
|
-
/** AbandonBasketResponse */
|
|
1149
|
-
AbandonBasketResponse: {
|
|
1150
|
-
abandonedCount: number;
|
|
1151
|
-
};
|
|
1152
|
-
/** SetBasketDeclaredReturnsRequest */
|
|
1153
|
-
SetBasketDeclaredReturnsRequest: {
|
|
1154
|
-
venueAccessor: string;
|
|
1155
|
-
basketId: string;
|
|
1156
|
-
sessionId: string;
|
|
1157
|
-
declaredReturns: {
|
|
1158
|
-
depositwareTemplateId: string;
|
|
1159
|
-
count: number;
|
|
1160
|
-
}[];
|
|
1161
|
-
};
|
|
1162
|
-
/** SetBasketDeclaredReturnsResponse */
|
|
1163
|
-
SetBasketDeclaredReturnsResponse: {
|
|
1164
|
-
basketId: string;
|
|
1165
|
-
declaredReturns: {
|
|
1166
|
-
depositwareTemplateId: string;
|
|
1167
|
-
count: number;
|
|
1168
|
-
}[];
|
|
1169
|
-
};
|
|
1170
|
-
/** AssetWithPublicUrl */
|
|
1171
|
-
AssetWithPublicUrl: {
|
|
1172
|
-
id: string;
|
|
1173
|
-
type: components["schemas"]["AssetType"];
|
|
1174
|
-
tags: string[] | null;
|
|
1175
|
-
bucket: string;
|
|
1176
|
-
storagePath: string;
|
|
1177
|
-
filename: string;
|
|
1178
|
-
contentType: string;
|
|
1179
|
-
sizeBytes: number;
|
|
1180
|
-
caption: (string | number | boolean | (null)) | {
|
|
1181
|
-
[key: string]: unknown;
|
|
1182
|
-
} | unknown[];
|
|
1183
|
-
alt: (string | number | boolean | (null)) | {
|
|
1184
|
-
[key: string]: unknown;
|
|
1185
|
-
} | unknown[];
|
|
1186
|
-
metadata: ((string | number | boolean | (null)) | {
|
|
1187
|
-
[key: string]: unknown;
|
|
1188
|
-
} | unknown[]) | null;
|
|
1189
|
-
cropArea: ((string | number | boolean | (null)) | {
|
|
1190
|
-
[key: string]: unknown;
|
|
1191
|
-
} | unknown[]) | null;
|
|
1192
|
-
isActive: boolean;
|
|
1193
|
-
sortIndex: string | null;
|
|
1194
|
-
createdAt: unknown;
|
|
1195
|
-
updatedAt: unknown;
|
|
1196
|
-
createdBy: string | null;
|
|
1197
|
-
updatedBy: string | null;
|
|
1198
|
-
venueId: string | null;
|
|
1199
|
-
contentHash: string | null;
|
|
1200
|
-
publicUrl: string | null;
|
|
1201
|
-
};
|
|
1202
|
-
/** FetchBeverageResponse */
|
|
1203
|
-
FetchBeverageResponse: {
|
|
1204
|
-
id: string;
|
|
1205
|
-
venueId: string;
|
|
1206
|
-
accessor: string;
|
|
1207
|
-
name: (string | number | boolean | (null)) | {
|
|
1208
|
-
[key: string]: unknown;
|
|
1209
|
-
} | unknown[];
|
|
1210
|
-
shortName: ((string | number | boolean | (null)) | {
|
|
1211
|
-
[key: string]: unknown;
|
|
1212
|
-
} | unknown[]) | null;
|
|
1213
|
-
kitchenName: ((string | number | boolean | (null)) | {
|
|
1214
|
-
[key: string]: unknown;
|
|
1215
|
-
} | unknown[]) | null;
|
|
1216
|
-
subtitle: ((string | number | boolean | (null)) | {
|
|
1217
|
-
[key: string]: unknown;
|
|
1218
|
-
} | unknown[]) | null;
|
|
1219
|
-
description: ((string | number | boolean | (null)) | {
|
|
1220
|
-
[key: string]: unknown;
|
|
1221
|
-
} | unknown[]) | null;
|
|
1222
|
-
longDescription: ((string | number | boolean | (null)) | {
|
|
1223
|
-
[key: string]: unknown;
|
|
1224
|
-
} | unknown[]) | null;
|
|
1225
|
-
isAlcoholic: boolean;
|
|
1226
|
-
alcoholPercentage: string | null;
|
|
1227
|
-
volumes: ((string | number | boolean | (null)) | {
|
|
1228
|
-
[key: string]: unknown;
|
|
1229
|
-
} | unknown[]) | null;
|
|
1230
|
-
category: components["schemas"]["BeverageCategory"];
|
|
1231
|
-
categoryAttributes: ((string | number | boolean | (null)) | {
|
|
1232
|
-
[key: string]: unknown;
|
|
1233
|
-
} | unknown[]) | null;
|
|
1234
|
-
servingRecommendations: ((string | number | boolean | (null)) | {
|
|
1235
|
-
[key: string]: unknown;
|
|
1236
|
-
} | unknown[]) | null;
|
|
1237
|
-
isActive: boolean;
|
|
1238
|
-
sortIndex: string | null;
|
|
1239
|
-
updatedAt: unknown;
|
|
1240
|
-
updatedBy: string | null;
|
|
1241
|
-
createdAt: unknown;
|
|
1242
|
-
createdBy: string | null;
|
|
1243
|
-
assets: components["schemas"]["AssetWithPublicUrl"][];
|
|
1244
|
-
};
|
|
1245
|
-
/** EditBeverageRequest */
|
|
1246
|
-
EditBeverageRequest: {
|
|
1247
|
-
id: string;
|
|
1248
|
-
venueId?: string;
|
|
1249
|
-
accessor?: string;
|
|
1250
|
-
name?: (string | number | boolean | (null)) | {
|
|
1251
|
-
[key: string]: unknown;
|
|
1252
|
-
} | unknown[];
|
|
1253
|
-
shortName?: ((string | number | boolean | (null)) | {
|
|
1254
|
-
[key: string]: unknown;
|
|
1255
|
-
} | unknown[]) | null;
|
|
1256
|
-
kitchenName?: ((string | number | boolean | (null)) | {
|
|
1257
|
-
[key: string]: unknown;
|
|
1258
|
-
} | unknown[]) | null;
|
|
1259
|
-
subtitle?: ((string | number | boolean | (null)) | {
|
|
1260
|
-
[key: string]: unknown;
|
|
1261
|
-
} | unknown[]) | null;
|
|
1262
|
-
description?: ((string | number | boolean | (null)) | {
|
|
1263
|
-
[key: string]: unknown;
|
|
1264
|
-
} | unknown[]) | null;
|
|
1265
|
-
longDescription?: ((string | number | boolean | (null)) | {
|
|
1266
|
-
[key: string]: unknown;
|
|
1267
|
-
} | unknown[]) | null;
|
|
1268
|
-
isAlcoholic?: boolean;
|
|
1269
|
-
alcoholPercentage?: string | null;
|
|
1270
|
-
volumes?: ((string | number | boolean | (null)) | {
|
|
1271
|
-
[key: string]: unknown;
|
|
1272
|
-
} | unknown[]) | null;
|
|
1273
|
-
category?: components["schemas"]["BeverageCategory"];
|
|
1274
|
-
categoryAttributes?: ((string | number | boolean | (null)) | {
|
|
1275
|
-
[key: string]: unknown;
|
|
1276
|
-
} | unknown[]) | null;
|
|
1277
|
-
servingRecommendations?: ((string | number | boolean | (null)) | {
|
|
1278
|
-
[key: string]: unknown;
|
|
1279
|
-
} | unknown[]) | null;
|
|
1280
|
-
isActive?: boolean;
|
|
1281
|
-
sortIndex?: string | null;
|
|
1282
|
-
venueAccessor: string;
|
|
1283
|
-
};
|
|
1284
|
-
/** EditBeverageResponse */
|
|
1285
|
-
EditBeverageResponse: {
|
|
1286
|
-
id: string;
|
|
1287
|
-
venueId: string;
|
|
1288
|
-
accessor: string;
|
|
1289
|
-
name: (string | number | boolean | (null)) | {
|
|
1290
|
-
[key: string]: unknown;
|
|
1291
|
-
} | unknown[];
|
|
1292
|
-
shortName: ((string | number | boolean | (null)) | {
|
|
1293
|
-
[key: string]: unknown;
|
|
1294
|
-
} | unknown[]) | null;
|
|
1295
|
-
kitchenName: ((string | number | boolean | (null)) | {
|
|
1296
|
-
[key: string]: unknown;
|
|
1297
|
-
} | unknown[]) | null;
|
|
1298
|
-
subtitle: ((string | number | boolean | (null)) | {
|
|
1299
|
-
[key: string]: unknown;
|
|
1300
|
-
} | unknown[]) | null;
|
|
1301
|
-
description: ((string | number | boolean | (null)) | {
|
|
1302
|
-
[key: string]: unknown;
|
|
1303
|
-
} | unknown[]) | null;
|
|
1304
|
-
longDescription: ((string | number | boolean | (null)) | {
|
|
1305
|
-
[key: string]: unknown;
|
|
1306
|
-
} | unknown[]) | null;
|
|
1307
|
-
isAlcoholic: boolean;
|
|
1308
|
-
alcoholPercentage: string | null;
|
|
1309
|
-
volumes: ((string | number | boolean | (null)) | {
|
|
1310
|
-
[key: string]: unknown;
|
|
1311
|
-
} | unknown[]) | null;
|
|
1312
|
-
category: components["schemas"]["BeverageCategory"];
|
|
1313
|
-
categoryAttributes: ((string | number | boolean | (null)) | {
|
|
1314
|
-
[key: string]: unknown;
|
|
1315
|
-
} | unknown[]) | null;
|
|
1316
|
-
servingRecommendations: ((string | number | boolean | (null)) | {
|
|
1317
|
-
[key: string]: unknown;
|
|
1318
|
-
} | unknown[]) | null;
|
|
1319
|
-
isActive: boolean;
|
|
1320
|
-
sortIndex: string | null;
|
|
1321
|
-
updatedAt: unknown;
|
|
1322
|
-
updatedBy: string | null;
|
|
1323
|
-
createdAt: unknown;
|
|
1324
|
-
createdBy: string | null;
|
|
1325
|
-
};
|
|
1326
|
-
/** GetCalloutsResponse */
|
|
1327
|
-
GetCalloutsResponse: {
|
|
1328
|
-
id: string;
|
|
1329
|
-
venueId: string;
|
|
1330
|
-
name: (string | number | boolean | (null)) | {
|
|
1331
|
-
[key: string]: unknown;
|
|
1332
|
-
} | unknown[];
|
|
1333
|
-
createdBy: string | null;
|
|
1334
|
-
updatedBy: string | null;
|
|
1335
|
-
createdAt: unknown;
|
|
1336
|
-
updatedAt: unknown;
|
|
1337
|
-
archivedAt: unknown;
|
|
1338
|
-
archivedBy: string | null;
|
|
1339
|
-
usages: {
|
|
1340
|
-
type: string;
|
|
1341
|
-
count: number;
|
|
1342
|
-
name?: string;
|
|
1343
|
-
href?: string;
|
|
1344
|
-
}[];
|
|
1345
|
-
}[];
|
|
1346
|
-
/** CreateCalloutRequest */
|
|
1347
|
-
CreateCalloutRequest: {
|
|
1348
|
-
venueAccessor: string;
|
|
1349
|
-
id?: string;
|
|
1350
|
-
name: {
|
|
1351
|
-
[key: string]: string;
|
|
1352
|
-
};
|
|
1353
|
-
};
|
|
1354
|
-
/** CreateCalloutResponse */
|
|
1355
|
-
CreateCalloutResponse: {
|
|
1356
|
-
id: string;
|
|
1357
|
-
venueId: string;
|
|
1358
|
-
name: (string | number | boolean | (null)) | {
|
|
1359
|
-
[key: string]: unknown;
|
|
1360
|
-
} | unknown[];
|
|
1361
|
-
createdBy: string | null;
|
|
1362
|
-
updatedBy: string | null;
|
|
1363
|
-
createdAt: unknown;
|
|
1364
|
-
updatedAt: unknown;
|
|
1365
|
-
archivedAt: unknown;
|
|
1366
|
-
archivedBy: string | null;
|
|
1367
|
-
};
|
|
1368
|
-
/** UpdateCalloutRequest */
|
|
1369
|
-
UpdateCalloutRequest: {
|
|
1370
|
-
venueAccessor: string;
|
|
1371
|
-
id: string;
|
|
1372
|
-
name: {
|
|
1373
|
-
[key: string]: string;
|
|
1374
|
-
};
|
|
1375
|
-
};
|
|
1376
|
-
/** UpdateCalloutResponse */
|
|
1377
|
-
UpdateCalloutResponse: {
|
|
1378
|
-
id: string;
|
|
1379
|
-
venueId: string;
|
|
1380
|
-
name: (string | number | boolean | (null)) | {
|
|
1381
|
-
[key: string]: unknown;
|
|
1382
|
-
} | unknown[];
|
|
1383
|
-
createdBy: string | null;
|
|
1384
|
-
updatedBy: string | null;
|
|
1385
|
-
createdAt: unknown;
|
|
1386
|
-
updatedAt: unknown;
|
|
1387
|
-
archivedAt: unknown;
|
|
1388
|
-
archivedBy: string | null;
|
|
1389
|
-
};
|
|
1390
|
-
/** DeleteCalloutResponse */
|
|
1391
|
-
DeleteCalloutResponse: {
|
|
1392
|
-
id: string;
|
|
1393
|
-
venueId: string;
|
|
1394
|
-
name: (string | number | boolean | (null)) | {
|
|
1395
|
-
[key: string]: unknown;
|
|
1396
|
-
} | unknown[];
|
|
1397
|
-
createdBy: string | null;
|
|
1398
|
-
updatedBy: string | null;
|
|
1399
|
-
createdAt: unknown;
|
|
1400
|
-
updatedAt: unknown;
|
|
1401
|
-
archivedAt: unknown;
|
|
1402
|
-
archivedBy: string | null;
|
|
1403
|
-
};
|
|
1404
|
-
/** FetchDishResponse */
|
|
1405
|
-
FetchDishResponse: {
|
|
1406
|
-
id: string;
|
|
1407
|
-
venueId: string;
|
|
1408
|
-
accessor: string;
|
|
1409
|
-
name: (string | number | boolean | (null)) | {
|
|
1410
|
-
[key: string]: unknown;
|
|
1411
|
-
} | unknown[];
|
|
1412
|
-
shortName: ((string | number | boolean | (null)) | {
|
|
1413
|
-
[key: string]: unknown;
|
|
1414
|
-
} | unknown[]) | null;
|
|
1415
|
-
kitchenName: ((string | number | boolean | (null)) | {
|
|
1416
|
-
[key: string]: unknown;
|
|
1417
|
-
} | unknown[]) | null;
|
|
1418
|
-
subtitle: ((string | number | boolean | (null)) | {
|
|
1419
|
-
[key: string]: unknown;
|
|
1420
|
-
} | unknown[]) | null;
|
|
1421
|
-
description: ((string | number | boolean | (null)) | {
|
|
1422
|
-
[key: string]: unknown;
|
|
1423
|
-
} | unknown[]) | null;
|
|
1424
|
-
longDescription: ((string | number | boolean | (null)) | {
|
|
1425
|
-
[key: string]: unknown;
|
|
1426
|
-
} | unknown[]) | null;
|
|
1427
|
-
isVegan: boolean | null;
|
|
1428
|
-
isVegetarian: boolean | null;
|
|
1429
|
-
isGlutenFree: boolean | null;
|
|
1430
|
-
isDairyFree: boolean | null;
|
|
1431
|
-
spiciness: number | null;
|
|
1432
|
-
suggestedPrice: number | null;
|
|
1433
|
-
currency: components["schemas"]["Currency"];
|
|
1434
|
-
isActive: boolean;
|
|
1435
|
-
sortIndex: string | null;
|
|
1436
|
-
updatedAt: unknown;
|
|
1437
|
-
updatedBy: string | null;
|
|
1438
|
-
createdAt: unknown;
|
|
1439
|
-
createdBy: string | null;
|
|
1440
|
-
archivedAt: unknown;
|
|
1441
|
-
archivedBy: string | null;
|
|
1442
|
-
assets: components["schemas"]["AssetWithPublicUrl"][];
|
|
1443
|
-
};
|
|
1444
|
-
/** EditDishRequest */
|
|
1445
|
-
EditDishRequest: {
|
|
1446
|
-
venueAccessor: string;
|
|
1447
|
-
id: string;
|
|
1448
|
-
name: {
|
|
1449
|
-
[key: string]: string;
|
|
1450
|
-
};
|
|
1451
|
-
shortName?: {
|
|
1452
|
-
[key: string]: string;
|
|
1453
|
-
} | null;
|
|
1454
|
-
kitchenName?: {
|
|
1455
|
-
[key: string]: string;
|
|
1456
|
-
} | null;
|
|
1457
|
-
subtitle?: {
|
|
1458
|
-
[key: string]: string;
|
|
1459
|
-
} | null;
|
|
1460
|
-
description?: {
|
|
1461
|
-
[key: string]: string;
|
|
1462
|
-
} | null;
|
|
1463
|
-
longDescription?: {
|
|
1464
|
-
[key: string]: string;
|
|
1465
|
-
} | null;
|
|
1466
|
-
suggestedPrice?: number | null;
|
|
1467
|
-
currency: components["schemas"]["Currency"];
|
|
1468
|
-
/** @default false */
|
|
1469
|
-
isVegan: boolean;
|
|
1470
|
-
/** @default false */
|
|
1471
|
-
isVegetarian: boolean;
|
|
1472
|
-
/** @default false */
|
|
1473
|
-
isGlutenFree: boolean;
|
|
1474
|
-
/** @default false */
|
|
1475
|
-
isDairyFree: boolean;
|
|
1476
|
-
/** @default 0 */
|
|
1477
|
-
spiciness: number;
|
|
1478
|
-
/** @default true */
|
|
1479
|
-
isActive: boolean;
|
|
1480
|
-
};
|
|
1481
|
-
/** EditDishResponse */
|
|
1482
|
-
EditDishResponse: {
|
|
1483
|
-
id: string;
|
|
1484
|
-
venueId: string;
|
|
1485
|
-
accessor: string;
|
|
1486
|
-
name: (string | number | boolean | (null)) | {
|
|
1487
|
-
[key: string]: unknown;
|
|
1488
|
-
} | unknown[];
|
|
1489
|
-
shortName: ((string | number | boolean | (null)) | {
|
|
1490
|
-
[key: string]: unknown;
|
|
1491
|
-
} | unknown[]) | null;
|
|
1492
|
-
kitchenName: ((string | number | boolean | (null)) | {
|
|
1493
|
-
[key: string]: unknown;
|
|
1494
|
-
} | unknown[]) | null;
|
|
1495
|
-
subtitle: ((string | number | boolean | (null)) | {
|
|
1496
|
-
[key: string]: unknown;
|
|
1497
|
-
} | unknown[]) | null;
|
|
1498
|
-
description: ((string | number | boolean | (null)) | {
|
|
1499
|
-
[key: string]: unknown;
|
|
1500
|
-
} | unknown[]) | null;
|
|
1501
|
-
longDescription: ((string | number | boolean | (null)) | {
|
|
1502
|
-
[key: string]: unknown;
|
|
1503
|
-
} | unknown[]) | null;
|
|
1504
|
-
isVegan: boolean | null;
|
|
1505
|
-
isVegetarian: boolean | null;
|
|
1506
|
-
isGlutenFree: boolean | null;
|
|
1507
|
-
isDairyFree: boolean | null;
|
|
1508
|
-
spiciness: number | null;
|
|
1509
|
-
suggestedPrice: number | null;
|
|
1510
|
-
currency: components["schemas"]["Currency"];
|
|
1511
|
-
isActive: boolean;
|
|
1512
|
-
sortIndex: string | null;
|
|
1513
|
-
updatedAt: unknown;
|
|
1514
|
-
updatedBy: string | null;
|
|
1515
|
-
createdAt: unknown;
|
|
1516
|
-
createdBy: string | null;
|
|
1517
|
-
archivedAt: unknown;
|
|
1518
|
-
archivedBy: string | null;
|
|
1519
|
-
};
|
|
1520
|
-
/** FetchEventsResponse */
|
|
1521
|
-
FetchEventsResponse: {
|
|
1522
|
-
id: string;
|
|
1523
|
-
venueId: string;
|
|
1524
|
-
accessor: string | null;
|
|
1525
|
-
name: {
|
|
1526
|
-
[key: string]: string;
|
|
1527
|
-
};
|
|
1528
|
-
description: {
|
|
1529
|
-
[key: string]: string;
|
|
1530
|
-
} | null;
|
|
1531
|
-
scheduleId: string | null;
|
|
1532
|
-
ritualId: string | null;
|
|
1533
|
-
occurrenceDate: string | null;
|
|
1534
|
-
ritualType: components["schemas"]["RitualType"];
|
|
1535
|
-
maxBookings: number | null;
|
|
1536
|
-
maxGuests: number | null;
|
|
1537
|
-
minPartySize: number | null;
|
|
1538
|
-
maxPartySize: number | null;
|
|
1539
|
-
isPublic: boolean;
|
|
1540
|
-
isRecurring: boolean;
|
|
1541
|
-
reservationsEnabled: boolean;
|
|
1542
|
-
bookingOpensAtDays: number | null;
|
|
1543
|
-
bookingClosesAtOffset: number | null;
|
|
1544
|
-
isActive: boolean;
|
|
1545
|
-
isFeatured: boolean;
|
|
1546
|
-
takesOverDay: boolean;
|
|
1547
|
-
createdBy: string | null;
|
|
1548
|
-
updatedBy: string | null;
|
|
1549
|
-
createdAt: unknown;
|
|
1550
|
-
updatedAt: unknown;
|
|
1551
|
-
schedule: {
|
|
1552
|
-
id: string;
|
|
1553
|
-
duration: number | null;
|
|
1554
|
-
name: {
|
|
1555
|
-
[key: string]: string;
|
|
1556
|
-
};
|
|
1557
|
-
timezone: string;
|
|
1558
|
-
description: {
|
|
1559
|
-
[key: string]: string;
|
|
1560
|
-
} | null;
|
|
1561
|
-
rrule: string | null;
|
|
1562
|
-
exdates: string[] | null;
|
|
1563
|
-
validFrom: string | null;
|
|
1564
|
-
validTo: string | null;
|
|
1565
|
-
slotMode: components["schemas"]["SlotMode"];
|
|
1566
|
-
intervalDuration: number | null;
|
|
1567
|
-
isActive: boolean;
|
|
1568
|
-
sortIndex: string | null;
|
|
1569
|
-
updatedAt: unknown;
|
|
1570
|
-
updatedBy: string | null;
|
|
1571
|
-
createdAt: unknown;
|
|
1572
|
-
createdBy: string | null;
|
|
1573
|
-
scheduleOverrides: {
|
|
1574
|
-
id: string;
|
|
1575
|
-
date: string;
|
|
1576
|
-
isActive: boolean;
|
|
1577
|
-
updatedAt: unknown;
|
|
1578
|
-
updatedBy: string | null;
|
|
1579
|
-
createdAt: unknown;
|
|
1580
|
-
createdBy: string | null;
|
|
1581
|
-
scheduleId: string;
|
|
1582
|
-
reason: {
|
|
1583
|
-
[key: string]: string;
|
|
1584
|
-
} | null;
|
|
1585
|
-
scheduleOverrideTimeSlots: {
|
|
1586
|
-
sortIndex: string | null;
|
|
1587
|
-
overrideId: string;
|
|
1588
|
-
timeSlotId: string;
|
|
1589
|
-
timeSlot: {
|
|
1590
|
-
id: string;
|
|
1591
|
-
isActive: boolean | null;
|
|
1592
|
-
sortIndex: string | null;
|
|
1593
|
-
updatedAt: unknown;
|
|
1594
|
-
updatedBy: string | null;
|
|
1595
|
-
createdAt: unknown;
|
|
1596
|
-
createdBy: string | null;
|
|
1597
|
-
startTime: string;
|
|
1598
|
-
endTime: string | null;
|
|
1599
|
-
isSchedulable: boolean | null;
|
|
1600
|
-
};
|
|
1601
|
-
}[];
|
|
1602
|
-
}[];
|
|
1603
|
-
scheduleTimeSlots: {
|
|
1604
|
-
sortIndex: string | null;
|
|
1605
|
-
scheduleId: string | null;
|
|
1606
|
-
timeSlotId: string | null;
|
|
1607
|
-
dayOfWeek: components["schemas"]["DayOfWeek"];
|
|
1608
|
-
timeSlot: {
|
|
1609
|
-
id: string;
|
|
1610
|
-
isActive: boolean | null;
|
|
1611
|
-
sortIndex: string | null;
|
|
1612
|
-
updatedAt: unknown;
|
|
1613
|
-
updatedBy: string | null;
|
|
1614
|
-
createdAt: unknown;
|
|
1615
|
-
createdBy: string | null;
|
|
1616
|
-
startTime: string;
|
|
1617
|
-
endTime: string | null;
|
|
1618
|
-
isSchedulable: boolean | null;
|
|
1619
|
-
} | null;
|
|
1620
|
-
}[];
|
|
1621
|
-
} | null;
|
|
1622
|
-
nextOccurrence: string | null;
|
|
1623
|
-
assets: {
|
|
1624
|
-
id: string;
|
|
1625
|
-
type: components["schemas"]["AssetType"];
|
|
1626
|
-
metadata: {
|
|
1627
|
-
width?: number;
|
|
1628
|
-
height?: number;
|
|
1629
|
-
duration?: number;
|
|
1630
|
-
} | null;
|
|
1631
|
-
isActive: boolean;
|
|
1632
|
-
sortIndex: string | null;
|
|
1633
|
-
updatedAt: unknown;
|
|
1634
|
-
updatedBy: string | null;
|
|
1635
|
-
createdAt: unknown;
|
|
1636
|
-
createdBy: string | null;
|
|
1637
|
-
venueId: string | null;
|
|
1638
|
-
tags: string[] | null;
|
|
1639
|
-
bucket: string;
|
|
1640
|
-
storagePath: string;
|
|
1641
|
-
filename: string;
|
|
1642
|
-
contentType: string;
|
|
1643
|
-
sizeBytes: number;
|
|
1644
|
-
caption: {
|
|
1645
|
-
[key: string]: unknown;
|
|
1646
|
-
};
|
|
1647
|
-
alt: {
|
|
1648
|
-
[key: string]: unknown;
|
|
1649
|
-
};
|
|
1650
|
-
cropArea: {
|
|
1651
|
-
x: number;
|
|
1652
|
-
y: number;
|
|
1653
|
-
width: number;
|
|
1654
|
-
height: number;
|
|
1655
|
-
} | null;
|
|
1656
|
-
publicUrl: string;
|
|
1657
|
-
}[];
|
|
1658
|
-
timeSlots: {
|
|
1659
|
-
id?: string;
|
|
1660
|
-
startTime?: string;
|
|
1661
|
-
endTime?: string | null;
|
|
1662
|
-
dayOfWeek?: components["schemas"]["DayOfWeek"];
|
|
1663
|
-
isSchedulable?: boolean | null;
|
|
1664
|
-
}[];
|
|
1665
|
-
scheduleOverrides: {
|
|
1666
|
-
id: string;
|
|
1667
|
-
date: string;
|
|
1668
|
-
reason: {
|
|
1669
|
-
[key: string]: string;
|
|
1670
|
-
} | null;
|
|
1671
|
-
timeSlots: {
|
|
1672
|
-
id?: string;
|
|
1673
|
-
startTime?: string;
|
|
1674
|
-
endTime?: string | null;
|
|
1675
|
-
dayOfWeek?: components["schemas"]["DayOfWeek"];
|
|
1676
|
-
isSchedulable?: boolean | null;
|
|
1677
|
-
}[];
|
|
1678
|
-
}[];
|
|
1679
|
-
promotions: {
|
|
1680
|
-
id: string;
|
|
1681
|
-
name: {
|
|
1682
|
-
[key: string]: string;
|
|
1683
|
-
};
|
|
1684
|
-
description: {
|
|
1685
|
-
[key: string]: string;
|
|
1686
|
-
} | null;
|
|
1687
|
-
validFrom: string | null;
|
|
1688
|
-
validTo: string | null;
|
|
1689
|
-
isActive: boolean;
|
|
1690
|
-
updatedAt: unknown;
|
|
1691
|
-
updatedBy: string | null;
|
|
1692
|
-
createdAt: unknown;
|
|
1693
|
-
createdBy: string | null;
|
|
1694
|
-
venueId: string;
|
|
1695
|
-
benefitType: components["schemas"]["PromotionBenefitType"];
|
|
1696
|
-
benefitValue: {
|
|
1697
|
-
[key: string]: unknown;
|
|
1698
|
-
};
|
|
1699
|
-
conditions: {
|
|
1700
|
-
[key: string]: unknown;
|
|
1701
|
-
} | null;
|
|
1702
|
-
maxRedemptions: number | null;
|
|
1703
|
-
currentRedemptions: number | null;
|
|
1704
|
-
timeSlotIds: string[] | null;
|
|
1705
|
-
}[];
|
|
1706
|
-
usages?: {
|
|
1707
|
-
type: string;
|
|
1708
|
-
count: number;
|
|
1709
|
-
name?: string;
|
|
1710
|
-
href?: string;
|
|
1711
|
-
}[];
|
|
1712
|
-
}[];
|
|
1713
|
-
/**
|
|
1714
|
-
* FetchEventResponse
|
|
1715
|
-
* @description Event details. Nested objects (schedule, timeSlots, menus, assets, nextOccurrence) pass through; their shape follows the SDK Event interface.
|
|
1716
|
-
*/
|
|
1717
|
-
FetchEventResponse: {
|
|
1718
|
-
id: string;
|
|
1719
|
-
venueId: string;
|
|
1720
|
-
accessor: string | null;
|
|
1721
|
-
name: {
|
|
1722
|
-
[key: string]: string;
|
|
1723
|
-
};
|
|
1724
|
-
description: {
|
|
1725
|
-
[key: string]: string;
|
|
1726
|
-
} | null;
|
|
1727
|
-
scheduleId: string | null;
|
|
1728
|
-
maxBookings: number | null;
|
|
1729
|
-
maxGuests: number | null;
|
|
1730
|
-
minPartySize: number | null;
|
|
1731
|
-
maxPartySize: number | null;
|
|
1732
|
-
isPublic: boolean;
|
|
1733
|
-
isRecurring: boolean;
|
|
1734
|
-
reservationsEnabled: boolean;
|
|
1735
|
-
bookingOpensAtDays: number | null;
|
|
1736
|
-
bookingClosesAtOffset: number | null;
|
|
1737
|
-
isActive: boolean;
|
|
1738
|
-
isFeatured: boolean;
|
|
1739
|
-
takesOverDay: boolean;
|
|
1740
|
-
createdAt: unknown;
|
|
1741
|
-
updatedAt: unknown;
|
|
1742
|
-
nextOccurrence?: string | null;
|
|
1743
|
-
schedule?: {
|
|
1744
|
-
id: string;
|
|
1745
|
-
name: {
|
|
1746
|
-
[key: string]: string;
|
|
1747
|
-
};
|
|
1748
|
-
description: {
|
|
1749
|
-
[key: string]: string;
|
|
1750
|
-
} | null;
|
|
1751
|
-
timezone: string;
|
|
1752
|
-
rrule: string | null;
|
|
1753
|
-
exdates: string[] | null;
|
|
1754
|
-
validFrom: string | null;
|
|
1755
|
-
validTo: string | null;
|
|
1756
|
-
isActive: boolean;
|
|
1757
|
-
slotMode: components["schemas"]["SlotMode"];
|
|
1758
|
-
intervalDuration: number | null;
|
|
1759
|
-
duration: number | null;
|
|
1760
|
-
scheduleTimeSlots?: {
|
|
1761
|
-
dayOfWeek: components["schemas"]["DayOfWeek"];
|
|
1762
|
-
timeSlot: {
|
|
1763
|
-
id: string;
|
|
1764
|
-
startTime: string;
|
|
1765
|
-
endTime: string | null;
|
|
1766
|
-
isActive: boolean | null;
|
|
1767
|
-
isSchedulable: boolean | null;
|
|
1768
|
-
};
|
|
1769
|
-
}[];
|
|
1770
|
-
};
|
|
1771
|
-
menus?: {
|
|
1772
|
-
id: string;
|
|
1773
|
-
accessor: string;
|
|
1774
|
-
name: {
|
|
1775
|
-
[key: string]: string;
|
|
1776
|
-
};
|
|
1777
|
-
category: string;
|
|
1778
|
-
}[];
|
|
1779
|
-
assets?: {
|
|
1780
|
-
id: string;
|
|
1781
|
-
bucket: string;
|
|
1782
|
-
storagePath: string;
|
|
1783
|
-
filename: string;
|
|
1784
|
-
contentType: string;
|
|
1785
|
-
sizeBytes: number;
|
|
1786
|
-
sortIndex: string | null;
|
|
1787
|
-
publicUrl: string;
|
|
1788
|
-
}[];
|
|
1789
|
-
};
|
|
1790
|
-
/** FetchSlotAvailabilityResponse */
|
|
1791
|
-
FetchSlotAvailabilityResponse: {
|
|
1792
|
-
/** @description Slot start time in HH:MM:SS format */
|
|
1793
|
-
startTime: string;
|
|
1794
|
-
/** @description Whether a party of this size can be booked at this slot */
|
|
1795
|
-
acceptable: boolean;
|
|
1796
|
-
/** @description Whether the public widget should offer this slot — passive: always; auto_steer: only when acceptable */
|
|
1797
|
-
offered: boolean;
|
|
1798
|
-
reason: components["schemas"]["OccupancyReason"];
|
|
1799
|
-
}[];
|
|
1800
|
-
/**
|
|
1801
|
-
* CreateEventRequest
|
|
1802
|
-
* @description Request payload for creating a new event
|
|
1803
|
-
*/
|
|
1804
|
-
CreateEventRequest: {
|
|
1805
|
-
accessor?: string | null;
|
|
1806
|
-
name: (string | number | boolean | (null)) | {
|
|
1807
|
-
[key: string]: unknown;
|
|
1808
|
-
} | unknown[];
|
|
1809
|
-
description?: ((string | number | boolean | (null)) | {
|
|
1810
|
-
[key: string]: unknown;
|
|
1811
|
-
} | unknown[]) | null;
|
|
1812
|
-
scheduleId?: string | null;
|
|
1813
|
-
occurrenceDate?: string | null;
|
|
1814
|
-
maxBookings?: number | null;
|
|
1815
|
-
maxGuests?: number | null;
|
|
1816
|
-
minPartySize?: number | null;
|
|
1817
|
-
maxPartySize?: number | null;
|
|
1818
|
-
staffByRole?: ((string | number | boolean | (null)) | {
|
|
1819
|
-
[key: string]: unknown;
|
|
1820
|
-
} | unknown[]) | null;
|
|
1821
|
-
isPublic?: boolean;
|
|
1822
|
-
reservationsEnabled?: boolean;
|
|
1823
|
-
bookingOpensAtDays?: number | null;
|
|
1824
|
-
bookingClosesAtOffset?: number | null;
|
|
1825
|
-
isActive?: boolean;
|
|
1826
|
-
isFeatured?: boolean;
|
|
1827
|
-
takesOverDay?: boolean;
|
|
1828
|
-
servedMarket?: ((string | number | boolean | (null)) | {
|
|
1829
|
-
[key: string]: unknown;
|
|
1830
|
-
} | unknown[]) | null;
|
|
1831
|
-
archivedAt?: unknown;
|
|
1832
|
-
archivedBy?: string | null;
|
|
1833
|
-
schedule?: {
|
|
1834
|
-
rrule?: string | null;
|
|
1835
|
-
timezone?: string | null;
|
|
1836
|
-
validFrom?: string | null;
|
|
1837
|
-
validTo?: string | null;
|
|
1838
|
-
timeRanges: {
|
|
1839
|
-
startTime: string;
|
|
1840
|
-
endTime: string;
|
|
1841
|
-
lastSeatingTime?: (string | components["schemas"]["EnumEmpty"]) | null;
|
|
1842
|
-
}[];
|
|
1843
|
-
slotMode?: components["schemas"]["SlotMode"];
|
|
1844
|
-
intervalDuration?: number | null;
|
|
1845
|
-
duration?: number | null;
|
|
1846
|
-
} | null;
|
|
1847
|
-
ritualAccessor?: string | null;
|
|
1848
|
-
venueAccessor: string;
|
|
1849
|
-
};
|
|
1850
|
-
/**
|
|
1851
|
-
* CreateEventResponse
|
|
1852
|
-
* @description Successfully created event
|
|
1853
|
-
*/
|
|
1854
|
-
CreateEventResponse: {
|
|
1855
|
-
id: string;
|
|
1856
|
-
venueId: string;
|
|
1857
|
-
accessor: string | null;
|
|
1858
|
-
name: (string | number | boolean | (null)) | {
|
|
1859
|
-
[key: string]: unknown;
|
|
1860
|
-
} | unknown[];
|
|
1861
|
-
description: ((string | number | boolean | (null)) | {
|
|
1862
|
-
[key: string]: unknown;
|
|
1863
|
-
} | unknown[]) | null;
|
|
1864
|
-
scheduleId: string | null;
|
|
1865
|
-
ritualId: string | null;
|
|
1866
|
-
occurrenceDate: string | null;
|
|
1867
|
-
maxBookings: number | null;
|
|
1868
|
-
maxGuests: number | null;
|
|
1869
|
-
minPartySize: number | null;
|
|
1870
|
-
maxPartySize: number | null;
|
|
1871
|
-
staffByRole: ((string | number | boolean | (null)) | {
|
|
1872
|
-
[key: string]: unknown;
|
|
1873
|
-
} | unknown[]) | null;
|
|
1874
|
-
isPublic: boolean;
|
|
1875
|
-
reservationsEnabled: boolean;
|
|
1876
|
-
bookingOpensAtDays: number | null;
|
|
1877
|
-
bookingClosesAtOffset: number | null;
|
|
1878
|
-
isActive: boolean;
|
|
1879
|
-
isFeatured: boolean;
|
|
1880
|
-
takesOverDay: boolean;
|
|
1881
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
1882
|
-
[key: string]: unknown;
|
|
1883
|
-
} | unknown[]) | null;
|
|
1884
|
-
createdBy: string | null;
|
|
1885
|
-
updatedBy: string | null;
|
|
1886
|
-
createdAt: unknown;
|
|
1887
|
-
updatedAt: unknown;
|
|
1888
|
-
archivedAt: unknown;
|
|
1889
|
-
archivedBy: string | null;
|
|
1890
|
-
};
|
|
1891
|
-
/**
|
|
1892
|
-
* EditEventRequest
|
|
1893
|
-
* @description Partial-update body for an existing event
|
|
1894
|
-
*/
|
|
1895
|
-
EditEventRequest: {
|
|
1896
|
-
accessor?: string | null;
|
|
1897
|
-
name?: (string | number | boolean | (null)) | {
|
|
1898
|
-
[key: string]: unknown;
|
|
1899
|
-
} | unknown[];
|
|
1900
|
-
description?: ((string | number | boolean | (null)) | {
|
|
1901
|
-
[key: string]: unknown;
|
|
1902
|
-
} | unknown[]) | null;
|
|
1903
|
-
scheduleId?: string | null;
|
|
1904
|
-
occurrenceDate?: string | null;
|
|
1905
|
-
maxBookings?: number | null;
|
|
1906
|
-
maxGuests?: number | null;
|
|
1907
|
-
minPartySize?: number | null;
|
|
1908
|
-
maxPartySize?: number | null;
|
|
1909
|
-
staffByRole?: ((string | number | boolean | (null)) | {
|
|
1910
|
-
[key: string]: unknown;
|
|
1911
|
-
} | unknown[]) | null;
|
|
1912
|
-
isPublic?: boolean;
|
|
1913
|
-
reservationsEnabled?: boolean;
|
|
1914
|
-
bookingOpensAtDays?: number | null;
|
|
1915
|
-
bookingClosesAtOffset?: number | null;
|
|
1916
|
-
isActive?: boolean;
|
|
1917
|
-
isFeatured?: boolean;
|
|
1918
|
-
takesOverDay?: boolean;
|
|
1919
|
-
servedMarket?: ((string | number | boolean | (null)) | {
|
|
1920
|
-
[key: string]: unknown;
|
|
1921
|
-
} | unknown[]) | null;
|
|
1922
|
-
archivedAt?: unknown;
|
|
1923
|
-
archivedBy?: string | null;
|
|
1924
|
-
schedule?: {
|
|
1925
|
-
rrule?: string | null;
|
|
1926
|
-
timezone?: string | null;
|
|
1927
|
-
validFrom?: string | null;
|
|
1928
|
-
validTo?: string | null;
|
|
1929
|
-
timeRanges: {
|
|
1930
|
-
startTime: string;
|
|
1931
|
-
endTime: string;
|
|
1932
|
-
lastSeatingTime?: (string | components["schemas"]["EnumEmpty"]) | null;
|
|
1933
|
-
}[];
|
|
1934
|
-
slotMode?: components["schemas"]["SlotMode"];
|
|
1935
|
-
intervalDuration?: number | null;
|
|
1936
|
-
duration?: number | null;
|
|
1937
|
-
} | null;
|
|
1938
|
-
ritualAccessor?: string | null;
|
|
1939
|
-
};
|
|
1940
|
-
/** ScheduleOverride */
|
|
1941
|
-
ScheduleOverride: {
|
|
1942
|
-
id: string;
|
|
1943
|
-
scheduleId: string;
|
|
1944
|
-
date: string;
|
|
1945
|
-
reason: ((string | number | boolean | (null)) | {
|
|
1946
|
-
[key: string]: unknown;
|
|
1947
|
-
} | unknown[]) | null;
|
|
1948
|
-
isActive: boolean;
|
|
1949
|
-
updatedAt: unknown;
|
|
1950
|
-
updatedBy: string | null;
|
|
1951
|
-
createdAt: unknown;
|
|
1952
|
-
createdBy: string | null;
|
|
1953
|
-
scheduleOverrideTimeSlots: {
|
|
1954
|
-
overrideId: string;
|
|
1955
|
-
timeSlotId: string;
|
|
1956
|
-
sortIndex: string | null;
|
|
1957
|
-
timeSlot: {
|
|
1958
|
-
id: string;
|
|
1959
|
-
startTime: string;
|
|
1960
|
-
endTime: string | null;
|
|
1961
|
-
channel: components["schemas"]["BookingChannel"];
|
|
1962
|
-
isActive: boolean | null;
|
|
1963
|
-
isSchedulable: boolean | null;
|
|
1964
|
-
maxBookings: number | null;
|
|
1965
|
-
maxGuests: number | null;
|
|
1966
|
-
overflowBookings: number | null;
|
|
1967
|
-
overflowGuests: number | null;
|
|
1968
|
-
sortIndex: string | null;
|
|
1969
|
-
updatedAt: unknown;
|
|
1970
|
-
updatedBy: string | null;
|
|
1971
|
-
createdAt: unknown;
|
|
1972
|
-
createdBy: string | null;
|
|
1973
|
-
};
|
|
1974
|
-
}[];
|
|
1975
|
-
};
|
|
1976
|
-
/** Schedule */
|
|
1977
|
-
Schedule: {
|
|
1978
|
-
id: string;
|
|
1979
|
-
name: (string | number | boolean | (null)) | {
|
|
1980
|
-
[key: string]: unknown;
|
|
1981
|
-
} | unknown[];
|
|
1982
|
-
description: ((string | number | boolean | (null)) | {
|
|
1983
|
-
[key: string]: unknown;
|
|
1984
|
-
} | unknown[]) | null;
|
|
1985
|
-
timezone: string;
|
|
1986
|
-
rrule: string | null;
|
|
1987
|
-
exdates: string[] | null;
|
|
1988
|
-
validFrom: string | null;
|
|
1989
|
-
validTo: string | null;
|
|
1990
|
-
slotMode: components["schemas"]["SlotMode"];
|
|
1991
|
-
intervalDuration: number | null;
|
|
1992
|
-
duration: number | null;
|
|
1993
|
-
isActive: boolean;
|
|
1994
|
-
sortIndex: string | null;
|
|
1995
|
-
updatedAt: unknown;
|
|
1996
|
-
updatedBy: string | null;
|
|
1997
|
-
createdAt: unknown;
|
|
1998
|
-
createdBy: string | null;
|
|
1999
|
-
scheduleTimeSlots?: {
|
|
2000
|
-
id: string;
|
|
2001
|
-
scheduleId: string;
|
|
2002
|
-
timeSlotId: string;
|
|
2003
|
-
dayOfWeek: components["schemas"]["DayOfWeek"];
|
|
2004
|
-
sortIndex: string | null;
|
|
2005
|
-
timeSlot: {
|
|
2006
|
-
id: string;
|
|
2007
|
-
startTime: string;
|
|
2008
|
-
endTime: string | null;
|
|
2009
|
-
channel: components["schemas"]["BookingChannel"];
|
|
2010
|
-
isActive: boolean | null;
|
|
2011
|
-
isSchedulable: boolean | null;
|
|
2012
|
-
maxBookings: number | null;
|
|
2013
|
-
maxGuests: number | null;
|
|
2014
|
-
overflowBookings: number | null;
|
|
2015
|
-
overflowGuests: number | null;
|
|
2016
|
-
sortIndex: string | null;
|
|
2017
|
-
updatedAt: unknown;
|
|
2018
|
-
updatedBy: string | null;
|
|
2019
|
-
createdAt: unknown;
|
|
2020
|
-
createdBy: string | null;
|
|
2021
|
-
} | null;
|
|
2022
|
-
}[];
|
|
2023
|
-
scheduleOverrides?: components["schemas"]["ScheduleOverride"][];
|
|
2024
|
-
scheduleSlotPolicies?: {
|
|
2025
|
-
id: string;
|
|
2026
|
-
scheduleId: string;
|
|
2027
|
-
channel: components["schemas"]["BookingChannel"];
|
|
2028
|
-
slotMode: components["schemas"]["SlotMode"];
|
|
2029
|
-
intervalDuration: number | null;
|
|
2030
|
-
duration: number | null;
|
|
2031
|
-
bookingOpensAtDays: number | null;
|
|
2032
|
-
bookingClosesAtOffset: number | null;
|
|
2033
|
-
updatedAt: unknown;
|
|
2034
|
-
updatedBy: string | null;
|
|
2035
|
-
createdAt: unknown;
|
|
2036
|
-
createdBy: string | null;
|
|
2037
|
-
}[];
|
|
2038
|
-
};
|
|
2039
|
-
/**
|
|
2040
|
-
* EditEventResponse
|
|
2041
|
-
* @description Successfully updated event with schedule
|
|
2042
|
-
*/
|
|
2043
|
-
EditEventResponse: {
|
|
2044
|
-
id: string;
|
|
2045
|
-
venueId: string;
|
|
2046
|
-
accessor: string | null;
|
|
2047
|
-
name: (string | number | boolean | (null)) | {
|
|
2048
|
-
[key: string]: unknown;
|
|
2049
|
-
} | unknown[];
|
|
2050
|
-
description: ((string | number | boolean | (null)) | {
|
|
2051
|
-
[key: string]: unknown;
|
|
2052
|
-
} | unknown[]) | null;
|
|
2053
|
-
scheduleId: string | null;
|
|
2054
|
-
ritualId: string | null;
|
|
2055
|
-
occurrenceDate: string | null;
|
|
2056
|
-
maxBookings: number | null;
|
|
2057
|
-
maxGuests: number | null;
|
|
2058
|
-
minPartySize: number | null;
|
|
2059
|
-
maxPartySize: number | null;
|
|
2060
|
-
staffByRole: ((string | number | boolean | (null)) | {
|
|
2061
|
-
[key: string]: unknown;
|
|
2062
|
-
} | unknown[]) | null;
|
|
2063
|
-
isPublic: boolean;
|
|
2064
|
-
reservationsEnabled: boolean;
|
|
2065
|
-
bookingOpensAtDays: number | null;
|
|
2066
|
-
bookingClosesAtOffset: number | null;
|
|
2067
|
-
isActive: boolean;
|
|
2068
|
-
isFeatured: boolean;
|
|
2069
|
-
takesOverDay: boolean;
|
|
2070
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
2071
|
-
[key: string]: unknown;
|
|
2072
|
-
} | unknown[]) | null;
|
|
2073
|
-
createdBy: string | null;
|
|
2074
|
-
updatedBy: string | null;
|
|
2075
|
-
createdAt: unknown;
|
|
2076
|
-
updatedAt: unknown;
|
|
2077
|
-
archivedAt: unknown;
|
|
2078
|
-
archivedBy: string | null;
|
|
2079
|
-
schedule: components["schemas"]["Schedule"] | null;
|
|
2080
|
-
};
|
|
2081
|
-
/** DeleteEventResponse */
|
|
2082
|
-
DeleteEventResponse: {
|
|
2083
|
-
id: string;
|
|
2084
|
-
venueId: string;
|
|
2085
|
-
accessor: string | null;
|
|
2086
|
-
name: (string | number | boolean | (null)) | {
|
|
2087
|
-
[key: string]: unknown;
|
|
2088
|
-
} | unknown[];
|
|
2089
|
-
description: ((string | number | boolean | (null)) | {
|
|
2090
|
-
[key: string]: unknown;
|
|
2091
|
-
} | unknown[]) | null;
|
|
2092
|
-
scheduleId: string | null;
|
|
2093
|
-
ritualId: string | null;
|
|
2094
|
-
occurrenceDate: string | null;
|
|
2095
|
-
maxBookings: number | null;
|
|
2096
|
-
maxGuests: number | null;
|
|
2097
|
-
minPartySize: number | null;
|
|
2098
|
-
maxPartySize: number | null;
|
|
2099
|
-
staffByRole: ((string | number | boolean | (null)) | {
|
|
2100
|
-
[key: string]: unknown;
|
|
2101
|
-
} | unknown[]) | null;
|
|
2102
|
-
isPublic: boolean;
|
|
2103
|
-
reservationsEnabled: boolean;
|
|
2104
|
-
bookingOpensAtDays: number | null;
|
|
2105
|
-
bookingClosesAtOffset: number | null;
|
|
2106
|
-
isActive: boolean;
|
|
2107
|
-
isFeatured: boolean;
|
|
2108
|
-
takesOverDay: boolean;
|
|
2109
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
2110
|
-
[key: string]: unknown;
|
|
2111
|
-
} | unknown[]) | null;
|
|
2112
|
-
createdBy: string | null;
|
|
2113
|
-
updatedBy: string | null;
|
|
2114
|
-
createdAt: unknown;
|
|
2115
|
-
updatedAt: unknown;
|
|
2116
|
-
archivedAt: unknown;
|
|
2117
|
-
archivedBy: string | null;
|
|
2118
|
-
};
|
|
2119
|
-
/** UploadAssetResponse */
|
|
2120
|
-
UploadAssetResponse: {
|
|
2121
|
-
asset: {
|
|
2122
|
-
id: string;
|
|
2123
|
-
type: components["schemas"]["AssetType"];
|
|
2124
|
-
tags: string[] | null;
|
|
2125
|
-
bucket: string;
|
|
2126
|
-
storagePath: string;
|
|
2127
|
-
filename: string;
|
|
2128
|
-
contentType: string;
|
|
2129
|
-
sizeBytes: number;
|
|
2130
|
-
caption: (string | number | boolean | (null)) | {
|
|
2131
|
-
[key: string]: unknown;
|
|
2132
|
-
} | unknown[];
|
|
2133
|
-
alt: (string | number | boolean | (null)) | {
|
|
2134
|
-
[key: string]: unknown;
|
|
2135
|
-
} | unknown[];
|
|
2136
|
-
metadata: ((string | number | boolean | (null)) | {
|
|
2137
|
-
[key: string]: unknown;
|
|
2138
|
-
} | unknown[]) | null;
|
|
2139
|
-
cropArea: ((string | number | boolean | (null)) | {
|
|
2140
|
-
[key: string]: unknown;
|
|
2141
|
-
} | unknown[]) | null;
|
|
2142
|
-
isActive: boolean;
|
|
2143
|
-
sortIndex: string | null;
|
|
2144
|
-
createdAt: unknown;
|
|
2145
|
-
updatedAt: unknown;
|
|
2146
|
-
createdBy: string | null;
|
|
2147
|
-
updatedBy: string | null;
|
|
2148
|
-
venueId: string | null;
|
|
2149
|
-
contentHash: string | null;
|
|
2150
|
-
};
|
|
2151
|
-
publicUrl: string | null;
|
|
2152
|
-
};
|
|
2153
|
-
/** DeleteAssetResponse */
|
|
2154
|
-
DeleteAssetResponse: {
|
|
2155
|
-
success: boolean;
|
|
2156
|
-
deleted: boolean;
|
|
2157
|
-
};
|
|
2158
|
-
/**
|
|
2159
|
-
* FetchMenuResponse
|
|
2160
|
-
* @description Menu details. `assets[]` is always hydrated with public URLs; `items[]` (with nested dish/beverage) is included when `expand=items` is requested. Each dish/beverage always carries its flat, hydrated `assets[]` (public URLs resolved) — the raw junction relations are never surfaced.
|
|
2161
|
-
*/
|
|
2162
|
-
FetchMenuResponse: {
|
|
2163
|
-
id: string;
|
|
2164
|
-
title: {
|
|
2165
|
-
[key: string]: string;
|
|
2166
|
-
};
|
|
2167
|
-
subtitle: {
|
|
2168
|
-
[key: string]: string;
|
|
2169
|
-
} | null;
|
|
2170
|
-
accessor: string;
|
|
2171
|
-
metadata: {
|
|
2172
|
-
orderingEnabled?: boolean;
|
|
2173
|
-
compactTags?: string[];
|
|
2174
|
-
showDepositware?: boolean;
|
|
2175
|
-
tagSortOrder?: string[];
|
|
2176
|
-
subscriptionsEnabled?: boolean;
|
|
2177
|
-
isDeliveryEnabled?: boolean;
|
|
2178
|
-
assetsEnabled?: boolean;
|
|
2179
|
-
} | null;
|
|
2180
|
-
description: {
|
|
2181
|
-
[key: string]: string;
|
|
2182
|
-
} | null;
|
|
2183
|
-
sortIndex: string | null;
|
|
2184
|
-
updatedAt: unknown;
|
|
2185
|
-
updatedBy: string | null;
|
|
2186
|
-
createdAt: unknown;
|
|
2187
|
-
createdBy: string | null;
|
|
2188
|
-
venueId: string;
|
|
2189
|
-
ritualId: string | null;
|
|
2190
|
-
deliveryThresholdAmount: number | null;
|
|
2191
|
-
deliveryThresholdQuantity: number | null;
|
|
2192
|
-
assets: {
|
|
2193
|
-
id: string;
|
|
2194
|
-
type: components["schemas"]["AssetType"];
|
|
2195
|
-
metadata: {
|
|
2196
|
-
width?: number;
|
|
2197
|
-
height?: number;
|
|
2198
|
-
duration?: number;
|
|
2199
|
-
} | null;
|
|
2200
|
-
isActive: boolean;
|
|
2201
|
-
sortIndex: string | null;
|
|
2202
|
-
updatedAt: unknown;
|
|
2203
|
-
updatedBy: string | null;
|
|
2204
|
-
createdAt: unknown;
|
|
2205
|
-
createdBy: string | null;
|
|
2206
|
-
venueId: string | null;
|
|
2207
|
-
tags: string[] | null;
|
|
2208
|
-
bucket: string;
|
|
2209
|
-
storagePath: string;
|
|
2210
|
-
filename: string;
|
|
2211
|
-
contentType: string;
|
|
2212
|
-
sizeBytes: number;
|
|
2213
|
-
caption: {
|
|
2214
|
-
[key: string]: {
|
|
2215
|
-
[key: string]: unknown;
|
|
2216
|
-
};
|
|
2217
|
-
};
|
|
2218
|
-
alt: {
|
|
2219
|
-
[key: string]: {
|
|
2220
|
-
[key: string]: unknown;
|
|
2221
|
-
};
|
|
2222
|
-
};
|
|
2223
|
-
cropArea: {
|
|
2224
|
-
x: number;
|
|
2225
|
-
y: number;
|
|
2226
|
-
width: number;
|
|
2227
|
-
height: number;
|
|
2228
|
-
} | null;
|
|
2229
|
-
contentHash: string | null;
|
|
2230
|
-
publicUrl: string;
|
|
2231
|
-
}[];
|
|
2232
|
-
items?: {
|
|
2233
|
-
id: string;
|
|
2234
|
-
type: components["schemas"]["MenuItemType"];
|
|
2235
|
-
tags: string[] | null;
|
|
2236
|
-
priceAdjustment: number;
|
|
2237
|
-
currency: components["schemas"]["Currency"];
|
|
2238
|
-
isActive: boolean;
|
|
2239
|
-
isFeatured: boolean;
|
|
2240
|
-
sortIndex: string | null;
|
|
2241
|
-
availableDays: components["schemas"]["DayOfWeek"][] | null;
|
|
2242
|
-
availableWeeks: number[] | null;
|
|
2243
|
-
dish: {
|
|
2244
|
-
id: string;
|
|
2245
|
-
accessor: string;
|
|
2246
|
-
name: {
|
|
2247
|
-
[key: string]: string;
|
|
2248
|
-
};
|
|
2249
|
-
shortName?: {
|
|
2250
|
-
[key: string]: string;
|
|
2251
|
-
};
|
|
2252
|
-
description: {
|
|
2253
|
-
[key: string]: string;
|
|
2254
|
-
} | null;
|
|
2255
|
-
longDescription?: {
|
|
2256
|
-
[key: string]: string;
|
|
2257
|
-
} | null;
|
|
2258
|
-
isVegetarian: boolean | null;
|
|
2259
|
-
isVegan: boolean | null;
|
|
2260
|
-
isGlutenFree: boolean | null;
|
|
2261
|
-
isDairyFree: boolean | null;
|
|
2262
|
-
spiciness: number | null;
|
|
2263
|
-
assets?: {
|
|
2264
|
-
id: string;
|
|
2265
|
-
type: components["schemas"]["AssetType"];
|
|
2266
|
-
metadata: {
|
|
2267
|
-
width?: number;
|
|
2268
|
-
height?: number;
|
|
2269
|
-
duration?: number;
|
|
2270
|
-
} | null;
|
|
2271
|
-
isActive: boolean;
|
|
2272
|
-
sortIndex: string | null;
|
|
2273
|
-
updatedAt: unknown;
|
|
2274
|
-
updatedBy: string | null;
|
|
2275
|
-
createdAt: unknown;
|
|
2276
|
-
createdBy: string | null;
|
|
2277
|
-
venueId: string | null;
|
|
2278
|
-
tags: string[] | null;
|
|
2279
|
-
bucket: string;
|
|
2280
|
-
storagePath: string;
|
|
2281
|
-
filename: string;
|
|
2282
|
-
contentType: string;
|
|
2283
|
-
sizeBytes: number;
|
|
2284
|
-
caption: {
|
|
2285
|
-
[key: string]: {
|
|
2286
|
-
[key: string]: unknown;
|
|
2287
|
-
};
|
|
2288
|
-
};
|
|
2289
|
-
alt: {
|
|
2290
|
-
[key: string]: {
|
|
2291
|
-
[key: string]: unknown;
|
|
2292
|
-
};
|
|
2293
|
-
};
|
|
2294
|
-
cropArea: {
|
|
2295
|
-
x: number;
|
|
2296
|
-
y: number;
|
|
2297
|
-
width: number;
|
|
2298
|
-
height: number;
|
|
2299
|
-
} | null;
|
|
2300
|
-
contentHash: string | null;
|
|
2301
|
-
publicUrl: string;
|
|
2302
|
-
}[];
|
|
2303
|
-
additives?: {
|
|
2304
|
-
id: string;
|
|
2305
|
-
eNumber: string;
|
|
2306
|
-
technicalName: {
|
|
2307
|
-
[key: string]: string;
|
|
2308
|
-
};
|
|
2309
|
-
isAllergen: boolean | null;
|
|
2310
|
-
requiresWarning: boolean | null;
|
|
2311
|
-
warningMessage: {
|
|
2312
|
-
[key: string]: string;
|
|
2313
|
-
} | null;
|
|
2314
|
-
regulation: string | null;
|
|
2315
|
-
}[];
|
|
2316
|
-
} | null;
|
|
2317
|
-
beverage: {
|
|
2318
|
-
id: string;
|
|
2319
|
-
accessor: string;
|
|
2320
|
-
name: {
|
|
2321
|
-
[key: string]: string;
|
|
2322
|
-
};
|
|
2323
|
-
shortName?: {
|
|
2324
|
-
[key: string]: string;
|
|
2325
|
-
};
|
|
2326
|
-
description: {
|
|
2327
|
-
[key: string]: string;
|
|
2328
|
-
} | null;
|
|
2329
|
-
longDescription?: {
|
|
2330
|
-
[key: string]: string;
|
|
2331
|
-
} | null;
|
|
2332
|
-
assets?: {
|
|
2333
|
-
id: string;
|
|
2334
|
-
type: components["schemas"]["AssetType"];
|
|
2335
|
-
metadata: {
|
|
2336
|
-
width?: number;
|
|
2337
|
-
height?: number;
|
|
2338
|
-
duration?: number;
|
|
2339
|
-
} | null;
|
|
2340
|
-
isActive: boolean;
|
|
2341
|
-
sortIndex: string | null;
|
|
2342
|
-
updatedAt: unknown;
|
|
2343
|
-
updatedBy: string | null;
|
|
2344
|
-
createdAt: unknown;
|
|
2345
|
-
createdBy: string | null;
|
|
2346
|
-
venueId: string | null;
|
|
2347
|
-
tags: string[] | null;
|
|
2348
|
-
bucket: string;
|
|
2349
|
-
storagePath: string;
|
|
2350
|
-
filename: string;
|
|
2351
|
-
contentType: string;
|
|
2352
|
-
sizeBytes: number;
|
|
2353
|
-
caption: {
|
|
2354
|
-
[key: string]: {
|
|
2355
|
-
[key: string]: unknown;
|
|
2356
|
-
};
|
|
2357
|
-
};
|
|
2358
|
-
alt: {
|
|
2359
|
-
[key: string]: {
|
|
2360
|
-
[key: string]: unknown;
|
|
2361
|
-
};
|
|
2362
|
-
};
|
|
2363
|
-
cropArea: {
|
|
2364
|
-
x: number;
|
|
2365
|
-
y: number;
|
|
2366
|
-
width: number;
|
|
2367
|
-
height: number;
|
|
2368
|
-
} | null;
|
|
2369
|
-
contentHash: string | null;
|
|
2370
|
-
publicUrl: string;
|
|
2371
|
-
}[];
|
|
2372
|
-
additives?: {
|
|
2373
|
-
id: string;
|
|
2374
|
-
eNumber: string;
|
|
2375
|
-
technicalName: {
|
|
2376
|
-
[key: string]: string;
|
|
2377
|
-
};
|
|
2378
|
-
isAllergen: boolean | null;
|
|
2379
|
-
requiresWarning: boolean | null;
|
|
2380
|
-
warningMessage: {
|
|
2381
|
-
[key: string]: string;
|
|
2382
|
-
} | null;
|
|
2383
|
-
regulation: string | null;
|
|
2384
|
-
}[];
|
|
2385
|
-
} | null;
|
|
2386
|
-
}[];
|
|
2387
|
-
};
|
|
2388
|
-
/** FetchMenuBundlesResponse */
|
|
2389
|
-
FetchMenuBundlesResponse: {
|
|
2390
|
-
id: string;
|
|
2391
|
-
menuId: string;
|
|
2392
|
-
name: {
|
|
2393
|
-
[key: string]: string;
|
|
2394
|
-
};
|
|
2395
|
-
shortName: {
|
|
2396
|
-
[key: string]: string;
|
|
2397
|
-
} | null;
|
|
2398
|
-
description: {
|
|
2399
|
-
[key: string]: string;
|
|
2400
|
-
} | null;
|
|
2401
|
-
tags: string[];
|
|
2402
|
-
price: {
|
|
2403
|
-
amount: number;
|
|
2404
|
-
currency: components["schemas"]["Currency"];
|
|
2405
|
-
};
|
|
2406
|
-
currency: components["schemas"]["Currency"];
|
|
2407
|
-
taxRateId: string;
|
|
2408
|
-
isActive: boolean;
|
|
2409
|
-
sortIndex: string | null;
|
|
2410
|
-
depositwareTemplateId: string | null;
|
|
2411
|
-
depositwareTemplate: {
|
|
2412
|
-
name: {
|
|
2413
|
-
[key: string]: string;
|
|
2414
|
-
};
|
|
2415
|
-
} | null;
|
|
2416
|
-
deposit: {
|
|
2417
|
-
depositwareTemplateId: string;
|
|
2418
|
-
accessor: string;
|
|
2419
|
-
amount: number;
|
|
2420
|
-
currency: components["schemas"]["Currency"];
|
|
2421
|
-
} | null;
|
|
2422
|
-
usages?: {
|
|
2423
|
-
type: string;
|
|
2424
|
-
count: number;
|
|
2425
|
-
name?: string;
|
|
2426
|
-
href?: string;
|
|
2427
|
-
}[];
|
|
2428
|
-
}[];
|
|
2429
|
-
/** FetchMenuSubscriptionsResponse */
|
|
2430
|
-
FetchMenuSubscriptionsResponse: {
|
|
2431
|
-
id: string;
|
|
2432
|
-
menuId: string;
|
|
2433
|
-
accessor: string;
|
|
2434
|
-
name: {
|
|
2435
|
-
[key: string]: string;
|
|
2436
|
-
};
|
|
2437
|
-
shortName: {
|
|
2438
|
-
[key: string]: string;
|
|
2439
|
-
} | null;
|
|
2440
|
-
description: {
|
|
2441
|
-
[key: string]: string;
|
|
2442
|
-
} | null;
|
|
2443
|
-
scheduleId: string | null;
|
|
2444
|
-
allowance: number;
|
|
2445
|
-
billingPeriod: components["schemas"]["SubscriptionPeriod"];
|
|
2446
|
-
allowancePeriod: components["schemas"]["SubscriptionPeriod"];
|
|
2447
|
-
expiryInDays: number;
|
|
2448
|
-
price: number;
|
|
2449
|
-
currency: components["schemas"]["Currency"];
|
|
2450
|
-
stripeProductId: string | null;
|
|
2451
|
-
stripePriceId: string | null;
|
|
2452
|
-
isActive: boolean;
|
|
2453
|
-
sortIndex: string | null;
|
|
2454
|
-
subscriberCount: number;
|
|
2455
|
-
redeemableTagSets: string[][];
|
|
2456
|
-
posters: {
|
|
2457
|
-
id: string;
|
|
2458
|
-
menuSubscriptionId: string;
|
|
2459
|
-
storagePath: string;
|
|
2460
|
-
publicUrl: string;
|
|
2461
|
-
filename: string;
|
|
2462
|
-
contentType: string;
|
|
2463
|
-
sizeBytes: number;
|
|
2464
|
-
sortIndex: string | null;
|
|
2465
|
-
createdBy: string | null;
|
|
2466
|
-
createdAt: string | null;
|
|
2467
|
-
}[];
|
|
2468
|
-
}[];
|
|
2469
|
-
/**
|
|
2470
|
-
* PlaceOrderRequest
|
|
2471
|
-
* @description Place a new order for a specific venue
|
|
2472
|
-
*/
|
|
2473
|
-
PlaceOrderRequest: {
|
|
2474
|
-
venueAccessor: string;
|
|
2475
|
-
basketId: string;
|
|
2476
|
-
sessionId: string;
|
|
2477
|
-
paymentMethod: components["schemas"]["PaymentMethod"];
|
|
2478
|
-
fulfillmentType: components["schemas"]["FulfillmentType"];
|
|
2479
|
-
/** Format: date-time */
|
|
2480
|
-
fulfillmentAt?: string | null;
|
|
2481
|
-
guestFirstName?: string;
|
|
2482
|
-
guestLastName?: string;
|
|
2483
|
-
guestEmail?: string;
|
|
2484
|
-
declaredReturns?: {
|
|
2485
|
-
depositwareTemplateId: string;
|
|
2486
|
-
count: number;
|
|
2487
|
-
}[];
|
|
2488
|
-
};
|
|
2489
|
-
/** PlaceOrderResponse */
|
|
2490
|
-
PlaceOrderResponse: {
|
|
2491
|
-
id: string;
|
|
2492
|
-
status: string;
|
|
2493
|
-
publicId: string | null;
|
|
2494
|
-
orderId: string;
|
|
2495
|
-
quickReferenceNumber: number | null;
|
|
2496
|
-
currency: components["schemas"]["Currency"];
|
|
2497
|
-
};
|
|
2498
|
-
/** ConfirmOrderRequest */
|
|
2499
|
-
ConfirmOrderRequest: {
|
|
2500
|
-
venueAccessor: string;
|
|
2501
|
-
orderId: string;
|
|
2502
|
-
paymentIntentId: string;
|
|
2503
|
-
};
|
|
2504
|
-
/** ConfirmOrderResponse */
|
|
2505
|
-
ConfirmOrderResponse: {
|
|
2506
|
-
id: string;
|
|
2507
|
-
status: string;
|
|
2508
|
-
publicId: string | null;
|
|
2509
|
-
quickReferenceNumber: number | null;
|
|
2510
|
-
guestId?: string;
|
|
2511
|
-
};
|
|
2512
|
-
/** FetchLatestOrderResponse */
|
|
2513
|
-
FetchLatestOrderResponse: {
|
|
2514
|
-
/** Format: uuid */
|
|
2515
|
-
id: string;
|
|
2516
|
-
publicId: string | null;
|
|
2517
|
-
quickReferenceNumber: number | null;
|
|
2518
|
-
status: components["schemas"]["OrderStatus"];
|
|
2519
|
-
paymentStatus: components["schemas"]["PaymentStatus"];
|
|
2520
|
-
fulfillmentType: components["schemas"]["FulfillmentType"];
|
|
2521
|
-
fulfillmentAt: string | null;
|
|
2522
|
-
orderedAt: string;
|
|
2523
|
-
totalAmount: number;
|
|
2524
|
-
currency: components["schemas"]["Currency"];
|
|
2525
|
-
items: {
|
|
2526
|
-
/** Format: uuid */
|
|
2527
|
-
id: string;
|
|
2528
|
-
metadata: {
|
|
2529
|
-
[key: string]: unknown;
|
|
2530
|
-
} | null;
|
|
2531
|
-
deposit: {
|
|
2532
|
-
depositwareTemplateId: string;
|
|
2533
|
-
name: {
|
|
2534
|
-
[key: string]: string;
|
|
2535
|
-
};
|
|
2536
|
-
amount: number;
|
|
2537
|
-
currency: components["schemas"]["Currency"];
|
|
2538
|
-
} | null;
|
|
2539
|
-
menuItems: {
|
|
2540
|
-
menuItemId: string;
|
|
2541
|
-
role: string | null;
|
|
2542
|
-
quantity: number;
|
|
2543
|
-
unit: components["schemas"]["Unit"];
|
|
2544
|
-
}[];
|
|
2545
|
-
}[];
|
|
2546
|
-
itemCount: number;
|
|
2547
|
-
totals: components["schemas"]["BasketTotals"];
|
|
2548
|
-
declaredReturns: {
|
|
2549
|
-
depositwareTemplateId: string;
|
|
2550
|
-
count: number;
|
|
2551
|
-
}[];
|
|
2552
|
-
};
|
|
2553
|
-
/** CreatePaymentIntentRequest */
|
|
2554
|
-
CreatePaymentIntentRequest: {
|
|
2555
|
-
venueAccessor: string;
|
|
2556
|
-
basketId: string;
|
|
2557
|
-
currency: components["schemas"]["Currency"];
|
|
2558
|
-
sessionId: string;
|
|
2559
|
-
fulfillmentType: components["schemas"]["FulfillmentType"];
|
|
2560
|
-
/** Format: date-time */
|
|
2561
|
-
fulfillmentAt?: string | null;
|
|
2562
|
-
guestFirstName?: string;
|
|
2563
|
-
guestLastName?: string;
|
|
2564
|
-
teamOrderPublicId?: string;
|
|
2565
|
-
declaredReturns?: {
|
|
2566
|
-
depositwareTemplateId: string;
|
|
2567
|
-
count: number;
|
|
2568
|
-
}[];
|
|
2569
|
-
};
|
|
2570
|
-
/** CreatePaymentIntentResponse */
|
|
2571
|
-
CreatePaymentIntentResponse: {
|
|
2572
|
-
clientSecret: string | null;
|
|
2573
|
-
paymentIntentId: string;
|
|
2574
|
-
orderId: string;
|
|
2575
|
-
};
|
|
2576
|
-
/** CreateDeltaPaymentIntentRequest */
|
|
2577
|
-
CreateDeltaPaymentIntentRequest: {
|
|
2578
|
-
venueAccessor: string;
|
|
2579
|
-
basketId: string;
|
|
2580
|
-
sessionId: string;
|
|
2581
|
-
currency: components["schemas"]["Currency"];
|
|
2582
|
-
declaredReturns?: {
|
|
2583
|
-
depositwareTemplateId: string;
|
|
2584
|
-
count: number;
|
|
2585
|
-
}[];
|
|
2586
|
-
};
|
|
2587
|
-
/** CreateDeltaPaymentIntentResponse */
|
|
2588
|
-
CreateDeltaPaymentIntentResponse: {
|
|
2589
|
-
clientSecret: string | null;
|
|
2590
|
-
paymentIntentId: string;
|
|
2591
|
-
orderId: string;
|
|
2592
|
-
amount: number;
|
|
2593
|
-
/** @enum {string} */
|
|
2594
|
-
status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
|
|
2595
|
-
};
|
|
2596
|
-
/** ReduceDeltaPaymentIntentRequest */
|
|
2597
|
-
ReduceDeltaPaymentIntentRequest: {
|
|
2598
|
-
venueAccessor: string;
|
|
2599
|
-
basketId: string;
|
|
2600
|
-
sessionId: string;
|
|
2601
|
-
currency: components["schemas"]["Currency"];
|
|
2602
|
-
declaredReturns?: {
|
|
2603
|
-
depositwareTemplateId: string;
|
|
2604
|
-
count: number;
|
|
2605
|
-
}[];
|
|
2606
|
-
};
|
|
2607
|
-
/** ReduceDeltaPaymentIntentResponse */
|
|
2608
|
-
ReduceDeltaPaymentIntentResponse: {
|
|
2609
|
-
orderId: string;
|
|
2610
|
-
paidTotal: number;
|
|
2611
|
-
released: number;
|
|
2612
|
-
};
|
|
2613
|
-
/** CreateMenuPublicationRequest */
|
|
2614
|
-
CreateMenuPublicationRequest: {
|
|
2615
|
-
venueAccessor: string;
|
|
2616
|
-
menuAccessor: string;
|
|
2617
|
-
name?: string;
|
|
2618
|
-
};
|
|
2619
|
-
/** CreateMenuPublicationResponse */
|
|
2620
|
-
CreateMenuPublicationResponse: {
|
|
2621
|
-
id: string;
|
|
2622
|
-
venueId: string;
|
|
2623
|
-
accessor: string;
|
|
2624
|
-
name: string;
|
|
2625
|
-
type: components["schemas"]["PublicationType"];
|
|
2626
|
-
paperSize: components["schemas"]["PublicationPaperSize"];
|
|
2627
|
-
palette: components["schemas"]["PublicationPalette"];
|
|
2628
|
-
designDoc: (string | number | boolean | (null)) | {
|
|
2629
|
-
[key: string]: unknown;
|
|
2630
|
-
} | unknown[];
|
|
2631
|
-
renderedAssetId: string | null;
|
|
2632
|
-
frameId: string | null;
|
|
2633
|
-
ruleIconAssetId: string | null;
|
|
2634
|
-
templateId: string | null;
|
|
2635
|
-
sourceType: components["schemas"]["PublicationSourceType"];
|
|
2636
|
-
sourceId: string | null;
|
|
2637
|
-
isActive: boolean;
|
|
2638
|
-
sortIndex: string | null;
|
|
2639
|
-
createdAt: unknown;
|
|
2640
|
-
createdBy: string | null;
|
|
2641
|
-
updatedAt: unknown;
|
|
2642
|
-
updatedBy: string | null;
|
|
2643
|
-
};
|
|
2644
|
-
/** SetMenuPublicationBlocksRequest */
|
|
2645
|
-
SetMenuPublicationBlocksRequest: {
|
|
2646
|
-
venueAccessor: string;
|
|
2647
|
-
publicationAccessor: string;
|
|
2648
|
-
showTitle?: boolean;
|
|
2649
|
-
title?: {
|
|
2650
|
-
[key: string]: string;
|
|
2651
|
-
};
|
|
2652
|
-
showSubtitle?: boolean;
|
|
2653
|
-
subtitle?: {
|
|
2654
|
-
[key: string]: string;
|
|
2655
|
-
};
|
|
2656
|
-
subtitleFontRole?: components["schemas"]["FontRole"];
|
|
2657
|
-
subtitleFontFace?: string;
|
|
2658
|
-
subtitleSize?: number;
|
|
2659
|
-
subtitleColor?: ({
|
|
2660
|
-
palette: string;
|
|
2661
|
-
shade: string;
|
|
2662
|
-
} | {
|
|
2663
|
-
custom: string;
|
|
2664
|
-
}) | null;
|
|
2665
|
-
showDescription?: boolean;
|
|
2666
|
-
description?: {
|
|
2667
|
-
[key: string]: string;
|
|
2668
|
-
};
|
|
2669
|
-
titleFontRole?: components["schemas"]["FontRole"];
|
|
2670
|
-
titleFontFace?: string;
|
|
2671
|
-
titleSize?: number;
|
|
2672
|
-
descriptionFontRole?: components["schemas"]["FontRole"];
|
|
2673
|
-
descriptionFontFace?: string;
|
|
2674
|
-
descriptionSize?: number;
|
|
2675
|
-
descriptionColor?: ({
|
|
2676
|
-
palette: string;
|
|
2677
|
-
shade: string;
|
|
2678
|
-
} | {
|
|
2679
|
-
custom: string;
|
|
2680
|
-
}) | null;
|
|
2681
|
-
paddingX?: number;
|
|
2682
|
-
paddingY?: number;
|
|
2683
|
-
bleed?: boolean;
|
|
2684
|
-
pageNumbers?: boolean;
|
|
2685
|
-
groupBy?: components["schemas"]["PublicationGroupBy"];
|
|
2686
|
-
groupFlow?: components["schemas"]["PublicationGroupFlow"];
|
|
2687
|
-
weekScope?: components["schemas"]["PublicationWeekScope"];
|
|
2688
|
-
weekRangeStart?: number;
|
|
2689
|
-
weekRangeEnd?: number;
|
|
2690
|
-
weekdaySubgrouping?: boolean;
|
|
2691
|
-
showPrice?: boolean;
|
|
2692
|
-
priceDecimals?: number;
|
|
2693
|
-
priceFontRole?: components["schemas"]["FontRole"];
|
|
2694
|
-
priceFontFace?: string;
|
|
2695
|
-
priceShowCurrency?: boolean;
|
|
2696
|
-
pricePosition?: components["schemas"]["PublicationPricePosition"];
|
|
2697
|
-
chipOutlined?: boolean;
|
|
2698
|
-
chipModest?: boolean;
|
|
2699
|
-
veganChipColor?: ({
|
|
2700
|
-
palette: string;
|
|
2701
|
-
shade: string;
|
|
2702
|
-
} | {
|
|
2703
|
-
custom: string;
|
|
2704
|
-
}) | null;
|
|
2705
|
-
vegetarianChipColor?: ({
|
|
2706
|
-
palette: string;
|
|
2707
|
-
shade: string;
|
|
2708
|
-
} | {
|
|
2709
|
-
custom: string;
|
|
2710
|
-
}) | null;
|
|
2711
|
-
spicinessChipColor?: ({
|
|
2712
|
-
palette: string;
|
|
2713
|
-
shade: string;
|
|
2714
|
-
} | {
|
|
2715
|
-
custom: string;
|
|
2716
|
-
}) | null;
|
|
2717
|
-
allergensChipColor?: ({
|
|
2718
|
-
palette: string;
|
|
2719
|
-
shade: string;
|
|
2720
|
-
} | {
|
|
2721
|
-
custom: string;
|
|
2722
|
-
}) | null;
|
|
2723
|
-
paperSize?: components["schemas"]["PublicationPaperSize"];
|
|
2724
|
-
palette?: components["schemas"]["PublicationPalette"];
|
|
2725
|
-
showFrame?: boolean;
|
|
2726
|
-
frameStyle?: components["schemas"]["PublicationFrameStyle"];
|
|
2727
|
-
frameColor?: ({
|
|
2728
|
-
palette: string;
|
|
2729
|
-
shade: string;
|
|
2730
|
-
} | {
|
|
2731
|
-
custom: string;
|
|
2732
|
-
}) | null;
|
|
2733
|
-
frameWidth?: number;
|
|
2734
|
-
frameInset?: number;
|
|
2735
|
-
frameId?: string;
|
|
2736
|
-
frameName?: string;
|
|
2737
|
-
frameIcons?: {
|
|
2738
|
-
assetId: string;
|
|
2739
|
-
rotation: number;
|
|
2740
|
-
}[];
|
|
2741
|
-
titleAlign?: components["schemas"]["EnumCenterLeftRight"];
|
|
2742
|
-
subtitleAlign?: components["schemas"]["EnumCenterLeftRight"];
|
|
2743
|
-
descriptionAlign?: components["schemas"]["PublicationTextAlign"];
|
|
2744
|
-
showRule?: boolean;
|
|
2745
|
-
rulePosition?: components["schemas"]["PublicationRulePosition"];
|
|
2746
|
-
ruleStyle?: components["schemas"]["PublicationRuleStyle"];
|
|
2747
|
-
ruleColor?: ({
|
|
2748
|
-
palette: string;
|
|
2749
|
-
shade: string;
|
|
2750
|
-
} | {
|
|
2751
|
-
custom: string;
|
|
2752
|
-
}) | null;
|
|
2753
|
-
ruleIconAssetId?: string;
|
|
2754
|
-
showQr?: boolean;
|
|
2755
|
-
qrTarget?: components["schemas"]["PublicationQrTarget"];
|
|
2756
|
-
qrCustomUrl?: string;
|
|
2757
|
-
qrPlacement?: components["schemas"]["PublicationQrPlacement"];
|
|
2758
|
-
qrSize?: number;
|
|
2759
|
-
itemTitleSize?: number;
|
|
2760
|
-
itemSubtitleSize?: number;
|
|
2761
|
-
itemSubtitleColor?: ({
|
|
2762
|
-
palette: string;
|
|
2763
|
-
shade: string;
|
|
2764
|
-
} | {
|
|
2765
|
-
custom: string;
|
|
2766
|
-
}) | null;
|
|
2767
|
-
itemDescriptionSize?: number;
|
|
2768
|
-
itemDescriptionColor?: ({
|
|
2769
|
-
palette: string;
|
|
2770
|
-
shade: string;
|
|
2771
|
-
} | {
|
|
2772
|
-
custom: string;
|
|
2773
|
-
}) | null;
|
|
2774
|
-
showItemTitles?: boolean;
|
|
2775
|
-
showItemSubtitles?: boolean;
|
|
2776
|
-
showItemDescriptions?: boolean;
|
|
2777
|
-
showVegan?: boolean;
|
|
2778
|
-
showVegetarian?: boolean;
|
|
2779
|
-
showSpiciness?: boolean;
|
|
2780
|
-
showAllergens?: boolean;
|
|
2781
|
-
};
|
|
2782
|
-
/** SetMenuPublicationBlocksResponse */
|
|
2783
|
-
SetMenuPublicationBlocksResponse: {
|
|
2784
|
-
id: string;
|
|
2785
|
-
accessor: string;
|
|
2786
|
-
};
|
|
2787
|
-
/** RenderMenuPublicationPdfRequest */
|
|
2788
|
-
RenderMenuPublicationPdfRequest: {
|
|
2789
|
-
venueAccessor: string;
|
|
2790
|
-
publicationAccessor: string;
|
|
2791
|
-
locale?: string;
|
|
2792
|
-
};
|
|
2793
|
-
/** RenderMenuPublicationPdfResponse */
|
|
2794
|
-
RenderMenuPublicationPdfResponse: {
|
|
2795
|
-
fileName: string;
|
|
2796
|
-
pages: number;
|
|
2797
|
-
pdfBase64: string;
|
|
2798
|
-
};
|
|
2799
|
-
/** BookletSectionInput */
|
|
2800
|
-
BookletSectionInput: {
|
|
2801
|
-
publicationAccessor: string;
|
|
2802
|
-
pageStart?: number;
|
|
2803
|
-
pageEnd?: number;
|
|
2804
|
-
};
|
|
2805
|
-
/** ComposeMenuPublicationBookletRequest */
|
|
2806
|
-
ComposeMenuPublicationBookletRequest: {
|
|
2807
|
-
venueAccessor: string;
|
|
2808
|
-
bookletAccessor?: string;
|
|
2809
|
-
sections?: components["schemas"]["BookletSectionInput"][];
|
|
2810
|
-
locale?: string;
|
|
2811
|
-
};
|
|
2812
|
-
/** ComposeMenuPublicationBookletResponse */
|
|
2813
|
-
ComposeMenuPublicationBookletResponse: {
|
|
2814
|
-
fileName: string;
|
|
2815
|
-
pages: number;
|
|
2816
|
-
pdfBase64: string;
|
|
2817
|
-
};
|
|
2818
|
-
/**
|
|
2819
|
-
* MakeReservationRequest
|
|
2820
|
-
* @description Request payload for making a new reservation
|
|
2821
|
-
*/
|
|
2822
|
-
MakeReservationRequest: {
|
|
2823
|
-
/** @description Venue identifier — UUID or URL-friendly slug (accessor). Resolved server-side. */
|
|
2824
|
-
venueAccessor: string;
|
|
2825
|
-
/**
|
|
2826
|
-
* Format: uuid
|
|
2827
|
-
* @description UUID of the event this reservation is for
|
|
2828
|
-
*/
|
|
2829
|
-
eventId: string;
|
|
2830
|
-
/**
|
|
2831
|
-
* Format: uuid
|
|
2832
|
-
* @description UUID of the area to seat this party in. Defaults to the event's primary area (the one with the most tables) when omitted; the occupancy gate evaluates capacity against this area.
|
|
2833
|
-
*/
|
|
2834
|
-
areaId?: string | null;
|
|
2835
|
-
/** @description Date of the reservation in YYYY-MM-DD format */
|
|
2836
|
-
reservationDate: string;
|
|
2837
|
-
/** @description Time of the reservation in HH:MM:SS format */
|
|
2838
|
-
reservationTime: string;
|
|
2839
|
-
/** @description Number of guests in the party. Must be between 1 and 20. */
|
|
2840
|
-
partySize: number;
|
|
2841
|
-
/** @description Reservation duration in minutes. Defaults to 120 minutes if not specified. Range: 30-300 minutes. */
|
|
2842
|
-
duration?: number | null;
|
|
2843
|
-
/**
|
|
2844
|
-
* Format: uuid
|
|
2845
|
-
* @description UUID of existing customer profile if available
|
|
2846
|
-
*/
|
|
2847
|
-
guestId?: string | null;
|
|
2848
|
-
/** @description First name of the customer making the reservation */
|
|
2849
|
-
guestFirstName: string;
|
|
2850
|
-
/** @description Last name of the customer making the reservation */
|
|
2851
|
-
guestLastName: string;
|
|
2852
|
-
/**
|
|
2853
|
-
* Format: email
|
|
2854
|
-
* @description Email address for reservation confirmations and updates
|
|
2855
|
-
*/
|
|
2856
|
-
guestEmail?: string | null;
|
|
2857
|
-
/** @description Phone number for reservation confirmations and updates. Include country code for international numbers. */
|
|
2858
|
-
guestPhone?: string | null;
|
|
2859
|
-
contactPreference?: components["schemas"]["ContactPreference"];
|
|
2860
|
-
source?: components["schemas"]["AreaBookingRequestSource"];
|
|
2861
|
-
/** @description Any dietary restrictions, allergies, or special occasions (max 500 characters) */
|
|
2862
|
-
specialRequests?: string | null;
|
|
2863
|
-
/** @description Preferred seating area or table type (e.g., "window seat", "quiet area", "patio") */
|
|
2864
|
-
tablePreference?: string | null;
|
|
2865
|
-
/** @description Google Ads click identifier from the landing URL (auto-tagging). Stored for server-side conversion reporting. */
|
|
2866
|
-
gclid?: string | null;
|
|
2867
|
-
/** @description Google Ads click identifier for app/web (iOS) where `gclid` is unavailable. */
|
|
2868
|
-
gbraid?: string | null;
|
|
2869
|
-
/** @description Google Ads click identifier for web-to-app (iOS) where `gclid` is unavailable. */
|
|
2870
|
-
wbraid?: string | null;
|
|
2871
|
-
/** @description Meta (Facebook/Instagram) click identifier from the landing URL. Stored for server-side Conversions API reporting. */
|
|
2872
|
-
fbclid?: string | null;
|
|
2873
|
-
};
|
|
2874
|
-
/**
|
|
2875
|
-
* MakeReservationResponse
|
|
2876
|
-
* @description Successfully created reservation
|
|
2877
|
-
*/
|
|
2878
|
-
MakeReservationResponse: {
|
|
2879
|
-
/**
|
|
2880
|
-
* Format: uuid
|
|
2881
|
-
* @description Unique identifier for the reservation
|
|
2882
|
-
*/
|
|
2883
|
-
id: string;
|
|
2884
|
-
/**
|
|
2885
|
-
* Format: uuid
|
|
2886
|
-
* @description Restaurant/tenant identifier
|
|
2887
|
-
*/
|
|
2888
|
-
venueId: string;
|
|
2889
|
-
/**
|
|
2890
|
-
* Format: uuid
|
|
2891
|
-
* @description Event identifier for this reservation
|
|
2892
|
-
*/
|
|
2893
|
-
eventId: string;
|
|
2894
|
-
areaId: string | null;
|
|
2895
|
-
quickReferenceNumber: number | null;
|
|
2896
|
-
/** @description Date of the reservation in YYYY-MM-DD format */
|
|
2897
|
-
reservationDate: string;
|
|
2898
|
-
/** @description Time of the reservation in HH:MM:SS format */
|
|
2899
|
-
reservationTime: string;
|
|
2900
|
-
/** @description Number of guests in the party */
|
|
2901
|
-
partySize: number;
|
|
2902
|
-
/** @description Reservation duration in minutes */
|
|
2903
|
-
duration: number | null;
|
|
2904
|
-
/**
|
|
2905
|
-
* Format: uuid
|
|
2906
|
-
* @description Link to customer profile if exists
|
|
2907
|
-
*/
|
|
2908
|
-
guestId: string | null;
|
|
2909
|
-
partyId: string | null;
|
|
2910
|
-
/** @description First name of the customer */
|
|
2911
|
-
guestFirstName: string;
|
|
2912
|
-
/** @description Last name of the customer */
|
|
2913
|
-
guestLastName: string;
|
|
2914
|
-
/** @description Customer email address */
|
|
2915
|
-
guestEmail: string | null;
|
|
2916
|
-
/** @description Customer phone number */
|
|
2917
|
-
guestPhone: string | null;
|
|
2918
|
-
contactPreference: components["schemas"]["ContactPreference"];
|
|
2919
|
-
status: components["schemas"]["ReservationStatus"];
|
|
2920
|
-
/** @description 6-character confirmation code for the reservation */
|
|
2921
|
-
confirmationCode: string | null;
|
|
2922
|
-
/** @description When the reservation was confirmed */
|
|
2923
|
-
confirmedAt: unknown;
|
|
2924
|
-
/** @description When the guest arrived */
|
|
2925
|
-
arrivedAt: unknown;
|
|
2926
|
-
/** @description When the guest was seated */
|
|
2927
|
-
seatedAt: unknown;
|
|
2928
|
-
/** @description When the dining was completed */
|
|
2929
|
-
completedAt: unknown;
|
|
2930
|
-
/** @description When the reservation was cancelled */
|
|
2931
|
-
cancelledAt: unknown;
|
|
2932
|
-
cancellationReason: components["schemas"]["CancellationReason"];
|
|
2933
|
-
/** @description Additional cancellation details */
|
|
2934
|
-
cancellationNote: string | null;
|
|
2935
|
-
source: components["schemas"]["AreaBookingRequestSource"];
|
|
2936
|
-
gclid: string | null;
|
|
2937
|
-
gbraid: string | null;
|
|
2938
|
-
wbraid: string | null;
|
|
2939
|
-
fbclid: string | null;
|
|
2940
|
-
/** @description Any special requirements or notes */
|
|
2941
|
-
specialRequests: string | null;
|
|
2942
|
-
/** @description Preferred seating location */
|
|
2943
|
-
tablePreference: string | null;
|
|
2944
|
-
/** @description User ID who created the reservation */
|
|
2945
|
-
createdBy: string | null;
|
|
2946
|
-
/** @description User ID who last updated the reservation */
|
|
2947
|
-
updatedBy: string | null;
|
|
2948
|
-
/** @description Reservation creation timestamp */
|
|
2949
|
-
createdAt: unknown;
|
|
2950
|
-
/** @description Last update timestamp */
|
|
2951
|
-
updatedAt: unknown;
|
|
2952
|
-
};
|
|
2953
|
-
/** HydratedSchedule */
|
|
2954
|
-
HydratedSchedule: {
|
|
2955
|
-
id: string;
|
|
2956
|
-
name: (string | number | boolean | (null)) | {
|
|
2957
|
-
[key: string]: unknown;
|
|
2958
|
-
} | unknown[];
|
|
2959
|
-
description: ((string | number | boolean | (null)) | {
|
|
2960
|
-
[key: string]: unknown;
|
|
2961
|
-
} | unknown[]) | null;
|
|
2962
|
-
timezone: string;
|
|
2963
|
-
rrule: string | null;
|
|
2964
|
-
exdates: string[] | null;
|
|
2965
|
-
validFrom: string | null;
|
|
2966
|
-
validTo: string | null;
|
|
2967
|
-
slotMode: components["schemas"]["SlotMode"];
|
|
2968
|
-
intervalDuration: number | null;
|
|
2969
|
-
duration: number | null;
|
|
2970
|
-
isActive: boolean;
|
|
2971
|
-
sortIndex: string | null;
|
|
2972
|
-
updatedAt: unknown;
|
|
2973
|
-
updatedBy: string | null;
|
|
2974
|
-
createdAt: unknown;
|
|
2975
|
-
createdBy: string | null;
|
|
2976
|
-
scheduleTimeSlots: {
|
|
2977
|
-
id: string;
|
|
2978
|
-
scheduleId: string;
|
|
2979
|
-
timeSlotId: string;
|
|
2980
|
-
dayOfWeek: components["schemas"]["DayOfWeek"];
|
|
2981
|
-
sortIndex: string | null;
|
|
2982
|
-
timeSlot: {
|
|
2983
|
-
id: string;
|
|
2984
|
-
startTime: string;
|
|
2985
|
-
endTime: string | null;
|
|
2986
|
-
channel: components["schemas"]["BookingChannel"];
|
|
2987
|
-
isActive: boolean | null;
|
|
2988
|
-
isSchedulable: boolean | null;
|
|
2989
|
-
maxBookings: number | null;
|
|
2990
|
-
maxGuests: number | null;
|
|
2991
|
-
overflowBookings: number | null;
|
|
2992
|
-
overflowGuests: number | null;
|
|
2993
|
-
sortIndex: string | null;
|
|
2994
|
-
updatedAt: unknown;
|
|
2995
|
-
updatedBy: string | null;
|
|
2996
|
-
createdAt: unknown;
|
|
2997
|
-
createdBy: string | null;
|
|
2998
|
-
} | null;
|
|
2999
|
-
}[];
|
|
3000
|
-
scheduleOverrides: components["schemas"]["ScheduleOverride"][];
|
|
3001
|
-
scheduleSlotPolicies: {
|
|
3002
|
-
id: string;
|
|
3003
|
-
scheduleId: string;
|
|
3004
|
-
channel: components["schemas"]["BookingChannel"];
|
|
3005
|
-
slotMode: components["schemas"]["SlotMode"];
|
|
3006
|
-
intervalDuration: number | null;
|
|
3007
|
-
duration: number | null;
|
|
3008
|
-
bookingOpensAtDays: number | null;
|
|
3009
|
-
bookingClosesAtOffset: number | null;
|
|
3010
|
-
updatedAt: unknown;
|
|
3011
|
-
updatedBy: string | null;
|
|
3012
|
-
createdAt: unknown;
|
|
3013
|
-
createdBy: string | null;
|
|
3014
|
-
}[];
|
|
3015
|
-
};
|
|
3016
|
-
/** FetchRitualResponse */
|
|
3017
|
-
FetchRitualResponse: {
|
|
3018
|
-
id: string;
|
|
3019
|
-
venueId: string;
|
|
3020
|
-
accessor: string;
|
|
3021
|
-
ritualType: components["schemas"]["RitualType"];
|
|
3022
|
-
scheduleId: string | null;
|
|
3023
|
-
name: (string | number | boolean | (null)) | {
|
|
3024
|
-
[key: string]: unknown;
|
|
3025
|
-
} | unknown[];
|
|
3026
|
-
description: ((string | number | boolean | (null)) | {
|
|
3027
|
-
[key: string]: unknown;
|
|
3028
|
-
} | unknown[]) | null;
|
|
3029
|
-
playbook: ((string | number | boolean | (null)) | {
|
|
3030
|
-
[key: string]: unknown;
|
|
3031
|
-
} | unknown[]) | null;
|
|
3032
|
-
maxBookings: number | null;
|
|
3033
|
-
maxGuests: number | null;
|
|
3034
|
-
minPartySize: number | null;
|
|
3035
|
-
maxPartySize: number | null;
|
|
3036
|
-
isPublic: boolean;
|
|
3037
|
-
reservationsEnabled: boolean;
|
|
3038
|
-
bookingOpensAtDays: number | null;
|
|
3039
|
-
bookingClosesAtOffset: number | null;
|
|
3040
|
-
isActive: boolean;
|
|
3041
|
-
isFeatured: boolean;
|
|
3042
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
3043
|
-
[key: string]: unknown;
|
|
3044
|
-
} | unknown[]) | null;
|
|
3045
|
-
createdBy: string | null;
|
|
3046
|
-
updatedBy: string | null;
|
|
3047
|
-
createdAt: unknown;
|
|
3048
|
-
updatedAt: unknown;
|
|
3049
|
-
archivedAt: unknown;
|
|
3050
|
-
archivedBy: string | null;
|
|
3051
|
-
assets: {
|
|
3052
|
-
id: string;
|
|
3053
|
-
type: components["schemas"]["AssetType"];
|
|
3054
|
-
tags: string[] | null;
|
|
3055
|
-
bucket: string;
|
|
3056
|
-
storagePath: string;
|
|
3057
|
-
filename: string;
|
|
3058
|
-
contentType: string;
|
|
3059
|
-
sizeBytes: number;
|
|
3060
|
-
caption: (string | number | boolean | (null)) | {
|
|
3061
|
-
[key: string]: unknown;
|
|
3062
|
-
} | unknown[];
|
|
3063
|
-
alt: (string | number | boolean | (null)) | {
|
|
3064
|
-
[key: string]: unknown;
|
|
3065
|
-
} | unknown[];
|
|
3066
|
-
metadata: ((string | number | boolean | (null)) | {
|
|
3067
|
-
[key: string]: unknown;
|
|
3068
|
-
} | unknown[]) | null;
|
|
3069
|
-
cropArea: ((string | number | boolean | (null)) | {
|
|
3070
|
-
[key: string]: unknown;
|
|
3071
|
-
} | unknown[]) | null;
|
|
3072
|
-
isActive: boolean;
|
|
3073
|
-
sortIndex: string | null;
|
|
3074
|
-
createdAt: unknown;
|
|
3075
|
-
updatedAt: unknown;
|
|
3076
|
-
createdBy: string | null;
|
|
3077
|
-
updatedBy: string | null;
|
|
3078
|
-
venueId: string | null;
|
|
3079
|
-
contentHash: string | null;
|
|
3080
|
-
publicUrl: string;
|
|
3081
|
-
}[];
|
|
3082
|
-
events: {
|
|
3083
|
-
id: string;
|
|
3084
|
-
venueId: string;
|
|
3085
|
-
accessor: string | null;
|
|
3086
|
-
name: (string | number | boolean | (null)) | {
|
|
3087
|
-
[key: string]: unknown;
|
|
3088
|
-
} | unknown[];
|
|
3089
|
-
description: ((string | number | boolean | (null)) | {
|
|
3090
|
-
[key: string]: unknown;
|
|
3091
|
-
} | unknown[]) | null;
|
|
3092
|
-
scheduleId: string | null;
|
|
3093
|
-
ritualId: string | null;
|
|
3094
|
-
occurrenceDate: string | null;
|
|
3095
|
-
maxBookings: number | null;
|
|
3096
|
-
maxGuests: number | null;
|
|
3097
|
-
minPartySize: number | null;
|
|
3098
|
-
maxPartySize: number | null;
|
|
3099
|
-
staffByRole: ((string | number | boolean | (null)) | {
|
|
3100
|
-
[key: string]: unknown;
|
|
3101
|
-
} | unknown[]) | null;
|
|
3102
|
-
isPublic: boolean;
|
|
3103
|
-
reservationsEnabled: boolean;
|
|
3104
|
-
bookingOpensAtDays: number | null;
|
|
3105
|
-
bookingClosesAtOffset: number | null;
|
|
3106
|
-
isActive: boolean;
|
|
3107
|
-
isFeatured: boolean;
|
|
3108
|
-
takesOverDay: boolean;
|
|
3109
|
-
servedMarket: ((string | number | boolean | (null)) | {
|
|
3110
|
-
[key: string]: unknown;
|
|
3111
|
-
} | unknown[]) | null;
|
|
3112
|
-
createdBy: string | null;
|
|
3113
|
-
updatedBy: string | null;
|
|
3114
|
-
createdAt: unknown;
|
|
3115
|
-
updatedAt: unknown;
|
|
3116
|
-
archivedAt: unknown;
|
|
3117
|
-
archivedBy: string | null;
|
|
3118
|
-
covers: number;
|
|
3119
|
-
}[];
|
|
3120
|
-
schedule: components["schemas"]["HydratedSchedule"] | null;
|
|
3121
|
-
};
|
|
3122
|
-
/** GetSubscriptionResponse */
|
|
3123
|
-
GetSubscriptionResponse: {
|
|
3124
|
-
id: string;
|
|
3125
|
-
menuId: string;
|
|
3126
|
-
accessor: string;
|
|
3127
|
-
name: {
|
|
3128
|
-
[key: string]: string;
|
|
3129
|
-
};
|
|
3130
|
-
shortName: {
|
|
3131
|
-
[key: string]: string;
|
|
3132
|
-
} | null;
|
|
3133
|
-
description: {
|
|
3134
|
-
[key: string]: string;
|
|
3135
|
-
} | null;
|
|
3136
|
-
scheduleId: string | null;
|
|
3137
|
-
allowance: number;
|
|
3138
|
-
billingPeriod: components["schemas"]["SubscriptionPeriod"];
|
|
3139
|
-
allowancePeriod: components["schemas"]["SubscriptionPeriod"];
|
|
3140
|
-
redeemableTagSets: string[][];
|
|
3141
|
-
expiryInDays: number | null;
|
|
3142
|
-
price: number;
|
|
3143
|
-
currency: components["schemas"]["Currency"];
|
|
3144
|
-
isActive: boolean;
|
|
3145
|
-
sortIndex: string | null;
|
|
3146
|
-
posters: {
|
|
3147
|
-
id: string;
|
|
3148
|
-
menuSubscriptionId: string;
|
|
3149
|
-
storagePath: string;
|
|
3150
|
-
/** Format: uri */
|
|
3151
|
-
publicUrl: string;
|
|
3152
|
-
filename: string;
|
|
3153
|
-
contentType: string;
|
|
3154
|
-
sizeBytes: number;
|
|
3155
|
-
sortIndex: string | null;
|
|
3156
|
-
createdBy: string | null;
|
|
3157
|
-
createdAt: string | null;
|
|
3158
|
-
}[];
|
|
3159
|
-
};
|
|
3160
|
-
/** SubscribeToSubscriptionBody */
|
|
3161
|
-
SubscribeToSubscriptionBody: {
|
|
3162
|
-
/** Format: email */
|
|
3163
|
-
email: string;
|
|
3164
|
-
firstName?: string;
|
|
3165
|
-
lastName?: string;
|
|
3166
|
-
sessionId?: string;
|
|
3167
|
-
/** Format: uri */
|
|
3168
|
-
successUrl: string;
|
|
3169
|
-
/** Format: uri */
|
|
3170
|
-
cancelUrl: string;
|
|
3171
|
-
};
|
|
3172
|
-
/** SubscribeToSubscriptionResponse */
|
|
3173
|
-
SubscribeToSubscriptionResponse: {
|
|
3174
|
-
/** Format: uri */
|
|
3175
|
-
checkoutUrl: string | null;
|
|
3176
|
-
sessionId: string;
|
|
3177
|
-
};
|
|
3178
|
-
/** CancelSubscriptionRequest */
|
|
3179
|
-
CancelSubscriptionRequest: {
|
|
3180
|
-
subscriberId: string;
|
|
3181
|
-
};
|
|
3182
|
-
/** CancelSubscriptionResponse */
|
|
3183
|
-
CancelSubscriptionResponse: {
|
|
3184
|
-
/** @enum {boolean} */
|
|
3185
|
-
success: true;
|
|
3186
|
-
};
|
|
3187
|
-
/** GetSubscriptionCreditsResponse */
|
|
3188
|
-
GetSubscriptionCreditsResponse: {
|
|
3189
|
-
id: string;
|
|
3190
|
-
subscriberId: string;
|
|
3191
|
-
periodStart: string;
|
|
3192
|
-
periodEnd: string;
|
|
3193
|
-
expiresAt: string | null;
|
|
3194
|
-
status: components["schemas"]["SubscriptionCreditStatus"];
|
|
3195
|
-
redeemedAt: string | null;
|
|
3196
|
-
orderId: string | null;
|
|
3197
|
-
createdAt: string | null;
|
|
3198
|
-
}[];
|
|
3199
|
-
/** DeliveryAddress */
|
|
3200
|
-
DeliveryAddress: {
|
|
3201
|
-
street: string;
|
|
3202
|
-
city: string;
|
|
3203
|
-
region?: string | null;
|
|
3204
|
-
postcode: string;
|
|
3205
|
-
country: components["schemas"]["Country"];
|
|
3206
|
-
};
|
|
3207
|
-
/**
|
|
3208
|
-
* CreateTeamOrderRequest
|
|
3209
|
-
* @description Create a team order: promotes the lead's active basket into a shared team basket and returns the share token.
|
|
3210
|
-
*/
|
|
3211
|
-
CreateTeamOrderRequest: {
|
|
3212
|
-
venueAccessor: string;
|
|
3213
|
-
sessionId: string;
|
|
3214
|
-
/** Format: uuid */
|
|
3215
|
-
menuId: string;
|
|
3216
|
-
leadDisplayName: string;
|
|
3217
|
-
teamName?: string;
|
|
3218
|
-
/** Format: uri */
|
|
3219
|
-
logoUrl?: string;
|
|
3220
|
-
/** Format: date-time */
|
|
3221
|
-
deadlineAt?: string | null;
|
|
3222
|
-
fulfillmentType: components["schemas"]["FulfillmentType"];
|
|
3223
|
-
/** Format: date-time */
|
|
3224
|
-
fulfillmentAt?: string | null;
|
|
3225
|
-
deliveryAddress?: components["schemas"]["DeliveryAddress"];
|
|
3226
|
-
allowedPaymentMethods: components["schemas"]["PaymentMethod"][];
|
|
3227
|
-
/** Format: uuid */
|
|
3228
|
-
eventId?: string;
|
|
3229
|
-
};
|
|
3230
|
-
/** CreateTeamOrderResponse */
|
|
3231
|
-
CreateTeamOrderResponse: {
|
|
3232
|
-
publicId: string;
|
|
3233
|
-
/** Format: uuid */
|
|
3234
|
-
teamOrderId: string;
|
|
3235
|
-
};
|
|
3236
|
-
/** FetchTeamOrderResponse */
|
|
3237
|
-
FetchTeamOrderResponse: {
|
|
3238
|
-
teamOrder: {
|
|
3239
|
-
id: string;
|
|
3240
|
-
publicId: string;
|
|
3241
|
-
venueId: string;
|
|
3242
|
-
menuId: string;
|
|
3243
|
-
eventId: string | null;
|
|
3244
|
-
teamName: string | null;
|
|
3245
|
-
logoUrl: string | null;
|
|
3246
|
-
leadDisplayName: string;
|
|
3247
|
-
status: components["schemas"]["TeamOrderStatus"];
|
|
3248
|
-
allowedPaymentMethods: components["schemas"]["PaymentMethod"][];
|
|
3249
|
-
fulfillmentType: components["schemas"]["FulfillmentType"];
|
|
3250
|
-
/** Format: date-time */
|
|
3251
|
-
fulfillmentAt: string | null;
|
|
3252
|
-
/** Format: date-time */
|
|
3253
|
-
deadlineAt: string | null;
|
|
3254
|
-
/** Format: date-time */
|
|
3255
|
-
lockedAt: string | null;
|
|
3256
|
-
/** Format: date-time */
|
|
3257
|
-
placedAt: string | null;
|
|
3258
|
-
/** Format: date-time */
|
|
3259
|
-
cancelledAt: string | null;
|
|
3260
|
-
cancelReason: string | null;
|
|
3261
|
-
deliveryAddressId: string | null;
|
|
3262
|
-
diningLocation: string | null;
|
|
3263
|
-
diningTime: string | null;
|
|
3264
|
-
isDeliveryEnabled: boolean;
|
|
3265
|
-
isVenueAcceptingOrders: boolean;
|
|
3266
|
-
quickReferenceNumber: number | null;
|
|
3267
|
-
};
|
|
3268
|
-
deliveryThreshold: {
|
|
3269
|
-
amount: number | null;
|
|
3270
|
-
quantity: number | null;
|
|
3271
|
-
};
|
|
3272
|
-
participants: {
|
|
3273
|
-
guestId: string;
|
|
3274
|
-
basketId: string | null;
|
|
3275
|
-
orderId: string | null;
|
|
3276
|
-
participantNumber: number | null;
|
|
3277
|
-
displayName: string | null;
|
|
3278
|
-
status: components["schemas"]["ParticipantStatus"];
|
|
3279
|
-
bundleCount: number;
|
|
3280
|
-
amount: number;
|
|
3281
|
-
paymentMethod: components["schemas"]["PaymentMethod"];
|
|
3282
|
-
isLead: boolean;
|
|
3283
|
-
isMe: boolean;
|
|
3284
|
-
/** Format: date-time */
|
|
3285
|
-
joinedAt: string;
|
|
3286
|
-
items: {
|
|
3287
|
-
id: string;
|
|
3288
|
-
metadata: {
|
|
3289
|
-
[key: string]: unknown;
|
|
3290
|
-
} | null;
|
|
3291
|
-
menuItems: {
|
|
3292
|
-
menuItemId: string;
|
|
3293
|
-
role: string | null;
|
|
3294
|
-
quantity: number;
|
|
3295
|
-
unit: components["schemas"]["Unit"];
|
|
3296
|
-
}[];
|
|
3297
|
-
isPaid: boolean;
|
|
3298
|
-
}[];
|
|
3299
|
-
payments: {
|
|
3300
|
-
amount: number;
|
|
3301
|
-
method: components["schemas"]["PaymentMethod"];
|
|
3302
|
-
status: components["schemas"]["ActivePaymentStatus"];
|
|
3303
|
-
/** Format: date-time */
|
|
3304
|
-
createdAt: string;
|
|
3305
|
-
cardLast4: string | null;
|
|
3306
|
-
}[];
|
|
3307
|
-
paidTotal: number;
|
|
3308
|
-
amountDue: number;
|
|
3309
|
-
declaredReturns: {
|
|
3310
|
-
depositwareTemplateId: string;
|
|
3311
|
-
count: number;
|
|
3312
|
-
}[];
|
|
3313
|
-
leadSettledAt: string | null;
|
|
3314
|
-
}[];
|
|
3315
|
-
aggregatedTotals: {
|
|
3316
|
-
confirmedBundleCount: number;
|
|
3317
|
-
confirmedAmount: number;
|
|
3318
|
-
totalBundleCount: number;
|
|
3319
|
-
};
|
|
3320
|
-
thresholdCheck: {
|
|
3321
|
-
meets: boolean;
|
|
3322
|
-
failedConstraints: components["schemas"]["TeamOrderThresholdConstraint"][];
|
|
3323
|
-
requiredQuantity: number | null;
|
|
3324
|
-
currentQuantity: number;
|
|
3325
|
-
requiredAmount: number | null;
|
|
3326
|
-
currentAmount: number;
|
|
3327
|
-
};
|
|
3328
|
-
isLead: boolean;
|
|
3329
|
-
};
|
|
3330
|
-
/** JoinTeamOrderRequest */
|
|
3331
|
-
JoinTeamOrderRequest: {
|
|
3332
|
-
publicId: string;
|
|
3333
|
-
sessionId: string;
|
|
3334
|
-
displayName?: string;
|
|
3335
|
-
};
|
|
3336
|
-
/** JoinTeamOrderResponse */
|
|
3337
|
-
JoinTeamOrderResponse: {
|
|
3338
|
-
/** Format: uuid */
|
|
3339
|
-
teamOrderId: string;
|
|
3340
|
-
basketId: string;
|
|
3341
|
-
guestId: string;
|
|
3342
|
-
status: components["schemas"]["TeamOrderStatus"];
|
|
3343
|
-
isLead: boolean;
|
|
3344
|
-
alreadyJoined: boolean;
|
|
3345
|
-
};
|
|
3346
|
-
/** SubmitTeamOrderRequest */
|
|
3347
|
-
SubmitTeamOrderRequest: {
|
|
3348
|
-
publicId: string;
|
|
3349
|
-
sessionId: string;
|
|
3350
|
-
};
|
|
3351
|
-
/** SubmitTeamOrderResponse */
|
|
3352
|
-
SubmitTeamOrderResponse: {
|
|
3353
|
-
/** Format: uuid */
|
|
3354
|
-
teamOrderId: string;
|
|
3355
|
-
status: components["schemas"]["TeamOrderStatus"];
|
|
3356
|
-
capturedOrderIds: string[];
|
|
3357
|
-
cashPendingOrderIds: string[];
|
|
3358
|
-
droppedBasketIds: string[];
|
|
3359
|
-
/** Format: date-time */
|
|
3360
|
-
placedAt: string;
|
|
3361
|
-
};
|
|
3362
|
-
/** CancelTeamOrderRequest */
|
|
3363
|
-
CancelTeamOrderRequest: {
|
|
3364
|
-
publicId: string;
|
|
3365
|
-
sessionId: string;
|
|
3366
|
-
reason?: string;
|
|
3367
|
-
};
|
|
3368
|
-
/** CancelTeamOrderResponse */
|
|
3369
|
-
CancelTeamOrderResponse: {
|
|
3370
|
-
/** Format: uuid */
|
|
3371
|
-
teamOrderId: string;
|
|
3372
|
-
status: components["schemas"]["TeamOrderStatus"];
|
|
3373
|
-
voidedPaymentIntentIds: string[];
|
|
3374
|
-
/** Format: date-time */
|
|
3375
|
-
cancelledAt: string;
|
|
3376
|
-
};
|
|
3377
|
-
/** ExtendDeadlineTeamOrderRequest */
|
|
3378
|
-
ExtendDeadlineTeamOrderRequest: {
|
|
3379
|
-
publicId: string;
|
|
3380
|
-
sessionId: string;
|
|
3381
|
-
/** Format: date-time */
|
|
3382
|
-
newDeadlineAt: string;
|
|
3383
|
-
};
|
|
3384
|
-
/** ExtendDeadlineTeamOrderResponse */
|
|
3385
|
-
ExtendDeadlineTeamOrderResponse: {
|
|
3386
|
-
/** Format: uuid */
|
|
3387
|
-
teamOrderId: string;
|
|
3388
|
-
status: components["schemas"]["TeamOrderStatus"];
|
|
3389
|
-
/** Format: date-time */
|
|
3390
|
-
deadlineAt: string | null;
|
|
3391
|
-
};
|
|
3392
|
-
/** SetFulfillmentAtTeamOrderRequest */
|
|
3393
|
-
SetFulfillmentAtTeamOrderRequest: {
|
|
3394
|
-
publicId: string;
|
|
3395
|
-
sessionId: string;
|
|
3396
|
-
/** Format: date-time */
|
|
3397
|
-
fulfillmentAt: string;
|
|
3398
|
-
};
|
|
3399
|
-
/** SetFulfillmentAtTeamOrderResponse */
|
|
3400
|
-
SetFulfillmentAtTeamOrderResponse: {
|
|
3401
|
-
/** Format: uuid */
|
|
3402
|
-
teamOrderId: string;
|
|
3403
|
-
status: components["schemas"]["TeamOrderStatus"];
|
|
3404
|
-
/** Format: date-time */
|
|
3405
|
-
fulfillmentAt: string;
|
|
3406
|
-
/** Format: date-time */
|
|
3407
|
-
deadlineAt: string | null;
|
|
3408
|
-
};
|
|
3409
|
-
/** SetDiningLocationTeamOrderRequest */
|
|
3410
|
-
SetDiningLocationTeamOrderRequest: {
|
|
3411
|
-
publicId: string;
|
|
3412
|
-
sessionId: string;
|
|
3413
|
-
diningLocation: string;
|
|
3414
|
-
};
|
|
3415
|
-
/** SetDiningLocationTeamOrderResponse */
|
|
3416
|
-
SetDiningLocationTeamOrderResponse: {
|
|
3417
|
-
/** Format: uuid */
|
|
3418
|
-
teamOrderId: string;
|
|
3419
|
-
status: components["schemas"]["TeamOrderStatus"];
|
|
3420
|
-
diningLocation: string | null;
|
|
3421
|
-
};
|
|
3422
|
-
/** SetDiningTimeTeamOrderRequest */
|
|
3423
|
-
SetDiningTimeTeamOrderRequest: {
|
|
3424
|
-
publicId: string;
|
|
3425
|
-
sessionId: string;
|
|
3426
|
-
diningTime: string;
|
|
3427
|
-
};
|
|
3428
|
-
/** SetDiningTimeTeamOrderResponse */
|
|
3429
|
-
SetDiningTimeTeamOrderResponse: {
|
|
3430
|
-
/** Format: uuid */
|
|
3431
|
-
teamOrderId: string;
|
|
3432
|
-
status: components["schemas"]["TeamOrderStatus"];
|
|
3433
|
-
diningTime: string;
|
|
3434
|
-
diningOffset: number;
|
|
3435
|
-
};
|
|
3436
|
-
/** SetOrderLeadSettledRequest */
|
|
3437
|
-
SetOrderLeadSettledRequest: {
|
|
3438
|
-
publicId: string;
|
|
3439
|
-
sessionId: string;
|
|
3440
|
-
/** Format: uuid */
|
|
3441
|
-
orderId: string;
|
|
3442
|
-
settled: boolean;
|
|
3443
|
-
};
|
|
3444
|
-
/** SetOrderLeadSettledResponse */
|
|
3445
|
-
SetOrderLeadSettledResponse: {
|
|
3446
|
-
/** Format: uuid */
|
|
3447
|
-
orderId: string;
|
|
3448
|
-
leadSettledAt: string | null;
|
|
3449
|
-
};
|
|
3450
|
-
/** AutoExtendFulfillmentIfExpiredRequest */
|
|
3451
|
-
AutoExtendFulfillmentIfExpiredRequest: {
|
|
3452
|
-
publicId: string;
|
|
3453
|
-
sessionId: string;
|
|
3454
|
-
/** Format: date-time */
|
|
3455
|
-
proposedFulfillmentAt: string;
|
|
3456
|
-
};
|
|
3457
|
-
/** AutoExtendFulfillmentIfExpiredResponse */
|
|
3458
|
-
AutoExtendFulfillmentIfExpiredResponse: {
|
|
3459
|
-
extended: boolean;
|
|
3460
|
-
teamOrderId: string;
|
|
3461
|
-
status: string;
|
|
3462
|
-
/** Format: date-time */
|
|
3463
|
-
fulfillmentAt: string;
|
|
3464
|
-
/** Format: date-time */
|
|
3465
|
-
deadlineAt: string | null;
|
|
3466
|
-
/** Format: date-time */
|
|
3467
|
-
previousFulfillmentAt: string;
|
|
3468
|
-
waitingCount: number;
|
|
3469
|
-
};
|
|
3470
|
-
/** SwitchFulfillmentTeamOrderRequest */
|
|
3471
|
-
SwitchFulfillmentTeamOrderRequest: {
|
|
3472
|
-
publicId: string;
|
|
3473
|
-
sessionId: string;
|
|
3474
|
-
fulfillmentType: components["schemas"]["FulfillmentType"];
|
|
3475
|
-
deliveryAddress?: components["schemas"]["DeliveryAddress"];
|
|
3476
|
-
};
|
|
3477
|
-
/** SwitchFulfillmentTeamOrderResponse */
|
|
3478
|
-
SwitchFulfillmentTeamOrderResponse: {
|
|
3479
|
-
/** Format: uuid */
|
|
3480
|
-
teamOrderId: string;
|
|
3481
|
-
status: components["schemas"]["TeamOrderStatus"];
|
|
3482
|
-
fulfillmentType: components["schemas"]["FulfillmentType"];
|
|
3483
|
-
deliveryAddressId: string | null;
|
|
3484
|
-
};
|
|
3485
|
-
/** UpdateDeliveryAddressTeamOrderRequest */
|
|
3486
|
-
UpdateDeliveryAddressTeamOrderRequest: {
|
|
3487
|
-
publicId: string;
|
|
3488
|
-
sessionId: string;
|
|
3489
|
-
deliveryAddress: components["schemas"]["DeliveryAddress"];
|
|
3490
|
-
};
|
|
3491
|
-
/** UpdateDeliveryAddressTeamOrderResponse */
|
|
3492
|
-
UpdateDeliveryAddressTeamOrderResponse: {
|
|
3493
|
-
/** Format: uuid */
|
|
3494
|
-
teamOrderId: string;
|
|
3495
|
-
deliveryAddressId: string;
|
|
3496
|
-
};
|
|
3497
|
-
/**
|
|
3498
|
-
* GetVenueResponse
|
|
3499
|
-
* @description A venue. The public API exposes only the minimal id + accessor + naming + locale fields the CLI's `venues use` / `auth whoami` consume.
|
|
3500
|
-
*/
|
|
3501
|
-
GetVenueResponse: {
|
|
3502
|
-
id: string;
|
|
3503
|
-
accessor: string;
|
|
3504
|
-
officialName: string;
|
|
3505
|
-
legalName: string;
|
|
3506
|
-
shortName: string;
|
|
3507
|
-
brandName: string;
|
|
3508
|
-
primaryLocale: string;
|
|
3509
|
-
supportedLocales: string[];
|
|
3510
|
-
timezone: string;
|
|
3511
|
-
createdAt: unknown;
|
|
3512
|
-
updatedAt: unknown;
|
|
3513
|
-
};
|
|
3514
|
-
/** GetWebsitePagesResponse */
|
|
3515
|
-
GetWebsitePagesResponse: {
|
|
3516
|
-
id: string;
|
|
3517
|
-
venueId: string;
|
|
3518
|
-
ownerType: components["schemas"]["WebsitePageOwnerType"];
|
|
3519
|
-
ownerId: string | null;
|
|
3520
|
-
name: ((string | number | boolean | (null)) | {
|
|
3521
|
-
[key: string]: unknown;
|
|
3522
|
-
} | unknown[]) | null;
|
|
3523
|
-
path: string | null;
|
|
3524
|
-
externalUrl: string | null;
|
|
3525
|
-
createdBy: string | null;
|
|
3526
|
-
updatedBy: string | null;
|
|
3527
|
-
createdAt: unknown;
|
|
3528
|
-
updatedAt: unknown;
|
|
3529
|
-
archivedAt: unknown;
|
|
3530
|
-
archivedBy: string | null;
|
|
3531
|
-
usages: {
|
|
3532
|
-
type: string;
|
|
3533
|
-
count: number;
|
|
3534
|
-
name?: string;
|
|
3535
|
-
href?: string;
|
|
3536
|
-
}[];
|
|
3537
|
-
}[];
|
|
3538
|
-
/** CreateWebsitePageRequest */
|
|
3539
|
-
CreateWebsitePageRequest: {
|
|
3540
|
-
venueAccessor: string;
|
|
3541
|
-
id?: string;
|
|
3542
|
-
ownerType?: components["schemas"]["WebsitePageOwnerType"];
|
|
3543
|
-
ownerId?: string | null;
|
|
3544
|
-
name?: {
|
|
3545
|
-
[key: string]: string;
|
|
3546
|
-
} | null;
|
|
3547
|
-
target: string;
|
|
3548
|
-
};
|
|
3549
|
-
/** CreateWebsitePageResponse */
|
|
3550
|
-
CreateWebsitePageResponse: {
|
|
3551
|
-
id: string;
|
|
3552
|
-
venueId: string;
|
|
3553
|
-
ownerType: components["schemas"]["WebsitePageOwnerType"];
|
|
3554
|
-
ownerId: string | null;
|
|
3555
|
-
name: ((string | number | boolean | (null)) | {
|
|
3556
|
-
[key: string]: unknown;
|
|
3557
|
-
} | unknown[]) | null;
|
|
3558
|
-
path: string | null;
|
|
3559
|
-
externalUrl: string | null;
|
|
3560
|
-
createdBy: string | null;
|
|
3561
|
-
updatedBy: string | null;
|
|
3562
|
-
createdAt: unknown;
|
|
3563
|
-
updatedAt: unknown;
|
|
3564
|
-
archivedAt: unknown;
|
|
3565
|
-
archivedBy: string | null;
|
|
3566
|
-
};
|
|
3567
|
-
/** UpdateWebsitePageRequest */
|
|
3568
|
-
UpdateWebsitePageRequest: {
|
|
3569
|
-
venueAccessor: string;
|
|
3570
|
-
id: string;
|
|
3571
|
-
name?: {
|
|
3572
|
-
[key: string]: string;
|
|
3573
|
-
} | null;
|
|
3574
|
-
target: string;
|
|
3575
|
-
};
|
|
3576
|
-
/** UpdateWebsitePageResponse */
|
|
3577
|
-
UpdateWebsitePageResponse: {
|
|
3578
|
-
id: string;
|
|
3579
|
-
venueId: string;
|
|
3580
|
-
ownerType: components["schemas"]["WebsitePageOwnerType"];
|
|
3581
|
-
ownerId: string | null;
|
|
3582
|
-
name: ((string | number | boolean | (null)) | {
|
|
3583
|
-
[key: string]: unknown;
|
|
3584
|
-
} | unknown[]) | null;
|
|
3585
|
-
path: string | null;
|
|
3586
|
-
externalUrl: string | null;
|
|
3587
|
-
createdBy: string | null;
|
|
3588
|
-
updatedBy: string | null;
|
|
3589
|
-
createdAt: unknown;
|
|
3590
|
-
updatedAt: unknown;
|
|
3591
|
-
archivedAt: unknown;
|
|
3592
|
-
archivedBy: string | null;
|
|
3593
|
-
};
|
|
3594
|
-
/** DeleteWebsitePageResponse */
|
|
3595
|
-
DeleteWebsitePageResponse: {
|
|
3596
|
-
id: string;
|
|
3597
|
-
venueId: string;
|
|
3598
|
-
ownerType: components["schemas"]["WebsitePageOwnerType"];
|
|
3599
|
-
ownerId: string | null;
|
|
3600
|
-
name: ((string | number | boolean | (null)) | {
|
|
3601
|
-
[key: string]: unknown;
|
|
3602
|
-
} | unknown[]) | null;
|
|
3603
|
-
path: string | null;
|
|
3604
|
-
externalUrl: string | null;
|
|
3605
|
-
createdBy: string | null;
|
|
3606
|
-
updatedBy: string | null;
|
|
3607
|
-
createdAt: unknown;
|
|
3608
|
-
updatedAt: unknown;
|
|
3609
|
-
archivedAt: unknown;
|
|
3610
|
-
archivedBy: string | null;
|
|
3611
|
-
};
|
|
3612
|
-
/** @enum {string} */
|
|
3613
|
-
AccessGrantInitiator: "grantor" | "grantee";
|
|
3614
|
-
/** @enum {string} */
|
|
3615
|
-
AccessGrantResourceType: "business-card";
|
|
3616
|
-
/** @enum {string} */
|
|
3617
|
-
AccessGrantStatus: "pending" | "accepted" | "declined" | "expired" | "withdrawn" | "revoked";
|
|
3618
|
-
/** @enum {string} */
|
|
3619
|
-
ActivePaymentStatus: "authorized" | "captured" | "cash_pending" | "cash_received";
|
|
3620
|
-
/** @enum {string} */
|
|
3621
|
-
ActorType: "human" | "robot";
|
|
3622
|
-
/** @enum {string} */
|
|
3623
|
-
AdditiveFunction: "acid" | "acidity_regulator" | "anti_caking_agent" | "anti_foaming_agent" | "antioxidant" | "bulking_agent" | "carrier" | "colour" | "emulsifier" | "emulsifying_salt" | "firming_agent" | "flavour_enhancer" | "flour_treatment_agent" | "foaming_agent" | "gelling_agent" | "glazing_agent" | "humectant" | "modified_starch" | "preservative" | "packaging_gas" | "propellant_gas" | "raising_agent" | "sequestrant" | "stabiliser" | "sweetener" | "thickener";
|
|
3624
|
-
/** @enum {string} */
|
|
3625
|
-
AppointmentStatus: "booked" | "cancelled" | "completed" | "no_show";
|
|
3626
|
-
/** @enum {string} */
|
|
3627
|
-
AreaBookingMode: "slot" | "day";
|
|
3628
|
-
/** @enum {string} */
|
|
3629
|
-
AreaBookingRequestSource: "website" | "phone" | "walk_in";
|
|
3630
|
-
/** @enum {string} */
|
|
3631
|
-
AreaBookingRequestStatus: "pending" | "approved" | "rejected" | "cancelled";
|
|
3632
|
-
/** @enum {string} */
|
|
3633
|
-
AreaBookingStatus: "confirmed" | "arrived" | "completed" | "cancelled" | "no_show";
|
|
3634
|
-
/** @enum {string} */
|
|
3635
|
-
AreaType: "indoor" | "outdoor";
|
|
3636
|
-
/** @enum {string} */
|
|
3637
|
-
ArticleEditorSaveState: "idle" | "saving" | "saved" | "error";
|
|
3638
|
-
/** @enum {string} */
|
|
3639
|
-
ArticleStatus: "draft" | "published";
|
|
3640
|
-
/** @enum {string} */
|
|
3641
|
-
BasketStatus: "active" | "abandoned" | "converted";
|
|
3642
|
-
/** @enum {string} */
|
|
3643
|
-
BeverageCategory: "wine" | "beer" | "coffee" | "tea" | "cocktail" | "juice" | "soft_drink" | "dairy_drink" | "spirit" | "water";
|
|
3644
|
-
/** @enum {string} */
|
|
3645
|
-
BillingInterval: "month" | "year";
|
|
3646
|
-
/** @enum {string} */
|
|
3647
|
-
BookingChannel: "reservation" | "order";
|
|
3648
|
-
/** @enum {string} */
|
|
3649
|
-
CampaignControlReason: "quota_exhausted" | "campaign_removed";
|
|
3650
|
-
/** @enum {string} */
|
|
3651
|
-
CancellationReason: "guest_request" | "restaurant_request";
|
|
3652
|
-
/** @enum {string} */
|
|
3653
|
-
ContactEmailType: "primary" | "billing";
|
|
3654
|
-
/** @enum {string} */
|
|
3655
|
-
ContactEmailVerificationStatus: "pending" | "verified" | "completed" | "superseded";
|
|
3656
|
-
/** @enum {string} */
|
|
3657
|
-
ContactPreference: "email" | "phone" | "sms" | "none";
|
|
3658
|
-
/** @enum {string} */
|
|
3659
|
-
Country: "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW";
|
|
3660
|
-
/** @enum {string} */
|
|
3661
|
-
Currency: "EUR" | "CHF";
|
|
3662
|
-
/** @enum {string} */
|
|
3663
|
-
DayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
3664
|
-
/** @enum {string} */
|
|
3665
|
-
DepositTransactionType: "charged" | "refunded" | "forfeited" | "waived" | "credit_used";
|
|
3666
|
-
/** @enum {string} */
|
|
3667
|
-
DepositwareStatus: "available" | "issued" | "returned" | "lost" | "damaged" | "retired";
|
|
3668
|
-
/** @enum {string} */
|
|
3669
|
-
DocumentAccessType: "view" | "download" | "sent";
|
|
3670
|
-
/** @enum {string} */
|
|
3671
|
-
DocumentClassificationState: "unclassified" | "proposed" | "confirmed";
|
|
3672
|
-
/** @enum {string} */
|
|
3673
|
-
DocumentDuplicateStatus: "suggested" | "confirmed" | "dismissed";
|
|
3674
|
-
/** @enum {string} */
|
|
3675
|
-
DocumentIdentifierPosition: "footer_left" | "footer_split" | "side_right" | "badge_top_right";
|
|
3676
|
-
/** @enum {string} */
|
|
3677
|
-
DocumentPageNumberNumeral: "arabic" | "roman";
|
|
3678
|
-
/** @enum {string} */
|
|
3679
|
-
DocumentPageNumberPosition: "bottom_left" | "bottom_center" | "bottom_right";
|
|
3680
|
-
/** @enum {string} */
|
|
3681
|
-
DocumentProcessingStatus: "pending" | "processing" | "completed" | "failed";
|
|
3682
|
-
/** @enum {string} */
|
|
3683
|
-
DocumentRelationProvenance: "rule" | "model" | "user";
|
|
3684
|
-
/** @enum {string} */
|
|
3685
|
-
DocumentRelationStatus: "suggested" | "confirmed" | "rejected";
|
|
3686
|
-
/** @enum {string} */
|
|
3687
|
-
DocumentRelationType: "reminder_for" | "delivery_note_for" | "credit_note_for" | "confirmation_for" | "invoice_for" | "correction_of" | "related_to";
|
|
3688
|
-
/** @enum {string} */
|
|
3689
|
-
DocumentSource: "upload" | "scan" | "email" | "elster" | "generated";
|
|
3690
|
-
/** @enum {string} */
|
|
3691
|
-
DocumentSubjectType: "venue" | "party" | "reservation" | "order" | "event" | "message";
|
|
3692
|
-
/** @enum {string} */
|
|
3693
|
-
DocumentType: "supplier_invoice" | "receipt" | "delivery_note" | "credit_note" | "bank_statement" | "contract" | "official_letter" | "permit" | "hygiene_certificate" | "staff_document" | "other";
|
|
3694
|
-
/** @enum {string} */
|
|
3695
|
-
DocumentTypography: "serif" | "sans" | "brand_system" | "brand_accent";
|
|
3696
|
-
/** @enum {string} */
|
|
3697
|
-
EntityOwnerType: "event" | "dish" | "beverage" | "venue" | "menu" | "menuSubscription" | "ritual";
|
|
3698
|
-
/** @enum {string} */
|
|
3699
|
-
FormOfAddress: "formal" | "informal";
|
|
3700
|
-
/** @enum {string} */
|
|
3701
|
-
GuestTier: "blacklisted" | "atRisk" | "loyal" | "newGuest" | "regular";
|
|
3702
|
-
/** @enum {string} */
|
|
3703
|
-
IntegrationNotificationType: "order_created" | "order_cancelled" | "order_completed" | "team_order_created" | "reservation_created" | "reservation_confirmed" | "reservation_cancelled";
|
|
3704
|
-
/** @enum {string} */
|
|
3705
|
-
IntegrationType: "telegram" | "google_ads" | "google_business_profile" | "meta_ads";
|
|
3706
|
-
/** @enum {string} */
|
|
3707
|
-
InventoryAssetStatus: "available" | "in_use" | "maintenance" | "retired";
|
|
3708
|
-
/** @enum {string} */
|
|
3709
|
-
InventoryCategory: "depositware" | "furniture" | "equipment" | "utensil";
|
|
3710
|
-
/** @enum {string} */
|
|
3711
|
-
InvitationScenario: "new_user" | "already_member" | "former_employee";
|
|
3712
|
-
/** @enum {string} */
|
|
3713
|
-
Jurisdiction: "DE" | "CH" | "FR" | "IT";
|
|
3714
|
-
/** @enum {string} */
|
|
3715
|
-
JurisdictionType: "country" | "region" | "municipality";
|
|
3716
|
-
/** @enum {string} */
|
|
3717
|
-
KeywordDefaultScope: "venueType" | "cuisine";
|
|
3718
|
-
/** @enum {string} */
|
|
3719
|
-
LetterheadLogoPosition: "top_left" | "top_center" | "top_right";
|
|
3720
|
-
/** @enum {string} */
|
|
3721
|
-
LetterheadWindowForm: "din_5008_form_a" | "din_5008_form_b" | "sn_010130";
|
|
3722
|
-
/** @enum {string} */
|
|
3723
|
-
Locale: "aa" | "ab" | "ae" | "af" | "ak" | "am" | "an" | "ar" | "as" | "av" | "ay" | "az" | "ba" | "be" | "bg" | "bh" | "bi" | "bm" | "bn" | "bo" | "br" | "bs" | "ca" | "ce" | "ch" | "co" | "cr" | "cs" | "cu" | "cv" | "cy" | "da" | "de" | "dv" | "dz" | "ee" | "el" | "en" | "eo" | "es" | "et" | "eu" | "fa" | "ff" | "fi" | "fj" | "fo" | "fr" | "fy" | "ga" | "gd" | "gl" | "gn" | "gu" | "gv" | "ha" | "he" | "hi" | "ho" | "hr" | "ht" | "hu" | "hy" | "hz" | "ia" | "id" | "ie" | "ig" | "ii" | "ik" | "io" | "is" | "it" | "iu" | "ja" | "jv" | "ka" | "kg" | "ki" | "kj" | "kk" | "kl" | "km" | "kn" | "ko" | "kr" | "ks" | "ku" | "kv" | "kw" | "ky" | "la" | "lb" | "lg" | "li" | "ln" | "lo" | "lt" | "lu" | "lv" | "mg" | "mh" | "mi" | "mk" | "ml" | "mn" | "mr" | "ms" | "mt" | "my" | "na" | "nb" | "nd" | "ne" | "ng" | "nl" | "nn" | "no" | "nr" | "nv" | "ny" | "oc" | "oj" | "om" | "or" | "os" | "pa" | "pi" | "pl" | "ps" | "pt" | "qu" | "rm" | "rn" | "ro" | "ru" | "rw" | "sa" | "sc" | "sd" | "se" | "sg" | "si" | "sk" | "sl" | "sm" | "sn" | "so" | "sq" | "sr" | "ss" | "st" | "su" | "sv" | "sw" | "ta" | "te" | "tg" | "th" | "ti" | "tk" | "tl" | "tn" | "to" | "tr" | "ts" | "tt" | "tw" | "ty" | "ug" | "uk" | "ur" | "uz" | "ve" | "vi" | "vo" | "wa" | "wo" | "xh" | "yi" | "yo" | "za" | "zh" | "zu";
|
|
3724
|
-
/** @enum {string} */
|
|
3725
|
-
MenuItemMarker: "vegan" | "vegetarian" | "allergens" | "spicy";
|
|
3726
|
-
/** @enum {string} */
|
|
3727
|
-
MenuItemType: "dish" | "beverage";
|
|
3728
|
-
/** @enum {string} */
|
|
3729
|
-
MessageDirection: "incoming" | "outgoing";
|
|
3730
|
-
/** @enum {string} */
|
|
3731
|
-
MessageParticipantRole: "from" | "to" | "cc";
|
|
3732
|
-
/** @enum {string} */
|
|
3733
|
-
MessageSource: "platform" | "email" | "scan";
|
|
3734
|
-
/** @enum {string} */
|
|
3735
|
-
MessageStatus: "draft" | "submitting" | "submitted" | "rejected" | "failed" | "received";
|
|
3736
|
-
/** @enum {string} */
|
|
3737
|
-
MessageThreadStatus: "open" | "awaiting_them" | "awaiting_us" | "closed";
|
|
3738
|
-
/** @enum {string} */
|
|
3739
|
-
MessageThreadSubjectType: "party" | "access_grant" | "reservation" | "document";
|
|
3740
|
-
/** @enum {string} */
|
|
3741
|
-
MetaCallToAction: "LEARN_MORE" | "BOOK_TRAVEL" | "ORDER_NOW" | "GET_OFFER" | "CONTACT_US" | "SIGN_UP";
|
|
3742
|
-
/** @enum {string} */
|
|
3743
|
-
MetaChannel: "facebook" | "instagram";
|
|
3744
|
-
/** @enum {string} */
|
|
3745
|
-
MetaInsightsDatePreset: "last_7d" | "last_30d" | "maximum";
|
|
3746
|
-
/** @enum {string} */
|
|
3747
|
-
MetaIntegrationStatus: "invited" | "linked" | "active";
|
|
3748
|
-
/** @enum {string} */
|
|
3749
|
-
MetaServingTargetStatus: "ACTIVE" | "PAUSED";
|
|
3750
|
-
/** @enum {string} */
|
|
3751
|
-
OccupancyReason: "ok" | "tables" | "personnel" | "window" | "slot_capacity";
|
|
3752
|
-
/** @enum {string} */
|
|
3753
|
-
OnboardingCard: "own_domain";
|
|
3754
|
-
/** @enum {string} */
|
|
3755
|
-
FulfillmentType: "pickup" | "delivery";
|
|
3756
|
-
/** @enum {string} */
|
|
3757
|
-
OrderStatus: "pending" | "in_progress" | "ready" | "completed" | "cancelled";
|
|
3758
|
-
/** @enum {string} */
|
|
3759
|
-
PartyGender: "male" | "female" | "neutral";
|
|
3760
|
-
/** @enum {string} */
|
|
3761
|
-
PartyType: "natural_person" | "legal_entity" | "sole_prop";
|
|
3762
|
-
/** @enum {string} */
|
|
3763
|
-
PaxBand: "1-2" | "3-4" | "5-6" | "7+";
|
|
3764
|
-
/** @enum {string} */
|
|
3765
|
-
PaymentMethod: "card" | "cash" | "voucher";
|
|
3766
|
-
/** @enum {string} */
|
|
3767
|
-
PaymentStatus: "unpaid" | "paid" | "refunded" | "authorized" | "cash_pending";
|
|
3768
|
-
/** @enum {string} */
|
|
3769
|
-
PlatformRole: "platform_maintainer";
|
|
3770
|
-
/** @enum {string} */
|
|
3771
|
-
RepresentativeCapacity: "managing_director" | "board_member" | "authorized_signatory" | "partner" | "liquidator";
|
|
3772
|
-
/** @enum {string} */
|
|
3773
|
-
RequestContactEmailChangeOutcome: "requested" | "unchanged";
|
|
3774
|
-
/** @enum {string} */
|
|
3775
|
-
ReservationDeclineReason: "fully_booked" | "closed" | "other";
|
|
3776
|
-
/** @enum {string} */
|
|
3777
|
-
ReservationMode: "passive" | "auto_steer";
|
|
3778
|
-
/** @enum {string} */
|
|
3779
|
-
Role: "superadmin" | "admin" | "manager" | "chef" | "cook" | "waiter" | "rider";
|
|
3780
|
-
/** @enum {string} */
|
|
3781
|
-
RoleType: "curated" | "authored";
|
|
3782
|
-
/** @enum {string} */
|
|
3783
|
-
ScanTokenEntityType: "order" | "depositware";
|
|
3784
|
-
/** @enum {string} */
|
|
3785
|
-
ScheduleOverrideMode: "closed" | "deviating";
|
|
3786
|
-
/** @enum {string} */
|
|
3787
|
-
SenderNameSource: "official" | "legal" | "brand" | "short";
|
|
3788
|
-
/** @enum {string} */
|
|
3789
|
-
ServedMarketAreaType: "pin" | "postcode" | "city" | "region" | "country";
|
|
3790
|
-
/** @enum {string} */
|
|
3791
|
-
ServedMarketScope: "include" | "exclude";
|
|
3792
|
-
/** @enum {string} */
|
|
3793
|
-
SignatureStyle: "name" | "team" | "team_of";
|
|
3794
|
-
/** @enum {string} */
|
|
3795
|
-
SlotMode: "interval" | "duration";
|
|
3796
|
-
/** @enum {string} */
|
|
3797
|
-
SortOrder: "asc" | "desc";
|
|
3798
|
-
/** @enum {string} */
|
|
3799
|
-
SubscriberStatus: "active" | "paused" | "cancelled" | "past_due" | "trialing";
|
|
3800
|
-
/** @enum {string} */
|
|
3801
|
-
SubscriptionCreditStatus: "available" | "redeemed" | "expired";
|
|
3802
|
-
/** @enum {string} */
|
|
3803
|
-
SubscriptionPeriod: "week" | "month" | "year";
|
|
3804
|
-
/** @enum {string} */
|
|
3805
|
-
ParticipantStatus: "browsing" | "authorized" | "cash_pending" | "placed" | "completed" | "cancelled";
|
|
3806
|
-
/** @enum {string} */
|
|
3807
|
-
TeamOrderStatus: "draft" | "collecting" | "locked" | "placed" | "ready" | "completed" | "cancelled";
|
|
3808
|
-
/** @enum {string} */
|
|
3809
|
-
TeamOrderThresholdConstraint: "quantity" | "amount";
|
|
3810
|
-
/** @enum {string} */
|
|
3811
|
-
Unit: "grams" | "kilograms" | "liters" | "milliliters" | "pieces";
|
|
3812
|
-
/** @enum {string} */
|
|
3813
|
-
Variant: "dark" | "light" | "success" | "warning" | "danger" | "primary" | "secondary";
|
|
3814
|
-
/** @enum {string} */
|
|
3815
|
-
VenueDomainAddressPurpose: "reservations" | "contact";
|
|
3816
|
-
/** @enum {string} */
|
|
3817
|
-
VenueDomainStatus: "pending" | "verified" | "failed" | "temporary_failure";
|
|
3818
|
-
/** @enum {string} */
|
|
3819
|
-
VenueType: "restaurant" | "fine_dining_restaurant" | "ghost_kitchen" | "food_truck";
|
|
3820
|
-
/** @enum {string} */
|
|
3821
|
-
WizardKey: "ads-venue-explainer-v1" | "ads-menu-explainer-v1" | "ads-dish-explainer-v1" | "ads-beverage-explainer-v1" | "settings-bank-accounts-v1" | "settings-brand-icons-v1" | "settings-own-domains-v1" | "settings-own-email-addresses-v1";
|
|
3822
|
-
/** @enum {string} */
|
|
3823
|
-
AdBiddingStrategy: "MAXIMIZE_CONVERSIONS" | "MAXIMIZE_CLICKS";
|
|
3824
|
-
/** @enum {string} */
|
|
3825
|
-
AdChannel: "google" | "facebook" | "instagram";
|
|
3826
|
-
/** @enum {string} */
|
|
3827
|
-
AdOwnerType: "event" | "ritual" | "venue" | "dish" | "beverage" | "menu";
|
|
3828
|
-
/** @enum {string} */
|
|
3829
|
-
AdStatus: "draft" | "ready";
|
|
3830
|
-
/** @enum {string} */
|
|
3831
|
-
GoogleAdsAssetFamily: "sitelinks" | "callouts";
|
|
3832
|
-
/** @enum {string} */
|
|
3833
|
-
MentionEntityType: "dish" | "beverage" | "ingredient" | "menu" | "ritual" | "member";
|
|
3834
|
-
/** @enum {string} */
|
|
3835
|
-
MentionType: "link" | "value";
|
|
3836
|
-
/** @enum {string} */
|
|
3837
|
-
AuditActorType: "user" | "system";
|
|
3838
|
-
/** @enum {string} */
|
|
3839
|
-
AuditCategory: "documents" | "inbox" | "team";
|
|
3840
|
-
/** @enum {string} */
|
|
3841
|
-
Permission: "access-grant:view" | "access-grant:offer" | "access-grant:respond" | "access-grant:revoke" | "access-grant:revise" | "ads:view" | "ads:manage" | "area-bookings:view" | "area-bookings:manage" | "areas:view" | "areas:manage" | "articles:view" | "articles:manage" | "assets:view" | "assets:manage" | "area-booking-requests:create" | "bank-accounts:manage" | "bank-accounts:view" | "beverages:create" | "beverages:delete" | "beverages:read" | "beverages:update" | "categories:create" | "categories:delete" | "categories:update" | "deposits:calculate" | "deposits:mark-lost" | "deposits:override-penalty" | "deposits:process-return" | "deposits:report" | "deposits:view" | "chat:use" | "audit:view" | "dishes:create" | "dishes:delete" | "dishes:read" | "dishes:update" | "documents:view" | "documents:manage" | "events:view" | "events:manage" | "features:create" | "features:delete" | "features:update" | "features:view" | "fulfillment:assign" | "fulfillment:mark-delivered" | "groups:create" | "groups:delete" | "groups:update" | "groups:view" | "iam:human" | "iam:robot" | "inbox:view" | "inbox:manage" | "inventory:view" | "inventory:manage" | "inventory:circulate" | "kitchen:mark-preparing" | "kitchen:mark-ready" | "kitchen:view" | "m2m:ping" | "menus:manage" | "menus:read" | "orders:activity" | "orders:analytics" | "orders:cancel" | "orders:create" | "orders:discount" | "orders:export" | "orders:read-all" | "orders:read-own" | "orders:refund" | "orders:update" | "orders:void" | "payments:process" | "payments:refund" | "plans:create" | "plans:delete" | "plans:update" | "plans:view" | "platform:view" | "users:delete" | "platform-mention-fields:manage" | "promotions:view" | "promotions:manage" | "reservations:view" | "reservations:create" | "reservations:manage" | "reports:analytics" | "reports:orders" | "roles:assign" | "roles:create" | "roles:delete" | "roles:update" | "roles:view" | "rolodex:manage" | "rolodex:view" | "business-card:read" | "subscriptions:create" | "subscriptions:delete" | "subscriptions:update" | "subscriptions:view" | "team:invite" | "team:remove" | "team:revoke" | "team:update" | "team:view" | "venue:manage-gbp" | "venue:manage-payments" | "venue:update" | "venue:transfer" | "venue:view";
|
|
3842
|
-
/** @enum {string} */
|
|
3843
|
-
FeatureCategory: "articles" | "auth" | "billing" | "core" | "guests" | "events" | "inventory" | "menus" | "orders" | "platform" | "promotions" | "reservations" | "settings" | "venues";
|
|
3844
|
-
/** @enum {string} */
|
|
3845
|
-
FeatureGate: "vanity-email" | "vanity-mailbox" | "vanity-url";
|
|
3846
|
-
/** @enum {string} */
|
|
3847
|
-
FeatureStatus: "backlog" | "in_development" | "released";
|
|
3848
|
-
/** @enum {string} */
|
|
3849
|
-
ModuleScope: "account" | "tenant";
|
|
3850
|
-
/** @enum {string} */
|
|
3851
|
-
PendingSuperadminTransferStatus: "pending_invite" | "accepted_awaiting_payment" | "completed" | "cancelled" | "expired";
|
|
3852
|
-
/** @enum {string} */
|
|
3853
|
-
ChatChannelType: "team" | "direct" | "subject" | "external";
|
|
3854
|
-
/** @enum {string} */
|
|
3855
|
-
ChatMemberRole: "owner" | "member";
|
|
3856
|
-
/** @enum {string} */
|
|
3857
|
-
AssetType: "image" | "video" | "document";
|
|
3858
|
-
/** @enum {string} */
|
|
3859
|
-
GbpMediaCategory: "cover" | "logo" | "gallery" | "video";
|
|
3860
|
-
/** @enum {string} */
|
|
3861
|
-
GbpSyncStatus: "processing" | "live" | "rejected" | "failed" | "removed";
|
|
3862
|
-
/** @enum {string} */
|
|
3863
|
-
GeoAreaType: "postcode" | "city";
|
|
3864
|
-
/** @enum {string} */
|
|
3865
|
-
PublicationSectionType: "cover" | "body" | "back";
|
|
3866
|
-
/** @enum {string} */
|
|
3867
|
-
PublicationFrameStyle: "solid" | "icon";
|
|
3868
|
-
/** @enum {string} */
|
|
3869
|
-
PublicationGroupBy: "weekday" | "calendar_week" | "none";
|
|
3870
|
-
/** @enum {string} */
|
|
3871
|
-
PublicationGroupFlow: "stacked" | "page_break";
|
|
3872
|
-
/** @enum {string} */
|
|
3873
|
-
PublicationPalette: "primary" | "secondary";
|
|
3874
|
-
/** @enum {string} */
|
|
3875
|
-
PublicationPaperSize: "a4" | "a5" | "letter" | "legal";
|
|
3876
|
-
/** @enum {string} */
|
|
3877
|
-
PublicationPricePosition: "right" | "bottom";
|
|
3878
|
-
/** @enum {string} */
|
|
3879
|
-
PublicationQrPlacement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
3880
|
-
/** @enum {string} */
|
|
3881
|
-
PublicationQrTarget: "online_menu" | "custom";
|
|
3882
|
-
/** @enum {string} */
|
|
3883
|
-
PublicationRulePosition: "below_title" | "below_subtitle" | "below_description";
|
|
3884
|
-
/** @enum {string} */
|
|
3885
|
-
PublicationRuleStyle: "solid" | "dashed" | "dotted" | "double" | "wavy" | "diamond" | "flourish" | "asterisks" | "fade" | "dot_ornament" | "icon";
|
|
3886
|
-
/** @enum {string} */
|
|
3887
|
-
PublicationSourceType: "menu" | "dish" | "beverage" | "event" | "venue";
|
|
3888
|
-
/** @enum {string} */
|
|
3889
|
-
PublicationTextAlign: "left" | "center" | "right" | "justify";
|
|
3890
|
-
/** @enum {string} */
|
|
3891
|
-
PublicationType: "menu" | "flyer" | "wine_list" | "about" | "cover" | "booklet" | "custom";
|
|
3892
|
-
/** @enum {string} */
|
|
3893
|
-
PublicationWeekScope: "current" | "all" | "range";
|
|
3894
|
-
/** @enum {string} */
|
|
3895
|
-
Direction: "left" | "right" | "up" | "down";
|
|
3896
|
-
/** @enum {string} */
|
|
3897
|
-
DirectionX: "left" | "right";
|
|
3898
|
-
/** @enum {string} */
|
|
3899
|
-
DirectionY: "up" | "down";
|
|
3900
|
-
/** @enum {string} */
|
|
3901
|
-
Orientation: "vertical" | "horizontal";
|
|
3902
|
-
/** @enum {string} */
|
|
3903
|
-
PositionCenter: "center";
|
|
3904
|
-
/** @enum {string} */
|
|
3905
|
-
PositionCorner: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
3906
|
-
/** @enum {string} */
|
|
3907
|
-
PositionEdge: "start" | "end";
|
|
3908
|
-
/** @enum {string} */
|
|
3909
|
-
Position: "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "center";
|
|
3910
|
-
/** @enum {string} */
|
|
3911
|
-
PositionY: "top" | "bottom";
|
|
3912
|
-
/** @enum {string} */
|
|
3913
|
-
EventAssetSource: "inherited" | "manual";
|
|
3914
|
-
/** @enum {string} */
|
|
3915
|
-
RitualType: "service" | "special";
|
|
3916
|
-
/** @enum {string} */
|
|
3917
|
-
PublicationEventType: "download" | "scan";
|
|
3918
|
-
/** @enum {string} */
|
|
3919
|
-
TeamOrderPaymentStatus: "authorized" | "captured" | "cash_pending" | "cash_received" | "voided" | "failed";
|
|
3920
|
-
/** @enum {string} */
|
|
3921
|
-
MentionFieldFormatter: "text" | "currency" | "integer" | "percentage" | "boolean";
|
|
3922
|
-
/** @enum {string} */
|
|
3923
|
-
KeywordPolarity: "positive" | "negative";
|
|
3924
|
-
/** @enum {string} */
|
|
3925
|
-
PromotionBenefitType: "free_item" | "discount_percentage" | "discount_amount" | "buy_x_get_y";
|
|
3926
|
-
/** @enum {string} */
|
|
3927
|
-
ReservationPromotionStatus: "applied" | "redeemed" | "expired";
|
|
3928
|
-
/** @enum {string} */
|
|
3929
|
-
ReservationStatus: "pending" | "confirmed" | "arrived" | "seated" | "completed" | "cancelled" | "no_show";
|
|
3930
|
-
/** @enum {string} */
|
|
3931
|
-
BankAccountStatus: "active" | "closed";
|
|
3932
|
-
/** @enum {string} */
|
|
3933
|
-
WebsitePageOwnerType: "venue" | "menu" | "dish" | "beverage" | "ingredient" | "event" | "ritual";
|
|
3934
|
-
/** @enum {string} */
|
|
3935
|
-
VenueAssetType: "logomark" | "wordmark" | "combinationmark_horizontal" | "combinationmark_vertical" | "icon";
|
|
3936
|
-
/** @enum {string} */
|
|
3937
|
-
FontRole: "system" | "accent";
|
|
3938
|
-
/** @enum {string} */
|
|
3939
|
-
FontStyle: "normal" | "italic";
|
|
3940
|
-
/** @enum {string} */
|
|
3941
|
-
VenueUserStatus: "pending" | "confirmed" | "revoked";
|
|
3942
|
-
/** @enum {string} */
|
|
3943
|
-
MemberInvitationStatus: "pending" | "accepted" | "revoked" | "declined";
|
|
3944
|
-
/** @enum {string} */
|
|
3945
|
-
EnumTrue: "true";
|
|
3946
|
-
/** @enum {string} */
|
|
3947
|
-
EnumFalse: "false";
|
|
3948
|
-
/** @enum {string} */
|
|
3949
|
-
EnumEmpty: "";
|
|
3950
|
-
/** @enum {string} */
|
|
3951
|
-
EnumCenterLeftRight: "center" | "left" | "right";
|
|
3952
|
-
};
|
|
3953
|
-
responses: never;
|
|
3954
|
-
parameters: never;
|
|
3955
|
-
requestBodies: never;
|
|
3956
|
-
headers: never;
|
|
3957
|
-
pathItems: never;
|
|
3958
|
-
}
|
|
3959
|
-
|
|
3960
|
-
type schemas = components['schemas'];
|
|
3961
|
-
type CreateEventRequest = schemas['CreateEventRequest'];
|
|
3962
|
-
type CreateEventResponse = schemas['CreateEventResponse'];
|
|
3963
|
-
type PatchEventRequest = schemas['EditEventRequest'];
|
|
3964
|
-
type PatchEventResponse = schemas['EditEventResponse'];
|
|
3965
|
-
type DeleteEventResponse = schemas['DeleteEventResponse'];
|
|
3966
|
-
type UploadEventAssetResponse = schemas['UploadAssetResponse'];
|
|
3967
|
-
/**
|
|
3968
|
-
* Args for `client.events.uploadPoster()`. Mirrors
|
|
3969
|
-
* {@link UploadFeatureImageArgs} — the SDK accepts a `Buffer` /
|
|
3970
|
-
* `Uint8Array` payload + filename + content-type and builds the
|
|
3971
|
-
* multipart FormData internally. Client ergonomics, no wire equivalent.
|
|
3972
|
-
*/
|
|
3973
|
-
interface UploadEventAssetArgs {
|
|
3974
|
-
data: Buffer | Uint8Array;
|
|
3975
|
-
filename: string;
|
|
3976
|
-
contentType: string;
|
|
3977
|
-
}
|
|
3978
|
-
/**
|
|
3979
|
-
* Args for `client.dishes.uploadAsset()` / `client.beverages.uploadAsset()`.
|
|
3980
|
-
* Like {@link UploadEventAssetArgs} but with optional discovery `tags` applied
|
|
3981
|
-
* to the new asset row (e.g. `['lunch-menu']` to surface the image in the lunch
|
|
3982
|
-
* carousel). The SDK builds the multipart FormData internally.
|
|
3983
|
-
*/
|
|
3984
|
-
interface UploadAssetArgs {
|
|
3985
|
-
data: Buffer | Uint8Array;
|
|
3986
|
-
filename: string;
|
|
3987
|
-
contentType: string;
|
|
3988
|
-
tags?: string[];
|
|
3989
|
-
}
|
|
3990
|
-
/** `uploadAsset` response — the new asset + its public URL. Shared by the dish, beverage, and event upload methods. */
|
|
3991
|
-
type UploadAssetResponse = schemas['UploadAssetResponse'];
|
|
3992
|
-
/**
|
|
3993
|
-
* A single ad row — generated-bound to the `FetchAdResponse` component
|
|
3994
|
-
* (`createSelectSchema(ads)` server-side). Carries the polymorphic owner
|
|
3995
|
-
* (`ownerEntityType` / `ownerEntityId`), the `channel`, the paste-ready
|
|
3996
|
-
* Google Search Ad `content` document, and the lifecycle `status`.
|
|
3997
|
-
*/
|
|
3998
|
-
type Ad = schemas['FetchAdResponse'];
|
|
3999
|
-
/**
|
|
4000
|
-
* The ads list response — generated-bound to `FetchAdsResponse` (an array
|
|
4001
|
-
* of {@link Ad}), ordered by `createdAt`. Never hand-rolled.
|
|
4002
|
-
*/
|
|
4003
|
-
type ListAdsResponse = schemas['FetchAdsResponse'];
|
|
4004
|
-
type CreateAdRequest = schemas['CreateAdRequest'];
|
|
4005
|
-
type CreateAdResponse = schemas['CreateAdResponse'];
|
|
4006
|
-
type PatchAdRequest = schemas['EditAdRequest'];
|
|
4007
|
-
type PatchAdResponse = schemas['EditAdResponse'];
|
|
4008
|
-
type DeleteAdResponse = schemas['DeleteAdResponse'];
|
|
4009
|
-
type EditMetaAdRequest = schemas['EditMetaAdRequest'];
|
|
4010
|
-
type EditMetaAdResponse = schemas['EditMetaAdResponse'];
|
|
4011
|
-
type SaveAdCalloutsRequest = schemas['SaveAdCalloutsRequest'];
|
|
4012
|
-
type SaveAdCalloutsResponse = schemas['SaveAdCalloutsResponse'];
|
|
4013
|
-
type SaveAdKeywordsRequest = schemas['SaveAdKeywordsRequest'];
|
|
4014
|
-
type SaveAdKeywordsResponse = schemas['SaveAdKeywordsResponse'];
|
|
4015
|
-
type SaveAdNegativeKeywordsRequest = schemas['SaveAdNegativeKeywordsRequest'];
|
|
4016
|
-
type SaveAdNegativeKeywordsResponse = schemas['SaveAdNegativeKeywordsResponse'];
|
|
4017
|
-
type SaveAdWebsitePagesRequest = schemas['SaveAdWebsitePagesRequest'];
|
|
4018
|
-
type SaveAdWebsitePagesResponse = schemas['SaveAdWebsitePagesResponse'];
|
|
4019
|
-
type SetAdBudgetRequest = schemas['SetAdBudgetRequest'];
|
|
4020
|
-
type SetAdBudgetResponse = schemas['SetAdBudgetResponse'];
|
|
4021
|
-
type GetCalloutsResponse = schemas['GetCalloutsResponse'];
|
|
4022
|
-
type CreateCalloutRequest = schemas['CreateCalloutRequest'];
|
|
4023
|
-
type CreateCalloutResponse = schemas['CreateCalloutResponse'];
|
|
4024
|
-
type UpdateCalloutRequest = schemas['UpdateCalloutRequest'];
|
|
4025
|
-
type UpdateCalloutResponse = schemas['UpdateCalloutResponse'];
|
|
4026
|
-
type DeleteCalloutResponse = schemas['DeleteCalloutResponse'];
|
|
4027
|
-
/**
|
|
4028
|
-
* A dish read by accessor: localized name/description, dietary flags, price,
|
|
4029
|
-
* and assets with public URLs. Generated-bound to `FetchDishResponse`
|
|
4030
|
-
* (`createSelectSchema(dishes)` + assets, server-side).
|
|
4031
|
-
*/
|
|
4032
|
-
type FetchDishResponse = schemas['FetchDishResponse'];
|
|
4033
|
-
type EditDishRequest = schemas['EditDishRequest'];
|
|
4034
|
-
type EditDishResponse = schemas['EditDishResponse'];
|
|
4035
|
-
/**
|
|
4036
|
-
* A beverage read by accessor: localized name/description, price, and
|
|
4037
|
-
* assets with public URLs. Generated-bound to `FetchBeverageResponse`
|
|
4038
|
-
* (`createSelectSchema(beverages)` + assets, server-side).
|
|
4039
|
-
*/
|
|
4040
|
-
type FetchBeverageResponse = schemas['FetchBeverageResponse'];
|
|
4041
|
-
type EditBeverageRequest = schemas['EditBeverageRequest'];
|
|
4042
|
-
type EditBeverageResponse = schemas['EditBeverageResponse'];
|
|
4043
|
-
/**
|
|
4044
|
-
* The publications CLI/agent verbs: create a menu-bound publication, fold
|
|
4045
|
-
* design blocks into its designDoc, render its print PDF, and compose
|
|
4046
|
-
* booklets from ordered sections. PDFs travel base64-encoded (`pdfBase64` +
|
|
4047
|
-
* `pages`); decode with `Buffer.from(pdfBase64, 'base64')`.
|
|
4048
|
-
*/
|
|
4049
|
-
type CreateMenuPublicationRequest = schemas['CreateMenuPublicationRequest'];
|
|
4050
|
-
type CreateMenuPublicationResponse = schemas['CreateMenuPublicationResponse'];
|
|
4051
|
-
type SetMenuPublicationBlocksRequest = schemas['SetMenuPublicationBlocksRequest'];
|
|
4052
|
-
type SetMenuPublicationBlocksResponse = schemas['SetMenuPublicationBlocksResponse'];
|
|
4053
|
-
type RenderMenuPublicationPdfRequest = schemas['RenderMenuPublicationPdfRequest'];
|
|
4054
|
-
type RenderMenuPublicationPdfResponse = schemas['RenderMenuPublicationPdfResponse'];
|
|
4055
|
-
type ComposeMenuPublicationBookletRequest = schemas['ComposeMenuPublicationBookletRequest'];
|
|
4056
|
-
type ComposeMenuPublicationBookletResponse = schemas['ComposeMenuPublicationBookletResponse'];
|
|
4057
|
-
type GetWebsitePagesResponse = schemas['GetWebsitePagesResponse'];
|
|
4058
|
-
type CreateWebsitePageRequest = schemas['CreateWebsitePageRequest'];
|
|
4059
|
-
type CreateWebsitePageResponse = schemas['CreateWebsitePageResponse'];
|
|
4060
|
-
type UpdateWebsitePageRequest = schemas['UpdateWebsitePageRequest'];
|
|
4061
|
-
type UpdateWebsitePageResponse = schemas['UpdateWebsitePageResponse'];
|
|
4062
|
-
type DeleteWebsitePageResponse = schemas['DeleteWebsitePageResponse'];
|
|
4063
|
-
/**
|
|
4064
|
-
* Optional filters for `client.ads.list()`. Each narrows the venue's ad
|
|
4065
|
-
* set; omit all to list every ad. Client ergonomics, mapped to the wire
|
|
4066
|
-
* query string by the resource layer.
|
|
4067
|
-
*/
|
|
4068
|
-
interface ListAdsOptions {
|
|
4069
|
-
/** Filter to ads owning this entity type (e.g. `event`). */
|
|
4070
|
-
ownerEntityType?: string;
|
|
4071
|
-
/** Filter to ads owning this specific entity id. */
|
|
4072
|
-
ownerEntityId?: string;
|
|
4073
|
-
/** Filter to ads on this channel (e.g. `google`). */
|
|
4074
|
-
channel?: string;
|
|
4075
|
-
}
|
|
4076
|
-
type Article = schemas['FetchArticleResponse'];
|
|
4077
|
-
type ListArticlesResponse = schemas['FetchArticlesResponse'];
|
|
4078
|
-
type GetArticleResponse = schemas['FetchArticleResponse'];
|
|
4079
|
-
type PatchArticleRequest = schemas['EditArticleRequest'];
|
|
4080
|
-
type PatchArticleResponse = schemas['EditArticleResponse'];
|
|
4081
|
-
type FeatureImage = schemas['FeatureImage'];
|
|
4082
|
-
type PatchFeatureImageRequest = schemas['PatchArticleFeatureImageBody'];
|
|
4083
|
-
/**
|
|
4084
|
-
* Args for `client.articles.uploadFeatureImage()`. The SDK accepts a
|
|
4085
|
-
* `Buffer` or `Uint8Array` payload + filename + content-type — it
|
|
4086
|
-
* builds the FormData internally so callers don't have to know about
|
|
4087
|
-
* multipart wire encoding. Client ergonomics, no wire equivalent.
|
|
4088
|
-
*/
|
|
4089
|
-
interface UploadFeatureImageArgs {
|
|
4090
|
-
data: Buffer | Uint8Array;
|
|
4091
|
-
filename: string;
|
|
4092
|
-
contentType: string;
|
|
4093
|
-
}
|
|
4094
|
-
interface ListArticlesOptions {
|
|
4095
|
-
/** Only return articles whose `tags` array contains this value. */
|
|
4096
|
-
tag?: string;
|
|
4097
|
-
/** When `true`, include articles whose `publishedAt` is null. Default `false`. */
|
|
4098
|
-
includeDrafts?: boolean;
|
|
4099
|
-
/** When `true`, include articles whose `isActive` is `false`. Default `false`. */
|
|
4100
|
-
includeInactive?: boolean;
|
|
4101
|
-
}
|
|
4102
|
-
type Venue = schemas['GetVenueResponse'];
|
|
4103
|
-
type GetVenueResponse = schemas['GetVenueResponse'];
|
|
4104
|
-
/**
|
|
4105
|
-
* Order fulfillment type — bound to the generated `FulfillmentType`
|
|
4106
|
-
* component (order3000's `order_fulfillment_type` enum, surfaced via
|
|
4107
|
-
* `openapi-typescript`). Never hand-rolled.
|
|
4108
|
-
*/
|
|
4109
|
-
type OrderFulfillmentType = schemas['FulfillmentType'];
|
|
4110
|
-
type PlaceOrderRequest = Omit<schemas['PlaceOrderRequest'], 'fulfillmentAt'> & {
|
|
4111
|
-
/**
|
|
4112
|
-
* When the order should be fulfilled (ISO 8601 datetime or Date).
|
|
4113
|
-
* Null / omitted in team-order mode — the Lead's pickup-time decision
|
|
4114
|
-
* is attached to the team row and backfilled onto each child order at
|
|
4115
|
-
* submit time.
|
|
4116
|
-
*/
|
|
4117
|
-
fulfillmentAt?: Date | string | null;
|
|
4118
|
-
};
|
|
4119
|
-
type PlaceOrderResponse = schemas['PlaceOrderResponse'];
|
|
4120
|
-
type MakeReservationRequest = schemas['MakeReservationRequest'];
|
|
4121
|
-
type MakeReservationResponse = schemas['MakeReservationResponse'];
|
|
4122
|
-
/**
|
|
4123
|
-
* Day of week — generated-bound to the `dayOfWeek` enum carried by the
|
|
4124
|
-
* events list schedule time-slot rows. The order3000 events output
|
|
4125
|
-
* schema is now precise (no more `.passthrough()`), so this derives
|
|
4126
|
-
* straight from the wire contract.
|
|
4127
|
-
*/
|
|
4128
|
-
type DayOfWeek = NonNullable<NonNullable<schemas['FetchEventsResponse'][number]['schedule']>['scheduleTimeSlots'][number]['dayOfWeek']>;
|
|
4129
|
-
/**
|
|
4130
|
-
* A single event time slot — the one slot shape, used by both the weekly
|
|
4131
|
-
* recurring `timeSlots[]` and the per-date `scheduleOverrides[].timeSlots[]`.
|
|
4132
|
-
* `dayOfWeek` is present only on weekly slots (optional); every field is
|
|
4133
|
-
* optional because the underlying join row may be absent, so consumers
|
|
4134
|
-
* resolving "the slots bookable on date X" must guard. Generated-bound to
|
|
4135
|
-
* the events list response's `timeSlots[]` element.
|
|
4136
|
-
*/
|
|
4137
|
-
type TimeSlot = schemas['FetchEventsResponse'][number]['timeSlots'][number];
|
|
4138
|
-
/**
|
|
4139
|
-
* A date-specific schedule override for an event. Generated-bound to the
|
|
4140
|
-
* events list response's `scheduleOverrides[]` element.
|
|
4141
|
-
*/
|
|
4142
|
-
type ScheduleOverride = schemas['FetchEventsResponse'][number]['scheduleOverrides'][number];
|
|
4143
|
-
/**
|
|
4144
|
-
* An event's schedule (rrule, validity window, slot-generation settings,
|
|
4145
|
-
* plus the nested override / time-slot rows). Generated-bound to the
|
|
4146
|
-
* non-null `schedule` object on the events list response.
|
|
4147
|
-
*
|
|
4148
|
-
* `intervalDuration` / `duration` are milliseconds (codebase convention).
|
|
4149
|
-
*/
|
|
4150
|
-
type Schedule = NonNullable<schemas['FetchEventsResponse'][number]['schedule']>;
|
|
4151
|
-
/**
|
|
4152
|
-
* An asset (image/video/document) attached to an event. Generated-bound to the
|
|
4153
|
-
* events list response's `assets[]` element. Use the asset's `tags` (e.g.
|
|
4154
|
-
* `'poster'`) to classify how it's used.
|
|
4155
|
-
*/
|
|
4156
|
-
type EventAsset = schemas['FetchEventsResponse'][number]['assets'][number];
|
|
4157
|
-
/**
|
|
4158
|
-
* A promotion attached to an event. Generated-bound to the events list
|
|
4159
|
-
* response's `promotions[]` element.
|
|
4160
|
-
*/
|
|
4161
|
-
type Promotion = schemas['FetchEventsResponse'][number]['promotions'][number];
|
|
4162
|
-
/**
|
|
4163
|
-
* A single event as returned by the list endpoint, with schedule,
|
|
4164
|
-
* posters, promotions, time slots and overrides inlined. Generated-bound
|
|
4165
|
-
* to the events list response element — request-shape drift is now
|
|
4166
|
-
* impossible.
|
|
4167
|
-
*/
|
|
4168
|
-
type Event = schemas['FetchEventsResponse'][number];
|
|
4169
|
-
interface ListEventsOptions {
|
|
4170
|
-
/** Include private events in the response */
|
|
4171
|
-
includePrivate?: boolean;
|
|
4172
|
-
/** Include inactive events in the response */
|
|
4173
|
-
includeInactive?: boolean;
|
|
4174
|
-
/** Filter by isPublic status */
|
|
4175
|
-
isPublic?: boolean;
|
|
4176
|
-
/** Filter by isRecurring status */
|
|
4177
|
-
isRecurring?: boolean;
|
|
4178
|
-
/** Filter by isClosed status */
|
|
4179
|
-
isClosed?: boolean;
|
|
4180
|
-
/** Filter for events occurring within N days from today */
|
|
4181
|
-
upcomingWithinDays?: number;
|
|
4182
|
-
}
|
|
4183
|
-
/**
|
|
4184
|
-
* The events list response — generated-bound to `FetchEventsResponse`
|
|
4185
|
-
* (an array of {@link Event}). Never hand-rolled.
|
|
4186
|
-
*/
|
|
4187
|
-
type ListEventsResponse = schemas['FetchEventsResponse'];
|
|
4188
|
-
/**
|
|
4189
|
-
* An asset (image/video/document) as returned by the assets-by-tag endpoint,
|
|
4190
|
-
* with its resolved Supabase `publicUrl`. Generated-bound to
|
|
4191
|
-
* `FetchAssetsByTagResponse`'s element — never hand-rolled.
|
|
4192
|
-
*/
|
|
4193
|
-
type Asset = schemas['FetchAssetsByTagResponse'][number];
|
|
4194
|
-
interface ListAssetsOptions {
|
|
4195
|
-
/** Required. Only assets carrying this tag are returned. */
|
|
4196
|
-
tag: string;
|
|
4197
|
-
/** Optional asset-type filter. */
|
|
4198
|
-
type?: 'image' | 'video' | 'document';
|
|
4199
|
-
}
|
|
4200
|
-
/**
|
|
4201
|
-
* The assets-by-tag list response — generated-bound to
|
|
4202
|
-
* `FetchAssetsByTagResponse` (an array of {@link Asset}). Never hand-rolled.
|
|
4203
|
-
*/
|
|
4204
|
-
type ListAssetsResponse = schemas['FetchAssetsByTagResponse'];
|
|
4205
|
-
/**
|
|
4206
|
-
* Menu item discriminant — generated-bound to the `type` enum on the
|
|
4207
|
-
* menu response's `items[]` element. The `fetchMenu` output schema is
|
|
4208
|
-
* now precise; never hand-rolled.
|
|
4209
|
-
*/
|
|
4210
|
-
type MenuItemType = NonNullable<schemas['FetchMenuResponse']['items']>[number]['type'];
|
|
4211
|
-
/**
|
|
4212
|
-
* Crop area coordinates for assets. Shared UI helper (mirrors the
|
|
4213
|
-
* `@kolaveri/molecules` Cropper type) — not a wire DTO.
|
|
4214
|
-
*/
|
|
4215
|
-
interface CropArea {
|
|
4216
|
-
x: number;
|
|
4217
|
-
y: number;
|
|
4218
|
-
width: number;
|
|
4219
|
-
height: number;
|
|
4220
|
-
}
|
|
4221
|
-
/**
|
|
4222
|
-
* A menu — generated-bound to `FetchMenuResponse`. order3000's
|
|
4223
|
-
* `fetchMenu` action always projects the flat, hydrated client view:
|
|
4224
|
-
* `assets[]` (menu-level) and every `items[].dish.assets[]` /
|
|
4225
|
-
* `items[].beverage.assets[]` are resolved to flat assets carrying
|
|
4226
|
-
* their Supabase `publicUrl`; the raw `*_assets` junction relations are
|
|
4227
|
-
* stripped at source and never surface on the wire. Bound here via the
|
|
4228
|
-
* same alias-derivation style as `Basket`/`BasketItem`.
|
|
4229
|
-
*/
|
|
4230
|
-
type Menu = NonNullable<schemas['FetchMenuResponse']>;
|
|
4231
|
-
/**
|
|
4232
|
-
* A single menu item — generated-bound to the element type of
|
|
4233
|
-
* `Menu.items[]` (present when `expand=items`).
|
|
4234
|
-
*/
|
|
4235
|
-
type MenuItem = NonNullable<Menu['items']>[number];
|
|
4236
|
-
/**
|
|
4237
|
-
* The dish carried by a menu item — generated-bound to `MenuItem.dish`.
|
|
4238
|
-
*/
|
|
4239
|
-
type MenuDish = NonNullable<MenuItem['dish']>;
|
|
4240
|
-
/**
|
|
4241
|
-
* The beverage carried by a menu item — generated-bound to
|
|
4242
|
-
* `MenuItem.beverage`.
|
|
4243
|
-
*/
|
|
4244
|
-
type MenuBeverage = NonNullable<MenuItem['beverage']>;
|
|
4245
|
-
/**
|
|
4246
|
-
* A flat, hydrated asset — generated-bound to the element type of the
|
|
4247
|
-
* always-present menu-level `Menu.assets[]`. Identical in shape to the
|
|
4248
|
-
* per-item `dish.assets[]` / `beverage.assets[]` elements (all are the
|
|
4249
|
-
* same hydrated asset projection with a resolved `publicUrl`).
|
|
4250
|
-
*/
|
|
4251
|
-
type MenuAsset = NonNullable<Menu['assets']>[number];
|
|
4252
|
-
interface GetMenuOptions {
|
|
4253
|
-
/** Expand related resources (items, assets) */
|
|
4254
|
-
expand?: ('items' | 'assets')[];
|
|
4255
|
-
}
|
|
4256
|
-
/**
|
|
4257
|
-
* Wire shape for a single menu bundle, bound to the generated OpenAPI
|
|
4258
|
-
* schema (`FetchMenuBundlesResponse`) — never hand-rolled. The
|
|
4259
|
-
* authoritative contract is order3000's `fetchMenuBundles` output
|
|
4260
|
-
* schema, surfaced here via `openapi-typescript`. Notably `price` is
|
|
4261
|
-
* `{ amount, currency }`, not a bare number.
|
|
4262
|
-
*/
|
|
4263
|
-
type MenuBundle = schemas['FetchMenuBundlesResponse'][number];
|
|
4264
|
-
type MenuBundleDeposit = NonNullable<MenuBundle['deposit']>;
|
|
4265
|
-
/**
|
|
4266
|
-
* A single event as returned by the `events.get` endpoint, with
|
|
4267
|
-
* optional schedule / menus / posters expansions. Generated-bound to the
|
|
4268
|
-
* `FetchEventResponse` component (the order3000 `fetchEvent` output
|
|
4269
|
-
* schema is now precise) — request-shape drift is impossible.
|
|
4270
|
-
*/
|
|
4271
|
-
type EventByAccessor = schemas['FetchEventResponse'];
|
|
4272
|
-
/**
|
|
4273
|
-
* The fetched event's schedule sub-object, including the optional
|
|
4274
|
-
* `scheduleTimeSlots[]` expansion. Generated-bound to the non-null
|
|
4275
|
-
* `schedule` on `FetchEventResponse`. Kept as a distinct public SDK type
|
|
4276
|
-
* name (re-exported as `O3KScheduleWithTimeSlots`) for downstream
|
|
4277
|
-
* stability; structurally it is the single-event-fetch schedule shape.
|
|
4278
|
-
*/
|
|
4279
|
-
type ScheduleWithTimeSlots = NonNullable<EventByAccessor['schedule']>;
|
|
4280
|
-
/**
|
|
4281
|
-
* A single regular time slot on the by-accessor event's schedule.
|
|
4282
|
-
* Generated-bound to the element type of the (optional)
|
|
4283
|
-
* `schedule.scheduleTimeSlots[]` array on `FetchEventResponse`.
|
|
4284
|
-
*/
|
|
4285
|
-
type ScheduleTimeSlot = NonNullable<ScheduleWithTimeSlots['scheduleTimeSlots']>[number];
|
|
4286
|
-
/**
|
|
4287
|
-
* A menu summary attached to a by-accessor event. Generated-bound to the
|
|
4288
|
-
* element type of `FetchEventResponse`'s optional `menus[]` array.
|
|
4289
|
-
*/
|
|
4290
|
-
type EventMenu = NonNullable<EventByAccessor['menus']>[number];
|
|
4291
|
-
/**
|
|
4292
|
-
* A single ritual as returned by the `rituals.get` endpoint — its template
|
|
4293
|
-
* schedule (time slots + date overrides), media, and the events materialised
|
|
4294
|
-
* from it (with per-day covers). Generated-bound to the `FetchRitualResponse`
|
|
4295
|
-
* component (the order3000 `fetchRitual` output schema), so request-shape drift
|
|
4296
|
-
* is impossible. The component is nullable on the wire (the action returns the
|
|
4297
|
-
* ritual or throws); `get()` resolves on success, so the SDK type is non-null.
|
|
4298
|
-
*/
|
|
4299
|
-
type RitualByAccessor = NonNullable<schemas['FetchRitualResponse']>;
|
|
4300
|
-
interface GetEventOptions {
|
|
4301
|
-
/** Expand related resources (schedule, timeSlots, menus, posters) */
|
|
4302
|
-
expand?: ('schedule' | 'timeSlots' | 'menus' | 'assets')[];
|
|
4303
|
-
}
|
|
4304
|
-
type AreaBookingMode = schemas['FetchAreaResponse']['bookingMode'];
|
|
4305
|
-
type AreaBookingRequestStatus = schemas['SubmitAreaBookingRequestResponse']['status'];
|
|
4306
|
-
type AreaBookingRequestSource = schemas['SubmitAreaBookingRequestResponse']['source'];
|
|
4307
|
-
type AreaBookingStatus = schemas['FetchAreaBookingsResponse'][number]['status'];
|
|
4308
|
-
type AreaAsset = NonNullable<schemas['FetchAreaResponse']['assets']>[number];
|
|
4309
|
-
type AreaFeature = NonNullable<schemas['FetchAreaResponse']['features']>[number];
|
|
4310
|
-
type Area = schemas['FetchAreaResponse'];
|
|
4311
|
-
interface GetAreaOptions {
|
|
4312
|
-
expand?: 'assets'[];
|
|
4313
|
-
}
|
|
4314
|
-
type AreaAvailabilityWindow = schemas['GetAreaAvailabilityResponse']['occupied'][number];
|
|
4315
|
-
type AreaAvailabilityResponse = schemas['GetAreaAvailabilityResponse'];
|
|
4316
|
-
type EventSlotAvailabilityResponse = schemas['FetchSlotAvailabilityResponse'];
|
|
4317
|
-
interface GetEventSlotAvailabilityOptions {
|
|
4318
|
-
reservationDate: string;
|
|
4319
|
-
partySize: number;
|
|
4320
|
-
areaId?: string;
|
|
4321
|
-
/**
|
|
4322
|
-
* Booking channel to evaluate (default 'reservation'). 'order' returns the
|
|
4323
|
-
* event's order-pickup grid — its own slot rows and per-slot caps, gated by
|
|
4324
|
-
* the order booking window instead of the table-occupancy engine. An event
|
|
4325
|
-
* without a dedicated order grid inherits the reservation grid.
|
|
4326
|
-
*/
|
|
4327
|
-
channel?: 'reservation' | 'order';
|
|
4328
|
-
}
|
|
4329
|
-
interface GetAreaAvailabilityOptions {
|
|
4330
|
-
/** YYYY-MM-DD — defaults to today */
|
|
4331
|
-
from?: string;
|
|
4332
|
-
/** YYYY-MM-DD — defaults to today + 90d */
|
|
4333
|
-
to?: string;
|
|
4334
|
-
}
|
|
4335
|
-
type SubmitAreaBookingRequestPayload = schemas['SubmitAreaBookingPayload'];
|
|
4336
|
-
type AreaBookingRequestResponse = schemas['SubmitAreaBookingRequestResponse'];
|
|
4337
|
-
/**
|
|
4338
|
-
* Canonical basket — generated-bound to the `FetchBasketResponse`
|
|
4339
|
-
* component (the order3000 `fetchBasket` output schema is now precise).
|
|
4340
|
-
* Returned by `baskets.get(sessionId)`.
|
|
4341
|
-
*/
|
|
4342
|
-
type Basket = NonNullable<schemas['FetchBasketResponse']>;
|
|
4343
|
-
/**
|
|
4344
|
-
* Basket lifecycle status — generated-bound to the `status` enum on
|
|
4345
|
-
* `FetchBasketResponse`. No longer a bare wire `string`.
|
|
4346
|
-
*/
|
|
4347
|
-
type BasketStatus = Basket['status'];
|
|
4348
|
-
type Currency = schemas['BasketTotals']['currency'];
|
|
4349
|
-
/**
|
|
4350
|
-
* Unit of measurement for portion tracking. Bound to the generated
|
|
4351
|
-
* add-to-basket request shape.
|
|
4352
|
-
*/
|
|
4353
|
-
type Unit = NonNullable<schemas['AddToBasketRequest']['menuItems'][number]['unit']>;
|
|
4354
|
-
/**
|
|
4355
|
-
* A single basket item — generated-bound to the element type of
|
|
4356
|
-
* `FetchBasketResponse.items[]`. One physical product (e.g. a TiffinBox
|
|
4357
|
-
* with rice, curry, and sides); `Basket.itemCount` is the COUNT of basket
|
|
4358
|
-
* items, not a sum of menu-item quantities.
|
|
4359
|
-
*/
|
|
4360
|
-
type BasketItem = Basket['items'][number];
|
|
4361
|
-
/**
|
|
4362
|
-
* Reference to a menu item within a basket item — generated-bound to the
|
|
4363
|
-
* element type of `BasketItem.menuItems[]`. Each ref carries its own
|
|
4364
|
-
* portion size (quantity + unit) for precise tracking like
|
|
4365
|
-
* "100g rice, 80g curry".
|
|
4366
|
-
*/
|
|
4367
|
-
type BasketItemMenuItemRef = BasketItem['menuItems'][number];
|
|
4368
|
-
/**
|
|
4369
|
-
* Free-form per-basket-item metadata bag — generated-bound to the
|
|
4370
|
-
* (nullable) `metadata` object on `FetchBasketResponse.items[]`. The wire
|
|
4371
|
-
* contract types this as an open `{ [key: string]: unknown }` record;
|
|
4372
|
-
* thamarai narrows individual keys (`type`, `mode`, `upsell`, `price`) at
|
|
4373
|
-
* its own transform boundary.
|
|
4374
|
-
*/
|
|
4375
|
-
type BasketItemMetadata = NonNullable<BasketItem['metadata']>;
|
|
4376
|
-
/**
|
|
4377
|
-
* Deposit info on a basket item — generated-bound to the (nullable)
|
|
4378
|
-
* `deposit` object on `FetchBasketResponse.items[]`. order3000 refuses
|
|
4379
|
-
* any inbound deposit money amount; this object is outbound-only, for UI
|
|
4380
|
-
* display.
|
|
4381
|
-
*/
|
|
4382
|
-
type BasketItemDeposit = NonNullable<BasketItem['deposit']>;
|
|
4383
|
-
/**
|
|
4384
|
-
* Order workflow status — generated-bound to the `status` enum on
|
|
4385
|
-
* `FetchLatestOrderResponse` (order3000's `order_status`). No longer a
|
|
4386
|
-
* bare wire `string`.
|
|
4387
|
-
*/
|
|
4388
|
-
type OrderStatus = NonNullable<schemas['FetchLatestOrderResponse']>['status'];
|
|
4389
|
-
/**
|
|
4390
|
-
* Payment workflow status — generated-bound to the `paymentStatus` enum
|
|
4391
|
-
* on `FetchLatestOrderResponse` (order3000's `payment_status`). No longer
|
|
4392
|
-
* a bare wire `string`.
|
|
4393
|
-
*/
|
|
4394
|
-
type PaymentStatus = NonNullable<schemas['FetchLatestOrderResponse']>['paymentStatus'];
|
|
4395
|
-
/**
|
|
4396
|
-
* The most recent non-team order for a guest session, with the captured
|
|
4397
|
-
* basket items + totals + declared returns inlined. Returned by
|
|
4398
|
-
* `orders.getLatest(sessionId)` — `null` when the session has no
|
|
4399
|
-
* qualifying order (fresh sessionIds and team-only sessions both fall
|
|
4400
|
-
* through to `null`). Generated-bound to the `FetchLatestOrderResponse`
|
|
4401
|
-
* component (the order3000 `fetchLatestOrder` output schema is now
|
|
4402
|
-
* precise).
|
|
4403
|
-
*/
|
|
4404
|
-
type LatestOrder = NonNullable<schemas['FetchLatestOrderResponse']>;
|
|
4405
|
-
/**
|
|
4406
|
-
* One "I'll return N of this template" declaration. Bound to the
|
|
4407
|
-
* generated basket-totals `returnable` element — clients never specify
|
|
4408
|
-
* a deposit money amount.
|
|
4409
|
-
*/
|
|
4410
|
-
type DeclaredReturn = schemas['BasketTotals']['returnable'][number];
|
|
4411
|
-
/**
|
|
4412
|
-
* Canonical basket totals (all cents), bound to the generated
|
|
4413
|
-
* `BasketTotals` component. The single figure clients read for every
|
|
4414
|
-
* displayed monetary value.
|
|
4415
|
-
*/
|
|
4416
|
-
type BasketTotals = schemas['BasketTotals'];
|
|
4417
|
-
/**
|
|
4418
|
-
* Request to add an item to the basket.
|
|
4419
|
-
*
|
|
4420
|
-
* Menu items can optionally include portion information (quantity/unit).
|
|
4421
|
-
* If not provided, defaults to the menu item's configured portion size.
|
|
4422
|
-
* `venueAccessor` is injected by the SDK resource layer, so it's omitted
|
|
4423
|
-
* from the public caller shape.
|
|
4424
|
-
*/
|
|
4425
|
-
type AddToBasketRequest = Omit<schemas['AddToBasketRequest'], 'venueId'>;
|
|
4426
|
-
type AddToBasketResponse = schemas['AddToBasketResponse'];
|
|
4427
|
-
type RemoveFromBasketResponse = schemas['RemoveFromBasketResponse'];
|
|
4428
|
-
type CreatePaymentIntentRequest = Omit<schemas['CreatePaymentIntentRequest'], 'venueAccessor' | 'fulfillmentAt'> & {
|
|
4429
|
-
/**
|
|
4430
|
-
* Optional — null / omitted in team-order mode. The Lead's pickup-time
|
|
4431
|
-
* decision is stored on the team row and backfilled onto each child
|
|
4432
|
-
* order at submit time.
|
|
4433
|
-
*/
|
|
4434
|
-
fulfillmentAt?: Date | string | null;
|
|
4435
|
-
};
|
|
4436
|
-
type CreatePaymentIntentResponse = schemas['CreatePaymentIntentResponse'];
|
|
4437
|
-
type CreateDeltaPaymentIntentRequest = Omit<schemas['CreateDeltaPaymentIntentRequest'], 'venueAccessor'>;
|
|
4438
|
-
type CreateDeltaPaymentIntentResponse = schemas['CreateDeltaPaymentIntentResponse'];
|
|
4439
|
-
type ReduceDeltaPaymentIntentRequest = Omit<schemas['ReduceDeltaPaymentIntentRequest'], 'venueAccessor'>;
|
|
4440
|
-
type ReduceDeltaPaymentIntentResponse = schemas['ReduceDeltaPaymentIntentResponse'];
|
|
4441
|
-
type ConfirmOrderRequest = Omit<schemas['ConfirmOrderRequest'], 'venueAccessor' | 'orderId'>;
|
|
4442
|
-
type ConfirmOrderResponse = schemas['ConfirmOrderResponse'];
|
|
4443
|
-
type SubscriptionPeriod = schemas['GetSubscriptionResponse']['billingPeriod'];
|
|
4444
|
-
/**
|
|
4445
|
-
* Subscriber lifecycle status — generated-bound to the `subscriber_status`
|
|
4446
|
-
* pgEnum, surfaced via order3000's `FetchSubscribersResponse[].status`
|
|
4447
|
-
* (and `fetchMenuSubscription`). openapi-typescript hoists the shared
|
|
4448
|
-
* enum into `components.schemas['SubscriberStatus']`.
|
|
4449
|
-
*/
|
|
4450
|
-
type SubscriberStatus = schemas['SubscriberStatus'];
|
|
4451
|
-
type SubscriptionCreditStatus = schemas['GetSubscriptionCreditsResponse'][number]['status'];
|
|
4452
|
-
type MenuSubscriptionPoster = NonNullable<schemas['GetSubscriptionResponse']['posters']>[number];
|
|
4453
|
-
type MenuSubscription = schemas['GetSubscriptionResponse'];
|
|
4454
|
-
type SubscribeRequest = schemas['SubscribeToSubscriptionBody'];
|
|
4455
|
-
type SubscribeResponse = schemas['SubscribeToSubscriptionResponse'];
|
|
4456
|
-
type SubscriptionCredit = schemas['GetSubscriptionCreditsResponse'][number];
|
|
4457
|
-
|
|
4458
|
-
export type { EditMetaAdResponse as $, Ad as A, Basket as B, ComposeMenuPublicationBookletRequest as C, CreateCalloutResponse as D, CreateDeltaPaymentIntentRequest as E, CreateDeltaPaymentIntentResponse as F, CreateEventRequest as G, CreateEventResponse as H, CreateMenuPublicationRequest as I, CreateMenuPublicationResponse as J, CreatePaymentIntentRequest as K, CreatePaymentIntentResponse as L, CreateWebsitePageRequest as M, CreateWebsitePageResponse as N, CropArea as O, Currency as P, DayOfWeek as Q, DeclaredReturn as R, DeleteAdResponse as S, DeleteCalloutResponse as T, DeleteEventResponse as U, DeleteWebsitePageResponse as V, EditBeverageRequest as W, EditBeverageResponse as X, EditDishRequest as Y, EditDishResponse as Z, EditMetaAdRequest as _, AddToBasketRequest as a, SaveAdWebsitePagesRequest as a$, Event as a0, EventAsset as a1, EventByAccessor as a2, EventMenu as a3, EventSlotAvailabilityResponse as a4, FeatureImage as a5, FetchBeverageResponse as a6, FetchDishResponse as a7, GetAreaAvailabilityOptions as a8, GetAreaOptions as a9, MenuSubscription as aA, MenuSubscriptionPoster as aB, OrderFulfillmentType as aC, OrderStatus as aD, PatchAdRequest as aE, PatchAdResponse as aF, PatchArticleRequest as aG, PatchArticleResponse as aH, PatchEventRequest as aI, PatchEventResponse as aJ, PatchFeatureImageRequest as aK, PaymentStatus as aL, PlaceOrderRequest as aM, PlaceOrderResponse as aN, Promotion as aO, ReduceDeltaPaymentIntentRequest as aP, ReduceDeltaPaymentIntentResponse as aQ, RemoveFromBasketResponse as aR, RenderMenuPublicationPdfRequest as aS, RenderMenuPublicationPdfResponse as aT, RitualByAccessor as aU, SaveAdCalloutsRequest as aV, SaveAdCalloutsResponse as aW, SaveAdKeywordsRequest as aX, SaveAdKeywordsResponse as aY, SaveAdNegativeKeywordsRequest as aZ, SaveAdNegativeKeywordsResponse as a_, GetArticleResponse as aa, GetCalloutsResponse as ab, GetEventOptions as ac, GetEventSlotAvailabilityOptions as ad, GetMenuOptions as ae, GetVenueResponse as af, GetWebsitePagesResponse as ag, LatestOrder as ah, ListAdsOptions as ai, ListAdsResponse as aj, ListArticlesOptions as ak, ListArticlesResponse as al, ListAssetsOptions as am, ListAssetsResponse as an, ListEventsOptions as ao, ListEventsResponse as ap, MakeReservationRequest as aq, MakeReservationResponse as ar, Menu as as, MenuAsset as at, MenuBeverage as au, MenuBundle as av, MenuBundleDeposit as aw, MenuDish as ax, MenuItem as ay, MenuItemType as az, AddToBasketResponse as b, SaveAdWebsitePagesResponse as b0, Schedule as b1, ScheduleOverride as b2, ScheduleTimeSlot as b3, ScheduleWithTimeSlots as b4, SetAdBudgetRequest as b5, SetAdBudgetResponse as b6, SetMenuPublicationBlocksRequest as b7, SetMenuPublicationBlocksResponse as b8, SubmitAreaBookingRequestPayload as b9, SubscribeRequest as ba, SubscribeResponse as bb, SubscriberStatus as bc, SubscriptionCredit as bd, SubscriptionCreditStatus as be, SubscriptionPeriod as bf, TimeSlot as bg, Unit as bh, UpdateCalloutRequest as bi, UpdateCalloutResponse as bj, UpdateWebsitePageRequest as bk, UpdateWebsitePageResponse as bl, UploadAssetArgs as bm, UploadAssetResponse as bn, UploadEventAssetArgs as bo, UploadEventAssetResponse as bp, UploadFeatureImageArgs as bq, Venue as br, 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, ComposeMenuPublicationBookletResponse as u, ConfirmOrderRequest as v, ConfirmOrderResponse as w, CreateAdRequest as x, CreateAdResponse as y, CreateCalloutRequest as z };
|