@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.
- 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-CzABkBgJ.d.ts} +118 -195
- 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} +99 -419
- 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-CzABkBgJ.d.mts} +118 -195
- 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-CzABkBgJ.d.ts} +118 -195
- 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} +99 -419
- 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-CzABkBgJ.d.mts} +118 -195
- package/package.json +10 -9
- 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 -332
- 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 -1161
- 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 -300
- 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 -332
- 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 -1161
- 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 -300
- 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-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
|
-
|
|
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,175 +112,30 @@ 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
|
-
|
|
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,32 +158,34 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
320
158
|
fieldsets?: string[];
|
|
321
159
|
}
|
|
322
160
|
/** @oneof */
|
|
323
|
-
|
|
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
|
-
|
|
167
|
+
interface Sorting {
|
|
330
168
|
/**
|
|
331
169
|
* Name of the field to sort by.
|
|
332
170
|
* @maxLength 512
|
|
333
171
|
*/
|
|
334
172
|
fieldName?: string;
|
|
335
173
|
/** Sort order. */
|
|
336
|
-
order?:
|
|
174
|
+
order?: SortOrderWithLiterals;
|
|
337
175
|
}
|
|
338
|
-
|
|
176
|
+
declare enum SortOrder {
|
|
339
177
|
ASC = "ASC",
|
|
340
178
|
DESC = "DESC"
|
|
341
179
|
}
|
|
342
|
-
|
|
180
|
+
/** @enumType */
|
|
181
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
182
|
+
interface Paging {
|
|
343
183
|
/** Number of items to load. */
|
|
344
184
|
limit?: number | null;
|
|
345
185
|
/** Number of items to skip in the current sort order. */
|
|
346
186
|
offset?: number | null;
|
|
347
187
|
}
|
|
348
|
-
|
|
188
|
+
interface CursorPaging {
|
|
349
189
|
/**
|
|
350
190
|
* Maximum number of items to return in the results.
|
|
351
191
|
* @max 100
|
|
@@ -360,13 +200,13 @@ export interface CursorPaging {
|
|
|
360
200
|
*/
|
|
361
201
|
cursor?: string | null;
|
|
362
202
|
}
|
|
363
|
-
|
|
203
|
+
interface QuerySeatingReservationResponse {
|
|
364
204
|
/** Found reservations */
|
|
365
205
|
reservations?: SeatingReservation[];
|
|
366
206
|
/** Paging meta data */
|
|
367
207
|
metadata?: PagingMetadataV2;
|
|
368
208
|
}
|
|
369
|
-
|
|
209
|
+
interface PagingMetadataV2 {
|
|
370
210
|
/** Number of items returned in the response. */
|
|
371
211
|
count?: number | null;
|
|
372
212
|
/** Offset that was requested. */
|
|
@@ -378,7 +218,7 @@ export interface PagingMetadataV2 {
|
|
|
378
218
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
379
219
|
cursors?: Cursors;
|
|
380
220
|
}
|
|
381
|
-
|
|
221
|
+
interface Cursors {
|
|
382
222
|
/**
|
|
383
223
|
* Cursor string pointing to the next page in the list of results.
|
|
384
224
|
* @maxLength 16000
|
|
@@ -390,69 +230,22 @@ export interface Cursors {
|
|
|
390
230
|
*/
|
|
391
231
|
prev?: string | null;
|
|
392
232
|
}
|
|
393
|
-
|
|
233
|
+
interface DeleteSeatingReservationRequest {
|
|
394
234
|
/**
|
|
395
235
|
* The id of the reservation to delete
|
|
396
236
|
* @format GUID
|
|
397
237
|
*/
|
|
398
238
|
id: string | null;
|
|
399
239
|
}
|
|
400
|
-
|
|
240
|
+
interface DeleteSeatingReservationResponse {
|
|
401
241
|
/** The deleted reservation */
|
|
402
242
|
reservation?: SeatingReservation;
|
|
403
243
|
}
|
|
404
|
-
|
|
405
|
-
/** The id of the place reservation to delete */
|
|
406
|
-
id?: string | null;
|
|
407
|
-
/**
|
|
408
|
-
* The id of the place reservation's reservation
|
|
409
|
-
* @format GUID
|
|
410
|
-
*/
|
|
411
|
-
reservationId?: string | null;
|
|
412
|
-
}
|
|
413
|
-
export interface Empty {
|
|
414
|
-
}
|
|
415
|
-
export interface CancelSeatingPlaceReservationsRequest {
|
|
416
|
-
/**
|
|
417
|
-
* The id of the place reservations' reservation
|
|
418
|
-
* @format GUID
|
|
419
|
-
*/
|
|
420
|
-
reservationId?: string | null;
|
|
421
|
-
/**
|
|
422
|
-
* The place reservations to cancel
|
|
423
|
-
* @minSize 1
|
|
424
|
-
* @maxSize 100
|
|
425
|
-
*/
|
|
426
|
-
placeReservations?: PlaceReservationDetails[];
|
|
427
|
-
}
|
|
428
|
-
export interface PlaceReservationDetails {
|
|
244
|
+
interface PlaceReservationDetails {
|
|
429
245
|
placeId?: string;
|
|
430
246
|
occupied?: number;
|
|
431
247
|
}
|
|
432
|
-
|
|
433
|
-
/** The reservation with canceled place reservations */
|
|
434
|
-
reservation?: SeatingReservation;
|
|
435
|
-
}
|
|
436
|
-
export interface UpdateSeatingReservationRequest {
|
|
437
|
-
/** A reservation to update */
|
|
438
|
-
reservation?: SeatingReservation;
|
|
439
|
-
}
|
|
440
|
-
export interface UpdateSeatingReservationResponse {
|
|
441
|
-
/** The updated reservation */
|
|
442
|
-
reservation?: SeatingReservation;
|
|
443
|
-
}
|
|
444
|
-
export interface GetReservedPlacesRequest {
|
|
445
|
-
/**
|
|
446
|
-
* Seating plan id
|
|
447
|
-
* @format GUID
|
|
448
|
-
*/
|
|
449
|
-
id?: string | null;
|
|
450
|
-
}
|
|
451
|
-
export interface GetReservedPlacesResponse {
|
|
452
|
-
/** Reserved places of the plan */
|
|
453
|
-
placeReservations?: PlaceReservation[];
|
|
454
|
-
}
|
|
455
|
-
export interface GetSeatingCategorySummaryRequest {
|
|
248
|
+
interface GetSeatingCategorySummaryRequest {
|
|
456
249
|
/**
|
|
457
250
|
* Seating plan external id
|
|
458
251
|
* @minLength 1
|
|
@@ -460,14 +253,14 @@ export interface GetSeatingCategorySummaryRequest {
|
|
|
460
253
|
*/
|
|
461
254
|
externalId?: string;
|
|
462
255
|
}
|
|
463
|
-
|
|
256
|
+
interface GetSeatingCategorySummaryResponse {
|
|
464
257
|
/**
|
|
465
258
|
* Ticket counts by category
|
|
466
259
|
* @maxSize 50000
|
|
467
260
|
*/
|
|
468
261
|
categories?: CategoryDetails[];
|
|
469
262
|
}
|
|
470
|
-
|
|
263
|
+
interface GetSeatingReservationSummaryRequest {
|
|
471
264
|
/**
|
|
472
265
|
* Seating plan external id
|
|
473
266
|
* @minLength 1
|
|
@@ -475,12 +268,12 @@ export interface GetSeatingReservationSummaryRequest {
|
|
|
475
268
|
*/
|
|
476
269
|
externalId: string;
|
|
477
270
|
}
|
|
478
|
-
|
|
271
|
+
interface GetSeatingReservationSummaryResponse {
|
|
479
272
|
plan?: SeatingPlan;
|
|
480
273
|
/** @maxSize 50000 */
|
|
481
274
|
places?: PlaceReservationDetails[];
|
|
482
275
|
}
|
|
483
|
-
|
|
276
|
+
interface SeatingPlan {
|
|
484
277
|
/**
|
|
485
278
|
* Auto generated unique plan id
|
|
486
279
|
* @format GUID
|
|
@@ -552,7 +345,7 @@ export interface SeatingPlan {
|
|
|
552
345
|
*/
|
|
553
346
|
elementGroups?: ElementGroup[];
|
|
554
347
|
}
|
|
555
|
-
|
|
348
|
+
interface Section {
|
|
556
349
|
/** Unique section id */
|
|
557
350
|
id?: number;
|
|
558
351
|
/**
|
|
@@ -582,7 +375,7 @@ export interface Section {
|
|
|
582
375
|
*/
|
|
583
376
|
default?: boolean;
|
|
584
377
|
}
|
|
585
|
-
|
|
378
|
+
interface Element {
|
|
586
379
|
/**
|
|
587
380
|
* Unique element id
|
|
588
381
|
* @min 1
|
|
@@ -595,7 +388,7 @@ export interface Element {
|
|
|
595
388
|
*/
|
|
596
389
|
title?: string | null;
|
|
597
390
|
/** Element type */
|
|
598
|
-
type?:
|
|
391
|
+
type?: TypeWithLiterals;
|
|
599
392
|
/**
|
|
600
393
|
* Capacity. None for Shape type Element.
|
|
601
394
|
* @min 1
|
|
@@ -626,7 +419,7 @@ export interface Element {
|
|
|
626
419
|
/** Multi row element relevant for MULTI_ROW element type */
|
|
627
420
|
multiRowProperties?: MultiRowProperties;
|
|
628
421
|
}
|
|
629
|
-
|
|
422
|
+
declare enum Type {
|
|
630
423
|
AREA = "AREA",
|
|
631
424
|
ROW = "ROW",
|
|
632
425
|
MULTI_ROW = "MULTI_ROW",
|
|
@@ -634,7 +427,9 @@ export declare enum Type {
|
|
|
634
427
|
ROUND_TABLE = "ROUND_TABLE",
|
|
635
428
|
SHAPE = "SHAPE"
|
|
636
429
|
}
|
|
637
|
-
|
|
430
|
+
/** @enumType */
|
|
431
|
+
type TypeWithLiterals = Type | 'AREA' | 'ROW' | 'MULTI_ROW' | 'TABLE' | 'ROUND_TABLE' | 'SHAPE';
|
|
432
|
+
interface Sequencing {
|
|
638
433
|
/**
|
|
639
434
|
* First seq element
|
|
640
435
|
* @minLength 1
|
|
@@ -649,7 +444,7 @@ export interface Sequencing {
|
|
|
649
444
|
/** If true - direction right to left. Otherwise left to right. */
|
|
650
445
|
reverseOrder?: boolean | null;
|
|
651
446
|
}
|
|
652
|
-
|
|
447
|
+
interface Place {
|
|
653
448
|
/** Local id of the place in the sequence */
|
|
654
449
|
index?: number;
|
|
655
450
|
/**
|
|
@@ -672,16 +467,16 @@ export interface Place {
|
|
|
672
467
|
* Type of the parent element
|
|
673
468
|
* @readonly
|
|
674
469
|
*/
|
|
675
|
-
elementType?:
|
|
470
|
+
elementType?: TypeWithLiterals;
|
|
676
471
|
/**
|
|
677
472
|
* Assigned category id
|
|
678
473
|
* @readonly
|
|
679
474
|
*/
|
|
680
475
|
categoryId?: number | null;
|
|
681
476
|
/** Place type */
|
|
682
|
-
type?:
|
|
477
|
+
type?: PlaceTypeEnumTypeWithLiterals;
|
|
683
478
|
}
|
|
684
|
-
|
|
479
|
+
declare enum PlaceTypeEnumType {
|
|
685
480
|
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
686
481
|
STANDARD = "STANDARD",
|
|
687
482
|
WHEELCHAIR = "WHEELCHAIR",
|
|
@@ -690,11 +485,13 @@ export declare enum PlaceTypeEnumType {
|
|
|
690
485
|
OBSTRUCTED = "OBSTRUCTED",
|
|
691
486
|
DISCOUNT = "DISCOUNT"
|
|
692
487
|
}
|
|
693
|
-
|
|
488
|
+
/** @enumType */
|
|
489
|
+
type PlaceTypeEnumTypeWithLiterals = PlaceTypeEnumType | 'UNKNOWN_PROPERTY' | 'STANDARD' | 'WHEELCHAIR' | 'ACCESSIBLE' | 'COMPANION' | 'OBSTRUCTED' | 'DISCOUNT';
|
|
490
|
+
interface ReservationOptions {
|
|
694
491
|
/** Indicates whether the entire element must be reserved */
|
|
695
492
|
reserveWholeElement?: boolean;
|
|
696
493
|
}
|
|
697
|
-
|
|
494
|
+
interface ElementUiProperties {
|
|
698
495
|
/**
|
|
699
496
|
* @min -1000000
|
|
700
497
|
* @max 1000000
|
|
@@ -719,7 +516,7 @@ export interface ElementUiProperties {
|
|
|
719
516
|
* @max 180
|
|
720
517
|
*/
|
|
721
518
|
rotationAngle?: number | null;
|
|
722
|
-
shapeType?:
|
|
519
|
+
shapeType?: ShapeTypeEnumTypeWithLiterals;
|
|
723
520
|
/**
|
|
724
521
|
* @min 10
|
|
725
522
|
* @max 176
|
|
@@ -733,7 +530,7 @@ export interface ElementUiProperties {
|
|
|
733
530
|
*/
|
|
734
531
|
seatSpacing?: number | null;
|
|
735
532
|
hideLabel?: boolean | null;
|
|
736
|
-
labelPosition?:
|
|
533
|
+
labelPosition?: PositionWithLiterals;
|
|
737
534
|
seatLayout?: number[];
|
|
738
535
|
/** @max 50 */
|
|
739
536
|
emptyTopSeatSpaces?: number | null;
|
|
@@ -766,11 +563,11 @@ export interface ElementUiProperties {
|
|
|
766
563
|
strokeWidth?: number | null;
|
|
767
564
|
/** @max 100 */
|
|
768
565
|
opacity?: number | null;
|
|
769
|
-
icon?:
|
|
566
|
+
icon?: IconWithLiterals;
|
|
770
567
|
image?: Image;
|
|
771
|
-
seatNumbering?:
|
|
568
|
+
seatNumbering?: NumberingWithLiterals;
|
|
772
569
|
}
|
|
773
|
-
|
|
570
|
+
declare enum ShapeTypeEnumType {
|
|
774
571
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
775
572
|
TEXT = "TEXT",
|
|
776
573
|
RECTANGLE = "RECTANGLE",
|
|
@@ -779,14 +576,18 @@ export declare enum ShapeTypeEnumType {
|
|
|
779
576
|
ICON = "ICON",
|
|
780
577
|
IMAGE = "IMAGE"
|
|
781
578
|
}
|
|
782
|
-
|
|
579
|
+
/** @enumType */
|
|
580
|
+
type ShapeTypeEnumTypeWithLiterals = ShapeTypeEnumType | 'UNKNOWN_TYPE' | 'TEXT' | 'RECTANGLE' | 'ELLIPSE' | 'LINE' | 'ICON' | 'IMAGE';
|
|
581
|
+
declare enum Position {
|
|
783
582
|
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
784
583
|
LEFT = "LEFT",
|
|
785
584
|
RIGHT = "RIGHT",
|
|
786
585
|
BOTH = "BOTH",
|
|
787
586
|
NONE = "NONE"
|
|
788
587
|
}
|
|
789
|
-
|
|
588
|
+
/** @enumType */
|
|
589
|
+
type PositionWithLiterals = Position | 'UNKNOWN_POSITION' | 'LEFT' | 'RIGHT' | 'BOTH' | 'NONE';
|
|
590
|
+
declare enum Icon {
|
|
790
591
|
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
791
592
|
ENTER = "ENTER",
|
|
792
593
|
EXIT = "EXIT",
|
|
@@ -801,7 +602,9 @@ export declare enum Icon {
|
|
|
801
602
|
CHECKROOM = "CHECKROOM",
|
|
802
603
|
STAGE = "STAGE"
|
|
803
604
|
}
|
|
804
|
-
|
|
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 {
|
|
805
608
|
/** WixMedia image ID. */
|
|
806
609
|
id?: string;
|
|
807
610
|
/**
|
|
@@ -820,13 +623,15 @@ export interface Image {
|
|
|
820
623
|
*/
|
|
821
624
|
uri?: string | null;
|
|
822
625
|
}
|
|
823
|
-
|
|
626
|
+
declare enum Numbering {
|
|
824
627
|
UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
|
|
825
628
|
NUMERIC = "NUMERIC",
|
|
826
629
|
ODD_EVEN = "ODD_EVEN",
|
|
827
630
|
ALPHABETICAL = "ALPHABETICAL"
|
|
828
631
|
}
|
|
829
|
-
|
|
632
|
+
/** @enumType */
|
|
633
|
+
type NumberingWithLiterals = Numbering | 'UNKNOWN_NUMBERING' | 'NUMERIC' | 'ODD_EVEN' | 'ALPHABETICAL';
|
|
634
|
+
interface MultiRowProperties {
|
|
830
635
|
/**
|
|
831
636
|
* Individual rows of the multi row element
|
|
832
637
|
* @maxSize 1000
|
|
@@ -846,7 +651,7 @@ export interface MultiRowProperties {
|
|
|
846
651
|
*/
|
|
847
652
|
seatAmount?: number | null;
|
|
848
653
|
}
|
|
849
|
-
|
|
654
|
+
interface RowElement {
|
|
850
655
|
/**
|
|
851
656
|
* Unique row id
|
|
852
657
|
* @min 1
|
|
@@ -871,7 +676,7 @@ export interface RowElement {
|
|
|
871
676
|
/** Row UI settings */
|
|
872
677
|
uiProperties?: RowElementUiProperties;
|
|
873
678
|
}
|
|
874
|
-
|
|
679
|
+
interface RowElementUiProperties {
|
|
875
680
|
/**
|
|
876
681
|
* Relative x position to the parent element
|
|
877
682
|
* @min -1000000
|
|
@@ -895,11 +700,11 @@ export interface RowElementUiProperties {
|
|
|
895
700
|
*/
|
|
896
701
|
seatSpacing?: number | null;
|
|
897
702
|
/** Label position */
|
|
898
|
-
labelPosition?:
|
|
703
|
+
labelPosition?: PositionWithLiterals;
|
|
899
704
|
/** Seat numbering */
|
|
900
|
-
seatNumbering?:
|
|
705
|
+
seatNumbering?: NumberingWithLiterals;
|
|
901
706
|
}
|
|
902
|
-
|
|
707
|
+
interface VerticalSequencing {
|
|
903
708
|
/**
|
|
904
709
|
* First seq element
|
|
905
710
|
* @minLength 1
|
|
@@ -907,11 +712,11 @@ export interface VerticalSequencing {
|
|
|
907
712
|
*/
|
|
908
713
|
startAt?: string;
|
|
909
714
|
/** Row numbering */
|
|
910
|
-
rowNumbering?:
|
|
715
|
+
rowNumbering?: NumberingWithLiterals;
|
|
911
716
|
/** If true - direction bottom to top. Otherwise top to bottom. */
|
|
912
717
|
reverseOrder?: boolean | null;
|
|
913
718
|
}
|
|
914
|
-
|
|
719
|
+
interface Category {
|
|
915
720
|
/**
|
|
916
721
|
* Local category id within the seating plan
|
|
917
722
|
* @min 1
|
|
@@ -948,7 +753,7 @@ export interface Category {
|
|
|
948
753
|
*/
|
|
949
754
|
places?: Place[];
|
|
950
755
|
}
|
|
951
|
-
|
|
756
|
+
interface ExtendedFields {
|
|
952
757
|
/**
|
|
953
758
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
954
759
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -959,7 +764,7 @@ export interface ExtendedFields {
|
|
|
959
764
|
*/
|
|
960
765
|
namespaces?: Record<string, Record<string, any>>;
|
|
961
766
|
}
|
|
962
|
-
|
|
767
|
+
interface SeatingPlanUiProperties {
|
|
963
768
|
/**
|
|
964
769
|
* #F0F0F0
|
|
965
770
|
* @format COLOR_HEX
|
|
@@ -968,7 +773,7 @@ export interface SeatingPlanUiProperties {
|
|
|
968
773
|
/** @max 100 */
|
|
969
774
|
backgroundOpacity?: number | null;
|
|
970
775
|
}
|
|
971
|
-
|
|
776
|
+
interface ElementGroup {
|
|
972
777
|
/**
|
|
973
778
|
* Unique element group id
|
|
974
779
|
* @min 1
|
|
@@ -979,7 +784,7 @@ export interface ElementGroup {
|
|
|
979
784
|
/** Element group UI settings */
|
|
980
785
|
uiProperties?: ElementGroupUiProperties;
|
|
981
786
|
}
|
|
982
|
-
|
|
787
|
+
interface ElementGroupUiProperties {
|
|
983
788
|
/**
|
|
984
789
|
* x position of the group
|
|
985
790
|
* @min -1000000
|
|
@@ -1009,153 +814,28 @@ export interface ElementGroupUiProperties {
|
|
|
1009
814
|
*/
|
|
1010
815
|
rotationAngle?: number | null;
|
|
1011
816
|
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1038
|
-
*/
|
|
1039
|
-
entityFqdn?: string;
|
|
1040
|
-
/**
|
|
1041
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
1042
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1043
|
-
*/
|
|
1044
|
-
slug?: string;
|
|
1045
|
-
/** ID of the entity associated with the event. */
|
|
1046
|
-
entityId?: string;
|
|
1047
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1048
|
-
eventTime?: Date | null;
|
|
1049
|
-
/**
|
|
1050
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
1051
|
-
* (for example, GDPR).
|
|
1052
|
-
*/
|
|
1053
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
1054
|
-
/** If present, indicates the action that triggered the event. */
|
|
1055
|
-
originatedFrom?: string | null;
|
|
1056
|
-
/**
|
|
1057
|
-
* 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.
|
|
1058
|
-
* 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.
|
|
1059
|
-
*/
|
|
1060
|
-
entityEventSequence?: string | null;
|
|
1061
|
-
}
|
|
1062
|
-
/** @oneof */
|
|
1063
|
-
export interface DomainEventBodyOneOf {
|
|
1064
|
-
createdEvent?: EntityCreatedEvent;
|
|
1065
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
1066
|
-
deletedEvent?: EntityDeletedEvent;
|
|
1067
|
-
actionEvent?: ActionEvent;
|
|
1068
|
-
}
|
|
1069
|
-
export interface EntityCreatedEvent {
|
|
1070
|
-
entityAsJson?: string;
|
|
1071
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
1072
|
-
restoreInfo?: RestoreInfo;
|
|
1073
|
-
}
|
|
1074
|
-
export interface RestoreInfo {
|
|
1075
|
-
deletedDate?: Date | null;
|
|
1076
|
-
}
|
|
1077
|
-
export interface EntityUpdatedEvent {
|
|
1078
|
-
/**
|
|
1079
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1080
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1081
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1082
|
-
*/
|
|
1083
|
-
currentEntityAsJson?: string;
|
|
1084
|
-
}
|
|
1085
|
-
export interface EntityDeletedEvent {
|
|
1086
|
-
/** Entity that was deleted. */
|
|
1087
|
-
deletedEntityAsJson?: string | null;
|
|
1088
|
-
}
|
|
1089
|
-
export interface ActionEvent {
|
|
1090
|
-
bodyAsJson?: string;
|
|
1091
|
-
}
|
|
1092
|
-
export interface MessageEnvelope {
|
|
1093
|
-
/**
|
|
1094
|
-
* App instance ID.
|
|
1095
|
-
* @format GUID
|
|
1096
|
-
*/
|
|
1097
|
-
instanceId?: string | null;
|
|
1098
|
-
/**
|
|
1099
|
-
* Event type.
|
|
1100
|
-
* @maxLength 150
|
|
1101
|
-
*/
|
|
1102
|
-
eventType?: string;
|
|
1103
|
-
/** The identification type and identity data. */
|
|
1104
|
-
identity?: IdentificationData;
|
|
1105
|
-
/** Stringify payload. */
|
|
1106
|
-
data?: string;
|
|
1107
|
-
}
|
|
1108
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1109
|
-
/**
|
|
1110
|
-
* ID of a site visitor that has not logged in to the site.
|
|
1111
|
-
* @format GUID
|
|
1112
|
-
*/
|
|
1113
|
-
anonymousVisitorId?: string;
|
|
1114
|
-
/**
|
|
1115
|
-
* ID of a site visitor that has logged in to the site.
|
|
1116
|
-
* @format GUID
|
|
1117
|
-
*/
|
|
1118
|
-
memberId?: string;
|
|
1119
|
-
/**
|
|
1120
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
1121
|
-
* @format GUID
|
|
1122
|
-
*/
|
|
1123
|
-
wixUserId?: string;
|
|
1124
|
-
/**
|
|
1125
|
-
* ID of an app.
|
|
1126
|
-
* @format GUID
|
|
1127
|
-
*/
|
|
1128
|
-
appId?: string;
|
|
1129
|
-
/** @readonly */
|
|
1130
|
-
identityType?: WebhookIdentityType;
|
|
1131
|
-
}
|
|
1132
|
-
/** @oneof */
|
|
1133
|
-
export interface IdentificationDataIdOneOf {
|
|
1134
|
-
/**
|
|
1135
|
-
* ID of a site visitor that has not logged in to the site.
|
|
1136
|
-
* @format GUID
|
|
1137
|
-
*/
|
|
1138
|
-
anonymousVisitorId?: string;
|
|
1139
|
-
/**
|
|
1140
|
-
* ID of a site visitor that has logged in to the site.
|
|
1141
|
-
* @format GUID
|
|
1142
|
-
*/
|
|
1143
|
-
memberId?: string;
|
|
1144
|
-
/**
|
|
1145
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
1146
|
-
* @format GUID
|
|
1147
|
-
*/
|
|
1148
|
-
wixUserId?: string;
|
|
1149
|
-
/**
|
|
1150
|
-
* ID of an app.
|
|
1151
|
-
* @format GUID
|
|
1152
|
-
*/
|
|
1153
|
-
appId?: string;
|
|
1154
|
-
}
|
|
1155
|
-
export declare enum WebhookIdentityType {
|
|
1156
|
-
UNKNOWN = "UNKNOWN",
|
|
1157
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1158
|
-
MEMBER = "MEMBER",
|
|
1159
|
-
WIX_USER = "WIX_USER",
|
|
1160
|
-
APP = "APP"
|
|
1161
|
-
}
|
|
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 };
|