@wix/auto_sdk_seatings_seating-plan 1.0.5 → 1.0.7

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 (119) hide show
  1. package/build/cjs/index.d.ts +96 -1
  2. package/build/cjs/index.js +1310 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/meta.d.ts +783 -1
  5. package/build/cjs/meta.js +860 -15
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/{internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.d.ts → cjs/seating-v1-seating-plan-seating-plan.universal-BphMjTRF.d.ts} +95 -279
  8. package/build/es/index.d.mts +96 -0
  9. package/build/es/index.mjs +1269 -0
  10. package/build/es/index.mjs.map +1 -0
  11. package/build/es/{src/seating-v1-seating-plan-seating-plan.types.d.ts → meta.d.mts} +86 -281
  12. package/build/es/meta.mjs +828 -0
  13. package/build/es/meta.mjs.map +1 -0
  14. package/build/{internal/es/src/seating-v1-seating-plan-seating-plan.universal.d.ts → es/seating-v1-seating-plan-seating-plan.universal-BphMjTRF.d.mts} +95 -279
  15. package/build/internal/cjs/index.d.ts +96 -1
  16. package/build/internal/cjs/index.js +1310 -15
  17. package/build/internal/cjs/index.js.map +1 -1
  18. package/build/internal/cjs/meta.d.ts +783 -1
  19. package/build/internal/cjs/meta.js +860 -15
  20. package/build/internal/cjs/meta.js.map +1 -1
  21. package/build/{cjs/src/seating-v1-seating-plan-seating-plan.universal.d.ts → internal/cjs/seating-v1-seating-plan-seating-plan.universal-BphMjTRF.d.ts} +95 -279
  22. package/build/internal/es/index.d.mts +96 -0
  23. package/build/internal/es/index.mjs +1269 -0
  24. package/build/internal/es/index.mjs.map +1 -0
  25. package/build/internal/{cjs/src/seating-v1-seating-plan-seating-plan.types.d.ts → es/meta.d.mts} +86 -281
  26. package/build/internal/es/meta.mjs +828 -0
  27. package/build/internal/es/meta.mjs.map +1 -0
  28. package/build/{es/src/seating-v1-seating-plan-seating-plan.universal.d.ts → internal/es/seating-v1-seating-plan-seating-plan.universal-BphMjTRF.d.mts} +95 -279
  29. package/package.json +9 -8
  30. package/build/cjs/index.typings.d.ts +0 -1
  31. package/build/cjs/index.typings.js +0 -18
  32. package/build/cjs/index.typings.js.map +0 -1
  33. package/build/cjs/src/seating-v1-seating-plan-seating-plan.context.d.ts +0 -23
  34. package/build/cjs/src/seating-v1-seating-plan-seating-plan.context.js +0 -35
  35. package/build/cjs/src/seating-v1-seating-plan-seating-plan.context.js.map +0 -1
  36. package/build/cjs/src/seating-v1-seating-plan-seating-plan.http.d.ts +0 -19
  37. package/build/cjs/src/seating-v1-seating-plan-seating-plan.http.js +0 -673
  38. package/build/cjs/src/seating-v1-seating-plan-seating-plan.http.js.map +0 -1
  39. package/build/cjs/src/seating-v1-seating-plan-seating-plan.meta.d.ts +0 -25
  40. package/build/cjs/src/seating-v1-seating-plan-seating-plan.meta.js +0 -199
  41. package/build/cjs/src/seating-v1-seating-plan-seating-plan.meta.js.map +0 -1
  42. package/build/cjs/src/seating-v1-seating-plan-seating-plan.public.d.ts +0 -80
  43. package/build/cjs/src/seating-v1-seating-plan-seating-plan.public.js +0 -204
  44. package/build/cjs/src/seating-v1-seating-plan-seating-plan.public.js.map +0 -1
  45. package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.d.ts +0 -978
  46. package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.js +0 -85
  47. package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.js.map +0 -1
  48. package/build/cjs/src/seating-v1-seating-plan-seating-plan.universal.js +0 -505
  49. package/build/cjs/src/seating-v1-seating-plan-seating-plan.universal.js.map +0 -1
  50. package/build/es/index.d.ts +0 -1
  51. package/build/es/index.js +0 -2
  52. package/build/es/index.js.map +0 -1
  53. package/build/es/index.typings.d.ts +0 -1
  54. package/build/es/index.typings.js +0 -2
  55. package/build/es/index.typings.js.map +0 -1
  56. package/build/es/meta.d.ts +0 -1
  57. package/build/es/meta.js +0 -2
  58. package/build/es/meta.js.map +0 -1
  59. package/build/es/src/seating-v1-seating-plan-seating-plan.context.d.ts +0 -23
  60. package/build/es/src/seating-v1-seating-plan-seating-plan.context.js +0 -23
  61. package/build/es/src/seating-v1-seating-plan-seating-plan.context.js.map +0 -1
  62. package/build/es/src/seating-v1-seating-plan-seating-plan.http.d.ts +0 -19
  63. package/build/es/src/seating-v1-seating-plan-seating-plan.http.js +0 -661
  64. package/build/es/src/seating-v1-seating-plan-seating-plan.http.js.map +0 -1
  65. package/build/es/src/seating-v1-seating-plan-seating-plan.meta.d.ts +0 -25
  66. package/build/es/src/seating-v1-seating-plan-seating-plan.meta.js +0 -164
  67. package/build/es/src/seating-v1-seating-plan-seating-plan.meta.js.map +0 -1
  68. package/build/es/src/seating-v1-seating-plan-seating-plan.public.d.ts +0 -80
  69. package/build/es/src/seating-v1-seating-plan-seating-plan.public.js +0 -183
  70. package/build/es/src/seating-v1-seating-plan-seating-plan.public.js.map +0 -1
  71. package/build/es/src/seating-v1-seating-plan-seating-plan.types.js +0 -82
  72. package/build/es/src/seating-v1-seating-plan-seating-plan.types.js.map +0 -1
  73. package/build/es/src/seating-v1-seating-plan-seating-plan.universal.js +0 -470
  74. package/build/es/src/seating-v1-seating-plan-seating-plan.universal.js.map +0 -1
  75. package/build/internal/cjs/index.typings.d.ts +0 -1
  76. package/build/internal/cjs/index.typings.js +0 -18
  77. package/build/internal/cjs/index.typings.js.map +0 -1
  78. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.context.d.ts +0 -23
  79. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.context.js +0 -35
  80. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.context.js.map +0 -1
  81. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.http.d.ts +0 -19
  82. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.http.js +0 -673
  83. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.http.js.map +0 -1
  84. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.meta.d.ts +0 -25
  85. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.meta.js +0 -199
  86. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.meta.js.map +0 -1
  87. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.public.d.ts +0 -80
  88. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.public.js +0 -204
  89. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.public.js.map +0 -1
  90. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.types.js +0 -85
  91. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.types.js.map +0 -1
  92. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.js +0 -505
  93. package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.js.map +0 -1
  94. package/build/internal/es/index.d.ts +0 -1
  95. package/build/internal/es/index.js +0 -2
  96. package/build/internal/es/index.js.map +0 -1
  97. package/build/internal/es/index.typings.d.ts +0 -1
  98. package/build/internal/es/index.typings.js +0 -2
  99. package/build/internal/es/index.typings.js.map +0 -1
  100. package/build/internal/es/meta.d.ts +0 -1
  101. package/build/internal/es/meta.js +0 -2
  102. package/build/internal/es/meta.js.map +0 -1
  103. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.context.d.ts +0 -23
  104. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.context.js +0 -23
  105. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.context.js.map +0 -1
  106. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.http.d.ts +0 -19
  107. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.http.js +0 -661
  108. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.http.js.map +0 -1
  109. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.meta.d.ts +0 -25
  110. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.meta.js +0 -164
  111. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.meta.js.map +0 -1
  112. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.public.d.ts +0 -80
  113. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.public.js +0 -183
  114. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.public.js.map +0 -1
  115. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.d.ts +0 -978
  116. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.js +0 -82
  117. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.js.map +0 -1
  118. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.js +0 -470
  119. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.js.map +0 -1
