@wix/auto_sdk_seatings_seating-plan 1.0.5 → 1.0.7
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 +96 -1
- package/build/cjs/index.js +1310 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +783 -1
- package/build/cjs/meta.js +860 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.d.ts → cjs/seating-v1-seating-plan-seating-plan.universal-BphMjTRF.d.ts} +95 -279
- package/build/es/index.d.mts +96 -0
- package/build/es/index.mjs +1269 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/{src/seating-v1-seating-plan-seating-plan.types.d.ts → meta.d.mts} +86 -281
- package/build/es/meta.mjs +828 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/{internal/es/src/seating-v1-seating-plan-seating-plan.universal.d.ts → es/seating-v1-seating-plan-seating-plan.universal-BphMjTRF.d.mts} +95 -279
- package/build/internal/cjs/index.d.ts +96 -1
- package/build/internal/cjs/index.js +1310 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +783 -1
- package/build/internal/cjs/meta.js +860 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{cjs/src/seating-v1-seating-plan-seating-plan.universal.d.ts → internal/cjs/seating-v1-seating-plan-seating-plan.universal-BphMjTRF.d.ts} +95 -279
- package/build/internal/es/index.d.mts +96 -0
- package/build/internal/es/index.mjs +1269 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/{cjs/src/seating-v1-seating-plan-seating-plan.types.d.ts → es/meta.d.mts} +86 -281
- package/build/internal/es/meta.mjs +828 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/{es/src/seating-v1-seating-plan-seating-plan.universal.d.ts → internal/es/seating-v1-seating-plan-seating-plan.universal-BphMjTRF.d.mts} +95 -279
- 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-plan-seating-plan.context.d.ts +0 -23
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.context.js +0 -35
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.context.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.http.d.ts +0 -19
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.http.js +0 -673
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.http.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.meta.d.ts +0 -25
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.meta.js +0 -199
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.meta.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.public.d.ts +0 -80
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.public.js +0 -204
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.public.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.d.ts +0 -978
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.js +0 -85
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.js.map +0 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.universal.js +0 -505
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.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-plan-seating-plan.context.d.ts +0 -23
- package/build/es/src/seating-v1-seating-plan-seating-plan.context.js +0 -23
- package/build/es/src/seating-v1-seating-plan-seating-plan.context.js.map +0 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.http.d.ts +0 -19
- package/build/es/src/seating-v1-seating-plan-seating-plan.http.js +0 -661
- package/build/es/src/seating-v1-seating-plan-seating-plan.http.js.map +0 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.meta.d.ts +0 -25
- package/build/es/src/seating-v1-seating-plan-seating-plan.meta.js +0 -164
- package/build/es/src/seating-v1-seating-plan-seating-plan.meta.js.map +0 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.public.d.ts +0 -80
- package/build/es/src/seating-v1-seating-plan-seating-plan.public.js +0 -183
- package/build/es/src/seating-v1-seating-plan-seating-plan.public.js.map +0 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.types.js +0 -82
- package/build/es/src/seating-v1-seating-plan-seating-plan.types.js.map +0 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.universal.js +0 -470
- package/build/es/src/seating-v1-seating-plan-seating-plan.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-plan-seating-plan.context.d.ts +0 -23
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.context.js +0 -35
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.context.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.http.d.ts +0 -19
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.http.js +0 -673
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.http.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.meta.d.ts +0 -25
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.meta.js +0 -199
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.meta.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.public.d.ts +0 -80
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.public.js +0 -204
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.public.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.types.js +0 -85
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.types.js.map +0 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.js +0 -505
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.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-plan-seating-plan.context.d.ts +0 -23
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.context.js +0 -23
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.context.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.http.d.ts +0 -19
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.http.js +0 -661
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.http.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.meta.d.ts +0 -25
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.meta.js +0 -164
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.meta.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.public.d.ts +0 -80
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.public.js +0 -183
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.public.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.d.ts +0 -978
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.js +0 -82
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.js.map +0 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.js +0 -470
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.js.map +0 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { z as CreateSeatingPlanRequest$1, A as CreateSeatingPlanResponse$1, H as UpdateSeatingPlanRequest$1, J as UpdateSeatingPlanResponse$1, K as CopySeatingPlanRequest$1, a as CopySeatingPlanResponse$1, L as QuerySeatingPlanRequest$1, $ as QuerySeatingPlanResponse$1, a0 as GetSeatingPlanRequest$1, a2 as GetSeatingPlanResponse$1, a3 as FindSeatingPlanRequest$1, b as FindSeatingPlanResponse$1, a4 as DeleteSeatingPlanRequest$1, D as DeleteSeatingPlanResponse$1, ap as UpdateSeatingPlanThumbnailRequest$1, d as UpdateSeatingPlanThumbnailResponse$1, aq as GetSeatingPlanThumbnailRequest$1, e as GetSeatingPlanThumbnailResponse$1 } from './seating-v1-seating-plan-seating-plan.universal-BphMjTRF.mjs';
|
|
2
|
+
|
|
3
|
+
interface SeatingPlan {
|
|
2
4
|
/**
|
|
3
5
|
* Auto generated unique plan id
|
|
4
6
|
* @format GUID
|
|
@@ -70,7 +72,7 @@ export interface SeatingPlan {
|
|
|
70
72
|
*/
|
|
71
73
|
elementGroups?: ElementGroup[];
|
|
72
74
|
}
|
|
73
|
-
|
|
75
|
+
interface Section {
|
|
74
76
|
/** Unique section id */
|
|
75
77
|
id?: number;
|
|
76
78
|
/**
|
|
@@ -100,7 +102,7 @@ export interface Section {
|
|
|
100
102
|
*/
|
|
101
103
|
default?: boolean;
|
|
102
104
|
}
|
|
103
|
-
|
|
105
|
+
interface Element {
|
|
104
106
|
/**
|
|
105
107
|
* Unique element id
|
|
106
108
|
* @min 1
|
|
@@ -144,7 +146,7 @@ export interface Element {
|
|
|
144
146
|
/** Multi row element relevant for MULTI_ROW element type */
|
|
145
147
|
multiRowProperties?: MultiRowProperties;
|
|
146
148
|
}
|
|
147
|
-
|
|
149
|
+
declare enum Type {
|
|
148
150
|
AREA = "AREA",
|
|
149
151
|
ROW = "ROW",
|
|
150
152
|
MULTI_ROW = "MULTI_ROW",
|
|
@@ -153,8 +155,8 @@ export declare enum Type {
|
|
|
153
155
|
SHAPE = "SHAPE"
|
|
154
156
|
}
|
|
155
157
|
/** @enumType */
|
|
156
|
-
|
|
157
|
-
|
|
158
|
+
type TypeWithLiterals = Type | 'AREA' | 'ROW' | 'MULTI_ROW' | 'TABLE' | 'ROUND_TABLE' | 'SHAPE';
|
|
159
|
+
interface Sequencing {
|
|
158
160
|
/**
|
|
159
161
|
* First seq element
|
|
160
162
|
* @minLength 1
|
|
@@ -169,7 +171,7 @@ export interface Sequencing {
|
|
|
169
171
|
/** If true - direction right to left. Otherwise left to right. */
|
|
170
172
|
reverseOrder?: boolean | null;
|
|
171
173
|
}
|
|
172
|
-
|
|
174
|
+
interface Place {
|
|
173
175
|
/** Local id of the place in the sequence */
|
|
174
176
|
index?: number;
|
|
175
177
|
/**
|
|
@@ -201,7 +203,7 @@ export interface Place {
|
|
|
201
203
|
/** Place type */
|
|
202
204
|
type?: PlaceTypeEnumTypeWithLiterals;
|
|
203
205
|
}
|
|
204
|
-
|
|
206
|
+
declare enum PlaceTypeEnumType {
|
|
205
207
|
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
206
208
|
STANDARD = "STANDARD",
|
|
207
209
|
WHEELCHAIR = "WHEELCHAIR",
|
|
@@ -211,12 +213,12 @@ export declare enum PlaceTypeEnumType {
|
|
|
211
213
|
DISCOUNT = "DISCOUNT"
|
|
212
214
|
}
|
|
213
215
|
/** @enumType */
|
|
214
|
-
|
|
215
|
-
|
|
216
|
+
type PlaceTypeEnumTypeWithLiterals = PlaceTypeEnumType | 'UNKNOWN_PROPERTY' | 'STANDARD' | 'WHEELCHAIR' | 'ACCESSIBLE' | 'COMPANION' | 'OBSTRUCTED' | 'DISCOUNT';
|
|
217
|
+
interface ReservationOptions {
|
|
216
218
|
/** Indicates whether the entire element must be reserved */
|
|
217
219
|
reserveWholeElement?: boolean;
|
|
218
220
|
}
|
|
219
|
-
|
|
221
|
+
interface ElementUiProperties {
|
|
220
222
|
/**
|
|
221
223
|
* @min -1000000
|
|
222
224
|
* @max 1000000
|
|
@@ -292,7 +294,7 @@ export interface ElementUiProperties {
|
|
|
292
294
|
image?: Image;
|
|
293
295
|
seatNumbering?: NumberingWithLiterals;
|
|
294
296
|
}
|
|
295
|
-
|
|
297
|
+
declare enum ShapeTypeEnumType {
|
|
296
298
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
297
299
|
TEXT = "TEXT",
|
|
298
300
|
RECTANGLE = "RECTANGLE",
|
|
@@ -302,8 +304,8 @@ export declare enum ShapeTypeEnumType {
|
|
|
302
304
|
IMAGE = "IMAGE"
|
|
303
305
|
}
|
|
304
306
|
/** @enumType */
|
|
305
|
-
|
|
306
|
-
|
|
307
|
+
type ShapeTypeEnumTypeWithLiterals = ShapeTypeEnumType | 'UNKNOWN_TYPE' | 'TEXT' | 'RECTANGLE' | 'ELLIPSE' | 'LINE' | 'ICON' | 'IMAGE';
|
|
308
|
+
declare enum Position {
|
|
307
309
|
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
308
310
|
LEFT = "LEFT",
|
|
309
311
|
RIGHT = "RIGHT",
|
|
@@ -311,8 +313,8 @@ export declare enum Position {
|
|
|
311
313
|
NONE = "NONE"
|
|
312
314
|
}
|
|
313
315
|
/** @enumType */
|
|
314
|
-
|
|
315
|
-
|
|
316
|
+
type PositionWithLiterals = Position | 'UNKNOWN_POSITION' | 'LEFT' | 'RIGHT' | 'BOTH' | 'NONE';
|
|
317
|
+
declare enum Icon {
|
|
316
318
|
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
317
319
|
ENTER = "ENTER",
|
|
318
320
|
EXIT = "EXIT",
|
|
@@ -328,8 +330,8 @@ export declare enum Icon {
|
|
|
328
330
|
STAGE = "STAGE"
|
|
329
331
|
}
|
|
330
332
|
/** @enumType */
|
|
331
|
-
|
|
332
|
-
|
|
333
|
+
type IconWithLiterals = Icon | 'UNKNOWN_ICON' | 'ENTER' | 'EXIT' | 'DRINKS' | 'WC' | 'WC_MEN' | 'WC_WOMEN' | 'FOOD' | 'STAIRS' | 'ELEVATOR' | 'SMOKING' | 'CHECKROOM' | 'STAGE';
|
|
334
|
+
interface Image {
|
|
333
335
|
/** WixMedia image ID. */
|
|
334
336
|
id?: string;
|
|
335
337
|
/**
|
|
@@ -348,15 +350,15 @@ export interface Image {
|
|
|
348
350
|
*/
|
|
349
351
|
uri?: string | null;
|
|
350
352
|
}
|
|
351
|
-
|
|
353
|
+
declare enum Numbering {
|
|
352
354
|
UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
|
|
353
355
|
NUMERIC = "NUMERIC",
|
|
354
356
|
ODD_EVEN = "ODD_EVEN",
|
|
355
357
|
ALPHABETICAL = "ALPHABETICAL"
|
|
356
358
|
}
|
|
357
359
|
/** @enumType */
|
|
358
|
-
|
|
359
|
-
|
|
360
|
+
type NumberingWithLiterals = Numbering | 'UNKNOWN_NUMBERING' | 'NUMERIC' | 'ODD_EVEN' | 'ALPHABETICAL';
|
|
361
|
+
interface MultiRowProperties {
|
|
360
362
|
/**
|
|
361
363
|
* Individual rows of the multi row element
|
|
362
364
|
* @maxSize 1000
|
|
@@ -376,7 +378,7 @@ export interface MultiRowProperties {
|
|
|
376
378
|
*/
|
|
377
379
|
seatAmount?: number | null;
|
|
378
380
|
}
|
|
379
|
-
|
|
381
|
+
interface RowElement {
|
|
380
382
|
/**
|
|
381
383
|
* Unique row id
|
|
382
384
|
* @min 1
|
|
@@ -401,7 +403,7 @@ export interface RowElement {
|
|
|
401
403
|
/** Row UI settings */
|
|
402
404
|
uiProperties?: RowElementUiProperties;
|
|
403
405
|
}
|
|
404
|
-
|
|
406
|
+
interface RowElementUiProperties {
|
|
405
407
|
/**
|
|
406
408
|
* Relative x position to the parent element
|
|
407
409
|
* @min -1000000
|
|
@@ -429,7 +431,7 @@ export interface RowElementUiProperties {
|
|
|
429
431
|
/** Seat numbering */
|
|
430
432
|
seatNumbering?: NumberingWithLiterals;
|
|
431
433
|
}
|
|
432
|
-
|
|
434
|
+
interface VerticalSequencing {
|
|
433
435
|
/**
|
|
434
436
|
* First seq element
|
|
435
437
|
* @minLength 1
|
|
@@ -441,7 +443,7 @@ export interface VerticalSequencing {
|
|
|
441
443
|
/** If true - direction bottom to top. Otherwise top to bottom. */
|
|
442
444
|
reverseOrder?: boolean | null;
|
|
443
445
|
}
|
|
444
|
-
|
|
446
|
+
interface Category {
|
|
445
447
|
/**
|
|
446
448
|
* Local category id within the seating plan
|
|
447
449
|
* @min 1
|
|
@@ -478,7 +480,7 @@ export interface Category {
|
|
|
478
480
|
*/
|
|
479
481
|
places?: Place[];
|
|
480
482
|
}
|
|
481
|
-
|
|
483
|
+
interface ExtendedFields {
|
|
482
484
|
/**
|
|
483
485
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
484
486
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -489,7 +491,7 @@ export interface ExtendedFields {
|
|
|
489
491
|
*/
|
|
490
492
|
namespaces?: Record<string, Record<string, any>>;
|
|
491
493
|
}
|
|
492
|
-
|
|
494
|
+
interface SeatingPlanUiProperties {
|
|
493
495
|
/**
|
|
494
496
|
* #F0F0F0
|
|
495
497
|
* @format COLOR_HEX
|
|
@@ -498,7 +500,7 @@ export interface SeatingPlanUiProperties {
|
|
|
498
500
|
/** @max 100 */
|
|
499
501
|
backgroundOpacity?: number | null;
|
|
500
502
|
}
|
|
501
|
-
|
|
503
|
+
interface ElementGroup {
|
|
502
504
|
/**
|
|
503
505
|
* Unique element group id
|
|
504
506
|
* @min 1
|
|
@@ -509,7 +511,7 @@ export interface ElementGroup {
|
|
|
509
511
|
/** Element group UI settings */
|
|
510
512
|
uiProperties?: ElementGroupUiProperties;
|
|
511
513
|
}
|
|
512
|
-
|
|
514
|
+
interface ElementGroupUiProperties {
|
|
513
515
|
/**
|
|
514
516
|
* x position of the group
|
|
515
517
|
* @min -1000000
|
|
@@ -539,33 +541,25 @@ export interface ElementGroupUiProperties {
|
|
|
539
541
|
*/
|
|
540
542
|
rotationAngle?: number | null;
|
|
541
543
|
}
|
|
542
|
-
|
|
544
|
+
interface CreateSeatingPlanRequest {
|
|
543
545
|
/** A plan to be created */
|
|
544
546
|
plan: SeatingPlan;
|
|
545
547
|
}
|
|
546
|
-
|
|
548
|
+
interface CreateSeatingPlanResponse {
|
|
547
549
|
/** The created plan */
|
|
548
550
|
plan?: SeatingPlan;
|
|
549
551
|
}
|
|
550
|
-
|
|
551
|
-
/** Max allowed capacity */
|
|
552
|
-
maxCapacity?: number;
|
|
553
|
-
/** Invalid capacity */
|
|
554
|
-
capacity?: number;
|
|
555
|
-
/** The element id */
|
|
556
|
-
elementId?: number | null;
|
|
557
|
-
}
|
|
558
|
-
export interface UpdateSeatingPlanRequest {
|
|
552
|
+
interface UpdateSeatingPlanRequest {
|
|
559
553
|
/** The plan updates */
|
|
560
554
|
plan?: SeatingPlan;
|
|
561
555
|
/** A set of field paths, specifying which parts of seating plan to update */
|
|
562
556
|
fields?: string[];
|
|
563
557
|
}
|
|
564
|
-
|
|
558
|
+
interface UpdateSeatingPlanResponse {
|
|
565
559
|
/** The updated plan */
|
|
566
560
|
plan?: SeatingPlan;
|
|
567
561
|
}
|
|
568
|
-
|
|
562
|
+
interface CopySeatingPlanRequest {
|
|
569
563
|
/**
|
|
570
564
|
* The id of the plan to be copied
|
|
571
565
|
* @format GUID
|
|
@@ -584,11 +578,11 @@ export interface CopySeatingPlanRequest {
|
|
|
584
578
|
*/
|
|
585
579
|
externalId: string | null;
|
|
586
580
|
}
|
|
587
|
-
|
|
581
|
+
interface CopySeatingPlanResponse {
|
|
588
582
|
/** The copied plan */
|
|
589
583
|
plan?: SeatingPlan;
|
|
590
584
|
}
|
|
591
|
-
|
|
585
|
+
interface QuerySeatingPlanRequest {
|
|
592
586
|
/**
|
|
593
587
|
* Generic query object
|
|
594
588
|
* Possible fieldsets: "elements", "categories", "places", "config".
|
|
@@ -597,7 +591,7 @@ export interface QuerySeatingPlanRequest {
|
|
|
597
591
|
/** A fieldset for the response */
|
|
598
592
|
fieldset?: FieldsetWithLiterals[];
|
|
599
593
|
}
|
|
600
|
-
|
|
594
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
601
595
|
/** Paging options to limit and skip the number of items. */
|
|
602
596
|
paging?: Paging;
|
|
603
597
|
/** 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`. */
|
|
@@ -620,13 +614,13 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
620
614
|
fieldsets?: string[];
|
|
621
615
|
}
|
|
622
616
|
/** @oneof */
|
|
623
|
-
|
|
617
|
+
interface QueryV2PagingMethodOneOf {
|
|
624
618
|
/** Paging options to limit and skip the number of items. */
|
|
625
619
|
paging?: Paging;
|
|
626
620
|
/** 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`. */
|
|
627
621
|
cursorPaging?: CursorPaging;
|
|
628
622
|
}
|
|
629
|
-
|
|
623
|
+
interface Sorting {
|
|
630
624
|
/**
|
|
631
625
|
* Name of the field to sort by.
|
|
632
626
|
* @maxLength 512
|
|
@@ -635,19 +629,19 @@ export interface Sorting {
|
|
|
635
629
|
/** Sort order. */
|
|
636
630
|
order?: SortOrderWithLiterals;
|
|
637
631
|
}
|
|
638
|
-
|
|
632
|
+
declare enum SortOrder {
|
|
639
633
|
ASC = "ASC",
|
|
640
634
|
DESC = "DESC"
|
|
641
635
|
}
|
|
642
636
|
/** @enumType */
|
|
643
|
-
|
|
644
|
-
|
|
637
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
638
|
+
interface Paging {
|
|
645
639
|
/** Number of items to load. */
|
|
646
640
|
limit?: number | null;
|
|
647
641
|
/** Number of items to skip in the current sort order. */
|
|
648
642
|
offset?: number | null;
|
|
649
643
|
}
|
|
650
|
-
|
|
644
|
+
interface CursorPaging {
|
|
651
645
|
/**
|
|
652
646
|
* Maximum number of items to return in the results.
|
|
653
647
|
* @max 100
|
|
@@ -662,7 +656,7 @@ export interface CursorPaging {
|
|
|
662
656
|
*/
|
|
663
657
|
cursor?: string | null;
|
|
664
658
|
}
|
|
665
|
-
|
|
659
|
+
declare enum Fieldset {
|
|
666
660
|
ELEMENTS = "ELEMENTS",
|
|
667
661
|
CATEGORIES = "CATEGORIES",
|
|
668
662
|
PLACES = "PLACES",
|
|
@@ -670,12 +664,12 @@ export declare enum Fieldset {
|
|
|
670
664
|
ELEMENT_GROUPS = "ELEMENT_GROUPS"
|
|
671
665
|
}
|
|
672
666
|
/** @enumType */
|
|
673
|
-
|
|
674
|
-
|
|
667
|
+
type FieldsetWithLiterals = Fieldset | 'ELEMENTS' | 'CATEGORIES' | 'PLACES' | 'CONFIG' | 'ELEMENT_GROUPS';
|
|
668
|
+
interface QuerySeatingPlanResponse {
|
|
675
669
|
/** Plan results */
|
|
676
670
|
plans?: SeatingPlan[];
|
|
677
671
|
}
|
|
678
|
-
|
|
672
|
+
interface GetSeatingPlanRequest {
|
|
679
673
|
/**
|
|
680
674
|
* The id of the plan
|
|
681
675
|
* @format GUID
|
|
@@ -694,7 +688,7 @@ export interface GetSeatingPlanRequest {
|
|
|
694
688
|
/** Seating Plan Mask */
|
|
695
689
|
seatingPlanMask?: SeatingPlanMask;
|
|
696
690
|
}
|
|
697
|
-
|
|
691
|
+
interface SeatingPlanMask {
|
|
698
692
|
/**
|
|
699
693
|
* Filter seating plan by place ids
|
|
700
694
|
* @minLength 5
|
|
@@ -702,11 +696,11 @@ export interface SeatingPlanMask {
|
|
|
702
696
|
*/
|
|
703
697
|
placeId?: string[];
|
|
704
698
|
}
|
|
705
|
-
|
|
699
|
+
interface GetSeatingPlanResponse {
|
|
706
700
|
/** The plan */
|
|
707
701
|
plan?: SeatingPlan;
|
|
708
702
|
}
|
|
709
|
-
|
|
703
|
+
interface FindSeatingPlanRequest {
|
|
710
704
|
/** The filter of the plan */
|
|
711
705
|
filter: Record<string, any> | null;
|
|
712
706
|
/**
|
|
@@ -722,240 +716,25 @@ export interface FindSeatingPlanRequest {
|
|
|
722
716
|
/** Seating Plan Mask */
|
|
723
717
|
seatingPlanMask?: SeatingPlanMask;
|
|
724
718
|
}
|
|
725
|
-
|
|
719
|
+
interface FindSeatingPlanResponse {
|
|
726
720
|
/** The plan */
|
|
727
721
|
plan?: SeatingPlan;
|
|
728
722
|
}
|
|
729
|
-
|
|
723
|
+
interface DeleteSeatingPlanRequest {
|
|
730
724
|
/**
|
|
731
725
|
* The id of the plan
|
|
732
726
|
* @format GUID
|
|
733
727
|
*/
|
|
734
728
|
id: string | null;
|
|
735
729
|
}
|
|
736
|
-
|
|
730
|
+
interface DeleteSeatingPlanResponse {
|
|
737
731
|
/** Deleted plan */
|
|
738
732
|
plan?: SeatingPlan;
|
|
739
733
|
}
|
|
740
|
-
|
|
741
|
-
createdEvent?: EntityCreatedEvent;
|
|
742
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
743
|
-
deletedEvent?: EntityDeletedEvent;
|
|
744
|
-
actionEvent?: ActionEvent;
|
|
745
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
746
|
-
id?: string;
|
|
747
|
-
/**
|
|
748
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
749
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
750
|
-
*/
|
|
751
|
-
entityFqdn?: string;
|
|
752
|
-
/**
|
|
753
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
754
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
755
|
-
*/
|
|
756
|
-
slug?: string;
|
|
757
|
-
/** ID of the entity associated with the event. */
|
|
758
|
-
entityId?: string;
|
|
759
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
760
|
-
eventTime?: Date | null;
|
|
761
|
-
/**
|
|
762
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
763
|
-
* (for example, GDPR).
|
|
764
|
-
*/
|
|
765
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
766
|
-
/** If present, indicates the action that triggered the event. */
|
|
767
|
-
originatedFrom?: string | null;
|
|
768
|
-
/**
|
|
769
|
-
* 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.
|
|
770
|
-
* 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.
|
|
771
|
-
*/
|
|
772
|
-
entityEventSequence?: string | null;
|
|
773
|
-
}
|
|
774
|
-
/** @oneof */
|
|
775
|
-
export interface DomainEventBodyOneOf {
|
|
776
|
-
createdEvent?: EntityCreatedEvent;
|
|
777
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
778
|
-
deletedEvent?: EntityDeletedEvent;
|
|
779
|
-
actionEvent?: ActionEvent;
|
|
780
|
-
}
|
|
781
|
-
export interface EntityCreatedEvent {
|
|
782
|
-
entityAsJson?: string;
|
|
783
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
784
|
-
restoreInfo?: RestoreInfo;
|
|
785
|
-
}
|
|
786
|
-
export interface RestoreInfo {
|
|
787
|
-
deletedDate?: Date | null;
|
|
788
|
-
}
|
|
789
|
-
export interface EntityUpdatedEvent {
|
|
790
|
-
/**
|
|
791
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
792
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
793
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
794
|
-
*/
|
|
795
|
-
currentEntityAsJson?: string;
|
|
796
|
-
}
|
|
797
|
-
export interface EntityDeletedEvent {
|
|
798
|
-
/** Entity that was deleted. */
|
|
799
|
-
deletedEntityAsJson?: string | null;
|
|
800
|
-
}
|
|
801
|
-
export interface ActionEvent {
|
|
802
|
-
bodyAsJson?: string;
|
|
803
|
-
}
|
|
804
|
-
export interface MessageEnvelope {
|
|
805
|
-
/**
|
|
806
|
-
* App instance ID.
|
|
807
|
-
* @format GUID
|
|
808
|
-
*/
|
|
809
|
-
instanceId?: string | null;
|
|
810
|
-
/**
|
|
811
|
-
* Event type.
|
|
812
|
-
* @maxLength 150
|
|
813
|
-
*/
|
|
814
|
-
eventType?: string;
|
|
815
|
-
/** The identification type and identity data. */
|
|
816
|
-
identity?: IdentificationData;
|
|
817
|
-
/** Stringify payload. */
|
|
818
|
-
data?: string;
|
|
819
|
-
}
|
|
820
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
821
|
-
/**
|
|
822
|
-
* ID of a site visitor that has not logged in to the site.
|
|
823
|
-
* @format GUID
|
|
824
|
-
*/
|
|
825
|
-
anonymousVisitorId?: string;
|
|
826
|
-
/**
|
|
827
|
-
* ID of a site visitor that has logged in to the site.
|
|
828
|
-
* @format GUID
|
|
829
|
-
*/
|
|
830
|
-
memberId?: string;
|
|
831
|
-
/**
|
|
832
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
833
|
-
* @format GUID
|
|
834
|
-
*/
|
|
835
|
-
wixUserId?: string;
|
|
836
|
-
/**
|
|
837
|
-
* ID of an app.
|
|
838
|
-
* @format GUID
|
|
839
|
-
*/
|
|
840
|
-
appId?: string;
|
|
841
|
-
/** @readonly */
|
|
842
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
843
|
-
}
|
|
844
|
-
/** @oneof */
|
|
845
|
-
export interface IdentificationDataIdOneOf {
|
|
846
|
-
/**
|
|
847
|
-
* ID of a site visitor that has not logged in to the site.
|
|
848
|
-
* @format GUID
|
|
849
|
-
*/
|
|
850
|
-
anonymousVisitorId?: string;
|
|
851
|
-
/**
|
|
852
|
-
* ID of a site visitor that has logged in to the site.
|
|
853
|
-
* @format GUID
|
|
854
|
-
*/
|
|
855
|
-
memberId?: string;
|
|
856
|
-
/**
|
|
857
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
858
|
-
* @format GUID
|
|
859
|
-
*/
|
|
860
|
-
wixUserId?: string;
|
|
861
|
-
/**
|
|
862
|
-
* ID of an app.
|
|
863
|
-
* @format GUID
|
|
864
|
-
*/
|
|
865
|
-
appId?: string;
|
|
866
|
-
}
|
|
867
|
-
export declare enum WebhookIdentityType {
|
|
868
|
-
UNKNOWN = "UNKNOWN",
|
|
869
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
870
|
-
MEMBER = "MEMBER",
|
|
871
|
-
WIX_USER = "WIX_USER",
|
|
872
|
-
APP = "APP"
|
|
873
|
-
}
|
|
874
|
-
/** @enumType */
|
|
875
|
-
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
876
|
-
export interface SaveSeatingPlanVersionRequest {
|
|
877
|
-
/** A plan version to be saved */
|
|
878
|
-
plan?: SeatingPlan;
|
|
879
|
-
/**
|
|
880
|
-
* Parent version of the plan.
|
|
881
|
-
* Use this field to override history of plan versions.
|
|
882
|
-
* The next version of the plan will still be latest version +1,
|
|
883
|
-
* but intermediate versions will be removed. Example:
|
|
884
|
-
* Existing versions [1, 2, 3, 4, 5].
|
|
885
|
-
* Save request with parent_version 2 will yield versions [1, 2, 6].
|
|
886
|
-
* @min 1
|
|
887
|
-
*/
|
|
888
|
-
parentVersion?: string | null;
|
|
889
|
-
}
|
|
890
|
-
export interface SaveSeatingPlanVersionResponse {
|
|
891
|
-
/** Updated plan version */
|
|
892
|
-
plan?: SeatingPlan;
|
|
893
|
-
}
|
|
894
|
-
export interface QuerySeatingPlanVersionsRequest {
|
|
895
|
-
/**
|
|
896
|
-
* Generic query object
|
|
897
|
-
* Possible fieldsets: "elements", "categories", "places", "config".
|
|
898
|
-
*/
|
|
899
|
-
query?: QueryV2;
|
|
900
|
-
}
|
|
901
|
-
export interface QuerySeatingPlanVersionsResponse {
|
|
902
|
-
/** Plan results */
|
|
903
|
-
plans?: SeatingPlan[];
|
|
904
|
-
/** Paging meta data */
|
|
905
|
-
metadata?: PagingMetadataV2;
|
|
906
|
-
}
|
|
907
|
-
export interface PagingMetadataV2 {
|
|
908
|
-
/** Number of items returned in the response. */
|
|
909
|
-
count?: number | null;
|
|
910
|
-
/** Offset that was requested. */
|
|
911
|
-
offset?: number | null;
|
|
912
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
913
|
-
total?: number | null;
|
|
914
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
915
|
-
tooManyToCount?: boolean | null;
|
|
916
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
917
|
-
cursors?: Cursors;
|
|
918
|
-
}
|
|
919
|
-
export interface Cursors {
|
|
920
|
-
/**
|
|
921
|
-
* Cursor string pointing to the next page in the list of results.
|
|
922
|
-
* @maxLength 16000
|
|
923
|
-
*/
|
|
924
|
-
next?: string | null;
|
|
925
|
-
/**
|
|
926
|
-
* Cursor pointing to the previous page in the list of results.
|
|
927
|
-
* @maxLength 16000
|
|
928
|
-
*/
|
|
929
|
-
prev?: string | null;
|
|
930
|
-
}
|
|
931
|
-
export interface DiscardSeatingPlanVersionsRequest {
|
|
932
|
-
/**
|
|
933
|
-
* Seating Plan ID
|
|
934
|
-
* @format GUID
|
|
935
|
-
*/
|
|
936
|
-
seatingPlanId?: string | null;
|
|
937
|
-
/** Version from which all higher versions will be discarded. */
|
|
938
|
-
version?: string | null;
|
|
939
|
-
}
|
|
940
|
-
export interface DiscardSeatingPlanVersionsResponse {
|
|
941
|
-
}
|
|
942
|
-
export interface RestoreSeatingPlanRequest {
|
|
943
|
-
/**
|
|
944
|
-
* Seating Plan ID
|
|
945
|
-
* @format GUID
|
|
946
|
-
*/
|
|
947
|
-
seatingPlanId?: string | null;
|
|
948
|
-
/** Version to witch the seating plan should be restored. */
|
|
949
|
-
version?: string | null;
|
|
950
|
-
}
|
|
951
|
-
export interface RestoreSeatingPlanResponse {
|
|
952
|
-
/** Seating Plan */
|
|
953
|
-
plan?: SeatingPlan;
|
|
954
|
-
}
|
|
955
|
-
export interface UpdateSeatingPlanThumbnailRequest {
|
|
734
|
+
interface UpdateSeatingPlanThumbnailRequest {
|
|
956
735
|
thumbnail: SeatingPlanThumbnail;
|
|
957
736
|
}
|
|
958
|
-
|
|
737
|
+
interface SeatingPlanThumbnail {
|
|
959
738
|
/**
|
|
960
739
|
* @format GUID
|
|
961
740
|
* @readonly
|
|
@@ -963,16 +742,42 @@ export interface SeatingPlanThumbnail {
|
|
|
963
742
|
id?: string | null;
|
|
964
743
|
img?: string | null;
|
|
965
744
|
}
|
|
966
|
-
|
|
745
|
+
interface UpdateSeatingPlanThumbnailResponse {
|
|
967
746
|
thumbnail?: SeatingPlanThumbnail;
|
|
968
747
|
}
|
|
969
|
-
|
|
748
|
+
interface GetSeatingPlanThumbnailRequest {
|
|
970
749
|
/**
|
|
971
750
|
* @format GUID
|
|
972
751
|
* @readonly
|
|
973
752
|
*/
|
|
974
753
|
id: string | null;
|
|
975
754
|
}
|
|
976
|
-
|
|
755
|
+
interface GetSeatingPlanThumbnailResponse {
|
|
977
756
|
thumbnail?: SeatingPlanThumbnail;
|
|
978
757
|
}
|
|
758
|
+
|
|
759
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
760
|
+
getUrl: (context: any) => string;
|
|
761
|
+
httpMethod: K;
|
|
762
|
+
path: string;
|
|
763
|
+
pathParams: M;
|
|
764
|
+
__requestType: T;
|
|
765
|
+
__originalRequestType: S;
|
|
766
|
+
__responseType: Q;
|
|
767
|
+
__originalResponseType: R;
|
|
768
|
+
};
|
|
769
|
+
declare function createSeatingPlan(): __PublicMethodMetaInfo<'POST', {}, CreateSeatingPlanRequest$1, CreateSeatingPlanRequest, CreateSeatingPlanResponse$1, CreateSeatingPlanResponse>;
|
|
770
|
+
declare function updateSeatingPlan(): __PublicMethodMetaInfo<'PUT', {}, UpdateSeatingPlanRequest$1, UpdateSeatingPlanRequest, UpdateSeatingPlanResponse$1, UpdateSeatingPlanResponse>;
|
|
771
|
+
declare function copySeatingPlan(): __PublicMethodMetaInfo<'POST', {}, CopySeatingPlanRequest$1, CopySeatingPlanRequest, CopySeatingPlanResponse$1, CopySeatingPlanResponse>;
|
|
772
|
+
declare function querySeatingPlan(): __PublicMethodMetaInfo<'POST', {}, QuerySeatingPlanRequest$1, QuerySeatingPlanRequest, QuerySeatingPlanResponse$1, QuerySeatingPlanResponse>;
|
|
773
|
+
declare function getSeatingPlan(): __PublicMethodMetaInfo<'GET', {
|
|
774
|
+
id: string;
|
|
775
|
+
}, GetSeatingPlanRequest$1, GetSeatingPlanRequest, GetSeatingPlanResponse$1, GetSeatingPlanResponse>;
|
|
776
|
+
declare function findSeatingPlan(): __PublicMethodMetaInfo<'POST', {}, FindSeatingPlanRequest$1, FindSeatingPlanRequest, FindSeatingPlanResponse$1, FindSeatingPlanResponse>;
|
|
777
|
+
declare function deleteSeatingPlan(): __PublicMethodMetaInfo<'DELETE', {
|
|
778
|
+
id: string;
|
|
779
|
+
}, DeleteSeatingPlanRequest$1, DeleteSeatingPlanRequest, DeleteSeatingPlanResponse$1, DeleteSeatingPlanResponse>;
|
|
780
|
+
declare function updateSeatingPlanThumbnail(): __PublicMethodMetaInfo<'POST', {}, UpdateSeatingPlanThumbnailRequest$1, UpdateSeatingPlanThumbnailRequest, UpdateSeatingPlanThumbnailResponse$1, UpdateSeatingPlanThumbnailResponse>;
|
|
781
|
+
declare function getSeatingPlanThumbnail(): __PublicMethodMetaInfo<'GET', {}, GetSeatingPlanThumbnailRequest$1, GetSeatingPlanThumbnailRequest, GetSeatingPlanThumbnailResponse$1, GetSeatingPlanThumbnailResponse>;
|
|
782
|
+
|
|
783
|
+
export { type __PublicMethodMetaInfo, copySeatingPlan, createSeatingPlan, deleteSeatingPlan, findSeatingPlan, getSeatingPlan, getSeatingPlanThumbnail, querySeatingPlan, updateSeatingPlan, updateSeatingPlanThumbnail };
|