@wix/auto_sdk_seatings_seating-plan 1.0.4 → 1.0.6

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} +122 -264
  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} +108 -285
  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} +122 -264
  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} +122 -264
  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} +108 -285
  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} +122 -264
  29. package/package.json +10 -9
  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 -960
  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 -487
  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 -452
  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 -487
  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 -960
  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 -452
  119. package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.js.map +0 -1
@@ -1,960 +0,0 @@
1
- export interface SeatingPlan {
2
- /**
3
- * Auto generated unique plan id
4
- * @format GUID
5
- * @readonly
6
- */
7
- id?: string | null;
8
- /**
9
- * A client defined external id for cross referencing.
10
- * Can reference external entities.
11
- * Format: "{fqdn}:{entity guid}"
12
- * @minLength 1
13
- * @maxLength 100
14
- */
15
- externalId?: string | null;
16
- /**
17
- * Human friendly plan title
18
- * @minLength 1
19
- * @maxLength 120
20
- */
21
- title?: string | null;
22
- /**
23
- * Sections of the plan. Seating plan is divided in high level sections.
24
- * @maxSize 100
25
- */
26
- sections?: Section[];
27
- /**
28
- * Categories for plan element grouping.
29
- * @maxSize 100
30
- */
31
- categories?: Category[];
32
- /**
33
- * Seating plan created timestamp.
34
- * @readonly
35
- */
36
- createdDate?: Date | null;
37
- /**
38
- * Seating plan updated timestamp.
39
- * @readonly
40
- */
41
- updatedDate?: Date | null;
42
- /**
43
- * Total capacity
44
- * @readonly
45
- */
46
- totalCapacity?: number | null;
47
- /**
48
- * Total categories
49
- * @readonly
50
- */
51
- totalCategories?: number | null;
52
- /**
53
- * Places not assigned to categories
54
- * @maxSize 50000
55
- * @readonly
56
- */
57
- uncategorizedPlaces?: Place[];
58
- /**
59
- * A version of the seating plan
60
- * @readonly
61
- */
62
- version?: string | null;
63
- /** Data extensions */
64
- extendedFields?: ExtendedFields;
65
- /** Seating Plan UI settings */
66
- uiProperties?: SeatingPlanUiProperties;
67
- /**
68
- * Element groups
69
- * @maxSize 1000
70
- */
71
- elementGroups?: ElementGroup[];
72
- }
73
- export interface Section {
74
- /** Unique section id */
75
- id?: number;
76
- /**
77
- * Human readable section title
78
- * @minLength 1
79
- * @maxLength 20
80
- */
81
- title?: string | null;
82
- /**
83
- * Client configuration object
84
- * @readonly
85
- */
86
- config?: Record<string, any> | null;
87
- /**
88
- * Elements of the section.
89
- * @maxSize 1000
90
- */
91
- elements?: Element[];
92
- /**
93
- * Total capacity
94
- * @readonly
95
- */
96
- totalCapacity?: number | null;
97
- /**
98
- * Is default section
99
- * @readonly
100
- */
101
- default?: boolean;
102
- }
103
- export interface Element {
104
- /**
105
- * Unique element id
106
- * @min 1
107
- */
108
- id?: number;
109
- /**
110
- * User friendly title/label of the element.
111
- * @minLength 1
112
- * @maxLength 50
113
- */
114
- title?: string | null;
115
- /** Element type */
116
- type?: Type;
117
- /**
118
- * Capacity. None for Shape type Element.
119
- * @min 1
120
- * @max 50000
121
- */
122
- capacity?: number | null;
123
- /** Assigned to a category */
124
- categoryId?: number | null;
125
- /** A place numbering meta data */
126
- sequencing?: Sequencing;
127
- /**
128
- * Place override (by seq_id)
129
- * @maxSize 2000
130
- */
131
- overrides?: Place[];
132
- /**
133
- * Final place sequence with overrides
134
- * @maxSize 200
135
- * @readonly
136
- */
137
- places?: Place[];
138
- /** Element reservation options */
139
- reservationOptions?: ReservationOptions;
140
- /** Element UI settings */
141
- uiProperties?: ElementUiProperties;
142
- /** Element group id */
143
- elementGroupId?: number | null;
144
- /** Multi row element relevant for MULTI_ROW element type */
145
- multiRowProperties?: MultiRowProperties;
146
- }
147
- export declare enum Type {
148
- AREA = "AREA",
149
- ROW = "ROW",
150
- MULTI_ROW = "MULTI_ROW",
151
- TABLE = "TABLE",
152
- ROUND_TABLE = "ROUND_TABLE",
153
- SHAPE = "SHAPE"
154
- }
155
- export interface Sequencing {
156
- /**
157
- * First seq element
158
- * @minLength 1
159
- * @maxLength 4
160
- */
161
- startAt?: string;
162
- /**
163
- * Finite generated seq of labels
164
- * @maxSize 2500
165
- */
166
- labels?: string[];
167
- /** If true - direction right to left. Otherwise left to right. */
168
- reverseOrder?: boolean | null;
169
- }
170
- export interface Place {
171
- /** Local id of the place in the sequence */
172
- index?: number;
173
- /**
174
- * Generated composite unique id in the seating plan.
175
- * @readonly
176
- */
177
- id?: string | null;
178
- /**
179
- * Unique label of the place
180
- * @minLength 1
181
- * @maxLength 4
182
- */
183
- label?: string;
184
- /**
185
- * Max capacity per place
186
- * @readonly
187
- */
188
- capacity?: number | null;
189
- /**
190
- * Type of the parent element
191
- * @readonly
192
- */
193
- elementType?: Type;
194
- /**
195
- * Assigned category id
196
- * @readonly
197
- */
198
- categoryId?: number | null;
199
- /** Place type */
200
- type?: PlaceTypeEnumType;
201
- }
202
- export declare enum PlaceTypeEnumType {
203
- UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
204
- STANDARD = "STANDARD",
205
- WHEELCHAIR = "WHEELCHAIR",
206
- ACCESSIBLE = "ACCESSIBLE",
207
- COMPANION = "COMPANION",
208
- OBSTRUCTED = "OBSTRUCTED",
209
- DISCOUNT = "DISCOUNT"
210
- }
211
- export interface ReservationOptions {
212
- /** Indicates whether the entire element must be reserved */
213
- reserveWholeElement?: boolean;
214
- }
215
- export interface ElementUiProperties {
216
- /**
217
- * @min -1000000
218
- * @max 1000000
219
- */
220
- x?: number | null;
221
- /**
222
- * @min -1000000
223
- * @max 1000000
224
- */
225
- y?: number | null;
226
- /**
227
- * @min -1000000
228
- * @max 1000000
229
- */
230
- zIndex?: number | null;
231
- /** @max 1000000 */
232
- width?: number | null;
233
- /** @max 1000000 */
234
- height?: number | null;
235
- /**
236
- * @min -180
237
- * @max 180
238
- */
239
- rotationAngle?: number | null;
240
- shapeType?: ShapeTypeEnumType;
241
- /**
242
- * @min 10
243
- * @max 176
244
- */
245
- fontSize?: number | null;
246
- /** @max 1000000 */
247
- cornerRadius?: number | null;
248
- /**
249
- * @min 1
250
- * @max 60
251
- */
252
- seatSpacing?: number | null;
253
- hideLabel?: boolean | null;
254
- labelPosition?: Position;
255
- seatLayout?: number[];
256
- /** @max 50 */
257
- emptyTopSeatSpaces?: number | null;
258
- /**
259
- * needs research
260
- * @minLength 1
261
- * @maxLength 10000
262
- */
263
- text?: string | null;
264
- /**
265
- * #F0F0F0
266
- * @format COLOR_HEX
267
- */
268
- color?: string | null;
269
- /**
270
- * #F0F0F0
271
- * @format COLOR_HEX
272
- */
273
- fillColor?: string | null;
274
- /**
275
- * #F0F0F0
276
- * @format COLOR_HEX
277
- */
278
- strokeColor?: string | null;
279
- /**
280
- * px
281
- * @min 1
282
- * @max 6
283
- */
284
- strokeWidth?: number | null;
285
- /** @max 100 */
286
- opacity?: number | null;
287
- icon?: Icon;
288
- image?: Image;
289
- seatNumbering?: Numbering;
290
- }
291
- export declare enum ShapeTypeEnumType {
292
- UNKNOWN_TYPE = "UNKNOWN_TYPE",
293
- TEXT = "TEXT",
294
- RECTANGLE = "RECTANGLE",
295
- ELLIPSE = "ELLIPSE",
296
- LINE = "LINE",
297
- ICON = "ICON",
298
- IMAGE = "IMAGE"
299
- }
300
- export declare enum Position {
301
- UNKNOWN_POSITION = "UNKNOWN_POSITION",
302
- LEFT = "LEFT",
303
- RIGHT = "RIGHT",
304
- BOTH = "BOTH",
305
- NONE = "NONE"
306
- }
307
- export declare enum Icon {
308
- UNKNOWN_ICON = "UNKNOWN_ICON",
309
- ENTER = "ENTER",
310
- EXIT = "EXIT",
311
- DRINKS = "DRINKS",
312
- WC = "WC",
313
- WC_MEN = "WC_MEN",
314
- WC_WOMEN = "WC_WOMEN",
315
- FOOD = "FOOD",
316
- STAIRS = "STAIRS",
317
- ELEVATOR = "ELEVATOR",
318
- SMOKING = "SMOKING",
319
- CHECKROOM = "CHECKROOM",
320
- STAGE = "STAGE"
321
- }
322
- export interface Image {
323
- /** WixMedia image ID. */
324
- id?: string;
325
- /**
326
- * Original image height.
327
- * @readonly
328
- */
329
- height?: number;
330
- /**
331
- * Original image width.
332
- * @readonly
333
- */
334
- width?: number;
335
- /**
336
- * WixMedia image URI.
337
- * @deprecated
338
- */
339
- uri?: string | null;
340
- }
341
- export declare enum Numbering {
342
- UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
343
- NUMERIC = "NUMERIC",
344
- ODD_EVEN = "ODD_EVEN",
345
- ALPHABETICAL = "ALPHABETICAL"
346
- }
347
- export interface MultiRowProperties {
348
- /**
349
- * Individual rows of the multi row element
350
- * @maxSize 1000
351
- */
352
- rows?: RowElement[];
353
- /** Meta data for vertical labeling */
354
- verticalSequencing?: VerticalSequencing;
355
- /**
356
- * Row spacing
357
- * @min 1
358
- * @max 60
359
- */
360
- rowSpacing?: number | null;
361
- /**
362
- * Amount of seats in the row
363
- * @max 50
364
- */
365
- seatAmount?: number | null;
366
- }
367
- export interface RowElement {
368
- /**
369
- * Unique row id
370
- * @min 1
371
- */
372
- id?: number;
373
- /**
374
- * User friendly title/label of the row
375
- * @minLength 1
376
- * @maxLength 50
377
- */
378
- title?: string | null;
379
- /**
380
- * Row capacity
381
- * @min 1
382
- * @max 50000
383
- */
384
- capacity?: number | null;
385
- /** Assigned to a category */
386
- categoryId?: number | null;
387
- /** A place numbering meta data for a single row */
388
- sequencing?: Sequencing;
389
- /** Row UI settings */
390
- uiProperties?: RowElementUiProperties;
391
- }
392
- export interface RowElementUiProperties {
393
- /**
394
- * Relative x position to the parent element
395
- * @min -1000000
396
- * @max 1000000
397
- */
398
- relativeX?: number | null;
399
- /**
400
- * Width of the row
401
- * @max 1000000
402
- */
403
- width?: number | null;
404
- /**
405
- * Amount of seats in the row
406
- * @max 50
407
- */
408
- seatAmount?: number | null;
409
- /**
410
- * Seat spacing
411
- * @min 1
412
- * @max 60
413
- */
414
- seatSpacing?: number | null;
415
- /** Label position */
416
- labelPosition?: Position;
417
- /** Seat numbering */
418
- seatNumbering?: Numbering;
419
- }
420
- export interface VerticalSequencing {
421
- /**
422
- * First seq element
423
- * @minLength 1
424
- * @maxLength 4
425
- */
426
- startAt?: string;
427
- /** Row numbering */
428
- rowNumbering?: Numbering;
429
- /** If true - direction bottom to top. Otherwise top to bottom. */
430
- reverseOrder?: boolean | null;
431
- }
432
- export interface Category {
433
- /**
434
- * Local category id within the seating plan
435
- * @min 1
436
- */
437
- id?: number;
438
- /**
439
- * A client defined external id for cross referencing.
440
- * Can reference external entities.
441
- * Format: "{entity_fqdn}:{entity_id}"
442
- * @minLength 1
443
- * @maxLength 100
444
- */
445
- externalId?: string | null;
446
- /**
447
- * Category label
448
- * @minLength 1
449
- * @maxLength 120
450
- */
451
- title?: string;
452
- /**
453
- * Client configuration object
454
- * @readonly
455
- */
456
- config?: Record<string, any> | null;
457
- /**
458
- * Total capacity
459
- * @readonly
460
- */
461
- totalCapacity?: number | null;
462
- /**
463
- * Possible places
464
- * @maxSize 50000
465
- * @readonly
466
- */
467
- places?: Place[];
468
- }
469
- export interface ExtendedFields {
470
- /**
471
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
472
- * The value of each key is structured according to the schema defined when the extended fields were configured.
473
- *
474
- * You can only access fields for which you have the appropriate permissions.
475
- *
476
- * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
477
- */
478
- namespaces?: Record<string, Record<string, any>>;
479
- }
480
- export interface SeatingPlanUiProperties {
481
- /**
482
- * #F0F0F0
483
- * @format COLOR_HEX
484
- */
485
- backgroundColor?: string | null;
486
- /** @max 100 */
487
- backgroundOpacity?: number | null;
488
- }
489
- export interface ElementGroup {
490
- /**
491
- * Unique element group id
492
- * @min 1
493
- */
494
- id?: number;
495
- /** Parent group id */
496
- parentElementGroupId?: number | null;
497
- /** Element group UI settings */
498
- uiProperties?: ElementGroupUiProperties;
499
- }
500
- export interface ElementGroupUiProperties {
501
- /**
502
- * x position of the group
503
- * @min -1000000
504
- * @max 1000000
505
- */
506
- x?: number | null;
507
- /**
508
- * y position of the group
509
- * @min -1000000
510
- * @max 1000000
511
- */
512
- y?: number | null;
513
- /**
514
- * width of the group
515
- * @max 1000000
516
- */
517
- width?: number | null;
518
- /**
519
- * height of the group
520
- * @max 1000000
521
- */
522
- height?: number | null;
523
- /**
524
- * rotation angle of the group
525
- * @min -180
526
- * @max 180
527
- */
528
- rotationAngle?: number | null;
529
- }
530
- export interface CreateSeatingPlanRequest {
531
- /** A plan to be created */
532
- plan: SeatingPlan;
533
- }
534
- export interface CreateSeatingPlanResponse {
535
- /** The created plan */
536
- plan?: SeatingPlan;
537
- }
538
- export interface CapacityExceededViolation {
539
- /** Max allowed capacity */
540
- maxCapacity?: number;
541
- /** Invalid capacity */
542
- capacity?: number;
543
- /** The element id */
544
- elementId?: number | null;
545
- }
546
- export interface UpdateSeatingPlanRequest {
547
- /** The plan updates */
548
- plan?: SeatingPlan;
549
- /** A set of field paths, specifying which parts of seating plan to update */
550
- fields?: string[];
551
- }
552
- export interface UpdateSeatingPlanResponse {
553
- /** The updated plan */
554
- plan?: SeatingPlan;
555
- }
556
- export interface CopySeatingPlanRequest {
557
- /**
558
- * The id of the plan to be copied
559
- * @format GUID
560
- */
561
- id: string | null;
562
- /**
563
- * New plan title
564
- * @minLength 1
565
- * @maxLength 120
566
- */
567
- title: string | null;
568
- /**
569
- * Format: "{fqdn}:{entity guid}"
570
- * @minLength 1
571
- * @maxLength 100
572
- */
573
- externalId: string | null;
574
- }
575
- export interface CopySeatingPlanResponse {
576
- /** The copied plan */
577
- plan?: SeatingPlan;
578
- }
579
- export interface QuerySeatingPlanRequest {
580
- /**
581
- * Generic query object
582
- * Possible fieldsets: "elements", "categories", "places", "config".
583
- */
584
- query: QueryV2;
585
- /** A fieldset for the response */
586
- fieldset?: Fieldset[];
587
- }
588
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
589
- /** Paging options to limit and skip the number of items. */
590
- paging?: Paging;
591
- /** 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`. */
592
- cursorPaging?: CursorPaging;
593
- /**
594
- * Filter object.
595
- *
596
- * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
597
- */
598
- filter?: Record<string, any> | null;
599
- /**
600
- * Sort object.
601
- *
602
- * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
603
- */
604
- sort?: Sorting[];
605
- /** 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. */
606
- fields?: string[];
607
- /** 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. */
608
- fieldsets?: string[];
609
- }
610
- /** @oneof */
611
- export interface QueryV2PagingMethodOneOf {
612
- /** Paging options to limit and skip the number of items. */
613
- paging?: Paging;
614
- /** 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`. */
615
- cursorPaging?: CursorPaging;
616
- }
617
- export interface Sorting {
618
- /**
619
- * Name of the field to sort by.
620
- * @maxLength 512
621
- */
622
- fieldName?: string;
623
- /** Sort order. */
624
- order?: SortOrder;
625
- }
626
- export declare enum SortOrder {
627
- ASC = "ASC",
628
- DESC = "DESC"
629
- }
630
- export interface Paging {
631
- /** Number of items to load. */
632
- limit?: number | null;
633
- /** Number of items to skip in the current sort order. */
634
- offset?: number | null;
635
- }
636
- export interface CursorPaging {
637
- /**
638
- * Maximum number of items to return in the results.
639
- * @max 100
640
- */
641
- limit?: number | null;
642
- /**
643
- * Pointer to the next or previous page in the list of results.
644
- *
645
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
646
- * Not relevant for the first request.
647
- * @maxLength 16000
648
- */
649
- cursor?: string | null;
650
- }
651
- export declare enum Fieldset {
652
- ELEMENTS = "ELEMENTS",
653
- CATEGORIES = "CATEGORIES",
654
- PLACES = "PLACES",
655
- CONFIG = "CONFIG",
656
- ELEMENT_GROUPS = "ELEMENT_GROUPS"
657
- }
658
- export interface QuerySeatingPlanResponse {
659
- /** Plan results */
660
- plans?: SeatingPlan[];
661
- }
662
- export interface GetSeatingPlanRequest {
663
- /**
664
- * The id of the plan
665
- * @format GUID
666
- */
667
- id: string | null;
668
- /**
669
- * A fieldset for the response
670
- * @deprecated
671
- */
672
- fieldset?: Fieldset[];
673
- /**
674
- * Projection on the result object - list of named projections.
675
- * Possible values: "elements", "categories", "places", "config".
676
- */
677
- fieldsets?: string[];
678
- /** Seating Plan Mask */
679
- seatingPlanMask?: SeatingPlanMask;
680
- }
681
- export interface SeatingPlanMask {
682
- /**
683
- * Filter seating plan by place ids
684
- * @minLength 5
685
- * @maxLength 11
686
- */
687
- placeId?: string[];
688
- }
689
- export interface GetSeatingPlanResponse {
690
- /** The plan */
691
- plan?: SeatingPlan;
692
- }
693
- export interface FindSeatingPlanRequest {
694
- /** The filter of the plan */
695
- filter: Record<string, any> | null;
696
- /**
697
- * A fieldset for the response
698
- * @deprecated
699
- */
700
- fieldset?: Fieldset[];
701
- /**
702
- * Projection on the result object - list of named projections.
703
- * Possible values: "elements", "categories", "places", "config".
704
- */
705
- fieldsets?: string[];
706
- /** Seating Plan Mask */
707
- seatingPlanMask?: SeatingPlanMask;
708
- }
709
- export interface FindSeatingPlanResponse {
710
- /** The plan */
711
- plan?: SeatingPlan;
712
- }
713
- export interface DeleteSeatingPlanRequest {
714
- /**
715
- * The id of the plan
716
- * @format GUID
717
- */
718
- id: string | null;
719
- }
720
- export interface DeleteSeatingPlanResponse {
721
- /** Deleted plan */
722
- plan?: SeatingPlan;
723
- }
724
- export interface DomainEvent extends DomainEventBodyOneOf {
725
- createdEvent?: EntityCreatedEvent;
726
- updatedEvent?: EntityUpdatedEvent;
727
- deletedEvent?: EntityDeletedEvent;
728
- actionEvent?: ActionEvent;
729
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
730
- id?: string;
731
- /**
732
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
733
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
734
- */
735
- entityFqdn?: string;
736
- /**
737
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
738
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
739
- */
740
- slug?: string;
741
- /** ID of the entity associated with the event. */
742
- entityId?: string;
743
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
744
- eventTime?: Date | null;
745
- /**
746
- * Whether the event was triggered as a result of a privacy regulation application
747
- * (for example, GDPR).
748
- */
749
- triggeredByAnonymizeRequest?: boolean | null;
750
- /** If present, indicates the action that triggered the event. */
751
- originatedFrom?: string | null;
752
- /**
753
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
754
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
755
- */
756
- entityEventSequence?: string | null;
757
- }
758
- /** @oneof */
759
- export interface DomainEventBodyOneOf {
760
- createdEvent?: EntityCreatedEvent;
761
- updatedEvent?: EntityUpdatedEvent;
762
- deletedEvent?: EntityDeletedEvent;
763
- actionEvent?: ActionEvent;
764
- }
765
- export interface EntityCreatedEvent {
766
- entityAsJson?: string;
767
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
768
- restoreInfo?: RestoreInfo;
769
- }
770
- export interface RestoreInfo {
771
- deletedDate?: Date | null;
772
- }
773
- export interface EntityUpdatedEvent {
774
- /**
775
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
776
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
777
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
778
- */
779
- currentEntityAsJson?: string;
780
- }
781
- export interface EntityDeletedEvent {
782
- /** Entity that was deleted. */
783
- deletedEntityAsJson?: string | null;
784
- }
785
- export interface ActionEvent {
786
- bodyAsJson?: string;
787
- }
788
- export interface MessageEnvelope {
789
- /**
790
- * App instance ID.
791
- * @format GUID
792
- */
793
- instanceId?: string | null;
794
- /**
795
- * Event type.
796
- * @maxLength 150
797
- */
798
- eventType?: string;
799
- /** The identification type and identity data. */
800
- identity?: IdentificationData;
801
- /** Stringify payload. */
802
- data?: string;
803
- }
804
- export interface IdentificationData extends IdentificationDataIdOneOf {
805
- /**
806
- * ID of a site visitor that has not logged in to the site.
807
- * @format GUID
808
- */
809
- anonymousVisitorId?: string;
810
- /**
811
- * ID of a site visitor that has logged in to the site.
812
- * @format GUID
813
- */
814
- memberId?: string;
815
- /**
816
- * ID of a Wix user (site owner, contributor, etc.).
817
- * @format GUID
818
- */
819
- wixUserId?: string;
820
- /**
821
- * ID of an app.
822
- * @format GUID
823
- */
824
- appId?: string;
825
- /** @readonly */
826
- identityType?: WebhookIdentityType;
827
- }
828
- /** @oneof */
829
- export interface IdentificationDataIdOneOf {
830
- /**
831
- * ID of a site visitor that has not logged in to the site.
832
- * @format GUID
833
- */
834
- anonymousVisitorId?: string;
835
- /**
836
- * ID of a site visitor that has logged in to the site.
837
- * @format GUID
838
- */
839
- memberId?: string;
840
- /**
841
- * ID of a Wix user (site owner, contributor, etc.).
842
- * @format GUID
843
- */
844
- wixUserId?: string;
845
- /**
846
- * ID of an app.
847
- * @format GUID
848
- */
849
- appId?: string;
850
- }
851
- export declare enum WebhookIdentityType {
852
- UNKNOWN = "UNKNOWN",
853
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
854
- MEMBER = "MEMBER",
855
- WIX_USER = "WIX_USER",
856
- APP = "APP"
857
- }
858
- export interface SaveSeatingPlanVersionRequest {
859
- /** A plan version to be saved */
860
- plan?: SeatingPlan;
861
- /**
862
- * Parent version of the plan.
863
- * Use this field to override history of plan versions.
864
- * The next version of the plan will still be latest version +1,
865
- * but intermediate versions will be removed. Example:
866
- * Existing versions [1, 2, 3, 4, 5].
867
- * Save request with parent_version 2 will yield versions [1, 2, 6].
868
- * @min 1
869
- */
870
- parentVersion?: string | null;
871
- }
872
- export interface SaveSeatingPlanVersionResponse {
873
- /** Updated plan version */
874
- plan?: SeatingPlan;
875
- }
876
- export interface QuerySeatingPlanVersionsRequest {
877
- /**
878
- * Generic query object
879
- * Possible fieldsets: "elements", "categories", "places", "config".
880
- */
881
- query?: QueryV2;
882
- }
883
- export interface QuerySeatingPlanVersionsResponse {
884
- /** Plan results */
885
- plans?: SeatingPlan[];
886
- /** Paging meta data */
887
- metadata?: PagingMetadataV2;
888
- }
889
- export interface PagingMetadataV2 {
890
- /** Number of items returned in the response. */
891
- count?: number | null;
892
- /** Offset that was requested. */
893
- offset?: number | null;
894
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
895
- total?: number | null;
896
- /** Flag that indicates the server failed to calculate the `total` field. */
897
- tooManyToCount?: boolean | null;
898
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
899
- cursors?: Cursors;
900
- }
901
- export interface Cursors {
902
- /**
903
- * Cursor string pointing to the next page in the list of results.
904
- * @maxLength 16000
905
- */
906
- next?: string | null;
907
- /**
908
- * Cursor pointing to the previous page in the list of results.
909
- * @maxLength 16000
910
- */
911
- prev?: string | null;
912
- }
913
- export interface DiscardSeatingPlanVersionsRequest {
914
- /**
915
- * Seating Plan ID
916
- * @format GUID
917
- */
918
- seatingPlanId?: string | null;
919
- /** Version from which all higher versions will be discarded. */
920
- version?: string | null;
921
- }
922
- export interface DiscardSeatingPlanVersionsResponse {
923
- }
924
- export interface RestoreSeatingPlanRequest {
925
- /**
926
- * Seating Plan ID
927
- * @format GUID
928
- */
929
- seatingPlanId?: string | null;
930
- /** Version to witch the seating plan should be restored. */
931
- version?: string | null;
932
- }
933
- export interface RestoreSeatingPlanResponse {
934
- /** Seating Plan */
935
- plan?: SeatingPlan;
936
- }
937
- export interface UpdateSeatingPlanThumbnailRequest {
938
- thumbnail: SeatingPlanThumbnail;
939
- }
940
- export interface SeatingPlanThumbnail {
941
- /**
942
- * @format GUID
943
- * @readonly
944
- */
945
- id?: string | null;
946
- img?: string | null;
947
- }
948
- export interface UpdateSeatingPlanThumbnailResponse {
949
- thumbnail?: SeatingPlanThumbnail;
950
- }
951
- export interface GetSeatingPlanThumbnailRequest {
952
- /**
953
- * @format GUID
954
- * @readonly
955
- */
956
- id: string | null;
957
- }
958
- export interface GetSeatingPlanThumbnailResponse {
959
- thumbnail?: SeatingPlanThumbnail;
960
- }