@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,4 +1,6 @@
1
- export interface SeatingReservation {
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.mjs';
2
+
3
+ interface SeatingReservation {
2
4
  /**
3
5
  * The id of the reservation
4
6
  * @format GUID
@@ -38,7 +40,7 @@ export interface SeatingReservation {
38
40
  */
39
41
  revision?: string | null;
40
42
  }
41
- export interface PlaceReservation {
43
+ interface PlaceReservation {
42
44
  /**
43
45
  * The place id.
44
46
  * @minLength 5
@@ -78,26 +80,7 @@ export interface PlaceReservation {
78
80
  */
79
81
  seatLabel?: string | null;
80
82
  }
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 {
83
+ interface CategoryDetails {
101
84
  /**
102
85
  * Seating plan id
103
86
  * @format GUID
@@ -129,175 +112,30 @@ export interface CategoryDetails {
129
112
  */
130
113
  reserved?: number | null;
131
114
  }
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 {
115
+ interface CreateSeatingReservationRequest {
248
116
  /** A reservation to create */
249
117
  reservation?: SeatingReservation;
250
118
  }
251
- export interface CreateSeatingReservationResponse {
119
+ interface CreateSeatingReservationResponse {
252
120
  /** Created reservation */
253
121
  reservation?: SeatingReservation;
254
122
  }
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 {
123
+ interface GetReservationRequest {
286
124
  /**
287
125
  * The id of the reservation to return
288
126
  * @format GUID
289
127
  */
290
128
  id: string | null;
291
129
  }
292
- export interface GetReservationResponse {
130
+ interface GetReservationResponse {
293
131
  /** Created reservation */
294
132
  reservation?: SeatingReservation;
295
133
  }
296
- export interface QuerySeatingReservationRequest {
134
+ interface QuerySeatingReservationRequest {
297
135
  /** A query object */
298
136
  query: QueryV2;
299
137
  }
300
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
138
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
301
139
  /** Paging options to limit and skip the number of items. */
302
140
  paging?: Paging;
303
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`. */
@@ -320,13 +158,13 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
320
158
  fieldsets?: string[];
321
159
  }
322
160
  /** @oneof */
323
- export interface QueryV2PagingMethodOneOf {
161
+ interface QueryV2PagingMethodOneOf {
324
162
  /** Paging options to limit and skip the number of items. */
325
163
  paging?: Paging;
326
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`. */
327
165
  cursorPaging?: CursorPaging;
328
166
  }
329
- export interface Sorting {
167
+ interface Sorting {
330
168
  /**
331
169
  * Name of the field to sort by.
332
170
  * @maxLength 512
@@ -335,19 +173,19 @@ export interface Sorting {
335
173
  /** Sort order. */
336
174
  order?: SortOrderWithLiterals;
337
175
  }
338
- export declare enum SortOrder {
176
+ declare enum SortOrder {
339
177
  ASC = "ASC",
340
178
  DESC = "DESC"
341
179
  }
342
180
  /** @enumType */
343
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
344
- export interface Paging {
181
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
182
+ interface Paging {
345
183
  /** Number of items to load. */
346
184
  limit?: number | null;
347
185
  /** Number of items to skip in the current sort order. */
348
186
  offset?: number | null;
349
187
  }
350
- export interface CursorPaging {
188
+ interface CursorPaging {
351
189
  /**
352
190
  * Maximum number of items to return in the results.
353
191
  * @max 100
@@ -362,13 +200,13 @@ export interface CursorPaging {
362
200
  */
363
201
  cursor?: string | null;
364
202
  }
365
- export interface QuerySeatingReservationResponse {
203
+ interface QuerySeatingReservationResponse {
366
204
  /** Found reservations */
367
205
  reservations?: SeatingReservation[];
368
206
  /** Paging meta data */
369
207
  metadata?: PagingMetadataV2;
370
208
  }
371
- export interface PagingMetadataV2 {
209
+ interface PagingMetadataV2 {
372
210
  /** Number of items returned in the response. */
373
211
  count?: number | null;
374
212
  /** Offset that was requested. */
@@ -380,7 +218,7 @@ export interface PagingMetadataV2 {
380
218
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
381
219
  cursors?: Cursors;
382
220
  }
383
- export interface Cursors {
221
+ interface Cursors {
384
222
  /**
385
223
  * Cursor string pointing to the next page in the list of results.
386
224
  * @maxLength 16000
@@ -392,69 +230,22 @@ export interface Cursors {
392
230
  */
393
231
  prev?: string | null;
394
232
  }
395
- export interface DeleteSeatingReservationRequest {
233
+ interface DeleteSeatingReservationRequest {
396
234
  /**
397
235
  * The id of the reservation to delete
398
236
  * @format GUID
399
237
  */
400
238
  id: string | null;
401
239
  }
402
- export interface DeleteSeatingReservationResponse {
240
+ interface DeleteSeatingReservationResponse {
403
241
  /** The deleted reservation */
404
242
  reservation?: SeatingReservation;
405
243
  }
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 {
244
+ interface PlaceReservationDetails {
431
245
  placeId?: string;
432
246
  occupied?: number;
433
247
  }
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 {
248
+ interface GetSeatingCategorySummaryRequest {
458
249
  /**
459
250
  * Seating plan external id
460
251
  * @minLength 1
@@ -462,14 +253,14 @@ export interface GetSeatingCategorySummaryRequest {
462
253
  */
463
254
  externalId?: string;
464
255
  }
465
- export interface GetSeatingCategorySummaryResponse {
256
+ interface GetSeatingCategorySummaryResponse {
466
257
  /**
467
258
  * Ticket counts by category
468
259
  * @maxSize 50000
469
260
  */
470
261
  categories?: CategoryDetails[];
471
262
  }
472
- export interface GetSeatingReservationSummaryRequest {
263
+ interface GetSeatingReservationSummaryRequest {
473
264
  /**
474
265
  * Seating plan external id
475
266
  * @minLength 1
@@ -477,12 +268,12 @@ export interface GetSeatingReservationSummaryRequest {
477
268
  */
478
269
  externalId: string;
479
270
  }
480
- export interface GetSeatingReservationSummaryResponse {
271
+ interface GetSeatingReservationSummaryResponse {
481
272
  plan?: SeatingPlan;
482
273
  /** @maxSize 50000 */
483
274
  places?: PlaceReservationDetails[];
484
275
  }
485
- export interface SeatingPlan {
276
+ interface SeatingPlan {
486
277
  /**
487
278
  * Auto generated unique plan id
488
279
  * @format GUID
@@ -554,7 +345,7 @@ export interface SeatingPlan {
554
345
  */
555
346
  elementGroups?: ElementGroup[];
556
347
  }
557
- export interface Section {
348
+ interface Section {
558
349
  /** Unique section id */
559
350
  id?: number;
560
351
  /**
@@ -584,7 +375,7 @@ export interface Section {
584
375
  */
585
376
  default?: boolean;
586
377
  }
587
- export interface Element {
378
+ interface Element {
588
379
  /**
589
380
  * Unique element id
590
381
  * @min 1
@@ -628,7 +419,7 @@ export interface Element {
628
419
  /** Multi row element relevant for MULTI_ROW element type */
629
420
  multiRowProperties?: MultiRowProperties;
630
421
  }
631
- export declare enum Type {
422
+ declare enum Type {
632
423
  AREA = "AREA",
633
424
  ROW = "ROW",
634
425
  MULTI_ROW = "MULTI_ROW",
@@ -637,8 +428,8 @@ export declare enum Type {
637
428
  SHAPE = "SHAPE"
638
429
  }
639
430
  /** @enumType */
640
- export type TypeWithLiterals = Type | 'AREA' | 'ROW' | 'MULTI_ROW' | 'TABLE' | 'ROUND_TABLE' | 'SHAPE';
641
- export interface Sequencing {
431
+ type TypeWithLiterals = Type | 'AREA' | 'ROW' | 'MULTI_ROW' | 'TABLE' | 'ROUND_TABLE' | 'SHAPE';
432
+ interface Sequencing {
642
433
  /**
643
434
  * First seq element
644
435
  * @minLength 1
@@ -653,7 +444,7 @@ export interface Sequencing {
653
444
  /** If true - direction right to left. Otherwise left to right. */
654
445
  reverseOrder?: boolean | null;
655
446
  }
656
- export interface Place {
447
+ interface Place {
657
448
  /** Local id of the place in the sequence */
658
449
  index?: number;
659
450
  /**
@@ -685,7 +476,7 @@ export interface Place {
685
476
  /** Place type */
686
477
  type?: PlaceTypeEnumTypeWithLiterals;
687
478
  }
688
- export declare enum PlaceTypeEnumType {
479
+ declare enum PlaceTypeEnumType {
689
480
  UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
690
481
  STANDARD = "STANDARD",
691
482
  WHEELCHAIR = "WHEELCHAIR",
@@ -695,12 +486,12 @@ export declare enum PlaceTypeEnumType {
695
486
  DISCOUNT = "DISCOUNT"
696
487
  }
697
488
  /** @enumType */
698
- export type PlaceTypeEnumTypeWithLiterals = PlaceTypeEnumType | 'UNKNOWN_PROPERTY' | 'STANDARD' | 'WHEELCHAIR' | 'ACCESSIBLE' | 'COMPANION' | 'OBSTRUCTED' | 'DISCOUNT';
699
- export interface ReservationOptions {
489
+ type PlaceTypeEnumTypeWithLiterals = PlaceTypeEnumType | 'UNKNOWN_PROPERTY' | 'STANDARD' | 'WHEELCHAIR' | 'ACCESSIBLE' | 'COMPANION' | 'OBSTRUCTED' | 'DISCOUNT';
490
+ interface ReservationOptions {
700
491
  /** Indicates whether the entire element must be reserved */
701
492
  reserveWholeElement?: boolean;
702
493
  }
703
- export interface ElementUiProperties {
494
+ interface ElementUiProperties {
704
495
  /**
705
496
  * @min -1000000
706
497
  * @max 1000000
@@ -776,7 +567,7 @@ export interface ElementUiProperties {
776
567
  image?: Image;
777
568
  seatNumbering?: NumberingWithLiterals;
778
569
  }
779
- export declare enum ShapeTypeEnumType {
570
+ declare enum ShapeTypeEnumType {
780
571
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
781
572
  TEXT = "TEXT",
782
573
  RECTANGLE = "RECTANGLE",
@@ -786,8 +577,8 @@ export declare enum ShapeTypeEnumType {
786
577
  IMAGE = "IMAGE"
787
578
  }
788
579
  /** @enumType */
789
- export type ShapeTypeEnumTypeWithLiterals = ShapeTypeEnumType | 'UNKNOWN_TYPE' | 'TEXT' | 'RECTANGLE' | 'ELLIPSE' | 'LINE' | 'ICON' | 'IMAGE';
790
- export declare enum Position {
580
+ type ShapeTypeEnumTypeWithLiterals = ShapeTypeEnumType | 'UNKNOWN_TYPE' | 'TEXT' | 'RECTANGLE' | 'ELLIPSE' | 'LINE' | 'ICON' | 'IMAGE';
581
+ declare enum Position {
791
582
  UNKNOWN_POSITION = "UNKNOWN_POSITION",
792
583
  LEFT = "LEFT",
793
584
  RIGHT = "RIGHT",
@@ -795,8 +586,8 @@ export declare enum Position {
795
586
  NONE = "NONE"
796
587
  }
797
588
  /** @enumType */
798
- export type PositionWithLiterals = Position | 'UNKNOWN_POSITION' | 'LEFT' | 'RIGHT' | 'BOTH' | 'NONE';
799
- export declare enum Icon {
589
+ type PositionWithLiterals = Position | 'UNKNOWN_POSITION' | 'LEFT' | 'RIGHT' | 'BOTH' | 'NONE';
590
+ declare enum Icon {
800
591
  UNKNOWN_ICON = "UNKNOWN_ICON",
801
592
  ENTER = "ENTER",
802
593
  EXIT = "EXIT",
@@ -812,8 +603,8 @@ export declare enum Icon {
812
603
  STAGE = "STAGE"
813
604
  }
814
605
  /** @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 {
606
+ type IconWithLiterals = Icon | 'UNKNOWN_ICON' | 'ENTER' | 'EXIT' | 'DRINKS' | 'WC' | 'WC_MEN' | 'WC_WOMEN' | 'FOOD' | 'STAIRS' | 'ELEVATOR' | 'SMOKING' | 'CHECKROOM' | 'STAGE';
607
+ interface Image {
817
608
  /** WixMedia image ID. */
818
609
  id?: string;
819
610
  /**
@@ -832,15 +623,15 @@ export interface Image {
832
623
  */
833
624
  uri?: string | null;
834
625
  }
835
- export declare enum Numbering {
626
+ declare enum Numbering {
836
627
  UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
837
628
  NUMERIC = "NUMERIC",
838
629
  ODD_EVEN = "ODD_EVEN",
839
630
  ALPHABETICAL = "ALPHABETICAL"
840
631
  }
841
632
  /** @enumType */
842
- export type NumberingWithLiterals = Numbering | 'UNKNOWN_NUMBERING' | 'NUMERIC' | 'ODD_EVEN' | 'ALPHABETICAL';
843
- export interface MultiRowProperties {
633
+ type NumberingWithLiterals = Numbering | 'UNKNOWN_NUMBERING' | 'NUMERIC' | 'ODD_EVEN' | 'ALPHABETICAL';
634
+ interface MultiRowProperties {
844
635
  /**
845
636
  * Individual rows of the multi row element
846
637
  * @maxSize 1000
@@ -860,7 +651,7 @@ export interface MultiRowProperties {
860
651
  */
861
652
  seatAmount?: number | null;
862
653
  }
863
- export interface RowElement {
654
+ interface RowElement {
864
655
  /**
865
656
  * Unique row id
866
657
  * @min 1
@@ -885,7 +676,7 @@ export interface RowElement {
885
676
  /** Row UI settings */
886
677
  uiProperties?: RowElementUiProperties;
887
678
  }
888
- export interface RowElementUiProperties {
679
+ interface RowElementUiProperties {
889
680
  /**
890
681
  * Relative x position to the parent element
891
682
  * @min -1000000
@@ -913,7 +704,7 @@ export interface RowElementUiProperties {
913
704
  /** Seat numbering */
914
705
  seatNumbering?: NumberingWithLiterals;
915
706
  }
916
- export interface VerticalSequencing {
707
+ interface VerticalSequencing {
917
708
  /**
918
709
  * First seq element
919
710
  * @minLength 1
@@ -925,7 +716,7 @@ export interface VerticalSequencing {
925
716
  /** If true - direction bottom to top. Otherwise top to bottom. */
926
717
  reverseOrder?: boolean | null;
927
718
  }
928
- export interface Category {
719
+ interface Category {
929
720
  /**
930
721
  * Local category id within the seating plan
931
722
  * @min 1
@@ -962,7 +753,7 @@ export interface Category {
962
753
  */
963
754
  places?: Place[];
964
755
  }
965
- export interface ExtendedFields {
756
+ interface ExtendedFields {
966
757
  /**
967
758
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
968
759
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -973,7 +764,7 @@ export interface ExtendedFields {
973
764
  */
974
765
  namespaces?: Record<string, Record<string, any>>;
975
766
  }
976
- export interface SeatingPlanUiProperties {
767
+ interface SeatingPlanUiProperties {
977
768
  /**
978
769
  * #F0F0F0
979
770
  * @format COLOR_HEX
@@ -982,7 +773,7 @@ export interface SeatingPlanUiProperties {
982
773
  /** @max 100 */
983
774
  backgroundOpacity?: number | null;
984
775
  }
985
- export interface ElementGroup {
776
+ interface ElementGroup {
986
777
  /**
987
778
  * Unique element group id
988
779
  * @min 1
@@ -993,7 +784,7 @@ export interface ElementGroup {
993
784
  /** Element group UI settings */
994
785
  uiProperties?: ElementGroupUiProperties;
995
786
  }
996
- export interface ElementGroupUiProperties {
787
+ interface ElementGroupUiProperties {
997
788
  /**
998
789
  * x position of the group
999
790
  * @min -1000000
@@ -1023,155 +814,28 @@ export interface ElementGroupUiProperties {
1023
814
  */
1024
815
  rotationAngle?: number | null;
1025
816
  }
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';
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 };