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