@@ -1 +1,783 @@
1
- export * from './src/seating-v1-seating-plan-seating-plan.meta.js';
1
+ import { z as CreateSeatingPlanRequest$1, A as CreateSeatingPlanResponse$1, H as UpdateSeatingPlanRequest$1, J as UpdateSeatingPlanResponse$1, K as CopySeatingPlanRequest$1, a as CopySeatingPlanResponse$1, L as QuerySeatingPlanRequest$1, $ as QuerySeatingPlanResponse$1, a0 as GetSeatingPlanRequest$1, a2 as GetSeatingPlanResponse$1, a3 as FindSeatingPlanRequest$1, b as FindSeatingPlanResponse$1, a4 as DeleteSeatingPlanRequest$1, D as DeleteSeatingPlanResponse$1, ap as UpdateSeatingPlanThumbnailRequest$1, d as UpdateSeatingPlanThumbnailResponse$1, aq as GetSeatingPlanThumbnailRequest$1, e as GetSeatingPlanThumbnailResponse$1 } from './seating-v1-seating-plan-seating-plan.universal-BphMjTRF.js';
2
+
3
+ interface SeatingPlan {
4
+ /**
5
+ * Auto generated unique plan id
6
+ * @format GUID
7
+ * @readonly
8
+ */
9
+ id?: string | null;
10
+ /**
11
+ * A client defined external id for cross referencing.
12
+ * Can reference external entities.
13
+ * Format: "{fqdn}:{entity guid}"
14
+ * @minLength 1
15
+ * @maxLength 100
16
+ */
17
+ externalId?: string | null;
18
+ /**
19
+ * Human friendly plan title
20
+ * @minLength 1
21
+ * @maxLength 120
22
+ */
23
+ title?: string | null;
24
+ /**
25
+ * Sections of the plan. Seating plan is divided in high level sections.
26
+ * @maxSize 100
27
+ */
28
+ sections?: Section[];
29
+ /**
30
+ * Categories for plan element grouping.
31
+ * @maxSize 100
32
+ */
33
+ categories?: Category[];
34
+ /**
35
+ * Seating plan created timestamp.
36
+ * @readonly
37
+ */
38
+ createdDate?: Date | null;
39
+ /**
40
+ * Seating plan updated timestamp.
41
+ * @readonly
42
+ */
43
+ updatedDate?: Date | null;
44
+ /**
45
+ * Total capacity
46
+ * @readonly
47
+ */
48
+ totalCapacity?: number | null;
49
+ /**
50
+ * Total categories
51
+ * @readonly
52
+ */
53
+ totalCategories?: number | null;
54
+ /**
55
+ * Places not assigned to categories
56
+ * @maxSize 50000
57
+ * @readonly
58
+ */
59
+ uncategorizedPlaces?: Place[];
60
+ /**
61
+ * A version of the seating plan
62
+ * @readonly
63
+ */
64
+ version?: string | null;
65
+ /** Data extensions */
66
+ extendedFields?: ExtendedFields;
67
+ /** Seating Plan UI settings */
68
+ uiProperties?: SeatingPlanUiProperties;
69
+ /**
70
+ * Element groups
71
+ * @maxSize 1000
72
+ */
73
+ elementGroups?: ElementGroup[];
74
+ }
75
+ interface Section {
76
+ /** Unique section id */
77
+ id?: number;
78
+ /**
79
+ * Human readable section title
80
+ * @minLength 1
81
+ * @maxLength 20
82
+ */
83
+ title?: string | null;
84
+ /**
85
+ * Client configuration object
86
+ * @readonly
87
+ */
88
+ config?: Record<string, any> | null;
89
+ /**
90
+ * Elements of the section.
91
+ * @maxSize 1000
92
+ */
93
+ elements?: Element[];
94
+ /**
95
+ * Total capacity
96
+ * @readonly
97
+ */
98
+ totalCapacity?: number | null;
99
+ /**
100
+ * Is default section
101
+ * @readonly
102
+ */
103
+ default?: boolean;
104
+ }
105
+ interface Element {
106
+ /**
107
+ * Unique element id
108
+ * @min 1
109
+ */
110
+ id?: number;
111
+ /**
112
+ * User friendly title/label of the element.
113
+ * @minLength 1
114
+ * @maxLength 50
115
+ */
116
+ title?: string | null;
117
+ /** Element type */
118
+ type?: TypeWithLiterals;
119
+ /**
120
+ * Capacity. None for Shape type Element.
121
+ * @min 1
122
+ * @max 50000
123
+ */
124
+ capacity?: number | null;
125
+ /** Assigned to a category */
126
+ categoryId?: number | null;
127
+ /** A place numbering meta data */
128
+ sequencing?: Sequencing;
129
+ /**
130
+ * Place override (by seq_id)
131
+ * @maxSize 2000
132
+ */
133
+ overrides?: Place[];
134
+ /**
135
+ * Final place sequence with overrides
136
+ * @maxSize 200
137
+ * @readonly
138
+ */
139
+ places?: Place[];
140
+ /** Element reservation options */
141
+ reservationOptions?: ReservationOptions;
142
+ /** Element UI settings */
143
+ uiProperties?: ElementUiProperties;
144
+ /** Element group id */
145
+ elementGroupId?: number | null;
146
+ /** Multi row element relevant for MULTI_ROW element type */
147
+ multiRowProperties?: MultiRowProperties;
148
+ }
149
+ declare enum Type {
150
+ AREA = "AREA",
151
+ ROW = "ROW",
152
+ MULTI_ROW = "MULTI_ROW",
153
+ TABLE = "TABLE",
154
+ ROUND_TABLE = "ROUND_TABLE",
155
+ SHAPE = "SHAPE"
156
+ }
157
+ /** @enumType */
158
+ type TypeWithLiterals = Type | 'AREA' | 'ROW' | 'MULTI_ROW' | 'TABLE' | 'ROUND_TABLE' | 'SHAPE';
159
+ interface Sequencing {
160
+ /**
161
+ * First seq element
162
+ * @minLength 1
163
+ * @maxLength 4
164
+ */
165
+ startAt?: string;
166
+ /**
167
+ * Finite generated seq of labels
168
+ * @maxSize 2500
169
+ */
170
+ labels?: string[];
171
+ /** If true - direction right to left. Otherwise left to right. */
172
+ reverseOrder?: boolean | null;
173
+ }
174
+ interface Place {
175
+ /** Local id of the place in the sequence */
176
+ index?: number;
177
+ /**
178
+ * Generated composite unique id in the seating plan.
179
+ * @readonly
180
+ */
181
+ id?: string | null;
182
+ /**
183
+ * Unique label of the place
184
+ * @minLength 1
185
+ * @maxLength 4
186
+ */
187
+ label?: string;
188
+ /**
189
+ * Max capacity per place
190
+ * @readonly
191
+ */
192
+ capacity?: number | null;
193
+ /**
194
+ * Type of the parent element
195
+ * @readonly
196
+ */
197
+ elementType?: TypeWithLiterals;
198
+ /**
199
+ * Assigned category id
200
+ * @readonly
201
+ */
202
+ categoryId?: number | null;
203
+ /** Place type */
204
+ type?: PlaceTypeEnumTypeWithLiterals;
205
+ }
206
+ declare enum PlaceTypeEnumType {
207
+ UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
208
+ STANDARD = "STANDARD",
209
+ WHEELCHAIR = "WHEELCHAIR",
210
+ ACCESSIBLE = "ACCESSIBLE",
211
+ COMPANION = "COMPANION",
212
+ OBSTRUCTED = "OBSTRUCTED",
213
+ DISCOUNT = "DISCOUNT"
214
+ }
215
+ /** @enumType */
216
+ type PlaceTypeEnumTypeWithLiterals = PlaceTypeEnumType | 'UNKNOWN_PROPERTY' | 'STANDARD' | 'WHEELCHAIR' | 'ACCESSIBLE' | 'COMPANION' | 'OBSTRUCTED' | 'DISCOUNT';
217
+ interface ReservationOptions {
218
+ /** Indicates whether the entire element must be reserved */
219
+ reserveWholeElement?: boolean;
220
+ }
221
+ interface ElementUiProperties {
222
+ /**
223
+ * @min -1000000
224
+ * @max 1000000
225
+ */
226
+ x?: number | null;
227
+ /**
228
+ * @min -1000000
229
+ * @max 1000000
230
+ */
231
+ y?: number | null;
232
+ /**
233
+ * @min -1000000
234
+ * @max 1000000
235
+ */
236
+ zIndex?: number | null;
237
+ /** @max 1000000 */
238
+ width?: number | null;
239
+ /** @max 1000000 */
240
+ height?: number | null;
241
+ /**
242
+ * @min -180
243
+ * @max 180
244
+ */
245
+ rotationAngle?: number | null;
246
+ shapeType?: ShapeTypeEnumTypeWithLiterals;
247
+ /**
248
+ * @min 10
249
+ * @max 176
250
+ */
251
+ fontSize?: number | null;
252
+ /** @max 1000000 */
253
+ cornerRadius?: number | null;
254
+ /**
255
+ * @min 1
256
+ * @max 60
257
+ */
258
+ seatSpacing?: number | null;
259
+ hideLabel?: boolean | null;
260
+ labelPosition?: PositionWithLiterals;
261
+ seatLayout?: number[];
262
+ /** @max 50 */
263
+ emptyTopSeatSpaces?: number | null;
264
+ /**
265
+ * needs research
266
+ * @minLength 1
267
+ * @maxLength 10000
268
+ */
269
+ text?: string | null;
270
+ /**
271
+ * #F0F0F0
272
+ * @format COLOR_HEX
273
+ */
274
+ color?: string | null;
275
+ /**
276
+ * #F0F0F0
277
+ * @format COLOR_HEX
278
+ */
279
+ fillColor?: string | null;
280
+ /**
281
+ * #F0F0F0
282
+ * @format COLOR_HEX
283
+ */
284
+ strokeColor?: string | null;
285
+ /**
286
+ * px
287
+ * @min 1
288
+ * @max 6
289
+ */
290
+ strokeWidth?: number | null;
291
+ /** @max 100 */
292
+ opacity?: number | null;
293
+ icon?: IconWithLiterals;
294
+ image?: Image;
295
+ seatNumbering?: NumberingWithLiterals;
296
+ }
297
+ declare enum ShapeTypeEnumType {
298
+ UNKNOWN_TYPE = "UNKNOWN_TYPE",
299
+ TEXT = "TEXT",
300
+ RECTANGLE = "RECTANGLE",
301
+ ELLIPSE = "ELLIPSE",
302
+ LINE = "LINE",
303
+ ICON = "ICON",
304
+ IMAGE = "IMAGE"
305
+ }
306
+ /** @enumType */
307
+ type ShapeTypeEnumTypeWithLiterals = ShapeTypeEnumType | 'UNKNOWN_TYPE' | 'TEXT' | 'RECTANGLE' | 'ELLIPSE' | 'LINE' | 'ICON' | 'IMAGE';
308
+ declare enum Position {
309
+ UNKNOWN_POSITION = "UNKNOWN_POSITION",
310
+ LEFT = "LEFT",
311
+ RIGHT = "RIGHT",
312
+ BOTH = "BOTH",
313
+ NONE = "NONE"
314
+ }
315
+ /** @enumType */
316
+ type PositionWithLiterals = Position | 'UNKNOWN_POSITION' | 'LEFT' | 'RIGHT' | 'BOTH' | 'NONE';
317
+ declare enum Icon {
318
+ UNKNOWN_ICON = "UNKNOWN_ICON",
319
+ ENTER = "ENTER",
320
+ EXIT = "EXIT",
321
+ DRINKS = "DRINKS",
322
+ WC = "WC",
323
+ WC_MEN = "WC_MEN",
324
+ WC_WOMEN = "WC_WOMEN",
325
+ FOOD = "FOOD",
326
+ STAIRS = "STAIRS",
327
+ ELEVATOR = "ELEVATOR",
328
+ SMOKING = "SMOKING",
329
+ CHECKROOM = "CHECKROOM",
330
+ STAGE = "STAGE"
331
+ }
332
+ /** @enumType */
333
+ type IconWithLiterals = Icon | 'UNKNOWN_ICON' | 'ENTER' | 'EXIT' | 'DRINKS' | 'WC' | 'WC_MEN' | 'WC_WOMEN' | 'FOOD' | 'STAIRS' | 'ELEVATOR' | 'SMOKING' | 'CHECKROOM' | 'STAGE';
334
+ interface Image {
335
+ /** WixMedia image ID. */
336
+ id?: string;
337
+ /**
338
+ * Original image height.
339
+ * @readonly
340
+ */
341
+ height?: number;
342
+ /**
343
+ * Original image width.
344
+ * @readonly
345
+ */
346
+ width?: number;
347
+ /**
348
+ * WixMedia image URI.
349
+ * @deprecated
350
+ */
351
+ uri?: string | null;
352
+ }
353
+ declare enum Numbering {
354
+ UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
355
+ NUMERIC = "NUMERIC",
356
+ ODD_EVEN = "ODD_EVEN",
357
+ ALPHABETICAL = "ALPHABETICAL"
358
+ }
359
+ /** @enumType */
360
+ type NumberingWithLiterals = Numbering | 'UNKNOWN_NUMBERING' | 'NUMERIC' | 'ODD_EVEN' | 'ALPHABETICAL';
361
+ interface MultiRowProperties {
362
+ /**
363
+ * Individual rows of the multi row element
364
+ * @maxSize 1000
365
+ */
366
+ rows?: RowElement[];
367
+ /** Meta data for vertical labeling */
368
+ verticalSequencing?: VerticalSequencing;
369
+ /**
370
+ * Row spacing
371
+ * @min 1
372
+ * @max 60
373
+ */
374
+ rowSpacing?: number | null;
375
+ /**
376
+ * Amount of seats in the row
377
+ * @max 50
378
+ */
379
+ seatAmount?: number | null;
380
+ }
381
+ interface RowElement {
382
+ /**
383
+ * Unique row id
384
+ * @min 1
385
+ */
386
+ id?: number;
387
+ /**
388
+ * User friendly title/label of the row
389
+ * @minLength 1
390
+ * @maxLength 50
391
+ */
392
+ title?: string | null;
393
+ /**
394
+ * Row capacity
395
+ * @min 1
396
+ * @max 50000
397
+ */
398
+ capacity?: number | null;
399
+ /** Assigned to a category */
400
+ categoryId?: number | null;
401
+ /** A place numbering meta data for a single row */
402
+ sequencing?: Sequencing;
403
+ /** Row UI settings */
404
+ uiProperties?: RowElementUiProperties;
405
+ }
406
+ interface RowElementUiProperties {
407
+ /**
408
+ * Relative x position to the parent element
409
+ * @min -1000000
410
+ * @max 1000000
411
+ */
412
+ relativeX?: number | null;
413
+ /**
414
+ * Width of the row
415
+ * @max 1000000
416
+ */
417
+ width?: number | null;
418
+ /**
419
+ * Amount of seats in the row
420
+ * @max 50
421
+ */
422
+ seatAmount?: number | null;
423
+ /**
424
+ * Seat spacing
425
+ * @min 1
426
+ * @max 60
427
+ */
428
+ seatSpacing?: number | null;
429
+ /** Label position */
430
+ labelPosition?: PositionWithLiterals;
431
+ /** Seat numbering */
432
+ seatNumbering?: NumberingWithLiterals;
433
+ }
434
+ interface VerticalSequencing {
435
+ /**
436
+ * First seq element
437
+ * @minLength 1
438
+ * @maxLength 4
439
+ */
440
+ startAt?: string;
441
+ /** Row numbering */
442
+ rowNumbering?: NumberingWithLiterals;
443
+ /** If true - direction bottom to top. Otherwise top to bottom. */
444
+ reverseOrder?: boolean | null;
445
+ }
446
+ interface Category {
447
+ /**
448
+ * Local category id within the seating plan
449
+ * @min 1
450
+ */
451
+ id?: number;
452
+ /**
453
+ * A client defined external id for cross referencing.
454
+ * Can reference external entities.
455
+ * Format: "{entity_fqdn}:{entity_id}"
456
+ * @minLength 1
457
+ * @maxLength 100
458
+ */
459
+ externalId?: string | null;
460
+ /**
461
+ * Category label
462
+ * @minLength 1
463
+ * @maxLength 120
464
+ */
465
+ title?: string;
466
+ /**
467
+ * Client configuration object
468
+ * @readonly
469
+ */
470
+ config?: Record<string, any> | null;
471
+ /**
472
+ * Total capacity
473
+ * @readonly
474
+ */
475
+ totalCapacity?: number | null;
476
+ /**
477
+ * Possible places
478
+ * @maxSize 50000
479
+ * @readonly
480
+ */
481
+ places?: Place[];
482
+ }
483
+ interface ExtendedFields {
484
+ /**
485
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
486
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
487
+ *
488
+ * You can only access fields for which you have the appropriate permissions.
489
+ *
490
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
491
+ */
492
+ namespaces?: Record<string, Record<string, any>>;
493
+ }
494
+ interface SeatingPlanUiProperties {
495
+ /**
496
+ * #F0F0F0
497
+ * @format COLOR_HEX
498
+ */
499
+ backgroundColor?: string | null;
500
+ /** @max 100 */
501
+ backgroundOpacity?: number | null;
502
+ }
503
+ interface ElementGroup {
504
+ /**
505
+ * Unique element group id
506
+ * @min 1
507
+ */
508
+ id?: number;
509
+ /** Parent group id */
510
+ parentElementGroupId?: number | null;
511
+ /** Element group UI settings */
512
+ uiProperties?: ElementGroupUiProperties;
513
+ }
514
+ interface ElementGroupUiProperties {
515
+ /**
516
+ * x position of the group
517
+ * @min -1000000
518
+ * @max 1000000
519
+ */
520
+ x?: number | null;
521
+ /**
522
+ * y position of the group
523
+ * @min -1000000
524
+ * @max 1000000
525
+ */
526
+ y?: number | null;
527
+ /**
528
+ * width of the group
529
+ * @max 1000000
530
+ */
531
+ width?: number | null;
532
+ /**
533
+ * height of the group
534
+ * @max 1000000
535
+ */
536
+ height?: number | null;
537
+ /**
538
+ * rotation angle of the group
539
+ * @min -180
540
+ * @max 180
541
+ */
542
+ rotationAngle?: number | null;
543
+ }
544
+ interface CreateSeatingPlanRequest {
545
+ /** A plan to be created */
546
+ plan: SeatingPlan;
547
+ }
548
+ interface CreateSeatingPlanResponse {
549
+ /** The created plan */
550
+ plan?: SeatingPlan;
551
+ }
552
+ interface UpdateSeatingPlanRequest {
553
+ /** The plan updates */
554
+ plan?: SeatingPlan;
555
+ /** A set of field paths, specifying which parts of seating plan to update */
556
+ fields?: string[];
557
+ }
558
+ interface UpdateSeatingPlanResponse {
559
+ /** The updated plan */
560
+ plan?: SeatingPlan;
561
+ }
562
+ interface CopySeatingPlanRequest {
563
+ /**
564
+ * The id of the plan to be copied
565
+ * @format GUID
566
+ */
567
+ id: string | null;
568
+ /**
569
+ * New plan title
570
+ * @minLength 1
571
+ * @maxLength 120
572
+ */
573
+ title: string | null;
574
+ /**
575
+ * Format: "{fqdn}:{entity guid}"
576
+ * @minLength 1
577
+ * @maxLength 100
578
+ */
579
+ externalId: string | null;
580
+ }
581
+ interface CopySeatingPlanResponse {
582
+ /** The copied plan */
583
+ plan?: SeatingPlan;
584
+ }
585
+ interface QuerySeatingPlanRequest {
586
+ /**
587
+ * Generic query object
588
+ * Possible fieldsets: "elements", "categories", "places", "config".
589
+ */
590
+ query: QueryV2;
591
+ /** A fieldset for the response */
592
+ fieldset?: FieldsetWithLiterals[];
593
+ }
594
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
595
+ /** Paging options to limit and skip the number of items. */
596
+ paging?: Paging;
597
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
598
+ cursorPaging?: CursorPaging;
599
+ /**
600
+ * Filter object.
601
+ *
602
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
603
+ */
604
+ filter?: Record<string, any> | null;
605
+ /**
606
+ * Sort object.
607
+ *
608
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
609
+ */
610
+ sort?: Sorting[];
611
+ /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
612
+ fields?: string[];
613
+ /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
614
+ fieldsets?: string[];
615
+ }
616
+ /** @oneof */
617
+ interface QueryV2PagingMethodOneOf {
618
+ /** Paging options to limit and skip the number of items. */
619
+ paging?: Paging;
620
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
621
+ cursorPaging?: CursorPaging;
622
+ }
623
+ interface Sorting {
624
+ /**
625
+ * Name of the field to sort by.
626
+ * @maxLength 512
627
+ */
628
+ fieldName?: string;
629
+ /** Sort order. */
630
+ order?: SortOrderWithLiterals;
631
+ }
632
+ declare enum SortOrder {
633
+ ASC = "ASC",
634
+ DESC = "DESC"
635
+ }
636
+ /** @enumType */
637
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
638
+ interface Paging {
639
+ /** Number of items to load. */
640
+ limit?: number | null;
641
+ /** Number of items to skip in the current sort order. */
642
+ offset?: number | null;
643
+ }
644
+ interface CursorPaging {
645
+ /**
646
+ * Maximum number of items to return in the results.
647
+ * @max 100
648
+ */
649
+ limit?: number | null;
650
+ /**
651
+ * Pointer to the next or previous page in the list of results.
652
+ *
653
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
654
+ * Not relevant for the first request.
655
+ * @maxLength 16000
656
+ */
657
+ cursor?: string | null;
658
+ }
659
+ declare enum Fieldset {
660
+ ELEMENTS = "ELEMENTS",
661
+ CATEGORIES = "CATEGORIES",
662
+ PLACES = "PLACES",
663
+ CONFIG = "CONFIG",
664
+ ELEMENT_GROUPS = "ELEMENT_GROUPS"
665
+ }
666
+ /** @enumType */
667
+ type FieldsetWithLiterals = Fieldset | 'ELEMENTS' | 'CATEGORIES' | 'PLACES' | 'CONFIG' | 'ELEMENT_GROUPS';
668
+ interface QuerySeatingPlanResponse {
669
+ /** Plan results */
670
+ plans?: SeatingPlan[];
671
+ }
672
+ interface GetSeatingPlanRequest {
673
+ /**
674
+ * The id of the plan
675
+ * @format GUID
676
+ */
677
+ id: string | null;
678
+ /**
679
+ * A fieldset for the response
680
+ * @deprecated
681
+ */
682
+ fieldset?: FieldsetWithLiterals[];
683
+ /**
684
+ * Projection on the result object - list of named projections.
685
+ * Possible values: "elements", "categories", "places", "config".
686
+ */
687
+ fieldsets?: string[];
688
+ /** Seating Plan Mask */
689
+ seatingPlanMask?: SeatingPlanMask;
690
+ }
691
+ interface SeatingPlanMask {
692
+ /**
693
+ * Filter seating plan by place ids
694
+ * @minLength 5
695
+ * @maxLength 11
696
+ */
697
+ placeId?: string[];
698
+ }
699
+ interface GetSeatingPlanResponse {
700
+ /** The plan */
701
+ plan?: SeatingPlan;
702
+ }
703
+ interface FindSeatingPlanRequest {
704
+ /** The filter of the plan */
705
+ filter: Record<string, any> | null;
706
+ /**
707
+ * A fieldset for the response
708
+ * @deprecated
709
+ */
710
+ fieldset?: FieldsetWithLiterals[];
711
+ /**
712
+ * Projection on the result object - list of named projections.
713
+ * Possible values: "elements", "categories", "places", "config".
714
+ */
715
+ fieldsets?: string[];
716
+ /** Seating Plan Mask */
717
+ seatingPlanMask?: SeatingPlanMask;
718
+ }
719
+ interface FindSeatingPlanResponse {
720
+ /** The plan */
721
+ plan?: SeatingPlan;
722
+ }
723
+ interface DeleteSeatingPlanRequest {
724
+ /**
725
+ * The id of the plan
726
+ * @format GUID
727
+ */
728
+ id: string | null;
729
+ }
730
+ interface DeleteSeatingPlanResponse {
731
+ /** Deleted plan */
732
+ plan?: SeatingPlan;
733
+ }
734
+ interface UpdateSeatingPlanThumbnailRequest {
735
+ thumbnail: SeatingPlanThumbnail;
736
+ }
737
+ interface SeatingPlanThumbnail {
738
+ /**
739
+ * @format GUID
740
+ * @readonly
741
+ */
742
+ id?: string | null;
743
+ img?: string | null;
744
+ }
745
+ interface UpdateSeatingPlanThumbnailResponse {
746
+ thumbnail?: SeatingPlanThumbnail;
747
+ }
748
+ interface GetSeatingPlanThumbnailRequest {
749
+ /**
750
+ * @format GUID
751
+ * @readonly
752
+ */
753
+ id: string | null;
754
+ }
755
+ interface GetSeatingPlanThumbnailResponse {
756
+ thumbnail?: SeatingPlanThumbnail;
757
+ }
758
+
759
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
760
+ getUrl: (context: any) => string;
761
+ httpMethod: K;
762
+ path: string;
763
+ pathParams: M;
764
+ __requestType: T;
765
+ __originalRequestType: S;
766
+ __responseType: Q;
767
+ __originalResponseType: R;
768
+ };
769
+ declare function createSeatingPlan(): __PublicMethodMetaInfo<'POST', {}, CreateSeatingPlanRequest$1, CreateSeatingPlanRequest, CreateSeatingPlanResponse$1, CreateSeatingPlanResponse>;
770
+ declare function updateSeatingPlan(): __PublicMethodMetaInfo<'PUT', {}, UpdateSeatingPlanRequest$1, UpdateSeatingPlanRequest, UpdateSeatingPlanResponse$1, UpdateSeatingPlanResponse>;
771
+ declare function copySeatingPlan(): __PublicMethodMetaInfo<'POST', {}, CopySeatingPlanRequest$1, CopySeatingPlanRequest, CopySeatingPlanResponse$1, CopySeatingPlanResponse>;
772
+ declare function querySeatingPlan(): __PublicMethodMetaInfo<'POST', {}, QuerySeatingPlanRequest$1, QuerySeatingPlanRequest, QuerySeatingPlanResponse$1, QuerySeatingPlanResponse>;
773
+ declare function getSeatingPlan(): __PublicMethodMetaInfo<'GET', {
774
+ id: string;
775
+ }, GetSeatingPlanRequest$1, GetSeatingPlanRequest, GetSeatingPlanResponse$1, GetSeatingPlanResponse>;
776
+ declare function findSeatingPlan(): __PublicMethodMetaInfo<'POST', {}, FindSeatingPlanRequest$1, FindSeatingPlanRequest, FindSeatingPlanResponse$1, FindSeatingPlanResponse>;
777
+ declare function deleteSeatingPlan(): __PublicMethodMetaInfo<'DELETE', {
778
+ id: string;
779
+ }, DeleteSeatingPlanRequest$1, DeleteSeatingPlanRequest, DeleteSeatingPlanResponse$1, DeleteSeatingPlanResponse>;
780
+ declare function updateSeatingPlanThumbnail(): __PublicMethodMetaInfo<'POST', {}, UpdateSeatingPlanThumbnailRequest$1, UpdateSeatingPlanThumbnailRequest, UpdateSeatingPlanThumbnailResponse$1, UpdateSeatingPlanThumbnailResponse>;
781
+ declare function getSeatingPlanThumbnail(): __PublicMethodMetaInfo<'GET', {}, GetSeatingPlanThumbnailRequest$1, GetSeatingPlanThumbnailRequest, GetSeatingPlanThumbnailResponse$1, GetSeatingPlanThumbnailResponse>;
782
+
783
+ export { type __PublicMethodMetaInfo, copySeatingPlan, createSeatingPlan, deleteSeatingPlan, findSeatingPlan, getSeatingPlan, getSeatingPlanThumbnail, querySeatingPlan, updateSeatingPlan, updateSeatingPlanThumbnail };