@wix/auto_sdk_seatings_seating-reservation 1.0.4 → 1.0.5

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 +61 -1
  2. package/build/cjs/index.js +613 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/meta.d.ts +841 -1
  5. package/build/cjs/meta.js +369 -15
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/{internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts → cjs/seating-v1-seating-reservation-seating-reservation.universal-CzABkBgJ.d.ts} +98 -195
  8. package/build/es/index.d.mts +61 -0
  9. package/build/es/index.mjs +577 -0
  10. package/build/es/index.mjs.map +1 -0
  11. package/build/{cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts → es/meta.d.mts} +81 -417
  12. package/build/es/meta.mjs +340 -0
  13. package/build/es/meta.mjs.map +1 -0
  14. package/build/{cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts → es/seating-v1-seating-reservation-seating-reservation.universal-CzABkBgJ.d.mts} +98 -195
  15. package/build/internal/cjs/index.d.ts +61 -1
  16. package/build/internal/cjs/index.js +613 -15
  17. package/build/internal/cjs/index.js.map +1 -1
  18. package/build/internal/cjs/meta.d.ts +841 -1
  19. package/build/internal/cjs/meta.js +369 -15
  20. package/build/internal/cjs/meta.js.map +1 -1
  21. package/build/internal/{es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts → cjs/seating-v1-seating-reservation-seating-reservation.universal-CzABkBgJ.d.ts} +98 -195
  22. package/build/internal/es/index.d.mts +61 -0
  23. package/build/internal/es/index.mjs +577 -0
  24. package/build/internal/es/index.mjs.map +1 -0
  25. package/build/internal/{cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts → es/meta.d.mts} +81 -417
  26. package/build/internal/es/meta.mjs +340 -0
  27. package/build/internal/es/meta.mjs.map +1 -0
  28. package/build/{es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts → internal/es/seating-v1-seating-reservation-seating-reservation.universal-CzABkBgJ.d.mts} +98 -195
  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-reservation-seating-reservation.context.d.ts +0 -17
  34. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js +0 -28
  35. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js.map +0 -1
  36. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +0 -11
  37. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js +0 -232
  38. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js.map +0 -1
  39. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +0 -24
  40. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js +0 -142
  41. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +0 -1
  42. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +0 -50
  43. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js +0 -67
  44. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +0 -1
  45. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js +0 -77
  46. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +0 -1
  47. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +0 -336
  48. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +0 -1
  49. package/build/es/index.d.ts +0 -1
  50. package/build/es/index.js +0 -2
  51. package/build/es/index.js.map +0 -1
  52. package/build/es/index.typings.d.ts +0 -1
  53. package/build/es/index.typings.js +0 -2
  54. package/build/es/index.typings.js.map +0 -1
  55. package/build/es/meta.d.ts +0 -1
  56. package/build/es/meta.js +0 -2
  57. package/build/es/meta.js.map +0 -1
  58. package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +0 -17
  59. package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.js +0 -17
  60. package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.js.map +0 -1
  61. package/build/es/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +0 -11
  62. package/build/es/src/seating-v1-seating-reservation-seating-reservation.http.js +0 -223
  63. package/build/es/src/seating-v1-seating-reservation-seating-reservation.http.js.map +0 -1
  64. package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +0 -24
  65. package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.js +0 -110
  66. package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +0 -1
  67. package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +0 -50
  68. package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.js +0 -50
  69. package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +0 -1
  70. package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +0 -1177
  71. package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.js +0 -74
  72. package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +0 -1
  73. package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +0 -304
  74. package/build/es/src/seating-v1-seating-reservation-seating-reservation.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-reservation-seating-reservation.context.d.ts +0 -17
  79. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js +0 -28
  80. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js.map +0 -1
  81. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +0 -11
  82. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js +0 -232
  83. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js.map +0 -1
  84. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +0 -24
  85. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js +0 -142
  86. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +0 -1
  87. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +0 -50
  88. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js +0 -67
  89. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +0 -1
  90. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js +0 -77
  91. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +0 -1
  92. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +0 -336
  93. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.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-reservation-seating-reservation.context.d.ts +0 -17
  104. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.js +0 -17
  105. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.js.map +0 -1
  106. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +0 -11
  107. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.http.js +0 -223
  108. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.http.js.map +0 -1
  109. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +0 -24
  110. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.js +0 -110
  111. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +0 -1
  112. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +0 -50
  113. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.js +0 -50
  114. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +0 -1
  115. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +0 -1177
  116. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.js +0 -74
  117. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +0 -1
  118. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +0 -304
  119. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +0 -1
