@wix/auto_sdk_seatings_seating-plan 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.
Files changed (25) hide show
  1. package/build/cjs/src/seating-v1-seating-plan-seating-plan.context.d.ts +1 -1
  2. package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.d.ts +325 -78
  3. package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.js.map +1 -1
  4. package/build/cjs/src/seating-v1-seating-plan-seating-plan.universal.d.ts +379 -85
  5. package/build/cjs/src/seating-v1-seating-plan-seating-plan.universal.js +27 -0
  6. package/build/cjs/src/seating-v1-seating-plan-seating-plan.universal.js.map +1 -1
  7. package/build/es/src/seating-v1-seating-plan-seating-plan.context.d.ts +1 -1
  8. package/build/es/src/seating-v1-seating-plan-seating-plan.types.d.ts +325 -78
  9. package/build/es/src/seating-v1-seating-plan-seating-plan.types.js.map +1 -1
  10. package/build/es/src/seating-v1-seating-plan-seating-plan.universal.d.ts +379 -85
  11. package/build/es/src/seating-v1-seating-plan-seating-plan.universal.js +27 -0
  12. package/build/es/src/seating-v1-seating-plan-seating-plan.universal.js.map +1 -1
  13. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.context.d.ts +1 -1
  14. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.types.d.ts +325 -78
  15. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.types.js.map +1 -1
  16. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.d.ts +379 -85
  17. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.js +27 -0
  18. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.js.map +1 -1
  19. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.context.d.ts +1 -1
  20. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.d.ts +325 -78
  21. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.js.map +1 -1
  22. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.d.ts +379 -85
  23. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.js +27 -0
  24. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.js.map +1 -1
  25. package/package.json +2 -2
@@ -20,4 +20,4 @@ export declare const onSeatingPlanDeleted: ReturnType<typeof createEventModule<t
20
20
  /** */
21
21
  export declare const onSeatingPlanUpdated: ReturnType<typeof createEventModule<typeof publicOnSeatingPlanUpdated>>;
22
22
  export { Type, PlaceTypeEnumType, ShapeTypeEnumType, Position, Icon, Numbering, SortOrder, Fieldset, WebhookIdentityType, } from './seating-v1-seating-plan-seating-plan.universal.js';
