@seatmap-fyi/map-domain 0.1.0-alpha.3 → 0.1.0-alpha.4
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/catalog.d.ts +6 -1
- package/dist/catalog.js +44 -2
- package/dist/categories.d.ts +25 -0
- package/dist/categories.js +138 -0
- package/dist/editor-state.js +8 -1
- package/dist/geometry/geometry.d.ts +7 -1
- package/dist/geometry/geometry.js +16 -5
- package/dist/geometry/seat-shape.d.ts +24 -0
- package/dist/geometry/seat-shape.js +101 -0
- package/dist/geometry/seating-layout.d.ts +12 -3
- package/dist/geometry/seating-layout.js +94 -9
- package/dist/identity.js +9 -1
- package/dist/labels.d.ts +6 -0
- package/dist/labels.js +71 -8
- package/dist/preview.js +40 -5
- package/dist/row-segments.d.ts +26 -0
- package/dist/row-segments.js +112 -0
- package/dist/schema.d.ts +994 -61
- package/dist/schema.js +271 -38
- package/dist/selling.d.ts +34 -0
- package/dist/selling.js +163 -0
- package/dist/table-layout.d.ts +30 -0
- package/dist/table-layout.js +142 -0
- package/dist/types.d.ts +193 -27
- package/dist/types.js +71 -0
- package/dist/validation.js +20 -7
- package/package.json +21 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1,6 +1,67 @@
|
|
|
1
|
-
import { type PhysicalDocumentV1, type SeatingGroup, type SeatSlot, type UUID, NumberingScheme, LabelDirection, RowLabelPosition, SeatingKind, CurveMode, DecorationKind, LabelAlignment, RowAlignment, SectionOutlineRole, AreaKind, ShapeKind, VenueGlyph } from "./types.js";
|
|
1
|
+
import { TicketRestriction, TableBookingMode, TableChairDistribution, StandingBookingMode, SeatShape, type PhysicalDocumentV1, type SeatingGroup, type SeatSlot, type UUID, NumberingScheme, LabelDirection, RowLabelPosition, AccessNeed, SeatingKind, CurveMode, DecorationKind, LabelAlignment, RowAlignment, RowEnds, RowJoin, SectionOutlineRole, AreaKind, ShapeKind, VenueGlyph } from "./types.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { type DomainIssue } from "./issues.js";
|
|
4
|
+
export declare const seatPresentationSchema: z.ZodObject<{
|
|
5
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
7
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
visible: z.ZodBoolean;
|
|
9
|
+
fontSizeM: z.ZodNumber;
|
|
10
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
plain: "plain";
|
|
12
|
+
pill: "pill";
|
|
13
|
+
}>>;
|
|
14
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
color: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strict>>;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
export declare const rowPresentationSchema: z.ZodObject<{
|
|
19
|
+
buyerNoun: z.ZodOptional<z.ZodString>;
|
|
20
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
21
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
visible: z.ZodBoolean;
|
|
23
|
+
fontSizeM: z.ZodNumber;
|
|
24
|
+
color: z.ZodOptional<z.ZodString>;
|
|
25
|
+
position: z.ZodEnum<typeof RowLabelPosition>;
|
|
26
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
plain: "plain";
|
|
28
|
+
pill: "pill";
|
|
29
|
+
}>>;
|
|
30
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
}, z.core.$strict>>;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
export declare const seatShapeSchema: z.ZodEnum<typeof SeatShape>;
|
|
34
|
+
export declare const rowLayoutSchema: z.ZodObject<{
|
|
35
|
+
originM: z.ZodObject<{
|
|
36
|
+
x: z.ZodNumber;
|
|
37
|
+
y: z.ZodNumber;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
seatPitchM: z.ZodNumber;
|
|
40
|
+
curveDeg: z.ZodNumber;
|
|
41
|
+
rotationDeg: z.ZodNumber;
|
|
42
|
+
seatRotationOffsetDeg: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
export declare const segmentedRowSchema: z.ZodObject<{
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
label: z.ZodString;
|
|
47
|
+
sequence: z.ZodObject<{
|
|
48
|
+
scheme: z.ZodEnum<typeof NumberingScheme>;
|
|
49
|
+
startAt: z.ZodNumber;
|
|
50
|
+
direction: z.ZodEnum<typeof LabelDirection>;
|
|
51
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
52
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
53
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
54
|
+
first: "first";
|
|
55
|
+
last: "last";
|
|
56
|
+
}>>;
|
|
57
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
smoothCorners: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
61
|
+
rowId: z.ZodString;
|
|
62
|
+
joinBefore: z.ZodNullable<z.ZodEnum<typeof RowJoin>>;
|
|
63
|
+
}, z.core.$strict>>;
|
|
64
|
+
}, z.core.$strict>;
|
|
4
65
|
export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
66
|
kind: z.ZodLiteral<SeatingKind.Straight>;
|
|
6
67
|
recipe: z.ZodObject<{
|
|
@@ -15,6 +76,11 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
15
76
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
16
77
|
prefix: z.ZodOptional<z.ZodString>;
|
|
17
78
|
suffix: z.ZodOptional<z.ZodString>;
|
|
79
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
80
|
+
first: "first";
|
|
81
|
+
last: "last";
|
|
82
|
+
}>>;
|
|
83
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
18
84
|
}, z.core.$strict>;
|
|
19
85
|
seats: z.ZodObject<{
|
|
20
86
|
scheme: z.ZodEnum<typeof NumberingScheme>;
|
|
@@ -22,16 +88,29 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
22
88
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
23
89
|
prefix: z.ZodOptional<z.ZodString>;
|
|
24
90
|
suffix: z.ZodOptional<z.ZodString>;
|
|
91
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
first: "first";
|
|
93
|
+
last: "last";
|
|
94
|
+
}>>;
|
|
95
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
25
96
|
}, z.core.$strict>;
|
|
26
97
|
rowStyle: z.ZodObject<{
|
|
27
98
|
visible: z.ZodBoolean;
|
|
28
99
|
fontSizeM: z.ZodNumber;
|
|
100
|
+
color: z.ZodOptional<z.ZodString>;
|
|
29
101
|
position: z.ZodEnum<typeof RowLabelPosition>;
|
|
102
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
103
|
+
plain: "plain";
|
|
104
|
+
pill: "pill";
|
|
105
|
+
}>>;
|
|
106
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
30
107
|
}, z.core.$strict>;
|
|
31
108
|
}, z.core.$strict>;
|
|
32
109
|
rows: z.ZodArray<z.ZodObject<{
|
|
33
110
|
id: z.ZodString;
|
|
111
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
112
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
113
|
+
bookingLabel: z.ZodOptional<z.ZodString>;
|
|
35
114
|
offsetM: z.ZodOptional<z.ZodObject<{
|
|
36
115
|
x: z.ZodNumber;
|
|
37
116
|
y: z.ZodNumber;
|
|
@@ -42,15 +121,37 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
42
121
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
43
122
|
prefix: z.ZodOptional<z.ZodString>;
|
|
44
123
|
suffix: z.ZodOptional<z.ZodString>;
|
|
124
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
first: "first";
|
|
126
|
+
last: "last";
|
|
127
|
+
}>>;
|
|
128
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
45
129
|
}, z.core.$strict>>;
|
|
130
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
131
|
+
originM: z.ZodObject<{
|
|
132
|
+
x: z.ZodNumber;
|
|
133
|
+
y: z.ZodNumber;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
seatPitchM: z.ZodNumber;
|
|
136
|
+
curveDeg: z.ZodNumber;
|
|
137
|
+
rotationDeg: z.ZodNumber;
|
|
138
|
+
seatRotationOffsetDeg: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
}, z.core.$strict>>;
|
|
140
|
+
aisleSeats: z.ZodOptional<z.ZodEnum<typeof RowEnds>>;
|
|
46
141
|
seats: z.ZodArray<z.ZodObject<{
|
|
142
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
47
143
|
id: z.ZodString;
|
|
144
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
145
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
49
146
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
50
|
-
|
|
147
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
seat: "seat";
|
|
149
|
+
space: "space";
|
|
150
|
+
}>>;
|
|
151
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
152
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
153
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
51
154
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
54
155
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
55
156
|
}, z.core.$strict>>;
|
|
56
157
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -64,8 +165,34 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
64
165
|
height: z.ZodNumber;
|
|
65
166
|
}, z.core.$strict>>;
|
|
66
167
|
}, z.core.$strict>>;
|
|
168
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
170
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
171
|
+
visible: z.ZodBoolean;
|
|
172
|
+
fontSizeM: z.ZodNumber;
|
|
173
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
174
|
+
plain: "plain";
|
|
175
|
+
pill: "pill";
|
|
176
|
+
}>>;
|
|
177
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
color: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$strict>>;
|
|
180
|
+
}, z.core.$strict>>;
|
|
181
|
+
buyerNoun: z.ZodOptional<z.ZodString>;
|
|
182
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
183
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
184
|
+
visible: z.ZodBoolean;
|
|
185
|
+
fontSizeM: z.ZodNumber;
|
|
186
|
+
color: z.ZodOptional<z.ZodString>;
|
|
187
|
+
position: z.ZodEnum<typeof RowLabelPosition>;
|
|
188
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
189
|
+
plain: "plain";
|
|
190
|
+
pill: "pill";
|
|
191
|
+
}>>;
|
|
192
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
67
193
|
}, z.core.$strict>>;
|
|
68
194
|
}, z.core.$strict>>;
|
|
195
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
196
|
name: z.ZodString;
|
|
70
197
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
71
198
|
seatSizeM: z.ZodObject<{
|
|
@@ -85,6 +212,12 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
85
212
|
seatLabelStyle: z.ZodObject<{
|
|
86
213
|
visible: z.ZodBoolean;
|
|
87
214
|
fontSizeM: z.ZodNumber;
|
|
215
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
216
|
+
plain: "plain";
|
|
217
|
+
pill: "pill";
|
|
218
|
+
}>>;
|
|
219
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
color: z.ZodOptional<z.ZodString>;
|
|
88
221
|
}, z.core.$strict>;
|
|
89
222
|
id: z.ZodString;
|
|
90
223
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -121,6 +254,11 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
121
254
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
122
255
|
prefix: z.ZodOptional<z.ZodString>;
|
|
123
256
|
suffix: z.ZodOptional<z.ZodString>;
|
|
257
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
258
|
+
first: "first";
|
|
259
|
+
last: "last";
|
|
260
|
+
}>>;
|
|
261
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
124
262
|
}, z.core.$strict>;
|
|
125
263
|
seats: z.ZodObject<{
|
|
126
264
|
scheme: z.ZodEnum<typeof NumberingScheme>;
|
|
@@ -128,16 +266,29 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
128
266
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
129
267
|
prefix: z.ZodOptional<z.ZodString>;
|
|
130
268
|
suffix: z.ZodOptional<z.ZodString>;
|
|
269
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
270
|
+
first: "first";
|
|
271
|
+
last: "last";
|
|
272
|
+
}>>;
|
|
273
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
131
274
|
}, z.core.$strict>;
|
|
132
275
|
rowStyle: z.ZodObject<{
|
|
133
276
|
visible: z.ZodBoolean;
|
|
134
277
|
fontSizeM: z.ZodNumber;
|
|
278
|
+
color: z.ZodOptional<z.ZodString>;
|
|
135
279
|
position: z.ZodEnum<typeof RowLabelPosition>;
|
|
280
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
281
|
+
plain: "plain";
|
|
282
|
+
pill: "pill";
|
|
283
|
+
}>>;
|
|
284
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
136
285
|
}, z.core.$strict>;
|
|
137
286
|
}, z.core.$strict>;
|
|
138
287
|
rows: z.ZodArray<z.ZodObject<{
|
|
139
288
|
id: z.ZodString;
|
|
289
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
290
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
291
|
+
bookingLabel: z.ZodOptional<z.ZodString>;
|
|
141
292
|
offsetM: z.ZodOptional<z.ZodObject<{
|
|
142
293
|
x: z.ZodNumber;
|
|
143
294
|
y: z.ZodNumber;
|
|
@@ -148,15 +299,37 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
148
299
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
149
300
|
prefix: z.ZodOptional<z.ZodString>;
|
|
150
301
|
suffix: z.ZodOptional<z.ZodString>;
|
|
302
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
303
|
+
first: "first";
|
|
304
|
+
last: "last";
|
|
305
|
+
}>>;
|
|
306
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
}, z.core.$strict>>;
|
|
308
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
309
|
+
originM: z.ZodObject<{
|
|
310
|
+
x: z.ZodNumber;
|
|
311
|
+
y: z.ZodNumber;
|
|
312
|
+
}, z.core.$strict>;
|
|
313
|
+
seatPitchM: z.ZodNumber;
|
|
314
|
+
curveDeg: z.ZodNumber;
|
|
315
|
+
rotationDeg: z.ZodNumber;
|
|
316
|
+
seatRotationOffsetDeg: z.ZodOptional<z.ZodNumber>;
|
|
151
317
|
}, z.core.$strict>>;
|
|
318
|
+
aisleSeats: z.ZodOptional<z.ZodEnum<typeof RowEnds>>;
|
|
152
319
|
seats: z.ZodArray<z.ZodObject<{
|
|
320
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
153
321
|
id: z.ZodString;
|
|
322
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
154
323
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
155
324
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
156
|
-
|
|
325
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
326
|
+
seat: "seat";
|
|
327
|
+
space: "space";
|
|
328
|
+
}>>;
|
|
329
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
330
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
331
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
157
332
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
158
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
160
333
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
161
334
|
}, z.core.$strict>>;
|
|
162
335
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -170,8 +343,34 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
170
343
|
height: z.ZodNumber;
|
|
171
344
|
}, z.core.$strict>>;
|
|
172
345
|
}, z.core.$strict>>;
|
|
346
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
348
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
349
|
+
visible: z.ZodBoolean;
|
|
350
|
+
fontSizeM: z.ZodNumber;
|
|
351
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
352
|
+
plain: "plain";
|
|
353
|
+
pill: "pill";
|
|
354
|
+
}>>;
|
|
355
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
356
|
+
color: z.ZodOptional<z.ZodString>;
|
|
357
|
+
}, z.core.$strict>>;
|
|
358
|
+
}, z.core.$strict>>;
|
|
359
|
+
buyerNoun: z.ZodOptional<z.ZodString>;
|
|
360
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
361
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
visible: z.ZodBoolean;
|
|
363
|
+
fontSizeM: z.ZodNumber;
|
|
364
|
+
color: z.ZodOptional<z.ZodString>;
|
|
365
|
+
position: z.ZodEnum<typeof RowLabelPosition>;
|
|
366
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
367
|
+
plain: "plain";
|
|
368
|
+
pill: "pill";
|
|
369
|
+
}>>;
|
|
370
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
173
371
|
}, z.core.$strict>>;
|
|
174
372
|
}, z.core.$strict>>;
|
|
373
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
374
|
name: z.ZodString;
|
|
176
375
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
177
376
|
seatSizeM: z.ZodObject<{
|
|
@@ -191,6 +390,12 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
191
390
|
seatLabelStyle: z.ZodObject<{
|
|
192
391
|
visible: z.ZodBoolean;
|
|
193
392
|
fontSizeM: z.ZodNumber;
|
|
393
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
394
|
+
plain: "plain";
|
|
395
|
+
pill: "pill";
|
|
396
|
+
}>>;
|
|
397
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
398
|
+
color: z.ZodOptional<z.ZodString>;
|
|
194
399
|
}, z.core.$strict>;
|
|
195
400
|
id: z.ZodString;
|
|
196
401
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -206,12 +411,30 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
206
411
|
zIndex: z.ZodNumber;
|
|
207
412
|
}, z.core.$strict>, z.ZodObject<{
|
|
208
413
|
kind: z.ZodLiteral<SeatingKind.Rectangular>;
|
|
414
|
+
selling: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
415
|
+
mode: z.ZodEnum<{
|
|
416
|
+
individual: TableBookingMode.Individual;
|
|
417
|
+
whole: TableBookingMode.Whole;
|
|
418
|
+
}>;
|
|
419
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
420
|
+
minGuests: z.ZodNumber;
|
|
421
|
+
maxGuests: z.ZodNumber;
|
|
422
|
+
mode: z.ZodLiteral<TableBookingMode.Party>;
|
|
423
|
+
}, z.core.$strict>], "mode">>;
|
|
209
424
|
recipe: z.ZodObject<{
|
|
210
425
|
widthM: z.ZodNumber;
|
|
211
426
|
depthM: z.ZodNumber;
|
|
212
427
|
chairGapM: z.ZodNumber;
|
|
213
428
|
chairPitchM: z.ZodOptional<z.ZodNumber>;
|
|
429
|
+
chairDistribution: z.ZodOptional<z.ZodEnum<typeof TableChairDistribution>>;
|
|
214
430
|
}, z.core.$strict>;
|
|
431
|
+
roundLayout: z.ZodOptional<z.ZodObject<{
|
|
432
|
+
diameterM: z.ZodNumber;
|
|
433
|
+
chairGapM: z.ZodNumber;
|
|
434
|
+
startAngleDeg: z.ZodNumber;
|
|
435
|
+
automaticSize: z.ZodOptional<z.ZodBoolean>;
|
|
436
|
+
seatArcDeg: z.ZodOptional<z.ZodNumber>;
|
|
437
|
+
}, z.core.$strict>>;
|
|
215
438
|
labels: z.ZodObject<{
|
|
216
439
|
table: z.ZodString;
|
|
217
440
|
chairs: z.ZodObject<{
|
|
@@ -220,21 +443,38 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
220
443
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
221
444
|
prefix: z.ZodOptional<z.ZodString>;
|
|
222
445
|
suffix: z.ZodOptional<z.ZodString>;
|
|
446
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
447
|
+
first: "first";
|
|
448
|
+
last: "last";
|
|
449
|
+
}>>;
|
|
450
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
223
451
|
}, z.core.$strict>;
|
|
224
452
|
tableStyle: z.ZodObject<{
|
|
225
453
|
visible: z.ZodBoolean;
|
|
226
454
|
fontSizeM: z.ZodNumber;
|
|
455
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
456
|
+
plain: "plain";
|
|
457
|
+
pill: "pill";
|
|
458
|
+
}>>;
|
|
459
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
460
|
+
color: z.ZodOptional<z.ZodString>;
|
|
227
461
|
}, z.core.$strict>;
|
|
228
462
|
}, z.core.$strict>;
|
|
229
463
|
chairsBySide: z.ZodObject<{
|
|
230
464
|
top: z.ZodArray<z.ZodObject<{
|
|
465
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
231
466
|
id: z.ZodString;
|
|
467
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
468
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
233
469
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
234
|
-
|
|
470
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
471
|
+
seat: "seat";
|
|
472
|
+
space: "space";
|
|
473
|
+
}>>;
|
|
474
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
475
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
476
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
235
477
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
237
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
238
478
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
239
479
|
}, z.core.$strict>>;
|
|
240
480
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -248,15 +488,33 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
248
488
|
height: z.ZodNumber;
|
|
249
489
|
}, z.core.$strict>>;
|
|
250
490
|
}, z.core.$strict>>;
|
|
491
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
492
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
493
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
494
|
+
visible: z.ZodBoolean;
|
|
495
|
+
fontSizeM: z.ZodNumber;
|
|
496
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
497
|
+
plain: "plain";
|
|
498
|
+
pill: "pill";
|
|
499
|
+
}>>;
|
|
500
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
501
|
+
color: z.ZodOptional<z.ZodString>;
|
|
502
|
+
}, z.core.$strict>>;
|
|
251
503
|
}, z.core.$strict>>;
|
|
252
504
|
right: z.ZodArray<z.ZodObject<{
|
|
505
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
253
506
|
id: z.ZodString;
|
|
507
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
254
508
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
255
509
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
256
|
-
|
|
510
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
511
|
+
seat: "seat";
|
|
512
|
+
space: "space";
|
|
513
|
+
}>>;
|
|
514
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
515
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
516
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
257
517
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
260
518
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
261
519
|
}, z.core.$strict>>;
|
|
262
520
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -270,15 +528,33 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
270
528
|
height: z.ZodNumber;
|
|
271
529
|
}, z.core.$strict>>;
|
|
272
530
|
}, z.core.$strict>>;
|
|
531
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
532
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
533
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
534
|
+
visible: z.ZodBoolean;
|
|
535
|
+
fontSizeM: z.ZodNumber;
|
|
536
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
537
|
+
plain: "plain";
|
|
538
|
+
pill: "pill";
|
|
539
|
+
}>>;
|
|
540
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
541
|
+
color: z.ZodOptional<z.ZodString>;
|
|
542
|
+
}, z.core.$strict>>;
|
|
273
543
|
}, z.core.$strict>>;
|
|
274
544
|
bottom: z.ZodArray<z.ZodObject<{
|
|
545
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
275
546
|
id: z.ZodString;
|
|
547
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
276
548
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
277
549
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
278
|
-
|
|
550
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
551
|
+
seat: "seat";
|
|
552
|
+
space: "space";
|
|
553
|
+
}>>;
|
|
554
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
555
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
556
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
279
557
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
280
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
281
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
282
558
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
283
559
|
}, z.core.$strict>>;
|
|
284
560
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -292,15 +568,33 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
292
568
|
height: z.ZodNumber;
|
|
293
569
|
}, z.core.$strict>>;
|
|
294
570
|
}, z.core.$strict>>;
|
|
571
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
572
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
573
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
574
|
+
visible: z.ZodBoolean;
|
|
575
|
+
fontSizeM: z.ZodNumber;
|
|
576
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
577
|
+
plain: "plain";
|
|
578
|
+
pill: "pill";
|
|
579
|
+
}>>;
|
|
580
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
color: z.ZodOptional<z.ZodString>;
|
|
582
|
+
}, z.core.$strict>>;
|
|
295
583
|
}, z.core.$strict>>;
|
|
296
584
|
left: z.ZodArray<z.ZodObject<{
|
|
585
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
297
586
|
id: z.ZodString;
|
|
587
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
298
588
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
299
589
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
300
|
-
|
|
590
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
591
|
+
seat: "seat";
|
|
592
|
+
space: "space";
|
|
593
|
+
}>>;
|
|
594
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
595
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
596
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
301
597
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
302
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
303
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
304
598
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
305
599
|
}, z.core.$strict>>;
|
|
306
600
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -314,8 +608,21 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
314
608
|
height: z.ZodNumber;
|
|
315
609
|
}, z.core.$strict>>;
|
|
316
610
|
}, z.core.$strict>>;
|
|
611
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
613
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
614
|
+
visible: z.ZodBoolean;
|
|
615
|
+
fontSizeM: z.ZodNumber;
|
|
616
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
617
|
+
plain: "plain";
|
|
618
|
+
pill: "pill";
|
|
619
|
+
}>>;
|
|
620
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
621
|
+
color: z.ZodOptional<z.ZodString>;
|
|
622
|
+
}, z.core.$strict>>;
|
|
317
623
|
}, z.core.$strict>>;
|
|
318
624
|
}, z.core.$strict>;
|
|
625
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
319
626
|
name: z.ZodString;
|
|
320
627
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
321
628
|
seatSizeM: z.ZodObject<{
|
|
@@ -335,6 +642,12 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
335
642
|
seatLabelStyle: z.ZodObject<{
|
|
336
643
|
visible: z.ZodBoolean;
|
|
337
644
|
fontSizeM: z.ZodNumber;
|
|
645
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
646
|
+
plain: "plain";
|
|
647
|
+
pill: "pill";
|
|
648
|
+
}>>;
|
|
649
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
650
|
+
color: z.ZodOptional<z.ZodString>;
|
|
338
651
|
}, z.core.$strict>;
|
|
339
652
|
id: z.ZodString;
|
|
340
653
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -350,11 +663,38 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
350
663
|
zIndex: z.ZodNumber;
|
|
351
664
|
}, z.core.$strict>, z.ZodObject<{
|
|
352
665
|
kind: z.ZodLiteral<SeatingKind.Round>;
|
|
666
|
+
selling: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
667
|
+
mode: z.ZodEnum<{
|
|
668
|
+
individual: TableBookingMode.Individual;
|
|
669
|
+
whole: TableBookingMode.Whole;
|
|
670
|
+
}>;
|
|
671
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
672
|
+
minGuests: z.ZodNumber;
|
|
673
|
+
maxGuests: z.ZodNumber;
|
|
674
|
+
mode: z.ZodLiteral<TableBookingMode.Party>;
|
|
675
|
+
}, z.core.$strict>], "mode">>;
|
|
353
676
|
recipe: z.ZodObject<{
|
|
354
677
|
diameterM: z.ZodNumber;
|
|
355
678
|
chairGapM: z.ZodNumber;
|
|
356
679
|
startAngleDeg: z.ZodNumber;
|
|
680
|
+
automaticSize: z.ZodOptional<z.ZodBoolean>;
|
|
681
|
+
seatArcDeg: z.ZodOptional<z.ZodNumber>;
|
|
357
682
|
}, z.core.$strict>;
|
|
683
|
+
longLayout: z.ZodOptional<z.ZodObject<{
|
|
684
|
+
recipe: z.ZodObject<{
|
|
685
|
+
widthM: z.ZodNumber;
|
|
686
|
+
depthM: z.ZodNumber;
|
|
687
|
+
chairGapM: z.ZodNumber;
|
|
688
|
+
chairPitchM: z.ZodOptional<z.ZodNumber>;
|
|
689
|
+
chairDistribution: z.ZodOptional<z.ZodEnum<typeof TableChairDistribution>>;
|
|
690
|
+
}, z.core.$strict>;
|
|
691
|
+
sides: z.ZodObject<{
|
|
692
|
+
top: z.ZodBoolean;
|
|
693
|
+
bottom: z.ZodBoolean;
|
|
694
|
+
left: z.ZodBoolean;
|
|
695
|
+
right: z.ZodBoolean;
|
|
696
|
+
}, z.core.$strict>;
|
|
697
|
+
}, z.core.$strict>>;
|
|
358
698
|
labels: z.ZodObject<{
|
|
359
699
|
table: z.ZodString;
|
|
360
700
|
chairs: z.ZodObject<{
|
|
@@ -363,20 +703,37 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
363
703
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
364
704
|
prefix: z.ZodOptional<z.ZodString>;
|
|
365
705
|
suffix: z.ZodOptional<z.ZodString>;
|
|
706
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
707
|
+
first: "first";
|
|
708
|
+
last: "last";
|
|
709
|
+
}>>;
|
|
710
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
366
711
|
}, z.core.$strict>;
|
|
367
712
|
tableStyle: z.ZodObject<{
|
|
368
713
|
visible: z.ZodBoolean;
|
|
369
714
|
fontSizeM: z.ZodNumber;
|
|
715
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
716
|
+
plain: "plain";
|
|
717
|
+
pill: "pill";
|
|
718
|
+
}>>;
|
|
719
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
720
|
+
color: z.ZodOptional<z.ZodString>;
|
|
370
721
|
}, z.core.$strict>;
|
|
371
722
|
}, z.core.$strict>;
|
|
372
723
|
chairs: z.ZodArray<z.ZodObject<{
|
|
724
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
373
725
|
id: z.ZodString;
|
|
726
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
374
727
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
375
728
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
376
|
-
|
|
729
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
730
|
+
seat: "seat";
|
|
731
|
+
space: "space";
|
|
732
|
+
}>>;
|
|
733
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
734
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
735
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
377
736
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
378
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
380
737
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
381
738
|
}, z.core.$strict>>;
|
|
382
739
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -390,7 +747,20 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
390
747
|
height: z.ZodNumber;
|
|
391
748
|
}, z.core.$strict>>;
|
|
392
749
|
}, z.core.$strict>>;
|
|
750
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
751
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
752
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
753
|
+
visible: z.ZodBoolean;
|
|
754
|
+
fontSizeM: z.ZodNumber;
|
|
755
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
756
|
+
plain: "plain";
|
|
757
|
+
pill: "pill";
|
|
758
|
+
}>>;
|
|
759
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
760
|
+
color: z.ZodOptional<z.ZodString>;
|
|
761
|
+
}, z.core.$strict>>;
|
|
393
762
|
}, z.core.$strict>>;
|
|
763
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
394
764
|
name: z.ZodString;
|
|
395
765
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
396
766
|
seatSizeM: z.ZodObject<{
|
|
@@ -410,6 +780,12 @@ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
410
780
|
seatLabelStyle: z.ZodObject<{
|
|
411
781
|
visible: z.ZodBoolean;
|
|
412
782
|
fontSizeM: z.ZodNumber;
|
|
783
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
784
|
+
plain: "plain";
|
|
785
|
+
pill: "pill";
|
|
786
|
+
}>>;
|
|
787
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
788
|
+
color: z.ZodOptional<z.ZodString>;
|
|
413
789
|
}, z.core.$strict>;
|
|
414
790
|
id: z.ZodString;
|
|
415
791
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -435,6 +811,43 @@ export declare const decorationStyleSchema: z.ZodObject<{
|
|
|
435
811
|
}, z.core.$strict>>;
|
|
436
812
|
strokeWidthM: z.ZodOptional<z.ZodNumber>;
|
|
437
813
|
}, z.core.$strict>;
|
|
814
|
+
export declare const ticketOptionSchema: z.ZodObject<{
|
|
815
|
+
id: z.ZodString;
|
|
816
|
+
name: z.ZodString;
|
|
817
|
+
price: z.ZodNumber;
|
|
818
|
+
restriction: z.ZodOptional<z.ZodEnum<typeof TicketRestriction>>;
|
|
819
|
+
guidance: z.ZodOptional<z.ZodString>;
|
|
820
|
+
}, z.core.$strict>;
|
|
821
|
+
export declare const categorySchema: z.ZodObject<{
|
|
822
|
+
id: z.ZodString;
|
|
823
|
+
name: z.ZodString;
|
|
824
|
+
color: z.ZodString;
|
|
825
|
+
defaultPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
826
|
+
onSale: z.ZodOptional<z.ZodBoolean>;
|
|
827
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
828
|
+
ticketOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
829
|
+
id: z.ZodString;
|
|
830
|
+
name: z.ZodString;
|
|
831
|
+
price: z.ZodNumber;
|
|
832
|
+
restriction: z.ZodOptional<z.ZodEnum<typeof TicketRestriction>>;
|
|
833
|
+
guidance: z.ZodOptional<z.ZodString>;
|
|
834
|
+
}, z.core.$strict>>>;
|
|
835
|
+
}, z.core.$strict>;
|
|
836
|
+
export declare const categoriesSchema: z.ZodArray<z.ZodObject<{
|
|
837
|
+
id: z.ZodString;
|
|
838
|
+
name: z.ZodString;
|
|
839
|
+
color: z.ZodString;
|
|
840
|
+
defaultPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
841
|
+
onSale: z.ZodOptional<z.ZodBoolean>;
|
|
842
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
843
|
+
ticketOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
844
|
+
id: z.ZodString;
|
|
845
|
+
name: z.ZodString;
|
|
846
|
+
price: z.ZodNumber;
|
|
847
|
+
restriction: z.ZodOptional<z.ZodEnum<typeof TicketRestriction>>;
|
|
848
|
+
guidance: z.ZodOptional<z.ZodString>;
|
|
849
|
+
}, z.core.$strict>>>;
|
|
850
|
+
}, z.core.$strict>>;
|
|
438
851
|
export declare const documentSchema: z.ZodObject<{
|
|
439
852
|
schemaVersion: z.ZodLiteral<1>;
|
|
440
853
|
mapId: z.ZodString;
|
|
@@ -449,9 +862,25 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
449
862
|
color: z.ZodString;
|
|
450
863
|
opacity: z.ZodNumber;
|
|
451
864
|
}, z.core.$strict>;
|
|
865
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
866
|
+
id: z.ZodString;
|
|
867
|
+
name: z.ZodString;
|
|
868
|
+
color: z.ZodString;
|
|
869
|
+
defaultPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
870
|
+
onSale: z.ZodOptional<z.ZodBoolean>;
|
|
871
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
872
|
+
ticketOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
873
|
+
id: z.ZodString;
|
|
874
|
+
name: z.ZodString;
|
|
875
|
+
price: z.ZodNumber;
|
|
876
|
+
restriction: z.ZodOptional<z.ZodEnum<typeof TicketRestriction>>;
|
|
877
|
+
guidance: z.ZodOptional<z.ZodString>;
|
|
878
|
+
}, z.core.$strict>>>;
|
|
879
|
+
}, z.core.$strict>>>;
|
|
452
880
|
sections: z.ZodArray<z.ZodObject<{
|
|
453
881
|
id: z.ZodString;
|
|
454
882
|
label: z.ZodString;
|
|
883
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
455
884
|
displayLabel: z.ZodOptional<z.ZodString>;
|
|
456
885
|
outline: z.ZodOptional<z.ZodObject<{
|
|
457
886
|
outer: z.ZodArray<z.ZodObject<{
|
|
@@ -486,6 +915,12 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
486
915
|
labelStyle: z.ZodObject<{
|
|
487
916
|
visible: z.ZodBoolean;
|
|
488
917
|
fontSizeM: z.ZodNumber;
|
|
918
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
919
|
+
plain: "plain";
|
|
920
|
+
pill: "pill";
|
|
921
|
+
}>>;
|
|
922
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
923
|
+
color: z.ZodOptional<z.ZodString>;
|
|
489
924
|
}, z.core.$strict>;
|
|
490
925
|
}, z.core.$strict>>;
|
|
491
926
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -517,6 +952,11 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
517
952
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
518
953
|
prefix: z.ZodOptional<z.ZodString>;
|
|
519
954
|
suffix: z.ZodOptional<z.ZodString>;
|
|
955
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
956
|
+
first: "first";
|
|
957
|
+
last: "last";
|
|
958
|
+
}>>;
|
|
959
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
520
960
|
}, z.core.$strict>;
|
|
521
961
|
seats: z.ZodObject<{
|
|
522
962
|
scheme: z.ZodEnum<typeof NumberingScheme>;
|
|
@@ -524,16 +964,29 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
524
964
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
525
965
|
prefix: z.ZodOptional<z.ZodString>;
|
|
526
966
|
suffix: z.ZodOptional<z.ZodString>;
|
|
967
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
968
|
+
first: "first";
|
|
969
|
+
last: "last";
|
|
970
|
+
}>>;
|
|
971
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
527
972
|
}, z.core.$strict>;
|
|
528
973
|
rowStyle: z.ZodObject<{
|
|
529
974
|
visible: z.ZodBoolean;
|
|
530
975
|
fontSizeM: z.ZodNumber;
|
|
976
|
+
color: z.ZodOptional<z.ZodString>;
|
|
531
977
|
position: z.ZodEnum<typeof RowLabelPosition>;
|
|
978
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
979
|
+
plain: "plain";
|
|
980
|
+
pill: "pill";
|
|
981
|
+
}>>;
|
|
982
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
532
983
|
}, z.core.$strict>;
|
|
533
984
|
}, z.core.$strict>;
|
|
534
985
|
rows: z.ZodArray<z.ZodObject<{
|
|
535
986
|
id: z.ZodString;
|
|
987
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
536
988
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
989
|
+
bookingLabel: z.ZodOptional<z.ZodString>;
|
|
537
990
|
offsetM: z.ZodOptional<z.ZodObject<{
|
|
538
991
|
x: z.ZodNumber;
|
|
539
992
|
y: z.ZodNumber;
|
|
@@ -544,15 +997,37 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
544
997
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
545
998
|
prefix: z.ZodOptional<z.ZodString>;
|
|
546
999
|
suffix: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
1001
|
+
first: "first";
|
|
1002
|
+
last: "last";
|
|
1003
|
+
}>>;
|
|
1004
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
547
1005
|
}, z.core.$strict>>;
|
|
1006
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1007
|
+
originM: z.ZodObject<{
|
|
1008
|
+
x: z.ZodNumber;
|
|
1009
|
+
y: z.ZodNumber;
|
|
1010
|
+
}, z.core.$strict>;
|
|
1011
|
+
seatPitchM: z.ZodNumber;
|
|
1012
|
+
curveDeg: z.ZodNumber;
|
|
1013
|
+
rotationDeg: z.ZodNumber;
|
|
1014
|
+
seatRotationOffsetDeg: z.ZodOptional<z.ZodNumber>;
|
|
1015
|
+
}, z.core.$strict>>;
|
|
1016
|
+
aisleSeats: z.ZodOptional<z.ZodEnum<typeof RowEnds>>;
|
|
548
1017
|
seats: z.ZodArray<z.ZodObject<{
|
|
1018
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
549
1019
|
id: z.ZodString;
|
|
1020
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
550
1021
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
551
1022
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
552
|
-
|
|
1023
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
1024
|
+
seat: "seat";
|
|
1025
|
+
space: "space";
|
|
1026
|
+
}>>;
|
|
1027
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
1028
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
1029
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
553
1030
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
554
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
555
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
556
1031
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
557
1032
|
}, z.core.$strict>>;
|
|
558
1033
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -566,8 +1041,34 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
566
1041
|
height: z.ZodNumber;
|
|
567
1042
|
}, z.core.$strict>>;
|
|
568
1043
|
}, z.core.$strict>>;
|
|
1044
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
1045
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
1047
|
+
visible: z.ZodBoolean;
|
|
1048
|
+
fontSizeM: z.ZodNumber;
|
|
1049
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1050
|
+
plain: "plain";
|
|
1051
|
+
pill: "pill";
|
|
1052
|
+
}>>;
|
|
1053
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1054
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1055
|
+
}, z.core.$strict>>;
|
|
1056
|
+
}, z.core.$strict>>;
|
|
1057
|
+
buyerNoun: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
1060
|
+
visible: z.ZodBoolean;
|
|
1061
|
+
fontSizeM: z.ZodNumber;
|
|
1062
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
position: z.ZodEnum<typeof RowLabelPosition>;
|
|
1064
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1065
|
+
plain: "plain";
|
|
1066
|
+
pill: "pill";
|
|
1067
|
+
}>>;
|
|
1068
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
569
1069
|
}, z.core.$strict>>;
|
|
570
1070
|
}, z.core.$strict>>;
|
|
1071
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
1072
|
name: z.ZodString;
|
|
572
1073
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
573
1074
|
seatSizeM: z.ZodObject<{
|
|
@@ -587,6 +1088,12 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
587
1088
|
seatLabelStyle: z.ZodObject<{
|
|
588
1089
|
visible: z.ZodBoolean;
|
|
589
1090
|
fontSizeM: z.ZodNumber;
|
|
1091
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1092
|
+
plain: "plain";
|
|
1093
|
+
pill: "pill";
|
|
1094
|
+
}>>;
|
|
1095
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1096
|
+
color: z.ZodOptional<z.ZodString>;
|
|
590
1097
|
}, z.core.$strict>;
|
|
591
1098
|
id: z.ZodString;
|
|
592
1099
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -623,6 +1130,11 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
623
1130
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
624
1131
|
prefix: z.ZodOptional<z.ZodString>;
|
|
625
1132
|
suffix: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
1134
|
+
first: "first";
|
|
1135
|
+
last: "last";
|
|
1136
|
+
}>>;
|
|
1137
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
626
1138
|
}, z.core.$strict>;
|
|
627
1139
|
seats: z.ZodObject<{
|
|
628
1140
|
scheme: z.ZodEnum<typeof NumberingScheme>;
|
|
@@ -630,16 +1142,29 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
630
1142
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
631
1143
|
prefix: z.ZodOptional<z.ZodString>;
|
|
632
1144
|
suffix: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
1146
|
+
first: "first";
|
|
1147
|
+
last: "last";
|
|
1148
|
+
}>>;
|
|
1149
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
633
1150
|
}, z.core.$strict>;
|
|
634
1151
|
rowStyle: z.ZodObject<{
|
|
635
1152
|
visible: z.ZodBoolean;
|
|
636
1153
|
fontSizeM: z.ZodNumber;
|
|
1154
|
+
color: z.ZodOptional<z.ZodString>;
|
|
637
1155
|
position: z.ZodEnum<typeof RowLabelPosition>;
|
|
1156
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1157
|
+
plain: "plain";
|
|
1158
|
+
pill: "pill";
|
|
1159
|
+
}>>;
|
|
1160
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
638
1161
|
}, z.core.$strict>;
|
|
639
1162
|
}, z.core.$strict>;
|
|
640
1163
|
rows: z.ZodArray<z.ZodObject<{
|
|
641
1164
|
id: z.ZodString;
|
|
1165
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
642
1166
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
bookingLabel: z.ZodOptional<z.ZodString>;
|
|
643
1168
|
offsetM: z.ZodOptional<z.ZodObject<{
|
|
644
1169
|
x: z.ZodNumber;
|
|
645
1170
|
y: z.ZodNumber;
|
|
@@ -650,15 +1175,37 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
650
1175
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
651
1176
|
prefix: z.ZodOptional<z.ZodString>;
|
|
652
1177
|
suffix: z.ZodOptional<z.ZodString>;
|
|
1178
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
1179
|
+
first: "first";
|
|
1180
|
+
last: "last";
|
|
1181
|
+
}>>;
|
|
1182
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
1183
|
+
}, z.core.$strict>>;
|
|
1184
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1185
|
+
originM: z.ZodObject<{
|
|
1186
|
+
x: z.ZodNumber;
|
|
1187
|
+
y: z.ZodNumber;
|
|
1188
|
+
}, z.core.$strict>;
|
|
1189
|
+
seatPitchM: z.ZodNumber;
|
|
1190
|
+
curveDeg: z.ZodNumber;
|
|
1191
|
+
rotationDeg: z.ZodNumber;
|
|
1192
|
+
seatRotationOffsetDeg: z.ZodOptional<z.ZodNumber>;
|
|
653
1193
|
}, z.core.$strict>>;
|
|
1194
|
+
aisleSeats: z.ZodOptional<z.ZodEnum<typeof RowEnds>>;
|
|
654
1195
|
seats: z.ZodArray<z.ZodObject<{
|
|
1196
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
655
1197
|
id: z.ZodString;
|
|
1198
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
656
1199
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
657
1200
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
658
|
-
|
|
1201
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
1202
|
+
seat: "seat";
|
|
1203
|
+
space: "space";
|
|
1204
|
+
}>>;
|
|
1205
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
1206
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
1207
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
659
1208
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
660
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
661
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
662
1209
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
663
1210
|
}, z.core.$strict>>;
|
|
664
1211
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -672,8 +1219,34 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
672
1219
|
height: z.ZodNumber;
|
|
673
1220
|
}, z.core.$strict>>;
|
|
674
1221
|
}, z.core.$strict>>;
|
|
1222
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
1223
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
1224
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
1225
|
+
visible: z.ZodBoolean;
|
|
1226
|
+
fontSizeM: z.ZodNumber;
|
|
1227
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1228
|
+
plain: "plain";
|
|
1229
|
+
pill: "pill";
|
|
1230
|
+
}>>;
|
|
1231
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1232
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
}, z.core.$strict>>;
|
|
1234
|
+
}, z.core.$strict>>;
|
|
1235
|
+
buyerNoun: z.ZodOptional<z.ZodString>;
|
|
1236
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
1238
|
+
visible: z.ZodBoolean;
|
|
1239
|
+
fontSizeM: z.ZodNumber;
|
|
1240
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
position: z.ZodEnum<typeof RowLabelPosition>;
|
|
1242
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1243
|
+
plain: "plain";
|
|
1244
|
+
pill: "pill";
|
|
1245
|
+
}>>;
|
|
1246
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
675
1247
|
}, z.core.$strict>>;
|
|
676
1248
|
}, z.core.$strict>>;
|
|
1249
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
677
1250
|
name: z.ZodString;
|
|
678
1251
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
679
1252
|
seatSizeM: z.ZodObject<{
|
|
@@ -693,6 +1266,12 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
693
1266
|
seatLabelStyle: z.ZodObject<{
|
|
694
1267
|
visible: z.ZodBoolean;
|
|
695
1268
|
fontSizeM: z.ZodNumber;
|
|
1269
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1270
|
+
plain: "plain";
|
|
1271
|
+
pill: "pill";
|
|
1272
|
+
}>>;
|
|
1273
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1274
|
+
color: z.ZodOptional<z.ZodString>;
|
|
696
1275
|
}, z.core.$strict>;
|
|
697
1276
|
id: z.ZodString;
|
|
698
1277
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -708,12 +1287,30 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
708
1287
|
zIndex: z.ZodNumber;
|
|
709
1288
|
}, z.core.$strict>, z.ZodObject<{
|
|
710
1289
|
kind: z.ZodLiteral<SeatingKind.Rectangular>;
|
|
1290
|
+
selling: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1291
|
+
mode: z.ZodEnum<{
|
|
1292
|
+
individual: TableBookingMode.Individual;
|
|
1293
|
+
whole: TableBookingMode.Whole;
|
|
1294
|
+
}>;
|
|
1295
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1296
|
+
minGuests: z.ZodNumber;
|
|
1297
|
+
maxGuests: z.ZodNumber;
|
|
1298
|
+
mode: z.ZodLiteral<TableBookingMode.Party>;
|
|
1299
|
+
}, z.core.$strict>], "mode">>;
|
|
711
1300
|
recipe: z.ZodObject<{
|
|
712
1301
|
widthM: z.ZodNumber;
|
|
713
1302
|
depthM: z.ZodNumber;
|
|
714
1303
|
chairGapM: z.ZodNumber;
|
|
715
1304
|
chairPitchM: z.ZodOptional<z.ZodNumber>;
|
|
1305
|
+
chairDistribution: z.ZodOptional<z.ZodEnum<typeof TableChairDistribution>>;
|
|
716
1306
|
}, z.core.$strict>;
|
|
1307
|
+
roundLayout: z.ZodOptional<z.ZodObject<{
|
|
1308
|
+
diameterM: z.ZodNumber;
|
|
1309
|
+
chairGapM: z.ZodNumber;
|
|
1310
|
+
startAngleDeg: z.ZodNumber;
|
|
1311
|
+
automaticSize: z.ZodOptional<z.ZodBoolean>;
|
|
1312
|
+
seatArcDeg: z.ZodOptional<z.ZodNumber>;
|
|
1313
|
+
}, z.core.$strict>>;
|
|
717
1314
|
labels: z.ZodObject<{
|
|
718
1315
|
table: z.ZodString;
|
|
719
1316
|
chairs: z.ZodObject<{
|
|
@@ -722,21 +1319,38 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
722
1319
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
723
1320
|
prefix: z.ZodOptional<z.ZodString>;
|
|
724
1321
|
suffix: z.ZodOptional<z.ZodString>;
|
|
1322
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
1323
|
+
first: "first";
|
|
1324
|
+
last: "last";
|
|
1325
|
+
}>>;
|
|
1326
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
725
1327
|
}, z.core.$strict>;
|
|
726
1328
|
tableStyle: z.ZodObject<{
|
|
727
1329
|
visible: z.ZodBoolean;
|
|
728
1330
|
fontSizeM: z.ZodNumber;
|
|
1331
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1332
|
+
plain: "plain";
|
|
1333
|
+
pill: "pill";
|
|
1334
|
+
}>>;
|
|
1335
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1336
|
+
color: z.ZodOptional<z.ZodString>;
|
|
729
1337
|
}, z.core.$strict>;
|
|
730
1338
|
}, z.core.$strict>;
|
|
731
1339
|
chairsBySide: z.ZodObject<{
|
|
732
1340
|
top: z.ZodArray<z.ZodObject<{
|
|
1341
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
733
1342
|
id: z.ZodString;
|
|
1343
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
734
1344
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
735
1345
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
736
|
-
|
|
1346
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
1347
|
+
seat: "seat";
|
|
1348
|
+
space: "space";
|
|
1349
|
+
}>>;
|
|
1350
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
1351
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
1352
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
737
1353
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
738
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
739
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
740
1354
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
741
1355
|
}, z.core.$strict>>;
|
|
742
1356
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -750,15 +1364,33 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
750
1364
|
height: z.ZodNumber;
|
|
751
1365
|
}, z.core.$strict>>;
|
|
752
1366
|
}, z.core.$strict>>;
|
|
1367
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
1368
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
1370
|
+
visible: z.ZodBoolean;
|
|
1371
|
+
fontSizeM: z.ZodNumber;
|
|
1372
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1373
|
+
plain: "plain";
|
|
1374
|
+
pill: "pill";
|
|
1375
|
+
}>>;
|
|
1376
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1377
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
}, z.core.$strict>>;
|
|
753
1379
|
}, z.core.$strict>>;
|
|
754
1380
|
right: z.ZodArray<z.ZodObject<{
|
|
1381
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
755
1382
|
id: z.ZodString;
|
|
1383
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
756
1384
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
757
1385
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
758
|
-
|
|
1386
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
1387
|
+
seat: "seat";
|
|
1388
|
+
space: "space";
|
|
1389
|
+
}>>;
|
|
1390
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
1391
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
1392
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
759
1393
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
760
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
761
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
762
1394
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
763
1395
|
}, z.core.$strict>>;
|
|
764
1396
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -772,15 +1404,33 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
772
1404
|
height: z.ZodNumber;
|
|
773
1405
|
}, z.core.$strict>>;
|
|
774
1406
|
}, z.core.$strict>>;
|
|
1407
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
1408
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
1410
|
+
visible: z.ZodBoolean;
|
|
1411
|
+
fontSizeM: z.ZodNumber;
|
|
1412
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1413
|
+
plain: "plain";
|
|
1414
|
+
pill: "pill";
|
|
1415
|
+
}>>;
|
|
1416
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1417
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
}, z.core.$strict>>;
|
|
775
1419
|
}, z.core.$strict>>;
|
|
776
1420
|
bottom: z.ZodArray<z.ZodObject<{
|
|
1421
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
777
1422
|
id: z.ZodString;
|
|
1423
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
778
1424
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
779
1425
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
780
|
-
|
|
1426
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
1427
|
+
seat: "seat";
|
|
1428
|
+
space: "space";
|
|
1429
|
+
}>>;
|
|
1430
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
1431
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
1432
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
781
1433
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
782
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
783
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
784
1434
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
785
1435
|
}, z.core.$strict>>;
|
|
786
1436
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -794,15 +1444,33 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
794
1444
|
height: z.ZodNumber;
|
|
795
1445
|
}, z.core.$strict>>;
|
|
796
1446
|
}, z.core.$strict>>;
|
|
1447
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
1448
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
1450
|
+
visible: z.ZodBoolean;
|
|
1451
|
+
fontSizeM: z.ZodNumber;
|
|
1452
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1453
|
+
plain: "plain";
|
|
1454
|
+
pill: "pill";
|
|
1455
|
+
}>>;
|
|
1456
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1457
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1458
|
+
}, z.core.$strict>>;
|
|
797
1459
|
}, z.core.$strict>>;
|
|
798
1460
|
left: z.ZodArray<z.ZodObject<{
|
|
1461
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
799
1462
|
id: z.ZodString;
|
|
1463
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
800
1464
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
801
1465
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
802
|
-
|
|
1466
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
1467
|
+
seat: "seat";
|
|
1468
|
+
space: "space";
|
|
1469
|
+
}>>;
|
|
1470
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
1471
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
1472
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
803
1473
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
804
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
805
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
806
1474
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
807
1475
|
}, z.core.$strict>>;
|
|
808
1476
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -816,8 +1484,21 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
816
1484
|
height: z.ZodNumber;
|
|
817
1485
|
}, z.core.$strict>>;
|
|
818
1486
|
}, z.core.$strict>>;
|
|
1487
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
1488
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
1490
|
+
visible: z.ZodBoolean;
|
|
1491
|
+
fontSizeM: z.ZodNumber;
|
|
1492
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1493
|
+
plain: "plain";
|
|
1494
|
+
pill: "pill";
|
|
1495
|
+
}>>;
|
|
1496
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1497
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1498
|
+
}, z.core.$strict>>;
|
|
819
1499
|
}, z.core.$strict>>;
|
|
820
1500
|
}, z.core.$strict>;
|
|
1501
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
821
1502
|
name: z.ZodString;
|
|
822
1503
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
823
1504
|
seatSizeM: z.ZodObject<{
|
|
@@ -837,6 +1518,12 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
837
1518
|
seatLabelStyle: z.ZodObject<{
|
|
838
1519
|
visible: z.ZodBoolean;
|
|
839
1520
|
fontSizeM: z.ZodNumber;
|
|
1521
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1522
|
+
plain: "plain";
|
|
1523
|
+
pill: "pill";
|
|
1524
|
+
}>>;
|
|
1525
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1526
|
+
color: z.ZodOptional<z.ZodString>;
|
|
840
1527
|
}, z.core.$strict>;
|
|
841
1528
|
id: z.ZodString;
|
|
842
1529
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -852,11 +1539,38 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
852
1539
|
zIndex: z.ZodNumber;
|
|
853
1540
|
}, z.core.$strict>, z.ZodObject<{
|
|
854
1541
|
kind: z.ZodLiteral<SeatingKind.Round>;
|
|
1542
|
+
selling: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1543
|
+
mode: z.ZodEnum<{
|
|
1544
|
+
individual: TableBookingMode.Individual;
|
|
1545
|
+
whole: TableBookingMode.Whole;
|
|
1546
|
+
}>;
|
|
1547
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1548
|
+
minGuests: z.ZodNumber;
|
|
1549
|
+
maxGuests: z.ZodNumber;
|
|
1550
|
+
mode: z.ZodLiteral<TableBookingMode.Party>;
|
|
1551
|
+
}, z.core.$strict>], "mode">>;
|
|
855
1552
|
recipe: z.ZodObject<{
|
|
856
1553
|
diameterM: z.ZodNumber;
|
|
857
1554
|
chairGapM: z.ZodNumber;
|
|
858
1555
|
startAngleDeg: z.ZodNumber;
|
|
1556
|
+
automaticSize: z.ZodOptional<z.ZodBoolean>;
|
|
1557
|
+
seatArcDeg: z.ZodOptional<z.ZodNumber>;
|
|
859
1558
|
}, z.core.$strict>;
|
|
1559
|
+
longLayout: z.ZodOptional<z.ZodObject<{
|
|
1560
|
+
recipe: z.ZodObject<{
|
|
1561
|
+
widthM: z.ZodNumber;
|
|
1562
|
+
depthM: z.ZodNumber;
|
|
1563
|
+
chairGapM: z.ZodNumber;
|
|
1564
|
+
chairPitchM: z.ZodOptional<z.ZodNumber>;
|
|
1565
|
+
chairDistribution: z.ZodOptional<z.ZodEnum<typeof TableChairDistribution>>;
|
|
1566
|
+
}, z.core.$strict>;
|
|
1567
|
+
sides: z.ZodObject<{
|
|
1568
|
+
top: z.ZodBoolean;
|
|
1569
|
+
bottom: z.ZodBoolean;
|
|
1570
|
+
left: z.ZodBoolean;
|
|
1571
|
+
right: z.ZodBoolean;
|
|
1572
|
+
}, z.core.$strict>;
|
|
1573
|
+
}, z.core.$strict>>;
|
|
860
1574
|
labels: z.ZodObject<{
|
|
861
1575
|
table: z.ZodString;
|
|
862
1576
|
chairs: z.ZodObject<{
|
|
@@ -865,20 +1579,37 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
865
1579
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
866
1580
|
prefix: z.ZodOptional<z.ZodString>;
|
|
867
1581
|
suffix: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
1583
|
+
first: "first";
|
|
1584
|
+
last: "last";
|
|
1585
|
+
}>>;
|
|
1586
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
868
1587
|
}, z.core.$strict>;
|
|
869
1588
|
tableStyle: z.ZodObject<{
|
|
870
1589
|
visible: z.ZodBoolean;
|
|
871
1590
|
fontSizeM: z.ZodNumber;
|
|
1591
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1592
|
+
plain: "plain";
|
|
1593
|
+
pill: "pill";
|
|
1594
|
+
}>>;
|
|
1595
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1596
|
+
color: z.ZodOptional<z.ZodString>;
|
|
872
1597
|
}, z.core.$strict>;
|
|
873
1598
|
}, z.core.$strict>;
|
|
874
1599
|
chairs: z.ZodArray<z.ZodObject<{
|
|
1600
|
+
seatShape: z.ZodOptional<z.ZodEnum<typeof SeatShape>>;
|
|
875
1601
|
id: z.ZodString;
|
|
1602
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
876
1603
|
labelOverride: z.ZodOptional<z.ZodString>;
|
|
877
1604
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
878
|
-
|
|
1605
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
1606
|
+
seat: "seat";
|
|
1607
|
+
space: "space";
|
|
1608
|
+
}>>;
|
|
1609
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
1610
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
1611
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
879
1612
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
880
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
881
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
882
1613
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
883
1614
|
}, z.core.$strict>>;
|
|
884
1615
|
override: z.ZodOptional<z.ZodObject<{
|
|
@@ -892,7 +1623,20 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
892
1623
|
height: z.ZodNumber;
|
|
893
1624
|
}, z.core.$strict>>;
|
|
894
1625
|
}, z.core.$strict>>;
|
|
1626
|
+
gap: z.ZodOptional<z.ZodBoolean>;
|
|
1627
|
+
buyerNote: z.ZodOptional<z.ZodString>;
|
|
1628
|
+
labelStyle: z.ZodOptional<z.ZodObject<{
|
|
1629
|
+
visible: z.ZodBoolean;
|
|
1630
|
+
fontSizeM: z.ZodNumber;
|
|
1631
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1632
|
+
plain: "plain";
|
|
1633
|
+
pill: "pill";
|
|
1634
|
+
}>>;
|
|
1635
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1636
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1637
|
+
}, z.core.$strict>>;
|
|
895
1638
|
}, z.core.$strict>>;
|
|
1639
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
896
1640
|
name: z.ZodString;
|
|
897
1641
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
898
1642
|
seatSizeM: z.ZodObject<{
|
|
@@ -912,6 +1656,12 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
912
1656
|
seatLabelStyle: z.ZodObject<{
|
|
913
1657
|
visible: z.ZodBoolean;
|
|
914
1658
|
fontSizeM: z.ZodNumber;
|
|
1659
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1660
|
+
plain: "plain";
|
|
1661
|
+
pill: "pill";
|
|
1662
|
+
}>>;
|
|
1663
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1664
|
+
color: z.ZodOptional<z.ZodString>;
|
|
915
1665
|
}, z.core.$strict>;
|
|
916
1666
|
id: z.ZodString;
|
|
917
1667
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -926,13 +1676,53 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
926
1676
|
}, z.core.$strict>;
|
|
927
1677
|
zIndex: z.ZodNumber;
|
|
928
1678
|
}, z.core.$strict>], "kind">>;
|
|
929
|
-
|
|
930
|
-
|
|
1679
|
+
segmentedRows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1680
|
+
id: z.ZodString;
|
|
1681
|
+
label: z.ZodString;
|
|
1682
|
+
sequence: z.ZodObject<{
|
|
1683
|
+
scheme: z.ZodEnum<typeof NumberingScheme>;
|
|
1684
|
+
startAt: z.ZodNumber;
|
|
1685
|
+
direction: z.ZodEnum<typeof LabelDirection>;
|
|
1686
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1687
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
1688
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
1689
|
+
first: "first";
|
|
1690
|
+
last: "last";
|
|
1691
|
+
}>>;
|
|
1692
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
1693
|
+
}, z.core.$strict>;
|
|
1694
|
+
smoothCorners: z.ZodOptional<z.ZodBoolean>;
|
|
1695
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
1696
|
+
rowId: z.ZodString;
|
|
1697
|
+
joinBefore: z.ZodNullable<z.ZodEnum<typeof RowJoin>>;
|
|
1698
|
+
}, z.core.$strict>>;
|
|
1699
|
+
}, z.core.$strict>>>;
|
|
1700
|
+
areas: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1701
|
+
kind: z.ZodLiteral<AreaKind.GeneralAdmission>;
|
|
1702
|
+
selling: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1703
|
+
mode: z.ZodEnum<{
|
|
1704
|
+
standing: StandingBookingMode.Standing;
|
|
1705
|
+
whole: StandingBookingMode.Whole;
|
|
1706
|
+
}>;
|
|
1707
|
+
wheelchairPlaces: z.ZodNumber;
|
|
1708
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1709
|
+
minGuests: z.ZodNumber;
|
|
1710
|
+
maxGuests: z.ZodNumber;
|
|
1711
|
+
mode: z.ZodLiteral<StandingBookingMode.Party>;
|
|
1712
|
+
wheelchairPlaces: z.ZodNumber;
|
|
1713
|
+
}, z.core.$strict>], "mode">>;
|
|
1714
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
931
1715
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
932
1716
|
label: z.ZodString;
|
|
933
1717
|
labelStyle: z.ZodObject<{
|
|
934
1718
|
visible: z.ZodBoolean;
|
|
935
1719
|
fontSizeM: z.ZodNumber;
|
|
1720
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1721
|
+
plain: "plain";
|
|
1722
|
+
pill: "pill";
|
|
1723
|
+
}>>;
|
|
1724
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1725
|
+
color: z.ZodOptional<z.ZodString>;
|
|
936
1726
|
}, z.core.$strict>;
|
|
937
1727
|
capacity: z.ZodNumber;
|
|
938
1728
|
shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -965,7 +1755,53 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
965
1755
|
flipY: z.ZodOptional<z.ZodBoolean>;
|
|
966
1756
|
}, z.core.$strict>;
|
|
967
1757
|
zIndex: z.ZodNumber;
|
|
968
|
-
}, z.core.$strict
|
|
1758
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1759
|
+
kind: z.ZodLiteral<AreaKind.Booth>;
|
|
1760
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1761
|
+
sectionId: z.ZodNullable<z.ZodString>;
|
|
1762
|
+
label: z.ZodString;
|
|
1763
|
+
labelStyle: z.ZodObject<{
|
|
1764
|
+
visible: z.ZodBoolean;
|
|
1765
|
+
fontSizeM: z.ZodNumber;
|
|
1766
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
1767
|
+
plain: "plain";
|
|
1768
|
+
pill: "pill";
|
|
1769
|
+
}>>;
|
|
1770
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1771
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1772
|
+
}, z.core.$strict>;
|
|
1773
|
+
capacity: z.ZodNumber;
|
|
1774
|
+
shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1775
|
+
kind: z.ZodLiteral<ShapeKind.Rectangle>;
|
|
1776
|
+
widthM: z.ZodNumber;
|
|
1777
|
+
heightM: z.ZodNumber;
|
|
1778
|
+
cornerRadiusM: z.ZodNumber;
|
|
1779
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1780
|
+
kind: z.ZodLiteral<ShapeKind.Polygon>;
|
|
1781
|
+
boundary: z.ZodObject<{
|
|
1782
|
+
outer: z.ZodArray<z.ZodObject<{
|
|
1783
|
+
x: z.ZodNumber;
|
|
1784
|
+
y: z.ZodNumber;
|
|
1785
|
+
}, z.core.$strict>>;
|
|
1786
|
+
holes: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1787
|
+
x: z.ZodNumber;
|
|
1788
|
+
y: z.ZodNumber;
|
|
1789
|
+
}, z.core.$strict>>>;
|
|
1790
|
+
}, z.core.$strict>;
|
|
1791
|
+
}, z.core.$strict>], "kind">;
|
|
1792
|
+
id: z.ZodString;
|
|
1793
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
1794
|
+
transform: z.ZodObject<{
|
|
1795
|
+
positionM: z.ZodObject<{
|
|
1796
|
+
x: z.ZodNumber;
|
|
1797
|
+
y: z.ZodNumber;
|
|
1798
|
+
}, z.core.$strict>;
|
|
1799
|
+
rotationDeg: z.ZodNumber;
|
|
1800
|
+
flipX: z.ZodOptional<z.ZodBoolean>;
|
|
1801
|
+
flipY: z.ZodOptional<z.ZodBoolean>;
|
|
1802
|
+
}, z.core.$strict>;
|
|
1803
|
+
zIndex: z.ZodNumber;
|
|
1804
|
+
}, z.core.$strict>], "kind">>;
|
|
969
1805
|
decorations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
970
1806
|
kind: z.ZodLiteral<DecorationKind.Text>;
|
|
971
1807
|
text: z.ZodString;
|
|
@@ -1186,13 +2022,32 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1186
2022
|
}>;
|
|
1187
2023
|
}, z.core.$strict>>;
|
|
1188
2024
|
}, z.core.$strict>;
|
|
1189
|
-
export declare const areaSchema: z.ZodObject<{
|
|
1190
|
-
kind: z.ZodLiteral<AreaKind>;
|
|
2025
|
+
export declare const areaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2026
|
+
kind: z.ZodLiteral<AreaKind.GeneralAdmission>;
|
|
2027
|
+
selling: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2028
|
+
mode: z.ZodEnum<{
|
|
2029
|
+
standing: StandingBookingMode.Standing;
|
|
2030
|
+
whole: StandingBookingMode.Whole;
|
|
2031
|
+
}>;
|
|
2032
|
+
wheelchairPlaces: z.ZodNumber;
|
|
2033
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2034
|
+
minGuests: z.ZodNumber;
|
|
2035
|
+
maxGuests: z.ZodNumber;
|
|
2036
|
+
mode: z.ZodLiteral<StandingBookingMode.Party>;
|
|
2037
|
+
wheelchairPlaces: z.ZodNumber;
|
|
2038
|
+
}, z.core.$strict>], "mode">>;
|
|
2039
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1191
2040
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
1192
2041
|
label: z.ZodString;
|
|
1193
2042
|
labelStyle: z.ZodObject<{
|
|
1194
2043
|
visible: z.ZodBoolean;
|
|
1195
2044
|
fontSizeM: z.ZodNumber;
|
|
2045
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
2046
|
+
plain: "plain";
|
|
2047
|
+
pill: "pill";
|
|
2048
|
+
}>>;
|
|
2049
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
2050
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1196
2051
|
}, z.core.$strict>;
|
|
1197
2052
|
capacity: z.ZodNumber;
|
|
1198
2053
|
shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1225,7 +2080,53 @@ export declare const areaSchema: z.ZodObject<{
|
|
|
1225
2080
|
flipY: z.ZodOptional<z.ZodBoolean>;
|
|
1226
2081
|
}, z.core.$strict>;
|
|
1227
2082
|
zIndex: z.ZodNumber;
|
|
1228
|
-
}, z.core.$strict
|
|
2083
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2084
|
+
kind: z.ZodLiteral<AreaKind.Booth>;
|
|
2085
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2086
|
+
sectionId: z.ZodNullable<z.ZodString>;
|
|
2087
|
+
label: z.ZodString;
|
|
2088
|
+
labelStyle: z.ZodObject<{
|
|
2089
|
+
visible: z.ZodBoolean;
|
|
2090
|
+
fontSizeM: z.ZodNumber;
|
|
2091
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
2092
|
+
plain: "plain";
|
|
2093
|
+
pill: "pill";
|
|
2094
|
+
}>>;
|
|
2095
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
2096
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2097
|
+
}, z.core.$strict>;
|
|
2098
|
+
capacity: z.ZodNumber;
|
|
2099
|
+
shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2100
|
+
kind: z.ZodLiteral<ShapeKind.Rectangle>;
|
|
2101
|
+
widthM: z.ZodNumber;
|
|
2102
|
+
heightM: z.ZodNumber;
|
|
2103
|
+
cornerRadiusM: z.ZodNumber;
|
|
2104
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2105
|
+
kind: z.ZodLiteral<ShapeKind.Polygon>;
|
|
2106
|
+
boundary: z.ZodObject<{
|
|
2107
|
+
outer: z.ZodArray<z.ZodObject<{
|
|
2108
|
+
x: z.ZodNumber;
|
|
2109
|
+
y: z.ZodNumber;
|
|
2110
|
+
}, z.core.$strict>>;
|
|
2111
|
+
holes: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
2112
|
+
x: z.ZodNumber;
|
|
2113
|
+
y: z.ZodNumber;
|
|
2114
|
+
}, z.core.$strict>>>;
|
|
2115
|
+
}, z.core.$strict>;
|
|
2116
|
+
}, z.core.$strict>], "kind">;
|
|
2117
|
+
id: z.ZodString;
|
|
2118
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
2119
|
+
transform: z.ZodObject<{
|
|
2120
|
+
positionM: z.ZodObject<{
|
|
2121
|
+
x: z.ZodNumber;
|
|
2122
|
+
y: z.ZodNumber;
|
|
2123
|
+
}, z.core.$strict>;
|
|
2124
|
+
rotationDeg: z.ZodNumber;
|
|
2125
|
+
flipX: z.ZodOptional<z.ZodBoolean>;
|
|
2126
|
+
flipY: z.ZodOptional<z.ZodBoolean>;
|
|
2127
|
+
}, z.core.$strict>;
|
|
2128
|
+
zIndex: z.ZodNumber;
|
|
2129
|
+
}, z.core.$strict>], "kind">;
|
|
1229
2130
|
export declare const decorationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1230
2131
|
kind: z.ZodLiteral<DecorationKind.Text>;
|
|
1231
2132
|
text: z.ZodString;
|
|
@@ -1477,6 +2378,7 @@ export declare const mapNameSchema: z.ZodString;
|
|
|
1477
2378
|
export declare const sectionSchema: z.ZodObject<{
|
|
1478
2379
|
id: z.ZodString;
|
|
1479
2380
|
label: z.ZodString;
|
|
2381
|
+
categoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1480
2382
|
displayLabel: z.ZodOptional<z.ZodString>;
|
|
1481
2383
|
outline: z.ZodOptional<z.ZodObject<{
|
|
1482
2384
|
outer: z.ZodArray<z.ZodObject<{
|
|
@@ -1511,6 +2413,12 @@ export declare const sectionSchema: z.ZodObject<{
|
|
|
1511
2413
|
labelStyle: z.ZodObject<{
|
|
1512
2414
|
visible: z.ZodBoolean;
|
|
1513
2415
|
fontSizeM: z.ZodNumber;
|
|
2416
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
2417
|
+
plain: "plain";
|
|
2418
|
+
pill: "pill";
|
|
2419
|
+
}>>;
|
|
2420
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
2421
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1514
2422
|
}, z.core.$strict>;
|
|
1515
2423
|
}, z.core.$strict>;
|
|
1516
2424
|
export declare const uuidSchema: z.ZodString;
|
|
@@ -1524,13 +2432,22 @@ export declare const labelSequenceSchema: z.ZodObject<{
|
|
|
1524
2432
|
direction: z.ZodEnum<typeof LabelDirection>;
|
|
1525
2433
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1526
2434
|
suffix: z.ZodOptional<z.ZodString>;
|
|
2435
|
+
numberFrom: z.ZodOptional<z.ZodEnum<{
|
|
2436
|
+
first: "first";
|
|
2437
|
+
last: "last";
|
|
2438
|
+
}>>;
|
|
2439
|
+
lastAt: z.ZodOptional<z.ZodNumber>;
|
|
1527
2440
|
}, z.core.$strict>;
|
|
1528
2441
|
export declare const inventoryLabelSchema: z.ZodString;
|
|
1529
2442
|
export declare const attributesSchema: z.ZodOptional<z.ZodObject<{
|
|
1530
|
-
|
|
2443
|
+
wheelchair: z.ZodOptional<z.ZodEnum<{
|
|
2444
|
+
seat: "seat";
|
|
2445
|
+
space: "space";
|
|
2446
|
+
}>>;
|
|
2447
|
+
accessNeeds: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AccessNeed>>>;
|
|
2448
|
+
obstructedView: z.ZodOptional<z.ZodBoolean>;
|
|
2449
|
+
premium: z.ZodOptional<z.ZodBoolean>;
|
|
1531
2450
|
restrictedView: z.ZodOptional<z.ZodBoolean>;
|
|
1532
|
-
hearingAssistance: z.ZodOptional<z.ZodBoolean>;
|
|
1533
|
-
semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
|
|
1534
2451
|
companionForSeatId: z.ZodOptional<z.ZodString>;
|
|
1535
2452
|
}, z.core.$strict>>;
|
|
1536
2453
|
export declare const seatOverrideSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -1545,6 +2462,18 @@ export declare const seatOverrideSchema: z.ZodOptional<z.ZodObject<{
|
|
|
1545
2462
|
}, z.core.$strict>>;
|
|
1546
2463
|
}, z.core.$strict>>;
|
|
1547
2464
|
export declare function validateRecipe(group: SeatingGroup): z.ZodSafeParseResult<{
|
|
2465
|
+
diameterM: number;
|
|
2466
|
+
chairGapM: number;
|
|
2467
|
+
startAngleDeg: number;
|
|
2468
|
+
automaticSize?: boolean | undefined;
|
|
2469
|
+
seatArcDeg?: number | undefined;
|
|
2470
|
+
}> | z.ZodSafeParseResult<{
|
|
2471
|
+
widthM: number;
|
|
2472
|
+
depthM: number;
|
|
2473
|
+
chairGapM: number;
|
|
2474
|
+
chairPitchM?: number | undefined;
|
|
2475
|
+
chairDistribution?: TableChairDistribution | undefined;
|
|
2476
|
+
}> | z.ZodSafeParseResult<{
|
|
1548
2477
|
seatPitchM: number;
|
|
1549
2478
|
rowPitchM: number;
|
|
1550
2479
|
rowAlignment?: RowAlignment | undefined;
|
|
@@ -1561,15 +2490,6 @@ export declare function validateRecipe(group: SeatingGroup): z.ZodSafeParseResul
|
|
|
1561
2490
|
seatPitchM: number;
|
|
1562
2491
|
};
|
|
1563
2492
|
axisRatio?: number | undefined;
|
|
1564
|
-
}> | z.ZodSafeParseResult<{
|
|
1565
|
-
widthM: number;
|
|
1566
|
-
depthM: number;
|
|
1567
|
-
chairGapM: number;
|
|
1568
|
-
chairPitchM?: number | undefined;
|
|
1569
|
-
}> | z.ZodSafeParseResult<{
|
|
1570
|
-
diameterM: number;
|
|
1571
|
-
chairGapM: number;
|
|
1572
|
-
startAngleDeg: number;
|
|
1573
2493
|
}>;
|
|
1574
2494
|
export declare function validateSequences(group: SeatingGroup): z.ZodSafeParseResult<{
|
|
1575
2495
|
rows: {
|
|
@@ -1578,6 +2498,8 @@ export declare function validateSequences(group: SeatingGroup): z.ZodSafeParseRe
|
|
|
1578
2498
|
direction: LabelDirection;
|
|
1579
2499
|
prefix?: string | undefined;
|
|
1580
2500
|
suffix?: string | undefined;
|
|
2501
|
+
numberFrom?: "first" | "last" | undefined;
|
|
2502
|
+
lastAt?: number | undefined;
|
|
1581
2503
|
};
|
|
1582
2504
|
seats: {
|
|
1583
2505
|
scheme: NumberingScheme;
|
|
@@ -1585,11 +2507,16 @@ export declare function validateSequences(group: SeatingGroup): z.ZodSafeParseRe
|
|
|
1585
2507
|
direction: LabelDirection;
|
|
1586
2508
|
prefix?: string | undefined;
|
|
1587
2509
|
suffix?: string | undefined;
|
|
2510
|
+
numberFrom?: "first" | "last" | undefined;
|
|
2511
|
+
lastAt?: number | undefined;
|
|
1588
2512
|
};
|
|
1589
2513
|
rowStyle: {
|
|
1590
2514
|
visible: boolean;
|
|
1591
2515
|
fontSizeM: number;
|
|
1592
2516
|
position: RowLabelPosition;
|
|
2517
|
+
color?: string | undefined;
|
|
2518
|
+
style?: "plain" | "pill" | undefined;
|
|
2519
|
+
rotationDeg?: number | undefined;
|
|
1593
2520
|
};
|
|
1594
2521
|
}> | z.ZodSafeParseResult<{
|
|
1595
2522
|
table: string;
|
|
@@ -1599,10 +2526,15 @@ export declare function validateSequences(group: SeatingGroup): z.ZodSafeParseRe
|
|
|
1599
2526
|
direction: LabelDirection;
|
|
1600
2527
|
prefix?: string | undefined;
|
|
1601
2528
|
suffix?: string | undefined;
|
|
2529
|
+
numberFrom?: "first" | "last" | undefined;
|
|
2530
|
+
lastAt?: number | undefined;
|
|
1602
2531
|
};
|
|
1603
2532
|
tableStyle: {
|
|
1604
2533
|
visible: boolean;
|
|
1605
2534
|
fontSizeM: number;
|
|
2535
|
+
style?: "plain" | "pill" | undefined;
|
|
2536
|
+
rotationDeg?: number | undefined;
|
|
2537
|
+
color?: string | undefined;
|
|
1606
2538
|
};
|
|
1607
2539
|
}>;
|
|
1608
2540
|
export declare enum DocumentParseStatus {
|
|
@@ -1618,6 +2550,7 @@ export type ParseResult = {
|
|
|
1618
2550
|
};
|
|
1619
2551
|
export declare function groupSeatCount(group: SeatingGroup): number;
|
|
1620
2552
|
export declare function seatSlots(group: SeatingGroup): Generator<SeatSlot>;
|
|
2553
|
+
export declare function groupInventoryCount(group: SeatingGroup): number;
|
|
1621
2554
|
export declare function capacity(document: PhysicalDocumentV1): {
|
|
1622
2555
|
physicalSeats: number;
|
|
1623
2556
|
gaQuantity: number;
|