@@ -1,1177 +0,0 @@
1
- export interface SeatingReservation {
2
- /**
3
- * The id of the reservation
4
- * @format GUID
5
- * @readonly
6
- */
7
- id?: string | null;
8
- /**
9
- * The seating plan id
10
- * @format GUID
11
- * @readonly
12
- */
13
- seatingPlanId?: string | null;
14
- /**
15
- * The external seating plan id
16
- * @minLength 1
17
- * @maxLength 100
18
- * @readonly
19
- */
20
- externalSeatingPlanId?: string | null;
21
- /**
22
- * Reserved places
23
- * @minSize 1
24
- * @maxSize 100
25
- */
26
- reservedPlaces?: PlaceReservation[];
27
- /**
28
- * A client defined external id for cross referencing.
29
- * Can reference external entities.
30
- * Format: "{fqdn}:{entity guid}"
31
- * @minLength 1
32
- * @maxLength 100
33
- */
34
- externalId?: string | null;
35
- /**
36
- * Revision number, which increments by 1 each time the reservation is updated.
37
- * @readonly
38
- */
39
- revision?: string | null;
40
- }
41
- export interface PlaceReservation {
42
- /**
43
- * The place id.
44
- * @minLength 5
45
- * @maxLength 11
46
- */
47
- id?: string;
48
- /**
49
- * Number of places in the spot. If not provided - defaults to 1.
50
- * Used to reserve for more that one place in areas.
51
- * @min 1
52
- * @max 50
53
- */
54
- capacity?: number | null;
55
- /**
56
- * Optional section label.
57
- * @readonly
58
- */
59
- sectionLabel?: string | null;
60
- /**
61
- * Area label.
62
- * @readonly
63
- */
64
- areaLabel?: string | null;
65
- /**
66
- * Table label.
67
- * @readonly
68
- */
69
- tableLabel?: string | null;
70
- /**
71
- * Row label.
72
- * @readonly
73
- */
74
- rowLabel?: string | null;
75
- /**
76
- * Seat label in a row or table.
77
- * @readonly
78
- */
79
- seatLabel?: string | null;
80
- }
81
- export interface SeatingPlanCategoriesSummaryUpdated {
82
- /**
83
- * Seating plan id
84
- * @format GUID
85
- */
86
- seatingPlanId?: string;
87
- /** External seating plan id */
88
- externalSeatingPlanId?: string | null;
89
- /**
90
- * Ticket counts by category
91
- * @maxSize 100
92
- */
93
- categories?: CategoryDetails[];
94
- /**
95
- * Summary revision.
96
- * @readonly
97
- */
98
- revision?: string | null;
99
- }
100
- export interface CategoryDetails {
101
- /**
102
- * Seating plan id
103
- * @format GUID
104
- * @readonly
105
- */
106
- seatingPlanId?: string | null;
107
- /**
108
- * External seating plan id
109
- * @minLength 1
110
- * @maxLength 100
111
- * @readonly
112
- */
113
- externalSeatingPlanId?: string | null;
114
- /**
115
- * External category id
116
- * @minLength 1
117
- * @maxLength 100
118
- * @readonly
119
- */
120
- externalCategoryId?: string | null;
121
- /**
122
- * Total capacity in the category
123
- * @readonly
124
- */
125
- totalCapacity?: number | null;
126
- /**
127
- * Already reserved capacity
128
- * @readonly
129
- */
130
- reserved?: number | null;
131
- }
132
- export interface InvalidateCache extends InvalidateCacheGetByOneOf {
133
- /**
134
- * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
135
- * @format GUID
136
- */
137
- metaSiteId?: string;
138
- /**
139
- * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
140
- * @format GUID
141
- */
142
- siteId?: string;
143
- /** Invalidate by App */
144
- app?: App;
145
- /** Invalidate by page id */
146
- page?: Page;
147
- /** Invalidate by URI path */
148
- uri?: URI;
149
- /** Invalidate by file (for media files such as PDFs) */
150
- file?: File;
151
- /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
152
- customTag?: CustomTag;
153
- /**
154
- * tell us why you're invalidating the cache. You don't need to add your app name
155
- * @maxLength 256
156
- */
157
- reason?: string | null;
158
- /** Is local DS */
159
- localDc?: boolean;
160
- hardPurge?: boolean;
161
- }
162
- /** @oneof */
163
- export interface InvalidateCacheGetByOneOf {
164
- /**
165
- * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
166
- * @format GUID
167
- */
168
- metaSiteId?: string;
169
- /**
170
- * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
171
- * @format GUID
172
- */
173
- siteId?: string;
174
- /** Invalidate by App */
175
- app?: App;
176
- /** Invalidate by page id */
177
- page?: Page;
178
- /** Invalidate by URI path */
179
- uri?: URI;
180
- /** Invalidate by file (for media files such as PDFs) */
181
- file?: File;
182
- /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
183
- customTag?: CustomTag;
184
- }
185
- export interface App {
186
- /**
187
- * The AppDefId
188
- * @minLength 1
189
- */
190
- appDefId?: string;
191
- /**
192
- * The instance Id
193
- * @format GUID
194
- */
195
- instanceId?: string;
196
- }
197
- export interface Page {
198
- /**
199
- * the msid the page is on
200
- * @format GUID
201
- */
202
- metaSiteId?: string;
203
- /**
204
- * Invalidate by Page ID
205
- * @minLength 1
206
- */
207
- pageId?: string;
208
- }
209
- export interface URI {
210
- /**
211
- * the msid the URI is on
212
- * @format GUID
213
- */
214
- metaSiteId?: string;
215
- /**
216
- * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
217
- * @minLength 1
218
- */
219
- uriPath?: string;
220
- }
221
- export interface File {
222
- /**
223
- * the msid the file is related to
224
- * @format GUID
225
- */
226
- metaSiteId?: string;
227
- /**
228
- * Invalidate by filename (for media files such as PDFs)
229
- * @minLength 1
230
- * @maxLength 256
231
- */
232
- fileName?: string;
233
- }
234
- export interface CustomTag {
235
- /**
236
- * the msid the tag is related to
237
- * @format GUID
238
- */
239
- metaSiteId?: string;
240
- /**
241
- * Tag to invalidate by
242
- * @minLength 1
243
- * @maxLength 256
244
- */
245
- tag?: string;
246
- }
247
- export interface CreateSeatingReservationRequest {
248
- /** A reservation to create */
249
- reservation?: SeatingReservation;
250
- }
251
- export interface CreateSeatingReservationResponse {
252
- /** Created reservation */
253
- reservation?: SeatingReservation;
254
- }
255
- export interface Places {
256
- /**
257
- * Places
258
- * @minSize 1
259
- * @maxSize 100
260
- */
261
- places?: string[];
262
- }
263
- export interface UnavailablePlaces {
264
- /**
265
- * Places that cannot be reserved
266
- * @minSize 1
267
- * @maxSize 100
268
- */
269
- unavailablePlaces?: string[];
270
- /**
271
- * Reservation error details
272
- * @minSize 1
273
- * @maxSize 100
274
- */
275
- reservationErrorDetails?: ReservationErrorDetails[];
276
- }
277
- export interface ReservationErrorDetails {
278
- /** Place */
279
- id?: string;
280
- /** Available capacity */
281
- available?: number;
282
- /** Requested capacity */
283
- requested?: number;
284
- }
285
- export interface GetReservationRequest {
286
- /**
287
- * The id of the reservation to return
288
- * @format GUID
289
- */
290
- id: string | null;
291
- }
292
- export interface GetReservationResponse {
293
- /** Created reservation */
294
- reservation?: SeatingReservation;
295
- }
296
- export interface QuerySeatingReservationRequest {
297
- /** A query object */
298
- query: QueryV2;
299
- }
300
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
301
- /** Paging options to limit and skip the number of items. */
302
- paging?: Paging;
303
- /** 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`. */
304
- cursorPaging?: CursorPaging;
305
- /**
306
- * Filter object.
307
- *
308
- * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
309
- */
310
- filter?: Record<string, any> | null;
311
- /**
312
- * Sort object.
313
- *
314
- * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
315
- */
316
- sort?: Sorting[];
317
- /** 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. */
318
- fields?: string[];
319
- /** 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. */
320
- fieldsets?: string[];
321
- }
322
- /** @oneof */
323
- export interface QueryV2PagingMethodOneOf {
324
- /** Paging options to limit and skip the number of items. */
325
- paging?: Paging;
326
- /** 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`. */
327
- cursorPaging?: CursorPaging;
328
- }
329
- export interface Sorting {
330
- /**
331
- * Name of the field to sort by.
332
- * @maxLength 512
333
- */
334
- fieldName?: string;
335
- /** Sort order. */
336
- order?: SortOrderWithLiterals;
337
- }
338
- export declare enum SortOrder {
339
- ASC = "ASC",
340
- DESC = "DESC"
341
- }
342
- /** @enumType */
343
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
344
- export interface Paging {
345
- /** Number of items to load. */
346
- limit?: number | null;
347
- /** Number of items to skip in the current sort order. */
348
- offset?: number | null;
349
- }
350
- export interface CursorPaging {
351
- /**
352
- * Maximum number of items to return in the results.
353
- * @max 100
354
- */
355
- limit?: number | null;
356
- /**
357
- * Pointer to the next or previous page in the list of results.
358
- *
359
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
360
- * Not relevant for the first request.
361
- * @maxLength 16000
362
- */
363
- cursor?: string | null;
364
- }
365
- export interface QuerySeatingReservationResponse {
366
- /** Found reservations */
367
- reservations?: SeatingReservation[];
368
- /** Paging meta data */
369
- metadata?: PagingMetadataV2;
370
- }
371
- export interface PagingMetadataV2 {
372
- /** Number of items returned in the response. */
373
- count?: number | null;
374
- /** Offset that was requested. */
375
- offset?: number | null;
376
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
377
- total?: number | null;
378
- /** Flag that indicates the server failed to calculate the `total` field. */
379
- tooManyToCount?: boolean | null;
380
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
381
- cursors?: Cursors;
382
- }
383
- export interface Cursors {
384
- /**
385
- * Cursor string pointing to the next page in the list of results.
386
- * @maxLength 16000
387
- */
388
- next?: string | null;
389
- /**
390
- * Cursor pointing to the previous page in the list of results.
391
- * @maxLength 16000
392
- */
393
- prev?: string | null;
394
- }
395
- export interface DeleteSeatingReservationRequest {
396
- /**
397
- * The id of the reservation to delete
398
- * @format GUID
399
- */
400
- id: string | null;
401
- }
402
- export interface DeleteSeatingReservationResponse {
403
- /** The deleted reservation */
404
- reservation?: SeatingReservation;
405
- }
406
- export interface DeleteSeatingPlaceReservationRequest {
407
- /** The id of the place reservation to delete */
408
- id?: string | null;
409
- /**
410
- * The id of the place reservation's reservation
411
- * @format GUID
412
- */
413
- reservationId?: string | null;
414
- }
415
- export interface Empty {
416
- }
417
- export interface CancelSeatingPlaceReservationsRequest {
418
- /**
419
- * The id of the place reservations' reservation
420
- * @format GUID
421
- */
422
- reservationId?: string | null;
423
- /**
424
- * The place reservations to cancel
425
- * @minSize 1
426
- * @maxSize 100
427
- */
428
- placeReservations?: PlaceReservationDetails[];
429
- }
430
- export interface PlaceReservationDetails {
431
- placeId?: string;
432
- occupied?: number;
433
- }
434
- export interface CancelSeatingPlaceReservationsResponse {
435
- /** The reservation with canceled place reservations */
436
- reservation?: SeatingReservation;
437
- }
438
- export interface UpdateSeatingReservationRequest {
439
- /** A reservation to update */
440
- reservation?: SeatingReservation;
441
- }
442
- export interface UpdateSeatingReservationResponse {
443
- /** The updated reservation */
444
- reservation?: SeatingReservation;
445
- }
446
- export interface GetReservedPlacesRequest {
447
- /**
448
- * Seating plan id
449
- * @format GUID
450
- */
451
- id?: string | null;
452
- }
453
- export interface GetReservedPlacesResponse {
454
- /** Reserved places of the plan */
455
- placeReservations?: PlaceReservation[];
456
- }
457
- export interface GetSeatingCategorySummaryRequest {
458
- /**
459
- * Seating plan external id
460
- * @minLength 1
461
- * @maxLength 100
462
- */
463
- externalId?: string;
464
- }
465
- export interface GetSeatingCategorySummaryResponse {
466
- /**
467
- * Ticket counts by category
468
- * @maxSize 50000
469
- */
470
- categories?: CategoryDetails[];
471
- }
472
- export interface GetSeatingReservationSummaryRequest {
473
- /**
474
- * Seating plan external id
475
- * @minLength 1
476
- * @maxLength 100
477
- */
478
- externalId: string;
479
- }
480
- export interface GetSeatingReservationSummaryResponse {
481
- plan?: SeatingPlan;
482
- /** @maxSize 50000 */
483
- places?: PlaceReservationDetails[];
484
- }
485
- export interface SeatingPlan {
486
- /**
487
- * Auto generated unique plan id
488
- * @format GUID
489
- * @readonly
490
- */
491
- id?: string | null;
492
- /**
493
- * A client defined external id for cross referencing.
494
- * Can reference external entities.
495
- * Format: "{fqdn}:{entity guid}"
496
- * @minLength 1
497
- * @maxLength 100
498
- */
499
- externalId?: string | null;
500
- /**
501
- * Human friendly plan title
502
- * @minLength 1
503
- * @maxLength 120
504
- */
505
- title?: string | null;
506
- /**
507
- * Sections of the plan. Seating plan is divided in high level sections.
508
- * @maxSize 100
509
- */
510
- sections?: Section[];
511
- /**
512
- * Categories for plan element grouping.
513
- * @maxSize 100
514
- */
515
- categories?: Category[];
516
- /**
517
- * Seating plan created timestamp.
518
- * @readonly
519
- */
520
- createdDate?: Date | null;
521
- /**
522
- * Seating plan updated timestamp.
523
- * @readonly
524
- */
525
- updatedDate?: Date | null;
526
- /**
527
- * Total capacity
528
- * @readonly
529
- */
530
- totalCapacity?: number | null;
531
- /**
532
- * Total categories
533
- * @readonly
534
- */
535
- totalCategories?: number | null;
536
- /**
537
- * Places not assigned to categories
538
- * @maxSize 50000
539
- * @readonly
540
- */
541
- uncategorizedPlaces?: Place[];
542
- /**
543
- * A version of the seating plan
544
- * @readonly
545
- */
546
- version?: string | null;
547
- /** Data extensions */
548
- extendedFields?: ExtendedFields;
549
- /** Seating Plan UI settings */
550
- uiProperties?: SeatingPlanUiProperties;
551
- /**
552
- * Element groups
553
- * @maxSize 1000
554
- */
555
- elementGroups?: ElementGroup[];
556
- }
557
- export interface Section {
558
- /** Unique section id */
559
- id?: number;
560
- /**
561
- * Human readable section title
562
- * @minLength 1
563
- * @maxLength 20
564
- */
565
- title?: string | null;
566
- /**
567
- * Client configuration object
568
- * @readonly
569
- */
570
- config?: Record<string, any> | null;
571
- /**
572
- * Elements of the section.
573
- * @maxSize 1000
574
- */
575
- elements?: Element[];
576
- /**
577
- * Total capacity
578
- * @readonly
579
- */
580
- totalCapacity?: number | null;
581
- /**
582
- * Is default section
583
- * @readonly
584
- */
585
- default?: boolean;
586
- }
587
- export interface Element {
588
- /**
589
- * Unique element id
590
- * @min 1
591
- */
592
- id?: number;
593
- /**
594
- * User friendly title/label of the element.
595
- * @minLength 1
596
- * @maxLength 50
597
- */
598
- title?: string | null;
599
- /** Element type */
600
- type?: TypeWithLiterals;
601
- /**
602
- * Capacity. None for Shape type Element.
603
- * @min 1
604
- * @max 50000
605
- */
606
- capacity?: number | null;
607
- /** Assigned to a category */
608
- categoryId?: number | null;
609
- /** A place numbering meta data */
610
- sequencing?: Sequencing;
611
- /**
612
- * Place override (by seq_id)
613
- * @maxSize 2000
614
- */
615
- overrides?: Place[];
616
- /**
617
- * Final place sequence with overrides
618
- * @maxSize 200
619
- * @readonly
620
- */
621
- places?: Place[];
622
- /** Element reservation options */
623
- reservationOptions?: ReservationOptions;
624
- /** Element UI settings */
625
- uiProperties?: ElementUiProperties;
626
- /** Element group id */
627
- elementGroupId?: number | null;
628
- /** Multi row element relevant for MULTI_ROW element type */
629
- multiRowProperties?: MultiRowProperties;
630
- }
631
- export declare enum Type {
632
- AREA = "AREA",
633
- ROW = "ROW",
634
- MULTI_ROW = "MULTI_ROW",
635
- TABLE = "TABLE",
636
- ROUND_TABLE = "ROUND_TABLE",
637
- SHAPE = "SHAPE"
638
- }
639
- /** @enumType */
640
- export type TypeWithLiterals = Type | 'AREA' | 'ROW' | 'MULTI_ROW' | 'TABLE' | 'ROUND_TABLE' | 'SHAPE';
641
- export interface Sequencing {
642
- /**
643
- * First seq element
644
- * @minLength 1
645
- * @maxLength 4
646
- */
647
- startAt?: string;
648
- /**
649
- * Finite generated seq of labels
650
- * @maxSize 2500
651
- */
652
- labels?: string[];
653
- /** If true - direction right to left. Otherwise left to right. */
654
- reverseOrder?: boolean | null;
655
- }
656
- export interface Place {
657
- /** Local id of the place in the sequence */
658
- index?: number;
659
- /**
660
- * Generated composite unique id in the seating plan.
661
- * @readonly
662
- */
663
- id?: string | null;
664
- /**
665
- * Unique label of the place
666
- * @minLength 1
667
- * @maxLength 4
668
- */
669
- label?: string;
670
- /**
671
- * Max capacity per place
672
- * @readonly
673
- */
674
- capacity?: number | null;
675
- /**
676
- * Type of the parent element
677
- * @readonly
678
- */
679
- elementType?: TypeWithLiterals;
680
- /**
681
- * Assigned category id
682
- * @readonly
683
- */
684
- categoryId?: number | null;
685
- /** Place type */
686
- type?: PlaceTypeEnumTypeWithLiterals;
687
- }
688
- export declare enum PlaceTypeEnumType {
689
- UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
690
- STANDARD = "STANDARD",
691
- WHEELCHAIR = "WHEELCHAIR",
692
- ACCESSIBLE = "ACCESSIBLE",
693
- COMPANION = "COMPANION",
694
- OBSTRUCTED = "OBSTRUCTED",
695
- DISCOUNT = "DISCOUNT"
696
- }
697
- /** @enumType */
698
- export type PlaceTypeEnumTypeWithLiterals = PlaceTypeEnumType | 'UNKNOWN_PROPERTY' | 'STANDARD' | 'WHEELCHAIR' | 'ACCESSIBLE' | 'COMPANION' | 'OBSTRUCTED' | 'DISCOUNT';
699
- export interface ReservationOptions {
700
- /** Indicates whether the entire element must be reserved */
701
- reserveWholeElement?: boolean;
702
- }
703
- export interface ElementUiProperties {
704
- /**
705
- * @min -1000000
706
- * @max 1000000
707
- */
708
- x?: number | null;
709
- /**
710
- * @min -1000000
711
- * @max 1000000
712
- */
713
- y?: number | null;
714
- /**
715
- * @min -1000000
716
- * @max 1000000
717
- */
718
- zIndex?: number | null;
719
- /** @max 1000000 */
720
- width?: number | null;
721
- /** @max 1000000 */
722
- height?: number | null;
723
- /**
724
- * @min -180
725
- * @max 180
726
- */
727
- rotationAngle?: number | null;
728
- shapeType?: ShapeTypeEnumTypeWithLiterals;
729
- /**
730
- * @min 10
731
- * @max 176
732
- */
733
- fontSize?: number | null;
734
- /** @max 1000000 */
735
- cornerRadius?: number | null;
736
- /**
737
- * @min 1
738
- * @max 60
739
- */
740
- seatSpacing?: number | null;
741
- hideLabel?: boolean | null;
742
- labelPosition?: PositionWithLiterals;
743
- seatLayout?: number[];
744
- /** @max 50 */
745
- emptyTopSeatSpaces?: number | null;
746
- /**
747
- * needs research
748
- * @minLength 1
749
- * @maxLength 10000
750
- */
751
- text?: string | null;
752
- /**
753
- * #F0F0F0
754
- * @format COLOR_HEX
755
- */
756
- color?: string | null;
757
- /**
758
- * #F0F0F0
759
- * @format COLOR_HEX
760
- */
761
- fillColor?: string | null;
762
- /**
763
- * #F0F0F0
764
- * @format COLOR_HEX
765
- */
766
- strokeColor?: string | null;
767
- /**
768
- * px
769
- * @min 1
770
- * @max 6
771
- */
772
- strokeWidth?: number | null;
773
- /** @max 100 */
774
- opacity?: number | null;
775
- icon?: IconWithLiterals;
776
- image?: Image;
777
- seatNumbering?: NumberingWithLiterals;
778
- }
779
- export declare enum ShapeTypeEnumType {
780
- UNKNOWN_TYPE = "UNKNOWN_TYPE",
781
- TEXT = "TEXT",
782
- RECTANGLE = "RECTANGLE",
783
- ELLIPSE = "ELLIPSE",
784
- LINE = "LINE",
785
- ICON = "ICON",
786
- IMAGE = "IMAGE"
787
- }
788
- /** @enumType */
789
- export type ShapeTypeEnumTypeWithLiterals = ShapeTypeEnumType | 'UNKNOWN_TYPE' | 'TEXT' | 'RECTANGLE' | 'ELLIPSE' | 'LINE' | 'ICON' | 'IMAGE';
790
- export declare enum Position {
791
- UNKNOWN_POSITION = "UNKNOWN_POSITION",
792
- LEFT = "LEFT",
793
- RIGHT = "RIGHT",
794
- BOTH = "BOTH",
795
- NONE = "NONE"
796
- }
797
- /** @enumType */
798
- export type PositionWithLiterals = Position | 'UNKNOWN_POSITION' | 'LEFT' | 'RIGHT' | 'BOTH' | 'NONE';
799
- export declare enum Icon {
800
- UNKNOWN_ICON = "UNKNOWN_ICON",
801
- ENTER = "ENTER",
802
- EXIT = "EXIT",
803
- DRINKS = "DRINKS",
804
- WC = "WC",
805
- WC_MEN = "WC_MEN",
806
- WC_WOMEN = "WC_WOMEN",
807
- FOOD = "FOOD",
808
- STAIRS = "STAIRS",
809
- ELEVATOR = "ELEVATOR",
810
- SMOKING = "SMOKING",
811
- CHECKROOM = "CHECKROOM",
812
- STAGE = "STAGE"
813
- }
814
- /** @enumType */
815
- export type IconWithLiterals = Icon | 'UNKNOWN_ICON' | 'ENTER' | 'EXIT' | 'DRINKS' | 'WC' | 'WC_MEN' | 'WC_WOMEN' | 'FOOD' | 'STAIRS' | 'ELEVATOR' | 'SMOKING' | 'CHECKROOM' | 'STAGE';
816
- export interface Image {
817
- /** WixMedia image ID. */
818
- id?: string;
819
- /**
820
- * Original image height.
821
- * @readonly
822
- */
823
- height?: number;
824
- /**
825
- * Original image width.
826
- * @readonly
827
- */
828
- width?: number;
829
- /**
830
- * WixMedia image URI.
831
- * @deprecated
832
- */
833
- uri?: string | null;
834
- }
835
- export declare enum Numbering {
836
- UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
837
- NUMERIC = "NUMERIC",
838
- ODD_EVEN = "ODD_EVEN",
839
- ALPHABETICAL = "ALPHABETICAL"
840
- }
841
- /** @enumType */
842
- export type NumberingWithLiterals = Numbering | 'UNKNOWN_NUMBERING' | 'NUMERIC' | 'ODD_EVEN' | 'ALPHABETICAL';
843
- export interface MultiRowProperties {
844
- /**
845
- * Individual rows of the multi row element
846
- * @maxSize 1000
847
- */
848
- rows?: RowElement[];
849
- /** Meta data for vertical labeling */
850
- verticalSequencing?: VerticalSequencing;
851
- /**
852
- * Row spacing
853
- * @min 1
854
- * @max 60
855
- */
856
- rowSpacing?: number | null;
857
- /**
858
- * Amount of seats in the row
859
- * @max 50
860
- */
861
- seatAmount?: number | null;
862
- }
863
- export interface RowElement {
864
- /**
865
- * Unique row id
866
- * @min 1
867
- */
868
- id?: number;
869
- /**
870
- * User friendly title/label of the row
871
- * @minLength 1
872
- * @maxLength 50
873
- */
874
- title?: string | null;
875
- /**
876
- * Row capacity
877
- * @min 1
878
- * @max 50000
879
- */
880
- capacity?: number | null;
881
- /** Assigned to a category */
882
- categoryId?: number | null;
883
- /** A place numbering meta data for a single row */
884
- sequencing?: Sequencing;
885
- /** Row UI settings */
886
- uiProperties?: RowElementUiProperties;
887
- }
888
- export interface RowElementUiProperties {
889
- /**
890
- * Relative x position to the parent element
891
- * @min -1000000
892
- * @max 1000000
893
- */
894
- relativeX?: number | null;
895
- /**
896
- * Width of the row
897
- * @max 1000000
898
- */
899
- width?: number | null;
900
- /**
901
- * Amount of seats in the row
902
- * @max 50
903
- */
904
- seatAmount?: number | null;
905
- /**
906
- * Seat spacing
907
- * @min 1
908
- * @max 60
909
- */
910
- seatSpacing?: number | null;
911
- /** Label position */
912
- labelPosition?: PositionWithLiterals;
913
- /** Seat numbering */
914
- seatNumbering?: NumberingWithLiterals;
915
- }
916
- export interface VerticalSequencing {
917
- /**
918
- * First seq element
919
- * @minLength 1
920
- * @maxLength 4
921
- */
922
- startAt?: string;
923
- /** Row numbering */
924
- rowNumbering?: NumberingWithLiterals;
925
- /** If true - direction bottom to top. Otherwise top to bottom. */
926
- reverseOrder?: boolean | null;
927
- }
928
- export interface Category {
929
- /**
930
- * Local category id within the seating plan
931
- * @min 1
932
- */
933
- id?: number;
934
- /**
935
- * A client defined external id for cross referencing.
936
- * Can reference external entities.
937
- * Format: "{entity_fqdn}:{entity_id}"
938
- * @minLength 1
939
- * @maxLength 100
940
- */
941
- externalId?: string | null;
942
- /**
943
- * Category label
944
- * @minLength 1
945
- * @maxLength 120
946
- */
947
- title?: string;
948
- /**
949
- * Client configuration object
950
- * @readonly
951
- */
952
- config?: Record<string, any> | null;
953
- /**
954
- * Total capacity
955
- * @readonly
956
- */
957
- totalCapacity?: number | null;
958
- /**
959
- * Possible places
960
- * @maxSize 50000
961
- * @readonly
962
- */
963
- places?: Place[];
964
- }
965
- export interface ExtendedFields {
966
- /**
967
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
968
- * The value of each key is structured according to the schema defined when the extended fields were configured.
969
- *
970
- * You can only access fields for which you have the appropriate permissions.
971
- *
972
- * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
973
- */
974
- namespaces?: Record<string, Record<string, any>>;
975
- }
976
- export interface SeatingPlanUiProperties {
977
- /**
978
- * #F0F0F0
979
- * @format COLOR_HEX
980
- */
981
- backgroundColor?: string | null;
982
- /** @max 100 */
983
- backgroundOpacity?: number | null;
984
- }
985
- export interface ElementGroup {
986
- /**
987
- * Unique element group id
988
- * @min 1
989
- */
990
- id?: number;
991
- /** Parent group id */
992
- parentElementGroupId?: number | null;
993
- /** Element group UI settings */
994
- uiProperties?: ElementGroupUiProperties;
995
- }
996
- export interface ElementGroupUiProperties {
997
- /**
998
- * x position of the group
999
- * @min -1000000
1000
- * @max 1000000
1001
- */
1002
- x?: number | null;
1003
- /**
1004
- * y position of the group
1005
- * @min -1000000
1006
- * @max 1000000
1007
- */
1008
- y?: number | null;
1009
- /**
1010
- * width of the group
1011
- * @max 1000000
1012
- */
1013
- width?: number | null;
1014
- /**
1015
- * height of the group
1016
- * @max 1000000
1017
- */
1018
- height?: number | null;
1019
- /**
1020
- * rotation angle of the group
1021
- * @min -180
1022
- * @max 180
1023
- */
1024
- rotationAngle?: number | null;
1025
- }
1026
- export interface RegenerateSummariesRequest {
1027
- /**
1028
- * Seating plan id
1029
- * @format GUID
1030
- */
1031
- planId?: string | null;
1032
- }
1033
- export interface RegenerateSummariesResponse {
1034
- seatingReservationsSummary?: SeatingReservationsSummary;
1035
- /** @maxSize 50000 */
1036
- categories?: CategoryDetails[];
1037
- }
1038
- export interface SeatingReservationsSummary {
1039
- /** @maxSize 50000 */
1040
- places?: PlaceReservationDetails[];
1041
- }
1042
- export interface DomainEvent extends DomainEventBodyOneOf {
1043
- createdEvent?: EntityCreatedEvent;
1044
- updatedEvent?: EntityUpdatedEvent;
1045
- deletedEvent?: EntityDeletedEvent;
1046
- actionEvent?: ActionEvent;
1047
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1048
- id?: string;
1049
- /**
1050
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1051
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1052
- */
1053
- entityFqdn?: string;
1054
- /**
1055
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
1056
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1057
- */
1058
- slug?: string;
1059
- /** ID of the entity associated with the event. */
1060
- entityId?: string;
1061
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1062
- eventTime?: Date | null;
1063
- /**
1064
- * Whether the event was triggered as a result of a privacy regulation application
1065
- * (for example, GDPR).
1066
- */
1067
- triggeredByAnonymizeRequest?: boolean | null;
1068
- /** If present, indicates the action that triggered the event. */
1069
- originatedFrom?: string | null;
1070
- /**
1071
- * 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.
1072
- * 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.
1073
- */
1074
- entityEventSequence?: string | null;
1075
- }
1076
- /** @oneof */
1077
- export interface DomainEventBodyOneOf {
1078
- createdEvent?: EntityCreatedEvent;
1079
- updatedEvent?: EntityUpdatedEvent;
1080
- deletedEvent?: EntityDeletedEvent;
1081
- actionEvent?: ActionEvent;
1082
- }
1083
- export interface EntityCreatedEvent {
1084
- entityAsJson?: string;
1085
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1086
- restoreInfo?: RestoreInfo;
1087
- }
1088
- export interface RestoreInfo {
1089
- deletedDate?: Date | null;
1090
- }
1091
- export interface EntityUpdatedEvent {
1092
- /**
1093
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1094
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1095
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1096
- */
1097
- currentEntityAsJson?: string;
1098
- }
1099
- export interface EntityDeletedEvent {
1100
- /** Entity that was deleted. */
1101
- deletedEntityAsJson?: string | null;
1102
- }
1103
- export interface ActionEvent {
1104
- bodyAsJson?: string;
1105
- }
1106
- export interface MessageEnvelope {
1107
- /**
1108
- * App instance ID.
1109
- * @format GUID
1110
- */
1111
- instanceId?: string | null;
1112
- /**
1113
- * Event type.
1114
- * @maxLength 150
1115
- */
1116
- eventType?: string;
1117
- /** The identification type and identity data. */
1118
- identity?: IdentificationData;
1119
- /** Stringify payload. */
1120
- data?: string;
1121
- }
1122
- export interface IdentificationData extends IdentificationDataIdOneOf {
1123
- /**
1124
- * ID of a site visitor that has not logged in to the site.
1125
- * @format GUID
1126
- */
1127
- anonymousVisitorId?: string;
1128
- /**
1129
- * ID of a site visitor that has logged in to the site.
1130
- * @format GUID
1131
- */
1132
- memberId?: string;
1133
- /**
1134
- * ID of a Wix user (site owner, contributor, etc.).
1135
- * @format GUID
1136
- */
1137
- wixUserId?: string;
1138
- /**
1139
- * ID of an app.
1140
- * @format GUID
1141
- */
1142
- appId?: string;
1143
- /** @readonly */
1144
- identityType?: WebhookIdentityTypeWithLiterals;
1145
- }
1146
- /** @oneof */
1147
- export interface IdentificationDataIdOneOf {
1148
- /**
1149
- * ID of a site visitor that has not logged in to the site.
1150
- * @format GUID
1151
- */
1152
- anonymousVisitorId?: string;
1153
- /**
1154
- * ID of a site visitor that has logged in to the site.
1155
- * @format GUID
1156
- */
1157
- memberId?: string;
1158
- /**
1159
- * ID of a Wix user (site owner, contributor, etc.).
1160
- * @format GUID
1161
- */
1162
- wixUserId?: string;
1163
- /**
1164
- * ID of an app.
1165
- * @format GUID
1166
- */
1167
- appId?: string;
1168
- }
1169
- export declare enum WebhookIdentityType {
1170
- UNKNOWN = "UNKNOWN",
1171
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1172
- MEMBER = "MEMBER",
1173
- WIX_USER = "WIX_USER",
1174
- APP = "APP"
1175
- }
1176
- /** @enumType */
1177
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';