23
- export { SeatingPlan, Section, Element, Sequencing, Place, ReservationOptions, ElementUiProperties, Image, MultiRowProperties, RowElement, RowElementUiProperties, VerticalSequencing, Category, ExtendedFields, SeatingPlanUiProperties, ElementGroup, ElementGroupUiProperties, CreateSeatingPlanRequest, CreateSeatingPlanResponse, CapacityExceededViolation, UpdateSeatingPlanRequest, UpdateSeatingPlanResponse, CopySeatingPlanRequest, CopySeatingPlanResponse, QuerySeatingPlanRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QuerySeatingPlanResponse, GetSeatingPlanRequest, SeatingPlanMask, GetSeatingPlanResponse, FindSeatingPlanRequest, FindSeatingPlanResponse, DeleteSeatingPlanRequest, DeleteSeatingPlanResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, UpdateSeatingPlanThumbnailRequest, SeatingPlanThumbnail, UpdateSeatingPlanThumbnailResponse, GetSeatingPlanThumbnailRequest, GetSeatingPlanThumbnailResponse, SaveSeatingPlanVersionRequest, SaveSeatingPlanVersionResponse, QuerySeatingPlanVersionsRequest, QuerySeatingPlanVersionsResponse, PagingMetadataV2, Cursors, DiscardSeatingPlanVersionsRequest, DiscardSeatingPlanVersionsResponse, RestoreSeatingPlanRequest, RestoreSeatingPlanResponse, SeatingPlanNonNullableFields, CreateSeatingPlanResponseNonNullableFields, UpdateSeatingPlanResponseNonNullableFields, CopySeatingPlanResponseNonNullableFields, QuerySeatingPlanResponseNonNullableFields, GetSeatingPlanResponseNonNullableFields, FindSeatingPlanResponseNonNullableFields, DeleteSeatingPlanResponseNonNullableFields, BaseEventMetadata, EventMetadata, SeatingPlanCreatedEnvelope, SeatingPlanDeletedEnvelope, SeatingPlanUpdatedEnvelope, UpdateSeatingPlanOptions, CopySeatingPlanOptions, QuerySeatingPlanOptions, PlansQueryResult, PlansQueryBuilder, GetSeatingPlanOptions, FindSeatingPlanOptions, } from './seating-v1-seating-plan-seating-plan.universal.js';
23
+ export { SeatingPlan, Section, Element, Sequencing, Place, ReservationOptions, ElementUiProperties, Image, MultiRowProperties, RowElement, RowElementUiProperties, VerticalSequencing, Category, ExtendedFields, SeatingPlanUiProperties, ElementGroup, ElementGroupUiProperties, CreateSeatingPlanRequest, CreateSeatingPlanResponse, CapacityExceededViolation, UpdateSeatingPlanRequest, UpdateSeatingPlanResponse, CopySeatingPlanRequest, CopySeatingPlanResponse, QuerySeatingPlanRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QuerySeatingPlanResponse, GetSeatingPlanRequest, SeatingPlanMask, GetSeatingPlanResponse, FindSeatingPlanRequest, FindSeatingPlanResponse, DeleteSeatingPlanRequest, DeleteSeatingPlanResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, SaveSeatingPlanVersionRequest, SaveSeatingPlanVersionResponse, QuerySeatingPlanVersionsRequest, QuerySeatingPlanVersionsResponse, PagingMetadataV2, Cursors, DiscardSeatingPlanVersionsRequest, DiscardSeatingPlanVersionsResponse, RestoreSeatingPlanRequest, RestoreSeatingPlanResponse, UpdateSeatingPlanThumbnailRequest, SeatingPlanThumbnail, UpdateSeatingPlanThumbnailResponse, GetSeatingPlanThumbnailRequest, GetSeatingPlanThumbnailResponse, SeatingPlanNonNullableFields, CreateSeatingPlanResponseNonNullableFields, UpdateSeatingPlanResponseNonNullableFields, CopySeatingPlanResponseNonNullableFields, QuerySeatingPlanResponseNonNullableFields, GetSeatingPlanResponseNonNullableFields, FindSeatingPlanResponseNonNullableFields, DeleteSeatingPlanResponseNonNullableFields, BaseEventMetadata, EventMetadata, SeatingPlanCreatedEnvelope, SeatingPlanDeletedEnvelope, SeatingPlanUpdatedEnvelope, UpdateSeatingPlanOptions, CopySeatingPlanOptions, QuerySeatingPlanOptions, PlansQueryResult, PlansQueryBuilder, GetSeatingPlanOptions, FindSeatingPlanOptions, } from './seating-v1-seating-plan-seating-plan.universal.js';
@@ -1,6 +1,7 @@
1
1
  export interface SeatingPlan {
2
2
  /**
3
3
  * Auto generated unique plan id
4
+ * @format GUID
4
5
  * @readonly
5
6
  */
6
7
  id?: string | null;
@@ -8,13 +9,25 @@ export interface SeatingPlan {
8
9
  * A client defined external id for cross referencing.
9
10
  * Can reference external entities.
10
11
  * Format: "{fqdn}:{entity guid}"
12
+ * @minLength 1
13
+ * @maxLength 100
11
14
  */
12
15
  externalId?: string | null;
13
- /** Human friendly plan title */
16
+ /**
17
+ * Human friendly plan title
18
+ * @minLength 1
19
+ * @maxLength 120
20
+ */
14
21
  title?: string | null;
15
- /** Sections of the plan. Seating plan is divided in high level sections. */
22
+ /**
23
+ * Sections of the plan. Seating plan is divided in high level sections.
24
+ * @maxSize 100
25
+ */
16
26
  sections?: Section[];
17
- /** Categories for plan element grouping. */
27
+ /**
28
+ * Categories for plan element grouping.
29
+ * @maxSize 100
30
+ */
18
31
  categories?: Category[];
19
32
  /**
20
33
  * Seating plan created timestamp.
@@ -38,6 +51,7 @@ export interface SeatingPlan {
38
51
  totalCategories?: number | null;
39
52
  /**
40
53
  * Places not assigned to categories
54
+ * @maxSize 50000
41
55
  * @readonly
42
56
  */
43
57
  uncategorizedPlaces?: Place[];
@@ -50,20 +64,30 @@ export interface SeatingPlan {
50
64
  extendedFields?: ExtendedFields;
51
65
  /** Seating Plan UI settings */
52
66
  uiProperties?: SeatingPlanUiProperties;
53
- /** Element groups */
67
+ /**
68
+ * Element groups
69
+ * @maxSize 1000
70
+ */
54
71
  elementGroups?: ElementGroup[];
55
72
  }
56
73
  export interface Section {
57
74
  /** Unique section id */
58
75
  id?: number;
59
- /** Human readable section title */
76
+ /**
77
+ * Human readable section title
78
+ * @minLength 1
79
+ * @maxLength 20
80
+ */
60
81
  title?: string | null;
61
82
  /**
62
83
  * Client configuration object
63
84
  * @readonly
64
85
  */
65
86
  config?: Record<string, any> | null;
66
- /** Elements of the section. */
87
+ /**
88
+ * Elements of the section.
89
+ * @maxSize 1000
90
+ */
67
91
  elements?: Element[];
68
92
  /**
69
93
  * Total capacity
@@ -77,22 +101,37 @@ export interface Section {
77
101
  default?: boolean;
78
102
  }
79
103
  export interface Element {
80
- /** Unique element id */
104
+ /**
105
+ * Unique element id
106
+ * @min 1
107
+ */
81
108
  id?: number;
82
- /** User friendly title/label of the element. */
109
+ /**
110
+ * User friendly title/label of the element.
111
+ * @minLength 1
112
+ * @maxLength 50
113
+ */
83
114
  title?: string | null;
84
115
  /** Element type */
85
116
  type?: Type;
86
- /** Capacity. None for Shape type Element. */
117
+ /**
118
+ * Capacity. None for Shape type Element.
119
+ * @min 1
120
+ * @max 50000
121
+ */
87
122
  capacity?: number | null;
88
123
  /** Assigned to a category */
89
124
  categoryId?: number | null;
90
125
  /** A place numbering meta data */
91
126
  sequencing?: Sequencing;
92
- /** Place override (by seq_id) */
127
+ /**
128
+ * Place override (by seq_id)
129
+ * @maxSize 2000
130
+ */
93
131
  overrides?: Place[];
94
132
  /**
95
133
  * Final place sequence with overrides
134
+ * @maxSize 200
96
135
  * @readonly
97
136
  */
98
137
  places?: Place[];
@@ -114,9 +153,16 @@ export declare enum Type {
114
153
  SHAPE = "SHAPE"
115
154
  }
116
155
  export interface Sequencing {
117
- /** First seq element */
156
+ /**
157
+ * First seq element
158
+ * @minLength 1
159
+ * @maxLength 4
160
+ */
118
161
  startAt?: string;
119
- /** Finite generated seq of labels */
162
+ /**
163
+ * Finite generated seq of labels
164
+ * @maxSize 2500
165
+ */
120
166
  labels?: string[];
121
167
  /** If true - direction right to left. Otherwise left to right. */
122
168
  reverseOrder?: boolean | null;
@@ -129,7 +175,11 @@ export interface Place {
129
175
  * @readonly
130
176
  */
131
177
  id?: string | null;
132
- /** Unique label of the place */
178
+ /**
179
+ * Unique label of the place
180
+ * @minLength 1
181
+ * @maxLength 4
182
+ */
133
183
  label?: string;
134
184
  /**
135
185
  * Max capacity per place
@@ -163,30 +213,76 @@ export interface ReservationOptions {
163
213
  reserveWholeElement?: boolean;
164
214
  }
165
215
  export interface ElementUiProperties {
216
+ /**
217
+ * @min -1000000
218
+ * @max 1000000
219
+ */
166
220
  x?: number | null;
221
+ /**
222
+ * @min -1000000
223
+ * @max 1000000
224
+ */
167
225
  y?: number | null;
226
+ /**
227
+ * @min -1000000
228
+ * @max 1000000
229
+ */
168
230
  zIndex?: number | null;
231
+ /** @max 1000000 */
169
232
  width?: number | null;
233
+ /** @max 1000000 */
170
234
  height?: number | null;
235
+ /**
236
+ * @min -180
237
+ * @max 180
238
+ */
171
239
  rotationAngle?: number | null;
172
240
  shapeType?: ShapeTypeEnumType;
241
+ /**
242
+ * @min 10
243
+ * @max 176
244
+ */
173
245
  fontSize?: number | null;
246
+ /** @max 1000000 */
174
247
  cornerRadius?: number | null;
248
+ /**
249
+ * @min 1
250
+ * @max 60
251
+ */
175
252
  seatSpacing?: number | null;
176
253
  hideLabel?: boolean | null;
177
254
  labelPosition?: Position;
178
255
  seatLayout?: number[];
256
+ /** @max 50 */
179
257
  emptyTopSeatSpaces?: number | null;
180
- /** needs research */
258
+ /**
259
+ * needs research
260
+ * @minLength 1
261
+ * @maxLength 10000
262
+ */
181
263
  text?: string | null;
182
- /** #F0F0F0 */
264
+ /**
265
+ * #F0F0F0
266
+ * @format COLOR_HEX
267
+ */
183
268
  color?: string | null;
184
- /** #F0F0F0 */
269
+ /**
270
+ * #F0F0F0
271
+ * @format COLOR_HEX
272
+ */
185
273
  fillColor?: string | null;
186
- /** #F0F0F0 */
274
+ /**
275
+ * #F0F0F0
276
+ * @format COLOR_HEX
277
+ */
187
278
  strokeColor?: string | null;
188
- /** px */
279
+ /**
280
+ * px
281
+ * @min 1
282
+ * @max 6
283
+ */
189
284
  strokeWidth?: number | null;
285
+ /** @max 100 */
190
286
  opacity?: number | null;
191
287
  icon?: Icon;
192
288
  image?: Image;
@@ -249,21 +345,42 @@ export declare enum Numbering {
249
345
  ALPHABETICAL = "ALPHABETICAL"
250
346
  }
251
347
  export interface MultiRowProperties {
252
- /** Individual rows of the multi row element */
348
+ /**
349
+ * Individual rows of the multi row element
350
+ * @maxSize 1000
351
+ */
253
352
  rows?: RowElement[];
254
353
  /** Meta data for vertical labeling */
255
354
  verticalSequencing?: VerticalSequencing;
256
- /** Row spacing */
355
+ /**
356
+ * Row spacing
357
+ * @min 1
358
+ * @max 60
359
+ */
257
360
  rowSpacing?: number | null;
258
- /** Amount of seats in the row */
361
+ /**
362
+ * Amount of seats in the row
363
+ * @max 50
364
+ */
259
365
  seatAmount?: number | null;
260
366
  }
261
367
  export interface RowElement {
262
- /** Unique row id */
368
+ /**
369
+ * Unique row id
370
+ * @min 1
371
+ */
263
372
  id?: number;
264
- /** User friendly title/label of the row */
373
+ /**
374
+ * User friendly title/label of the row
375
+ * @minLength 1
376
+ * @maxLength 50
377
+ */
265
378
  title?: string | null;
266
- /** Row capacity */
379
+ /**
380
+ * Row capacity
381
+ * @min 1
382
+ * @max 50000
383
+ */
267
384
  capacity?: number | null;
268
385
  /** Assigned to a category */
269
386
  categoryId?: number | null;
@@ -273,13 +390,27 @@ export interface RowElement {
273
390
  uiProperties?: RowElementUiProperties;
274
391
  }
275
392
  export interface RowElementUiProperties {
276
- /** Relative x position to the parent element */
393
+ /**
394
+ * Relative x position to the parent element
395
+ * @min -1000000
396
+ * @max 1000000
397
+ */
277
398
  relativeX?: number | null;
278
- /** Width of the row */
399
+ /**
400
+ * Width of the row
401
+ * @max 1000000
402
+ */
279
403
  width?: number | null;
280
- /** Amount of seats in the row */
404
+ /**
405
+ * Amount of seats in the row
406
+ * @max 50
407
+ */
281
408
  seatAmount?: number | null;
282
- /** Seat spacing */
409
+ /**
410
+ * Seat spacing
411
+ * @min 1
412
+ * @max 60
413
+ */
283
414
  seatSpacing?: number | null;
284
415
  /** Label position */
285
416
  labelPosition?: Position;
@@ -287,7 +418,11 @@ export interface RowElementUiProperties {
287
418
  seatNumbering?: Numbering;
288
419
  }
289
420
  export interface VerticalSequencing {
290
- /** First seq element */
421
+ /**
422
+ * First seq element
423
+ * @minLength 1
424
+ * @maxLength 4
425
+ */
291
426
  startAt?: string;
292
427
  /** Row numbering */
293
428
  rowNumbering?: Numbering;
@@ -295,15 +430,24 @@ export interface VerticalSequencing {
295
430
  reverseOrder?: boolean | null;
296
431
  }
297
432
  export interface Category {
298
- /** Local category id within the seating plan */
433
+ /**
434
+ * Local category id within the seating plan
435
+ * @min 1
436
+ */
299
437
  id?: number;
300
438
  /**
301
439
  * A client defined external id for cross referencing.
302
440
  * Can reference external entities.
303
441
  * Format: "{entity_fqdn}:{entity_id}"
442
+ * @minLength 1
443
+ * @maxLength 100
304
444
  */
305
445
  externalId?: string | null;
306
- /** Category label */
446
+ /**
447
+ * Category label
448
+ * @minLength 1
449
+ * @maxLength 120
450
+ */
307
451
  title?: string;
308
452
  /**
309
453
  * Client configuration object
@@ -317,6 +461,7 @@ export interface Category {
317
461
  totalCapacity?: number | null;
318
462
  /**
319
463
  * Possible places
464
+ * @maxSize 50000
320
465
  * @readonly
321
466
  */
322
467
  places?: Place[];
@@ -333,12 +478,19 @@ export interface ExtendedFields {
333
478
  namespaces?: Record<string, Record<string, any>>;
334
479
  }
335
480
  export interface SeatingPlanUiProperties {
336
- /** #F0F0F0 */
481
+ /**
482
+ * #F0F0F0
483
+ * @format COLOR_HEX
484
+ */
337
485
  backgroundColor?: string | null;
486
+ /** @max 100 */
338
487
  backgroundOpacity?: number | null;
339
488
  }
340
489
  export interface ElementGroup {
341
- /** Unique element group id */
490
+ /**
491
+ * Unique element group id
492
+ * @min 1
493
+ */
342
494
  id?: number;
343
495
  /** Parent group id */
344
496
  parentElementGroupId?: number | null;
@@ -346,15 +498,33 @@ export interface ElementGroup {
346
498
  uiProperties?: ElementGroupUiProperties;
347
499
  }
348
500
  export interface ElementGroupUiProperties {
349
- /** x position of the group */
501
+ /**
502
+ * x position of the group
503
+ * @min -1000000
504
+ * @max 1000000
505
+ */
350
506
  x?: number | null;
351
- /** y position of the group */
507
+ /**
508
+ * y position of the group
509
+ * @min -1000000
510
+ * @max 1000000
511
+ */
352
512
  y?: number | null;
353
- /** width of the group */
513
+ /**
514
+ * width of the group
515
+ * @max 1000000
516
+ */
354
517
  width?: number | null;
355
- /** height of the group */
518
+ /**
519
+ * height of the group
520
+ * @max 1000000
521
+ */
356
522
  height?: number | null;
357
- /** rotation angle of the group */
523
+ /**
524
+ * rotation angle of the group
525
+ * @min -180
526
+ * @max 180
527
+ */
358
528
  rotationAngle?: number | null;
359
529
  }
360
530
  export interface CreateSeatingPlanRequest {
@@ -384,11 +554,22 @@ export interface UpdateSeatingPlanResponse {
384
554
  plan?: SeatingPlan;
385
555
  }
386
556
  export interface CopySeatingPlanRequest {
387
- /** The id of the plan to be copied */
557
+ /**
558
+ * The id of the plan to be copied
559
+ * @format GUID
560
+ */
388
561
  id: string | null;
389
- /** New plan title */
562
+ /**
563
+ * New plan title
564
+ * @minLength 1
565
+ * @maxLength 120
566
+ */
390
567
  title: string | null;
391
- /** Format: "{fqdn}:{entity guid}" */
568
+ /**
569
+ * Format: "{fqdn}:{entity guid}"
570
+ * @minLength 1
571
+ * @maxLength 100
572
+ */
392
573
  externalId: string | null;
393
574
  }
394
575
  export interface CopySeatingPlanResponse {
@@ -434,7 +615,10 @@ export interface QueryV2PagingMethodOneOf {
434
615
  cursorPaging?: CursorPaging;
435
616
  }
436
617
  export interface Sorting {
437
- /** Name of the field to sort by. */
618
+ /**
619
+ * Name of the field to sort by.
620
+ * @maxLength 512
621
+ */
438
622
  fieldName?: string;
439
623
  /** Sort order. */
440
624
  order?: SortOrder;
@@ -450,13 +634,17 @@ export interface Paging {
450
634
  offset?: number | null;
451
635
  }
452
636
  export interface CursorPaging {
453
- /** Maximum number of items to return in the results. */
637
+ /**
638
+ * Maximum number of items to return in the results.
639
+ * @max 100
640
+ */
454
641
  limit?: number | null;
455
642
  /**
456
643
  * Pointer to the next or previous page in the list of results.
457
644
  *
458
645
  * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
459
646
  * Not relevant for the first request.
647
+ * @maxLength 16000
460
648
  */
461
649
  cursor?: string | null;
462
650
  }
@@ -472,7 +660,10 @@ export interface QuerySeatingPlanResponse {
472
660
  plans?: SeatingPlan[];
473
661
  }
474
662
  export interface GetSeatingPlanRequest {
475
- /** The id of the plan */
663
+ /**
664
+ * The id of the plan
665
+ * @format GUID
666
+ */
476
667
  id: string | null;
477
668
  /**
478
669
  * A fieldset for the response
@@ -488,7 +679,11 @@ export interface GetSeatingPlanRequest {
488
679
  seatingPlanMask?: SeatingPlanMask;
489
680
  }
490
681
  export interface SeatingPlanMask {
491
- /** Filter seating plan by place ids */
682
+ /**
683
+ * Filter seating plan by place ids
684
+ * @minLength 5
685
+ * @maxLength 11
686
+ */
492
687
  placeId?: string[];
493
688
  }
494
689
  export interface GetSeatingPlanResponse {
@@ -516,7 +711,10 @@ export interface FindSeatingPlanResponse {
516
711
  plan?: SeatingPlan;
517
712
  }
518
713
  export interface DeleteSeatingPlanRequest {
519
- /** The id of the plan */
714
+ /**
715
+ * The id of the plan
716
+ * @format GUID
717
+ */
520
718
  id: string | null;
521
719
  }
522
720
  export interface DeleteSeatingPlanResponse {
@@ -596,9 +794,15 @@ export interface ActionEvent {
596
794
  bodyAsJson?: string;
597
795
  }
598
796
  export interface MessageEnvelope {
599
- /** App instance ID. */
797
+ /**
798
+ * App instance ID.
799
+ * @format GUID
800
+ */
600
801
  instanceId?: string | null;
601
- /** Event type. */
802
+ /**
803
+ * Event type.
804
+ * @maxLength 150
805
+ */
602
806
  eventType?: string;
603
807
  /** The identification type and identity data. */
604
808
  identity?: IdentificationData;
@@ -606,26 +810,50 @@ export interface MessageEnvelope {
606
810
  data?: string;
607
811
  }
608
812
  export interface IdentificationData extends IdentificationDataIdOneOf {
609
- /** ID of a site visitor that has not logged in to the site. */
813
+ /**
814
+ * ID of a site visitor that has not logged in to the site.
815
+ * @format GUID
816
+ */
610
817
  anonymousVisitorId?: string;
611
- /** ID of a site visitor that has logged in to the site. */
818
+ /**
819
+ * ID of a site visitor that has logged in to the site.
820
+ * @format GUID
821
+ */
612
822
  memberId?: string;
613
- /** ID of a Wix user (site owner, contributor, etc.). */
823
+ /**
824
+ * ID of a Wix user (site owner, contributor, etc.).
825
+ * @format GUID
826
+ */
614
827
  wixUserId?: string;
615
- /** ID of an app. */
828
+ /**
829
+ * ID of an app.
830
+ * @format GUID
831
+ */
616
832
  appId?: string;
617
833
  /** @readonly */
618
834
  identityType?: WebhookIdentityType;
619
835
  }
620
836
  /** @oneof */
621
837
  export interface IdentificationDataIdOneOf {
622
- /** ID of a site visitor that has not logged in to the site. */
838
+ /**
839
+ * ID of a site visitor that has not logged in to the site.
840
+ * @format GUID
841
+ */
623
842
  anonymousVisitorId?: string;
624
- /** ID of a site visitor that has logged in to the site. */
843
+ /**
844
+ * ID of a site visitor that has logged in to the site.
845
+ * @format GUID
846
+ */
625
847
  memberId?: string;
626
- /** ID of a Wix user (site owner, contributor, etc.). */
848
+ /**
849
+ * ID of a Wix user (site owner, contributor, etc.).
850
+ * @format GUID
851
+ */
627
852
  wixUserId?: string;
628
- /** ID of an app. */
853
+ /**
854
+ * ID of an app.
855
+ * @format GUID
856
+ */
629
857
  appId?: string;
630
858
  }
631
859
  export declare enum WebhookIdentityType {
@@ -635,24 +863,6 @@ export declare enum WebhookIdentityType {
635
863
  WIX_USER = "WIX_USER",
636
864
  APP = "APP"
637
865
  }
638
- export interface UpdateSeatingPlanThumbnailRequest {
639
- thumbnail: SeatingPlanThumbnail;
640
- }
641
- export interface SeatingPlanThumbnail {
642
- /** @readonly */
643
- id?: string | null;
644
- img?: string | null;
645
- }
646
- export interface UpdateSeatingPlanThumbnailResponse {
647
- thumbnail?: SeatingPlanThumbnail;
648
- }
649
- export interface GetSeatingPlanThumbnailRequest {
650
- /** @readonly */
651
- id: string | null;
652
- }
653
- export interface GetSeatingPlanThumbnailResponse {
654
- thumbnail?: SeatingPlanThumbnail;
655
- }
656
866
  export interface SaveSeatingPlanVersionRequest {
657
867
  /** A plan version to be saved */
658
868
  plan?: SeatingPlan;
@@ -663,6 +873,7 @@ export interface SaveSeatingPlanVersionRequest {
663
873
  * but intermediate versions will be removed. Example:
664
874
  * Existing versions [1, 2, 3, 4, 5].
665
875
  * Save request with parent_version 2 will yield versions [1, 2, 6].
876
+ * @min 1
666
877
  */
667
878
  parentVersion?: string | null;
668
879
  }
@@ -696,13 +907,22 @@ export interface PagingMetadataV2 {
696
907
  cursors?: Cursors;
697
908
  }
698
909
  export interface Cursors {
699
- /** Cursor string pointing to the next page in the list of results. */
910
+ /**
911
+ * Cursor string pointing to the next page in the list of results.
912
+ * @maxLength 16000
913
+ */
700
914
  next?: string | null;
701
- /** Cursor pointing to the previous page in the list of results. */
915
+ /**
916
+ * Cursor pointing to the previous page in the list of results.
917
+ * @maxLength 16000
918
+ */
702
919
  prev?: string | null;
703
920
  }
704
921
  export interface DiscardSeatingPlanVersionsRequest {
705
- /** Seating Plan ID */
922
+ /**
923
+ * Seating Plan ID
924
+ * @format GUID
925
+ */
706
926
  seatingPlanId?: string | null;
707
927
  /** Version from which all higher versions will be discarded. */
708
928
  version?: string | null;
@@ -710,7 +930,10 @@ export interface DiscardSeatingPlanVersionsRequest {
710
930
  export interface DiscardSeatingPlanVersionsResponse {
711
931
  }
712
932
  export interface RestoreSeatingPlanRequest {
713
- /** Seating Plan ID */
933
+ /**
934
+ * Seating Plan ID
935
+ * @format GUID
936
+ */
714
937
  seatingPlanId?: string | null;
715
938
  /** Version to witch the seating plan should be restored. */
716
939
  version?: string | null;
@@ -719,6 +942,30 @@ export interface RestoreSeatingPlanResponse {
719
942
  /** Seating Plan */
720
943
  plan?: SeatingPlan;
721
944
  }
945
+ export interface UpdateSeatingPlanThumbnailRequest {
946
+ thumbnail: SeatingPlanThumbnail;
947
+ }
948
+ export interface SeatingPlanThumbnail {
949
+ /**
950
+ * @format GUID
951
+ * @readonly
952
+ */
953
+ id?: string | null;
954
+ img?: string | null;
955
+ }
956
+ export interface UpdateSeatingPlanThumbnailResponse {
957
+ thumbnail?: SeatingPlanThumbnail;
958
+ }
959
+ export interface GetSeatingPlanThumbnailRequest {
960
+ /**
961
+ * @format GUID
962
+ * @readonly
963
+ */
964
+ id: string | null;
965
+ }
966
+ export interface GetSeatingPlanThumbnailResponse {
967
+ thumbnail?: SeatingPlanThumbnail;
968
+ }
722
969
  interface SequencingNonNullableFields {
723
970
  startAt: string;
724
971
  labels: string[];