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