@wix/auto_sdk_seatings_seating-reservation 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +410 -82
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +423 -85
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +410 -82
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +423 -85
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +410 -82
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +423 -85
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +410 -82
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +423 -85
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,25 +1,35 @@
|
|
|
1
1
|
export interface SeatingReservation {
|
|
2
2
|
/**
|
|
3
3
|
* The id of the reservation
|
|
4
|
+
* @format GUID
|
|
4
5
|
* @readonly
|
|
5
6
|
*/
|
|
6
7
|
id?: string | null;
|
|
7
8
|
/**
|
|
8
9
|
* The seating plan id
|
|
10
|
+
* @format GUID
|
|
9
11
|
* @readonly
|
|
10
12
|
*/
|
|
11
13
|
seatingPlanId?: string | null;
|
|
12
14
|
/**
|
|
13
15
|
* The external seating plan id
|
|
16
|
+
* @minLength 1
|
|
17
|
+
* @maxLength 100
|
|
14
18
|
* @readonly
|
|
15
19
|
*/
|
|
16
20
|
externalSeatingPlanId?: string | null;
|
|
17
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Reserved places
|
|
23
|
+
* @minSize 1
|
|
24
|
+
* @maxSize 100
|
|
25
|
+
*/
|
|
18
26
|
reservedPlaces?: PlaceReservation[];
|
|
19
27
|
/**
|
|
20
28
|
* A client defined external id for cross referencing.
|
|
21
29
|
* Can reference external entities.
|
|
22
30
|
* Format: "{fqdn}:{entity guid}"
|
|
31
|
+
* @minLength 1
|
|
32
|
+
* @maxLength 100
|
|
23
33
|
*/
|
|
24
34
|
externalId?: string | null;
|
|
25
35
|
/**
|
|
@@ -29,11 +39,17 @@ export interface SeatingReservation {
|
|
|
29
39
|
revision?: string | null;
|
|
30
40
|
}
|
|
31
41
|
export interface PlaceReservation {
|
|
32
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* The place id.
|
|
44
|
+
* @minLength 5
|
|
45
|
+
* @maxLength 11
|
|
46
|
+
*/
|
|
33
47
|
id?: string;
|
|
34
48
|
/**
|
|
35
49
|
* Number of places in the spot. If not provided - defaults to 1.
|
|
36
50
|
* Used to reserve for more that one place in areas.
|
|
51
|
+
* @min 1
|
|
52
|
+
* @max 50
|
|
37
53
|
*/
|
|
38
54
|
capacity?: number | null;
|
|
39
55
|
/**
|
|
@@ -63,11 +79,17 @@ export interface PlaceReservation {
|
|
|
63
79
|
seatLabel?: string | null;
|
|
64
80
|
}
|
|
65
81
|
export interface SeatingPlanCategoriesSummaryUpdated {
|
|
66
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* Seating plan id
|
|
84
|
+
* @format GUID
|
|
85
|
+
*/
|
|
67
86
|
seatingPlanId?: string;
|
|
68
87
|
/** External seating plan id */
|
|
69
88
|
externalSeatingPlanId?: string | null;
|
|
70
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* Ticket counts by category
|
|
91
|
+
* @maxSize 100
|
|
92
|
+
*/
|
|
71
93
|
categories?: CategoryDetails[];
|
|
72
94
|
/**
|
|
73
95
|
* Summary revision.
|
|
@@ -78,16 +100,21 @@ export interface SeatingPlanCategoriesSummaryUpdated {
|
|
|
78
100
|
export interface CategoryDetails {
|
|
79
101
|
/**
|
|
80
102
|
* Seating plan id
|
|
103
|
+
* @format GUID
|
|
81
104
|
* @readonly
|
|
82
105
|
*/
|
|
83
106
|
seatingPlanId?: string | null;
|
|
84
107
|
/**
|
|
85
108
|
* External seating plan id
|
|
109
|
+
* @minLength 1
|
|
110
|
+
* @maxLength 100
|
|
86
111
|
* @readonly
|
|
87
112
|
*/
|
|
88
113
|
externalSeatingPlanId?: string | null;
|
|
89
114
|
/**
|
|
90
115
|
* External category id
|
|
116
|
+
* @minLength 1
|
|
117
|
+
* @maxLength 100
|
|
91
118
|
* @readonly
|
|
92
119
|
*/
|
|
93
120
|
externalCategoryId?: string | null;
|
|
@@ -103,9 +130,15 @@ export interface CategoryDetails {
|
|
|
103
130
|
reserved?: number | null;
|
|
104
131
|
}
|
|
105
132
|
export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
106
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
135
|
+
* @format GUID
|
|
136
|
+
*/
|
|
107
137
|
metaSiteId?: string;
|
|
108
|
-
/**
|
|
138
|
+
/**
|
|
139
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
140
|
+
* @format GUID
|
|
141
|
+
*/
|
|
109
142
|
siteId?: string;
|
|
110
143
|
/** Invalidate by App */
|
|
111
144
|
app?: App;
|
|
@@ -115,7 +148,10 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
115
148
|
uri?: URI;
|
|
116
149
|
/** Invalidate by file (for media files such as PDFs) */
|
|
117
150
|
file?: File;
|
|
118
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* tell us why you're invalidating the cache. You don't need to add your app name
|
|
153
|
+
* @maxLength 256
|
|
154
|
+
*/
|
|
119
155
|
reason?: string | null;
|
|
120
156
|
/** Is local DS */
|
|
121
157
|
localDc?: boolean;
|
|
@@ -123,9 +159,15 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
123
159
|
}
|
|
124
160
|
/** @oneof */
|
|
125
161
|
export interface InvalidateCacheGetByOneOf {
|
|
126
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
164
|
+
* @format GUID
|
|
165
|
+
*/
|
|
127
166
|
metaSiteId?: string;
|
|
128
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
169
|
+
* @format GUID
|
|
170
|
+
*/
|
|
129
171
|
siteId?: string;
|
|
130
172
|
/** Invalidate by App */
|
|
131
173
|
app?: App;
|
|
@@ -137,27 +179,52 @@ export interface InvalidateCacheGetByOneOf {
|
|
|
137
179
|
file?: File;
|
|
138
180
|
}
|
|
139
181
|
export interface App {
|
|
140
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* The AppDefId
|
|
184
|
+
* @minLength 1
|
|
185
|
+
*/
|
|
141
186
|
appDefId?: string;
|
|
142
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* The instance Id
|
|
189
|
+
* @format GUID
|
|
190
|
+
*/
|
|
143
191
|
instanceId?: string;
|
|
144
192
|
}
|
|
145
193
|
export interface Page {
|
|
146
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* the msid the page is on
|
|
196
|
+
* @format GUID
|
|
197
|
+
*/
|
|
147
198
|
metaSiteId?: string;
|
|
148
|
-
/**
|
|
199
|
+
/**
|
|
200
|
+
* Invalidate by Page ID
|
|
201
|
+
* @minLength 1
|
|
202
|
+
*/
|
|
149
203
|
pageId?: string;
|
|
150
204
|
}
|
|
151
205
|
export interface URI {
|
|
152
|
-
/**
|
|
206
|
+
/**
|
|
207
|
+
* the msid the URI is on
|
|
208
|
+
* @format GUID
|
|
209
|
+
*/
|
|
153
210
|
metaSiteId?: string;
|
|
154
|
-
/**
|
|
211
|
+
/**
|
|
212
|
+
* URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
|
|
213
|
+
* @minLength 1
|
|
214
|
+
*/
|
|
155
215
|
uriPath?: string;
|
|
156
216
|
}
|
|
157
217
|
export interface File {
|
|
158
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* the msid the file is related to
|
|
220
|
+
* @format GUID
|
|
221
|
+
*/
|
|
159
222
|
metaSiteId?: string;
|
|
160
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* Invalidate by filename (for media files such as PDFs)
|
|
225
|
+
* @minLength 1
|
|
226
|
+
* @maxLength 256
|
|
227
|
+
*/
|
|
161
228
|
fileName?: string;
|
|
162
229
|
}
|
|
163
230
|
export interface CreateSeatingReservationRequest {
|
|
@@ -169,13 +236,25 @@ export interface CreateSeatingReservationResponse {
|
|
|
169
236
|
reservation?: SeatingReservation;
|
|
170
237
|
}
|
|
171
238
|
export interface Places {
|
|
172
|
-
/**
|
|
239
|
+
/**
|
|
240
|
+
* Places
|
|
241
|
+
* @minSize 1
|
|
242
|
+
* @maxSize 100
|
|
243
|
+
*/
|
|
173
244
|
places?: string[];
|
|
174
245
|
}
|
|
175
246
|
export interface UnavailablePlaces {
|
|
176
|
-
/**
|
|
247
|
+
/**
|
|
248
|
+
* Places that cannot be reserved
|
|
249
|
+
* @minSize 1
|
|
250
|
+
* @maxSize 100
|
|
251
|
+
*/
|
|
177
252
|
unavailablePlaces?: string[];
|
|
178
|
-
/**
|
|
253
|
+
/**
|
|
254
|
+
* Reservation error details
|
|
255
|
+
* @minSize 1
|
|
256
|
+
* @maxSize 100
|
|
257
|
+
*/
|
|
179
258
|
reservationErrorDetails?: ReservationErrorDetails[];
|
|
180
259
|
}
|
|
181
260
|
export interface ReservationErrorDetails {
|
|
@@ -187,7 +266,10 @@ export interface ReservationErrorDetails {
|
|
|
187
266
|
requested?: number;
|
|
188
267
|
}
|
|
189
268
|
export interface GetReservationRequest {
|
|
190
|
-
/**
|
|
269
|
+
/**
|
|
270
|
+
* The id of the reservation to return
|
|
271
|
+
* @format GUID
|
|
272
|
+
*/
|
|
191
273
|
id: string | null;
|
|
192
274
|
}
|
|
193
275
|
export interface GetReservationResponse {
|
|
@@ -228,7 +310,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
228
310
|
cursorPaging?: CursorPaging;
|
|
229
311
|
}
|
|
230
312
|
export interface Sorting {
|
|
231
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* Name of the field to sort by.
|
|
315
|
+
* @maxLength 512
|
|
316
|
+
*/
|
|
232
317
|
fieldName?: string;
|
|
233
318
|
/** Sort order. */
|
|
234
319
|
order?: SortOrder;
|
|
@@ -244,13 +329,17 @@ export interface Paging {
|
|
|
244
329
|
offset?: number | null;
|
|
245
330
|
}
|
|
246
331
|
export interface CursorPaging {
|
|
247
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* Maximum number of items to return in the results.
|
|
334
|
+
* @max 100
|
|
335
|
+
*/
|
|
248
336
|
limit?: number | null;
|
|
249
337
|
/**
|
|
250
338
|
* Pointer to the next or previous page in the list of results.
|
|
251
339
|
*
|
|
252
340
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
253
341
|
* Not relevant for the first request.
|
|
342
|
+
* @maxLength 16000
|
|
254
343
|
*/
|
|
255
344
|
cursor?: string | null;
|
|
256
345
|
}
|
|
@@ -273,13 +362,22 @@ export interface PagingMetadataV2 {
|
|
|
273
362
|
cursors?: Cursors;
|
|
274
363
|
}
|
|
275
364
|
export interface Cursors {
|
|
276
|
-
/**
|
|
365
|
+
/**
|
|
366
|
+
* Cursor string pointing to the next page in the list of results.
|
|
367
|
+
* @maxLength 16000
|
|
368
|
+
*/
|
|
277
369
|
next?: string | null;
|
|
278
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* Cursor pointing to the previous page in the list of results.
|
|
372
|
+
* @maxLength 16000
|
|
373
|
+
*/
|
|
279
374
|
prev?: string | null;
|
|
280
375
|
}
|
|
281
376
|
export interface DeleteSeatingReservationRequest {
|
|
282
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* The id of the reservation to delete
|
|
379
|
+
* @format GUID
|
|
380
|
+
*/
|
|
283
381
|
id: string | null;
|
|
284
382
|
}
|
|
285
383
|
export interface DeleteSeatingReservationResponse {
|
|
@@ -289,15 +387,25 @@ export interface DeleteSeatingReservationResponse {
|
|
|
289
387
|
export interface DeleteSeatingPlaceReservationRequest {
|
|
290
388
|
/** The id of the place reservation to delete */
|
|
291
389
|
id?: string | null;
|
|
292
|
-
/**
|
|
390
|
+
/**
|
|
391
|
+
* The id of the place reservation's reservation
|
|
392
|
+
* @format GUID
|
|
393
|
+
*/
|
|
293
394
|
reservationId?: string | null;
|
|
294
395
|
}
|
|
295
396
|
export interface Empty {
|
|
296
397
|
}
|
|
297
398
|
export interface CancelSeatingPlaceReservationsRequest {
|
|
298
|
-
/**
|
|
399
|
+
/**
|
|
400
|
+
* The id of the place reservations' reservation
|
|
401
|
+
* @format GUID
|
|
402
|
+
*/
|
|
299
403
|
reservationId?: string | null;
|
|
300
|
-
/**
|
|
404
|
+
/**
|
|
405
|
+
* The place reservations to cancel
|
|
406
|
+
* @minSize 1
|
|
407
|
+
* @maxSize 100
|
|
408
|
+
*/
|
|
301
409
|
placeReservations?: PlaceReservationDetails[];
|
|
302
410
|
}
|
|
303
411
|
export interface PlaceReservationDetails {
|
|
@@ -317,7 +425,10 @@ export interface UpdateSeatingReservationResponse {
|
|
|
317
425
|
reservation?: SeatingReservation;
|
|
318
426
|
}
|
|
319
427
|
export interface GetReservedPlacesRequest {
|
|
320
|
-
/**
|
|
428
|
+
/**
|
|
429
|
+
* Seating plan id
|
|
430
|
+
* @format GUID
|
|
431
|
+
*/
|
|
321
432
|
id?: string | null;
|
|
322
433
|
}
|
|
323
434
|
export interface GetReservedPlacesResponse {
|
|
@@ -325,24 +436,37 @@ export interface GetReservedPlacesResponse {
|
|
|
325
436
|
placeReservations?: PlaceReservation[];
|
|
326
437
|
}
|
|
327
438
|
export interface GetSeatingCategorySummaryRequest {
|
|
328
|
-
/**
|
|
439
|
+
/**
|
|
440
|
+
* Seating plan external id
|
|
441
|
+
* @minLength 1
|
|
442
|
+
* @maxLength 100
|
|
443
|
+
*/
|
|
329
444
|
externalId?: string;
|
|
330
445
|
}
|
|
331
446
|
export interface GetSeatingCategorySummaryResponse {
|
|
332
|
-
/**
|
|
447
|
+
/**
|
|
448
|
+
* Ticket counts by category
|
|
449
|
+
* @maxSize 50000
|
|
450
|
+
*/
|
|
333
451
|
categories?: CategoryDetails[];
|
|
334
452
|
}
|
|
335
453
|
export interface GetSeatingReservationSummaryRequest {
|
|
336
|
-
/**
|
|
454
|
+
/**
|
|
455
|
+
* Seating plan external id
|
|
456
|
+
* @minLength 1
|
|
457
|
+
* @maxLength 100
|
|
458
|
+
*/
|
|
337
459
|
externalId: string;
|
|
338
460
|
}
|
|
339
461
|
export interface GetSeatingReservationSummaryResponse {
|
|
340
462
|
plan?: SeatingPlan;
|
|
463
|
+
/** @maxSize 50000 */
|
|
341
464
|
places?: PlaceReservationDetails[];
|
|
342
465
|
}
|
|
343
466
|
export interface SeatingPlan {
|
|
344
467
|
/**
|
|
345
468
|
* Auto generated unique plan id
|
|
469
|
+
* @format GUID
|
|
346
470
|
* @readonly
|
|
347
471
|
*/
|
|
348
472
|
id?: string | null;
|
|
@@ -350,13 +474,25 @@ export interface SeatingPlan {
|
|
|
350
474
|
* A client defined external id for cross referencing.
|
|
351
475
|
* Can reference external entities.
|
|
352
476
|
* Format: "{fqdn}:{entity guid}"
|
|
477
|
+
* @minLength 1
|
|
478
|
+
* @maxLength 100
|
|
353
479
|
*/
|
|
354
480
|
externalId?: string | null;
|
|
355
|
-
/**
|
|
481
|
+
/**
|
|
482
|
+
* Human friendly plan title
|
|
483
|
+
* @minLength 1
|
|
484
|
+
* @maxLength 120
|
|
485
|
+
*/
|
|
356
486
|
title?: string | null;
|
|
357
|
-
/**
|
|
487
|
+
/**
|
|
488
|
+
* Sections of the plan. Seating plan is divided in high level sections.
|
|
489
|
+
* @maxSize 100
|
|
490
|
+
*/
|
|
358
491
|
sections?: Section[];
|
|
359
|
-
/**
|
|
492
|
+
/**
|
|
493
|
+
* Categories for plan element grouping.
|
|
494
|
+
* @maxSize 100
|
|
495
|
+
*/
|
|
360
496
|
categories?: Category[];
|
|
361
497
|
/**
|
|
362
498
|
* Seating plan created timestamp.
|
|
@@ -380,6 +516,7 @@ export interface SeatingPlan {
|
|
|
380
516
|
totalCategories?: number | null;
|
|
381
517
|
/**
|
|
382
518
|
* Places not assigned to categories
|
|
519
|
+
* @maxSize 50000
|
|
383
520
|
* @readonly
|
|
384
521
|
*/
|
|
385
522
|
uncategorizedPlaces?: Place[];
|
|
@@ -392,20 +529,30 @@ export interface SeatingPlan {
|
|
|
392
529
|
extendedFields?: ExtendedFields;
|
|
393
530
|
/** Seating Plan UI settings */
|
|
394
531
|
uiProperties?: SeatingPlanUiProperties;
|
|
395
|
-
/**
|
|
532
|
+
/**
|
|
533
|
+
* Element groups
|
|
534
|
+
* @maxSize 1000
|
|
535
|
+
*/
|
|
396
536
|
elementGroups?: ElementGroup[];
|
|
397
537
|
}
|
|
398
538
|
export interface Section {
|
|
399
539
|
/** Unique section id */
|
|
400
540
|
id?: number;
|
|
401
|
-
/**
|
|
541
|
+
/**
|
|
542
|
+
* Human readable section title
|
|
543
|
+
* @minLength 1
|
|
544
|
+
* @maxLength 20
|
|
545
|
+
*/
|
|
402
546
|
title?: string | null;
|
|
403
547
|
/**
|
|
404
548
|
* Client configuration object
|
|
405
549
|
* @readonly
|
|
406
550
|
*/
|
|
407
551
|
config?: Record<string, any> | null;
|
|
408
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* Elements of the section.
|
|
554
|
+
* @maxSize 1000
|
|
555
|
+
*/
|
|
409
556
|
elements?: Element[];
|
|
410
557
|
/**
|
|
411
558
|
* Total capacity
|
|
@@ -419,22 +566,37 @@ export interface Section {
|
|
|
419
566
|
default?: boolean;
|
|
420
567
|
}
|
|
421
568
|
export interface Element {
|
|
422
|
-
/**
|
|
569
|
+
/**
|
|
570
|
+
* Unique element id
|
|
571
|
+
* @min 1
|
|
572
|
+
*/
|
|
423
573
|
id?: number;
|
|
424
|
-
/**
|
|
574
|
+
/**
|
|
575
|
+
* User friendly title/label of the element.
|
|
576
|
+
* @minLength 1
|
|
577
|
+
* @maxLength 50
|
|
578
|
+
*/
|
|
425
579
|
title?: string | null;
|
|
426
580
|
/** Element type */
|
|
427
581
|
type?: Type;
|
|
428
|
-
/**
|
|
582
|
+
/**
|
|
583
|
+
* Capacity. None for Shape type Element.
|
|
584
|
+
* @min 1
|
|
585
|
+
* @max 50000
|
|
586
|
+
*/
|
|
429
587
|
capacity?: number | null;
|
|
430
588
|
/** Assigned to a category */
|
|
431
589
|
categoryId?: number | null;
|
|
432
590
|
/** A place numbering meta data */
|
|
433
591
|
sequencing?: Sequencing;
|
|
434
|
-
/**
|
|
592
|
+
/**
|
|
593
|
+
* Place override (by seq_id)
|
|
594
|
+
* @maxSize 2000
|
|
595
|
+
*/
|
|
435
596
|
overrides?: Place[];
|
|
436
597
|
/**
|
|
437
598
|
* Final place sequence with overrides
|
|
599
|
+
* @maxSize 200
|
|
438
600
|
* @readonly
|
|
439
601
|
*/
|
|
440
602
|
places?: Place[];
|
|
@@ -456,9 +618,16 @@ export declare enum Type {
|
|
|
456
618
|
SHAPE = "SHAPE"
|
|
457
619
|
}
|
|
458
620
|
export interface Sequencing {
|
|
459
|
-
/**
|
|
621
|
+
/**
|
|
622
|
+
* First seq element
|
|
623
|
+
* @minLength 1
|
|
624
|
+
* @maxLength 4
|
|
625
|
+
*/
|
|
460
626
|
startAt?: string;
|
|
461
|
-
/**
|
|
627
|
+
/**
|
|
628
|
+
* Finite generated seq of labels
|
|
629
|
+
* @maxSize 2500
|
|
630
|
+
*/
|
|
462
631
|
labels?: string[];
|
|
463
632
|
/** If true - direction right to left. Otherwise left to right. */
|
|
464
633
|
reverseOrder?: boolean | null;
|
|
@@ -471,7 +640,11 @@ export interface Place {
|
|
|
471
640
|
* @readonly
|
|
472
641
|
*/
|
|
473
642
|
id?: string | null;
|
|
474
|
-
/**
|
|
643
|
+
/**
|
|
644
|
+
* Unique label of the place
|
|
645
|
+
* @minLength 1
|
|
646
|
+
* @maxLength 4
|
|
647
|
+
*/
|
|
475
648
|
label?: string;
|
|
476
649
|
/**
|
|
477
650
|
* Max capacity per place
|
|
@@ -505,30 +678,76 @@ export interface ReservationOptions {
|
|
|
505
678
|
reserveWholeElement?: boolean;
|
|
506
679
|
}
|
|
507
680
|
export interface ElementUiProperties {
|
|
681
|
+
/**
|
|
682
|
+
* @min -1000000
|
|
683
|
+
* @max 1000000
|
|
684
|
+
*/
|
|
508
685
|
x?: number | null;
|
|
686
|
+
/**
|
|
687
|
+
* @min -1000000
|
|
688
|
+
* @max 1000000
|
|
689
|
+
*/
|
|
509
690
|
y?: number | null;
|
|
691
|
+
/**
|
|
692
|
+
* @min -1000000
|
|
693
|
+
* @max 1000000
|
|
694
|
+
*/
|
|
510
695
|
zIndex?: number | null;
|
|
696
|
+
/** @max 1000000 */
|
|
511
697
|
width?: number | null;
|
|
698
|
+
/** @max 1000000 */
|
|
512
699
|
height?: number | null;
|
|
700
|
+
/**
|
|
701
|
+
* @min -180
|
|
702
|
+
* @max 180
|
|
703
|
+
*/
|
|
513
704
|
rotationAngle?: number | null;
|
|
514
705
|
shapeType?: ShapeTypeEnumType;
|
|
706
|
+
/**
|
|
707
|
+
* @min 10
|
|
708
|
+
* @max 176
|
|
709
|
+
*/
|
|
515
710
|
fontSize?: number | null;
|
|
711
|
+
/** @max 1000000 */
|
|
516
712
|
cornerRadius?: number | null;
|
|
713
|
+
/**
|
|
714
|
+
* @min 1
|
|
715
|
+
* @max 60
|
|
716
|
+
*/
|
|
517
717
|
seatSpacing?: number | null;
|
|
518
718
|
hideLabel?: boolean | null;
|
|
519
719
|
labelPosition?: Position;
|
|
520
720
|
seatLayout?: number[];
|
|
721
|
+
/** @max 50 */
|
|
521
722
|
emptyTopSeatSpaces?: number | null;
|
|
522
|
-
/**
|
|
723
|
+
/**
|
|
724
|
+
* needs research
|
|
725
|
+
* @minLength 1
|
|
726
|
+
* @maxLength 10000
|
|
727
|
+
*/
|
|
523
728
|
text?: string | null;
|
|
524
|
-
/**
|
|
729
|
+
/**
|
|
730
|
+
* #F0F0F0
|
|
731
|
+
* @format COLOR_HEX
|
|
732
|
+
*/
|
|
525
733
|
color?: string | null;
|
|
526
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* #F0F0F0
|
|
736
|
+
* @format COLOR_HEX
|
|
737
|
+
*/
|
|
527
738
|
fillColor?: string | null;
|
|
528
|
-
/**
|
|
739
|
+
/**
|
|
740
|
+
* #F0F0F0
|
|
741
|
+
* @format COLOR_HEX
|
|
742
|
+
*/
|
|
529
743
|
strokeColor?: string | null;
|
|
530
|
-
/**
|
|
744
|
+
/**
|
|
745
|
+
* px
|
|
746
|
+
* @min 1
|
|
747
|
+
* @max 6
|
|
748
|
+
*/
|
|
531
749
|
strokeWidth?: number | null;
|
|
750
|
+
/** @max 100 */
|
|
532
751
|
opacity?: number | null;
|
|
533
752
|
icon?: Icon;
|
|
534
753
|
image?: Image;
|
|
@@ -591,21 +810,42 @@ export declare enum Numbering {
|
|
|
591
810
|
ALPHABETICAL = "ALPHABETICAL"
|
|
592
811
|
}
|
|
593
812
|
export interface MultiRowProperties {
|
|
594
|
-
/**
|
|
813
|
+
/**
|
|
814
|
+
* Individual rows of the multi row element
|
|
815
|
+
* @maxSize 1000
|
|
816
|
+
*/
|
|
595
817
|
rows?: RowElement[];
|
|
596
818
|
/** Meta data for vertical labeling */
|
|
597
819
|
verticalSequencing?: VerticalSequencing;
|
|
598
|
-
/**
|
|
820
|
+
/**
|
|
821
|
+
* Row spacing
|
|
822
|
+
* @min 1
|
|
823
|
+
* @max 60
|
|
824
|
+
*/
|
|
599
825
|
rowSpacing?: number | null;
|
|
600
|
-
/**
|
|
826
|
+
/**
|
|
827
|
+
* Amount of seats in the row
|
|
828
|
+
* @max 50
|
|
829
|
+
*/
|
|
601
830
|
seatAmount?: number | null;
|
|
602
831
|
}
|
|
603
832
|
export interface RowElement {
|
|
604
|
-
/**
|
|
833
|
+
/**
|
|
834
|
+
* Unique row id
|
|
835
|
+
* @min 1
|
|
836
|
+
*/
|
|
605
837
|
id?: number;
|
|
606
|
-
/**
|
|
838
|
+
/**
|
|
839
|
+
* User friendly title/label of the row
|
|
840
|
+
* @minLength 1
|
|
841
|
+
* @maxLength 50
|
|
842
|
+
*/
|
|
607
843
|
title?: string | null;
|
|
608
|
-
/**
|
|
844
|
+
/**
|
|
845
|
+
* Row capacity
|
|
846
|
+
* @min 1
|
|
847
|
+
* @max 50000
|
|
848
|
+
*/
|
|
609
849
|
capacity?: number | null;
|
|
610
850
|
/** Assigned to a category */
|
|
611
851
|
categoryId?: number | null;
|
|
@@ -615,13 +855,27 @@ export interface RowElement {
|
|
|
615
855
|
uiProperties?: RowElementUiProperties;
|
|
616
856
|
}
|
|
617
857
|
export interface RowElementUiProperties {
|
|
618
|
-
/**
|
|
858
|
+
/**
|
|
859
|
+
* Relative x position to the parent element
|
|
860
|
+
* @min -1000000
|
|
861
|
+
* @max 1000000
|
|
862
|
+
*/
|
|
619
863
|
relativeX?: number | null;
|
|
620
|
-
/**
|
|
864
|
+
/**
|
|
865
|
+
* Width of the row
|
|
866
|
+
* @max 1000000
|
|
867
|
+
*/
|
|
621
868
|
width?: number | null;
|
|
622
|
-
/**
|
|
869
|
+
/**
|
|
870
|
+
* Amount of seats in the row
|
|
871
|
+
* @max 50
|
|
872
|
+
*/
|
|
623
873
|
seatAmount?: number | null;
|
|
624
|
-
/**
|
|
874
|
+
/**
|
|
875
|
+
* Seat spacing
|
|
876
|
+
* @min 1
|
|
877
|
+
* @max 60
|
|
878
|
+
*/
|
|
625
879
|
seatSpacing?: number | null;
|
|
626
880
|
/** Label position */
|
|
627
881
|
labelPosition?: Position;
|
|
@@ -629,7 +883,11 @@ export interface RowElementUiProperties {
|
|
|
629
883
|
seatNumbering?: Numbering;
|
|
630
884
|
}
|
|
631
885
|
export interface VerticalSequencing {
|
|
632
|
-
/**
|
|
886
|
+
/**
|
|
887
|
+
* First seq element
|
|
888
|
+
* @minLength 1
|
|
889
|
+
* @maxLength 4
|
|
890
|
+
*/
|
|
633
891
|
startAt?: string;
|
|
634
892
|
/** Row numbering */
|
|
635
893
|
rowNumbering?: Numbering;
|
|
@@ -637,15 +895,24 @@ export interface VerticalSequencing {
|
|
|
637
895
|
reverseOrder?: boolean | null;
|
|
638
896
|
}
|
|
639
897
|
export interface Category {
|
|
640
|
-
/**
|
|
898
|
+
/**
|
|
899
|
+
* Local category id within the seating plan
|
|
900
|
+
* @min 1
|
|
901
|
+
*/
|
|
641
902
|
id?: number;
|
|
642
903
|
/**
|
|
643
904
|
* A client defined external id for cross referencing.
|
|
644
905
|
* Can reference external entities.
|
|
645
906
|
* Format: "{entity_fqdn}:{entity_id}"
|
|
907
|
+
* @minLength 1
|
|
908
|
+
* @maxLength 100
|
|
646
909
|
*/
|
|
647
910
|
externalId?: string | null;
|
|
648
|
-
/**
|
|
911
|
+
/**
|
|
912
|
+
* Category label
|
|
913
|
+
* @minLength 1
|
|
914
|
+
* @maxLength 120
|
|
915
|
+
*/
|
|
649
916
|
title?: string;
|
|
650
917
|
/**
|
|
651
918
|
* Client configuration object
|
|
@@ -659,6 +926,7 @@ export interface Category {
|
|
|
659
926
|
totalCapacity?: number | null;
|
|
660
927
|
/**
|
|
661
928
|
* Possible places
|
|
929
|
+
* @maxSize 50000
|
|
662
930
|
* @readonly
|
|
663
931
|
*/
|
|
664
932
|
places?: Place[];
|
|
@@ -675,12 +943,19 @@ export interface ExtendedFields {
|
|
|
675
943
|
namespaces?: Record<string, Record<string, any>>;
|
|
676
944
|
}
|
|
677
945
|
export interface SeatingPlanUiProperties {
|
|
678
|
-
/**
|
|
946
|
+
/**
|
|
947
|
+
* #F0F0F0
|
|
948
|
+
* @format COLOR_HEX
|
|
949
|
+
*/
|
|
679
950
|
backgroundColor?: string | null;
|
|
951
|
+
/** @max 100 */
|
|
680
952
|
backgroundOpacity?: number | null;
|
|
681
953
|
}
|
|
682
954
|
export interface ElementGroup {
|
|
683
|
-
/**
|
|
955
|
+
/**
|
|
956
|
+
* Unique element group id
|
|
957
|
+
* @min 1
|
|
958
|
+
*/
|
|
684
959
|
id?: number;
|
|
685
960
|
/** Parent group id */
|
|
686
961
|
parentElementGroupId?: number | null;
|
|
@@ -688,26 +963,49 @@ export interface ElementGroup {
|
|
|
688
963
|
uiProperties?: ElementGroupUiProperties;
|
|
689
964
|
}
|
|
690
965
|
export interface ElementGroupUiProperties {
|
|
691
|
-
/**
|
|
966
|
+
/**
|
|
967
|
+
* x position of the group
|
|
968
|
+
* @min -1000000
|
|
969
|
+
* @max 1000000
|
|
970
|
+
*/
|
|
692
971
|
x?: number | null;
|
|
693
|
-
/**
|
|
972
|
+
/**
|
|
973
|
+
* y position of the group
|
|
974
|
+
* @min -1000000
|
|
975
|
+
* @max 1000000
|
|
976
|
+
*/
|
|
694
977
|
y?: number | null;
|
|
695
|
-
/**
|
|
978
|
+
/**
|
|
979
|
+
* width of the group
|
|
980
|
+
* @max 1000000
|
|
981
|
+
*/
|
|
696
982
|
width?: number | null;
|
|
697
|
-
/**
|
|
983
|
+
/**
|
|
984
|
+
* height of the group
|
|
985
|
+
* @max 1000000
|
|
986
|
+
*/
|
|
698
987
|
height?: number | null;
|
|
699
|
-
/**
|
|
988
|
+
/**
|
|
989
|
+
* rotation angle of the group
|
|
990
|
+
* @min -180
|
|
991
|
+
* @max 180
|
|
992
|
+
*/
|
|
700
993
|
rotationAngle?: number | null;
|
|
701
994
|
}
|
|
702
995
|
export interface RegenerateSummariesRequest {
|
|
703
|
-
/**
|
|
996
|
+
/**
|
|
997
|
+
* Seating plan id
|
|
998
|
+
* @format GUID
|
|
999
|
+
*/
|
|
704
1000
|
planId?: string | null;
|
|
705
1001
|
}
|
|
706
1002
|
export interface RegenerateSummariesResponse {
|
|
707
1003
|
seatingReservationsSummary?: SeatingReservationsSummary;
|
|
1004
|
+
/** @maxSize 50000 */
|
|
708
1005
|
categories?: CategoryDetails[];
|
|
709
1006
|
}
|
|
710
1007
|
export interface SeatingReservationsSummary {
|
|
1008
|
+
/** @maxSize 50000 */
|
|
711
1009
|
places?: PlaceReservationDetails[];
|
|
712
1010
|
}
|
|
713
1011
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -783,9 +1081,15 @@ export interface ActionEvent {
|
|
|
783
1081
|
bodyAsJson?: string;
|
|
784
1082
|
}
|
|
785
1083
|
export interface MessageEnvelope {
|
|
786
|
-
/**
|
|
1084
|
+
/**
|
|
1085
|
+
* App instance ID.
|
|
1086
|
+
* @format GUID
|
|
1087
|
+
*/
|
|
787
1088
|
instanceId?: string | null;
|
|
788
|
-
/**
|
|
1089
|
+
/**
|
|
1090
|
+
* Event type.
|
|
1091
|
+
* @maxLength 150
|
|
1092
|
+
*/
|
|
789
1093
|
eventType?: string;
|
|
790
1094
|
/** The identification type and identity data. */
|
|
791
1095
|
identity?: IdentificationData;
|
|
@@ -793,26 +1097,50 @@ export interface MessageEnvelope {
|
|
|
793
1097
|
data?: string;
|
|
794
1098
|
}
|
|
795
1099
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
796
|
-
/**
|
|
1100
|
+
/**
|
|
1101
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1102
|
+
* @format GUID
|
|
1103
|
+
*/
|
|
797
1104
|
anonymousVisitorId?: string;
|
|
798
|
-
/**
|
|
1105
|
+
/**
|
|
1106
|
+
* ID of a site visitor that has logged in to the site.
|
|
1107
|
+
* @format GUID
|
|
1108
|
+
*/
|
|
799
1109
|
memberId?: string;
|
|
800
|
-
/**
|
|
1110
|
+
/**
|
|
1111
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1112
|
+
* @format GUID
|
|
1113
|
+
*/
|
|
801
1114
|
wixUserId?: string;
|
|
802
|
-
/**
|
|
1115
|
+
/**
|
|
1116
|
+
* ID of an app.
|
|
1117
|
+
* @format GUID
|
|
1118
|
+
*/
|
|
803
1119
|
appId?: string;
|
|
804
1120
|
/** @readonly */
|
|
805
1121
|
identityType?: WebhookIdentityType;
|
|
806
1122
|
}
|
|
807
1123
|
/** @oneof */
|
|
808
1124
|
export interface IdentificationDataIdOneOf {
|
|
809
|
-
/**
|
|
1125
|
+
/**
|
|
1126
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1127
|
+
* @format GUID
|
|
1128
|
+
*/
|
|
810
1129
|
anonymousVisitorId?: string;
|
|
811
|
-
/**
|
|
1130
|
+
/**
|
|
1131
|
+
* ID of a site visitor that has logged in to the site.
|
|
1132
|
+
* @format GUID
|
|
1133
|
+
*/
|
|
812
1134
|
memberId?: string;
|
|
813
|
-
/**
|
|
1135
|
+
/**
|
|
1136
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1137
|
+
* @format GUID
|
|
1138
|
+
*/
|
|
814
1139
|
wixUserId?: string;
|
|
815
|
-
/**
|
|
1140
|
+
/**
|
|
1141
|
+
* ID of an app.
|
|
1142
|
+
* @format GUID
|
|
1143
|
+
*/
|
|
816
1144
|
appId?: string;
|
|
817
1145
|
}
|
|
818
1146
|
export declare enum WebhookIdentityType {
|