@wix/seatings 1.0.27 → 1.0.29

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/seatings",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,8 +21,8 @@
21
21
  "type-bundles"
22
22
  ],
23
23
  "dependencies": {
24
- "@wix/seatings_seating-plan": "1.0.22",
25
- "@wix/seatings_seating-reservation": "1.0.20"
24
+ "@wix/seatings_seating-plan": "1.0.24",
25
+ "@wix/seatings_seating-reservation": "1.0.21"
26
26
  },
27
27
  "devDependencies": {
28
28
  "glob": "^10.4.1",
@@ -47,5 +47,5 @@
47
47
  "fqdn": ""
48
48
  }
49
49
  },
50
- "falconPackageHash": "3f7eb89fffd842a4d4eed3cb761e6ca2ed9abae749a8213ab5dd1ad7"
50
+ "falconPackageHash": "3326275a879a5345d564cfdee485c99db5f581a5ee817f625cc13694"
51
51
  }
@@ -528,6 +528,8 @@ interface SeatingPlan$1 {
528
528
  extendedFields?: ExtendedFields$1;
529
529
  /** Seating Plan UI settings */
530
530
  uiProperties?: SeatingPlanUiProperties$1;
531
+ /** Element groups */
532
+ elementGroups?: ElementGroup$1[];
531
533
  }
