@wix/auto_sdk_seatings_seating-reservation 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +61 -1
- package/build/cjs/index.js +613 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +841 -1
- package/build/cjs/meta.js +369 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts → cjs/seating-v1-seating-reservation-seating-reservation.universal-Cx37fyPc.d.ts} +102 -199
- package/build/es/index.d.mts +61 -0
- package/build/es/index.mjs +577 -0
- package/build/es/index.mjs.map +1 -0
- package/build/{cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts → es/meta.d.mts} +85 -421
- package/build/es/meta.mjs +340 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/{cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts → es/seating-v1-seating-reservation-seating-reservation.universal-Cx37fyPc.d.mts} +102 -199
- package/build/internal/cjs/index.d.ts +61 -1
- package/build/internal/cjs/index.js +613 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +841 -1
- package/build/internal/cjs/meta.js +369 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/{es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts → cjs/seating-v1-seating-reservation-seating-reservation.universal-Cx37fyPc.d.ts} +102 -199
- package/build/internal/es/index.d.mts +61 -0
- package/build/internal/es/index.mjs +577 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/{cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts → es/meta.d.mts} +85 -421
- package/build/internal/es/meta.mjs +340 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/{es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts → internal/es/seating-v1-seating-reservation-seating-reservation.universal-Cx37fyPc.d.mts} +102 -199
- package/package.json +9 -8
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +0 -17
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js +0 -28
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +0 -11
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js +0 -232
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +0 -24
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js +0 -142
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +0 -50
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js +0 -67
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js +0 -77
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +0 -336
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +0 -17
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.js +0 -17
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.js.map +0 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +0 -11
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.http.js +0 -223
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.http.js.map +0 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +0 -24
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.js +0 -110
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +0 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +0 -50
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.js +0 -50
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +0 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +0 -1177
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.js +0 -74
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +0 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +0 -304
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +0 -17
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js +0 -28
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +0 -11
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js +0 -232
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +0 -24
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js +0 -142
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +0 -50
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js +0 -67
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js +0 -77
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +0 -336
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +0 -17
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.js +0 -17
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +0 -11
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.http.js +0 -223
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.http.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +0 -24
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.js +0 -110
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +0 -50
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.js +0 -50
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +0 -1177
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.js +0 -74
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +0 -304
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +0 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
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-Cx37fyPc.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
|
-
|
|
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
|
-
|
|
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,189 +112,44 @@ export interface CategoryDetails {
|
|
|
129
112
|
*/
|
|
130
113
|
reserved?: number | null;
|
|
131
114
|
}
|
|
132
|
-
|
|
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
|
-
|
|
119
|
+
interface CreateSeatingReservationResponse {
|
|
252
120
|
/** Created reservation */
|
|
253
121
|
reservation?: SeatingReservation;
|
|
254
122
|
}
|
|
255
|
-
|
|
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
|
-
|
|
130
|
+
interface GetReservationResponse {
|
|
293
131
|
/** Created reservation */
|
|
294
132
|
reservation?: SeatingReservation;
|
|
295
133
|
}
|
|
296
|
-
|
|
134
|
+
interface QuerySeatingReservationRequest {
|
|
297
135
|
/** A query object */
|
|
298
136
|
query: QueryV2;
|
|
299
137
|
}
|
|
300
|
-
|
|
301
|
-
/** Paging options to limit and
|
|
138
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
139
|
+
/** Paging options to limit and offset 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`. */
|
|
304
142
|
cursorPaging?: CursorPaging;
|
|
305
143
|
/**
|
|
306
144
|
* Filter object.
|
|
307
145
|
*
|
|
308
|
-
* Learn more about
|
|
146
|
+
* Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
|
|
309
147
|
*/
|
|
310
148
|
filter?: Record<string, any> | null;
|
|
311
149
|
/**
|
|
312
150
|
* Sort object.
|
|
313
151
|
*
|
|
314
|
-
* Learn more about
|
|
152
|
+
* Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
|
|
315
153
|
*/
|
|
316
154
|
sort?: Sorting[];
|
|
317
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. */
|
|
@@ -320,13 +158,13 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
320
158
|
fieldsets?: string[];
|
|
321
159
|
}
|
|
322
160
|
/** @oneof */
|
|
323
|
-
|
|
324
|
-
/** Paging options to limit and
|
|
161
|
+
interface QueryV2PagingMethodOneOf {
|
|
162
|
+
/** Paging options to limit and offset 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
|
-
|
|
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
|
-
|
|
176
|
+
declare enum SortOrder {
|
|
339
177
|
ASC = "ASC",
|
|
340
178
|
DESC = "DESC"
|
|
341
179
|
}
|
|
342
180
|
/** @enumType */
|
|
343
|
-
|
|
344
|
-
|
|
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
|
-
|
|
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
|
-
|
|
203
|
+
interface QuerySeatingReservationResponse {
|
|
366
204
|
/** Found reservations */
|
|
367
205
|
reservations?: SeatingReservation[];
|
|
368
206
|
/** Paging meta data */
|
|
369
207
|
metadata?: PagingMetadataV2;
|
|
370
208
|
}
|
|
371
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
240
|
+
interface DeleteSeatingReservationResponse {
|
|
403
241
|
/** The deleted reservation */
|
|
404
242
|
reservation?: SeatingReservation;
|
|
405
243
|
}
|
|
406
|
-
|
|
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
|
-
|
|
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
|
-
|
|
256
|
+
interface GetSeatingCategorySummaryResponse {
|
|
466
257
|
/**
|
|
467
258
|
* Ticket counts by category
|
|
468
259
|
* @maxSize 50000
|
|
469
260
|
*/
|
|
470
261
|
categories?: CategoryDetails[];
|
|
471
262
|
}
|
|
472
|
-
|
|
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
|
-
|
|
271
|
+
interface GetSeatingReservationSummaryResponse {
|
|
481
272
|
plan?: SeatingPlan;
|
|
482
273
|
/** @maxSize 50000 */
|
|
483
274
|
places?: PlaceReservationDetails[];
|
|
484
275
|
}
|
|
485
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
641
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
699
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
790
|
-
|
|
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
|
-
|
|
799
|
-
|
|
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
|
-
|
|
816
|
-
|
|
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
|
-
|
|
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
|
-
|
|
843
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
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 };
|