532
534
  interface Section$1 {
533
535
  /** Unique section id */
@@ -579,6 +581,10 @@ interface Element$1 {
579
581
  reservationOptions?: ReservationOptions$1;
580
582
  /** Element UI settings */
581
583
  uiProperties?: ElementUiProperties$1;
584
+ /** Element group id */
585
+ elementGroupId?: number | null;
586
+ /** Multi row element relevant for MULTI_ROW element type */
587
+ multiRowProperties?: MultiRowProperties$1;
582
588
  }
583
589
  declare enum Type$1 {
584
590
  AREA = "AREA",
@@ -1946,6 +1952,8 @@ interface SeatingPlan {
1946
1952
  extendedFields?: ExtendedFields;
1947
1953
  /** Seating Plan UI settings */
1948
1954
  uiProperties?: SeatingPlanUiProperties;
1955
+ /** Element groups */
1956
+ elementGroups?: ElementGroup[];
1949
1957
  }
1950
1958
  interface Section {
1951
1959
  /** Unique section id */
@@ -1997,6 +2005,10 @@ interface Element {
1997
2005
  reservationOptions?: ReservationOptions;
1998
2006
  /** Element UI settings */
1999
2007
  uiProperties?: ElementUiProperties;
2008
+ /** Element group id */
2009
+ elementGroupId?: number | null;
2010
+ /** Multi row element relevant for MULTI_ROW element type */
2011
+ multiRowProperties?: MultiRowProperties;
2000
2012
  }
2001
2013
  declare enum Type {
2002
2014
  AREA = "AREA",
@@ -528,6 +528,8 @@ interface SeatingPlan$1 {
528
528
  extendedFields?: ExtendedFields$1;
529
529
  /** Seating Plan UI settings */
530
530
  uiProperties?: SeatingPlanUiProperties$1;
531
+ /** Element groups */
532
+ elementGroups?: ElementGroup$1[];
531
533
  }
532
534
  interface Section$1 {
533
535
  /** Unique section id */
@@ -579,6 +581,10 @@ interface Element$1 {
579
581
  reservationOptions?: ReservationOptions$1;
580
582
  /** Element UI settings */
581
583
  uiProperties?: ElementUiProperties$1;
584
+ /** Element group id */
585
+ elementGroupId?: number | null;
586
+ /** Multi row element relevant for MULTI_ROW element type */
587
+ multiRowProperties?: MultiRowProperties$1;
582
588
  }
583
589
  declare enum Type$1 {
584
590
  AREA = "AREA",
@@ -1946,6 +1952,8 @@ interface SeatingPlan {
1946
1952
  extendedFields?: ExtendedFields;
1947
1953
  /** Seating Plan UI settings */
1948
1954
  uiProperties?: SeatingPlanUiProperties;
1955
+ /** Element groups */
1956
+ elementGroups?: ElementGroup[];
1949
1957
  }
1950
1958
  interface Section {
1951
1959
  /** Unique section id */
@@ -1997,6 +2005,10 @@ interface Element {
1997
2005
  reservationOptions?: ReservationOptions;
1998
2006
  /** Element UI settings */
1999
2007
  uiProperties?: ElementUiProperties;
2008
+ /** Element group id */
2009
+ elementGroupId?: number | null;
2010
+ /** Multi row element relevant for MULTI_ROW element type */
2011
+ multiRowProperties?: MultiRowProperties;
2000
2012
  }
2001
2013
  declare enum Type {
2002
2014
  AREA = "AREA",
@@ -50,6 +50,8 @@ interface SeatingPlan$3 {
50
50
  extendedFields?: ExtendedFields$3;
51
51
  /** Seating Plan UI settings */
52
52
  uiProperties?: SeatingPlanUiProperties$3;
53
+ /** Element groups */
54
+ elementGroups?: ElementGroup$3[];
53
55
  }
54
56
  interface Section$3 {
55
57
  /** Unique section id */
@@ -101,6 +103,10 @@ interface Element$3 {
101
103
  reservationOptions?: ReservationOptions$3;
102
104
  /** Element UI settings */
103
105
  uiProperties?: ElementUiProperties$3;
106
+ /** Element group id */
107
+ elementGroupId?: number | null;
108
+ /** Multi row element relevant for MULTI_ROW element type */
109
+ multiRowProperties?: MultiRowProperties$3;
104
110
  }
105
111
  declare enum Type$3 {
106
112
  AREA = "AREA",
@@ -245,6 +251,48 @@ declare enum Numbering$3 {
245
251
  ODD_EVEN = "ODD_EVEN",
246
252
  ALPHABETICAL = "ALPHABETICAL"
247
253
  }
254
+ interface MultiRowProperties$3 {
255
+ /** Individual rows of the multi row element */
256
+ rows?: RowElement$3[];
257
+ /** Meta data for vertical labeling */
258
+ verticalSequencing?: VerticalSequencing$3;
259
+ /** Row spacing */
260
+ rowSpacing?: number | null;
261
+ }
262
+ interface RowElement$3 {
263
+ /** Unique row id */
264
+ id?: number;
265
+ /** User friendly title/label of the row */
266
+ title?: string | null;
267
+ /** Row capacity */
268
+ capacity?: number | null;
269
+ /** Assigned to a category */
270
+ categoryId?: number | null;
271
+ /** A place numbering meta data for a single row */
272
+ sequencing?: Sequencing$3;
273
+ /** Row UI settings */
274
+ uiProperties?: RowElementUiProperties$3;
275
+ }
276
+ interface RowElementUiProperties$3 {
277
+ /** Relative x position to the parent element */
278
+ relativeX?: number | null;
279
+ /** Width of the row */
280
+ width?: number | null;
281
+ /** Seat spacing */
282
+ seatSpacing?: number | null;
283
+ /** Label position */
284
+ labelPosition?: Position$3;
285
+ /** Seat numbering */
286
+ seatNumbering?: Numbering$3;
287
+ }
288
+ interface VerticalSequencing$3 {
289
+ /** First seq element */
290
+ startAt?: string;
291
+ /** Row numbering */
292
+ rowNumbering?: Numbering$3;
293
+ /** If true - direction bottom to top. Otherwise top to bottom. */
294
+ reverseOrder?: boolean | null;
295
+ }
248
296
  interface Category$3 {
249
297
  /** Local category id within the seating plan */
250
298
  id?: number;
@@ -288,6 +336,26 @@ interface SeatingPlanUiProperties$3 {
288
336
  backgroundColor?: string | null;
289
337
  backgroundOpacity?: number | null;
290
338
  }
339
+ interface ElementGroup$3 {
340
+ /** Unique element group id */
341
+ id?: number;
342
+ /** Parent group id */
343
+ parentElementGroupId?: number | null;
344
+ /** Element group UI settings */
345
+ uiProperties?: ElementGroupUiProperties$3;
346
+ }
347
+ interface ElementGroupUiProperties$3 {
348
+ /** x position of the group */
349
+ x?: number | null;
350
+ /** y position of the group */
351
+ y?: number | null;
352
+ /** width of the group */
353
+ width?: number | null;
354
+ /** height of the group */
355
+ height?: number | null;
356
+ /** rotation angle of the group */
357
+ rotationAngle?: number | null;
358
+ }
291
359
  interface CreateSeatingPlanRequest$1 {
292
360
  /** A plan to be created */
293
361
  plan: SeatingPlan$3;
@@ -608,6 +676,8 @@ interface SeatingPlan$2 {
608
676
  extendedFields?: ExtendedFields$2;
609
677
  /** Seating Plan UI settings */
610
678
  uiProperties?: SeatingPlanUiProperties$2;
679
+ /** Element groups */
680
+ elementGroups?: ElementGroup$2[];
611
681
  }
612
682
  interface Section$2 {
613
683
  /** Unique section id */
@@ -659,6 +729,10 @@ interface Element$2 {
659
729
  reservationOptions?: ReservationOptions$2;
660
730
  /** Element UI settings */
661
731
  uiProperties?: ElementUiProperties$2;
732
+ /** Element group id */
733
+ elementGroupId?: number | null;
734
+ /** Multi row element relevant for MULTI_ROW element type */
735
+ multiRowProperties?: MultiRowProperties$2;
662
736
  }
663
737
  declare enum Type$2 {
664
738
  AREA = "AREA",
@@ -803,6 +877,48 @@ declare enum Numbering$2 {
803
877
  ODD_EVEN = "ODD_EVEN",
804
878
  ALPHABETICAL = "ALPHABETICAL"
805
879
  }
880
+ interface MultiRowProperties$2 {
881
+ /** Individual rows of the multi row element */
882
+ rows?: RowElement$2[];
883
+ /** Meta data for vertical labeling */
884
+ verticalSequencing?: VerticalSequencing$2;
885
+ /** Row spacing */
886
+ rowSpacing?: number | null;
887
+ }
888
+ interface RowElement$2 {
889
+ /** Unique row id */
890
+ _id?: number;
891
+ /** User friendly title/label of the row */
892
+ title?: string | null;
893
+ /** Row capacity */
894
+ capacity?: number | null;
895
+ /** Assigned to a category */
896
+ categoryId?: number | null;
897
+ /** A place numbering meta data for a single row */
898
+ sequencing?: Sequencing$2;
899
+ /** Row UI settings */
900
+ uiProperties?: RowElementUiProperties$2;
901
+ }
902
+ interface RowElementUiProperties$2 {
903
+ /** Relative x position to the parent element */
904
+ relativeX?: number | null;
905
+ /** Width of the row */
906
+ width?: number | null;
907
+ /** Seat spacing */
908
+ seatSpacing?: number | null;
909
+ /** Label position */
910
+ labelPosition?: Position$2;
911
+ /** Seat numbering */
912
+ seatNumbering?: Numbering$2;
913
+ }
914
+ interface VerticalSequencing$2 {
915
+ /** First seq element */
916
+ startAt?: string;
917
+ /** Row numbering */
918
+ rowNumbering?: Numbering$2;
919
+ /** If true - direction bottom to top. Otherwise top to bottom. */
920
+ reverseOrder?: boolean | null;
921
+ }
806
922
  interface Category$2 {
807
923
  /** Local category id within the seating plan */
808
924
  _id?: number;
@@ -846,6 +962,26 @@ interface SeatingPlanUiProperties$2 {
846
962
  backgroundColor?: string | null;
847
963
  backgroundOpacity?: number | null;
848
964
  }
965
+ interface ElementGroup$2 {
966
+ /** Unique element group id */
967
+ _id?: number;
968
+ /** Parent group id */
969
+ parentElementGroupId?: number | null;
970
+ /** Element group UI settings */
971
+ uiProperties?: ElementGroupUiProperties$2;
972
+ }
973
+ interface ElementGroupUiProperties$2 {
974
+ /** x position of the group */
975
+ x?: number | null;
976
+ /** y position of the group */
977
+ y?: number | null;
978
+ /** width of the group */
979
+ width?: number | null;
980
+ /** height of the group */
981
+ height?: number | null;
982
+ /** rotation angle of the group */
983
+ rotationAngle?: number | null;
984
+ }
849
985
  interface CreateSeatingPlanRequest {
850
986
  /** A plan to be created */
851
987
  plan: SeatingPlan$2;
@@ -1421,6 +1557,8 @@ interface SeatingPlan$1 {
1421
1557
  extendedFields?: ExtendedFields$1;
1422
1558
  /** Seating Plan UI settings */
1423
1559
  uiProperties?: SeatingPlanUiProperties$1;
1560
+ /** Element groups */
1561
+ elementGroups?: ElementGroup$1[];
1424
1562
  }
1425
1563
  interface Section$1 {
1426
1564
  /** Unique section id */
@@ -1472,6 +1610,10 @@ interface Element$1 {
1472
1610
  reservationOptions?: ReservationOptions$1;
1473
1611
  /** Element UI settings */
1474
1612
  uiProperties?: ElementUiProperties$1;
1613
+ /** Element group id */
1614
+ elementGroupId?: number | null;
1615
+ /** Multi row element relevant for MULTI_ROW element type */
1616
+ multiRowProperties?: MultiRowProperties$1;
1475
1617
  }
1476
1618
  declare enum Type$1 {
1477
1619
  AREA = "AREA",
@@ -1616,6 +1758,48 @@ declare enum Numbering$1 {
1616
1758
  ODD_EVEN = "ODD_EVEN",
1617
1759
  ALPHABETICAL = "ALPHABETICAL"
1618
1760
  }
1761
+ interface MultiRowProperties$1 {
1762
+ /** Individual rows of the multi row element */
1763
+ rows?: RowElement$1[];
1764
+ /** Meta data for vertical labeling */
1765
+ verticalSequencing?: VerticalSequencing$1;
1766
+ /** Row spacing */
1767
+ rowSpacing?: number | null;
1768
+ }
1769
+ interface RowElement$1 {
1770
+ /** Unique row id */
1771
+ id?: number;
1772
+ /** User friendly title/label of the row */
1773
+ title?: string | null;
1774
+ /** Row capacity */
1775
+ capacity?: number | null;
1776
+ /** Assigned to a category */
1777
+ categoryId?: number | null;
1778
+ /** A place numbering meta data for a single row */
1779
+ sequencing?: Sequencing$1;
1780
+ /** Row UI settings */
1781
+ uiProperties?: RowElementUiProperties$1;
1782
+ }
1783
+ interface RowElementUiProperties$1 {
1784
+ /** Relative x position to the parent element */
1785
+ relativeX?: number | null;
1786
+ /** Width of the row */
1787
+ width?: number | null;
1788
+ /** Seat spacing */
1789
+ seatSpacing?: number | null;
1790
+ /** Label position */
1791
+ labelPosition?: Position$1;
1792
+ /** Seat numbering */
1793
+ seatNumbering?: Numbering$1;
1794
+ }
1795
+ interface VerticalSequencing$1 {
1796
+ /** First seq element */
1797
+ startAt?: string;
1798
+ /** Row numbering */
1799
+ rowNumbering?: Numbering$1;
1800
+ /** If true - direction bottom to top. Otherwise top to bottom. */
1801
+ reverseOrder?: boolean | null;
1802
+ }
1619
1803
  interface Category$1 {
1620
1804
  /** Local category id within the seating plan */
1621
1805
  id?: number;
@@ -1659,6 +1843,26 @@ interface SeatingPlanUiProperties$1 {
1659
1843
  backgroundColor?: string | null;
1660
1844
  backgroundOpacity?: number | null;
1661
1845
  }
1846
+ interface ElementGroup$1 {
1847
+ /** Unique element group id */
1848
+ id?: number;
1849
+ /** Parent group id */
1850
+ parentElementGroupId?: number | null;
1851
+ /** Element group UI settings */
1852
+ uiProperties?: ElementGroupUiProperties$1;
1853
+ }
1854
+ interface ElementGroupUiProperties$1 {
1855
+ /** x position of the group */
1856
+ x?: number | null;
1857
+ /** y position of the group */
1858
+ y?: number | null;
1859
+ /** width of the group */
1860
+ width?: number | null;
1861
+ /** height of the group */
1862
+ height?: number | null;
1863
+ /** rotation angle of the group */
1864
+ rotationAngle?: number | null;
1865
+ }
1662
1866
  interface SeatingReservationsSummary$1 {
1663
1867
  places?: PlaceReservationDetails$1[];
1664
1868
  }
@@ -2050,6 +2254,8 @@ interface SeatingPlan {
2050
2254
  extendedFields?: ExtendedFields;
2051
2255
  /** Seating Plan UI settings */
2052
2256
  uiProperties?: SeatingPlanUiProperties;
2257
+ /** Element groups */
2258
+ elementGroups?: ElementGroup[];
2053
2259
  }
2054
2260
  interface Section {
2055
2261
  /** Unique section id */
@@ -2101,6 +2307,10 @@ interface Element {
2101
2307
  reservationOptions?: ReservationOptions;
2102
2308
  /** Element UI settings */
2103
2309
  uiProperties?: ElementUiProperties;
2310
+ /** Element group id */
2311
+ elementGroupId?: number | null;
2312
+ /** Multi row element relevant for MULTI_ROW element type */
2313
+ multiRowProperties?: MultiRowProperties;
2104
2314
  }
2105
2315
  declare enum Type {
2106
2316
  AREA = "AREA",
@@ -2245,6 +2455,48 @@ declare enum Numbering {
2245
2455
  ODD_EVEN = "ODD_EVEN",
2246
2456
  ALPHABETICAL = "ALPHABETICAL"
2247
2457
  }
2458
+ interface MultiRowProperties {
2459
+ /** Individual rows of the multi row element */
2460
+ rows?: RowElement[];
2461
+ /** Meta data for vertical labeling */
2462
+ verticalSequencing?: VerticalSequencing;
2463
+ /** Row spacing */
2464
+ rowSpacing?: number | null;
2465
+ }
2466
+ interface RowElement {
2467
+ /** Unique row id */
2468
+ _id?: number;
2469
+ /** User friendly title/label of the row */
2470
+ title?: string | null;
2471
+ /** Row capacity */
2472
+ capacity?: number | null;
2473
+ /** Assigned to a category */
2474
+ categoryId?: number | null;
2475
+ /** A place numbering meta data for a single row */
2476
+ sequencing?: Sequencing;
2477
+ /** Row UI settings */
2478
+ uiProperties?: RowElementUiProperties;
2479
+ }
2480
+ interface RowElementUiProperties {
2481
+ /** Relative x position to the parent element */
2482
+ relativeX?: number | null;
2483
+ /** Width of the row */
2484
+ width?: number | null;
2485
+ /** Seat spacing */
2486
+ seatSpacing?: number | null;
2487
+ /** Label position */
2488
+ labelPosition?: Position;
2489
+ /** Seat numbering */
2490
+ seatNumbering?: Numbering;
2491
+ }
2492
+ interface VerticalSequencing {
2493
+ /** First seq element */
2494
+ startAt?: string;
2495
+ /** Row numbering */
2496
+ rowNumbering?: Numbering;
2497
+ /** If true - direction bottom to top. Otherwise top to bottom. */
2498
+ reverseOrder?: boolean | null;
2499
+ }
2248
2500
  interface Category {
2249
2501
  /** Local category id within the seating plan */
2250
2502
  _id?: number;
@@ -2288,6 +2540,26 @@ interface SeatingPlanUiProperties {
2288
2540
  backgroundColor?: string | null;
2289
2541
  backgroundOpacity?: number | null;
2290
2542
  }
2543
+ interface ElementGroup {
2544
+ /** Unique element group id */
2545
+ _id?: number;
2546
+ /** Parent group id */
2547
+ parentElementGroupId?: number | null;
2548
+ /** Element group UI settings */
2549
+ uiProperties?: ElementGroupUiProperties;
2550
+ }
2551
+ interface ElementGroupUiProperties {
2552
+ /** x position of the group */
2553
+ x?: number | null;
2554
+ /** y position of the group */
2555
+ y?: number | null;
2556
+ /** width of the group */
2557
+ width?: number | null;
2558
+ /** height of the group */
2559
+ height?: number | null;
2560
+ /** rotation angle of the group */
2561
+ rotationAngle?: number | null;
2562
+ }
2291
2563
  interface SeatingReservationsSummary {
2292
2564
  places?: PlaceReservationDetails[];
2293
2565
  }