@wix/auto_sdk_seatings_seating-reservation 1.0.2 → 1.0.4
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/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +1 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +5 -5
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +6 -6
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +54 -128
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +75 -148
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +7 -1
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +1 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +5 -5
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +6 -6
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +54 -128
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +75 -148
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +7 -1
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +1 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +5 -5
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +6 -6
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +54 -128
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +75 -148
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +7 -1
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +1 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +5 -5
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +6 -6
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +54 -128
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +75 -148
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +7 -1
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface SeatingReservation {
|
|
2
3
|
/**
|
|
3
4
|
* The id of the reservation
|
|
@@ -148,6 +149,8 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
148
149
|
uri?: URI;
|
|
149
150
|
/** Invalidate by file (for media files such as PDFs) */
|
|
150
151
|
file?: File;
|
|
152
|
+
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
153
|
+
customTag?: CustomTag;
|
|
151
154
|
/**
|
|
152
155
|
* tell us why you're invalidating the cache. You don't need to add your app name
|
|
153
156
|
* @maxLength 256
|
|
@@ -177,6 +180,8 @@ export interface InvalidateCacheGetByOneOf {
|
|
|
177
180
|
uri?: URI;
|
|
178
181
|
/** Invalidate by file (for media files such as PDFs) */
|
|
179
182
|
file?: File;
|
|
183
|
+
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
184
|
+
customTag?: CustomTag;
|
|
180
185
|
}
|
|
181
186
|
export interface App {
|
|
182
187
|
/**
|
|
@@ -227,6 +232,19 @@ export interface File {
|
|
|
227
232
|
*/
|
|
228
233
|
fileName?: string;
|
|
229
234
|
}
|
|
235
|
+
export interface CustomTag {
|
|
236
|
+
/**
|
|
237
|
+
* the msid the tag is related to
|
|
238
|
+
* @format GUID
|
|
239
|
+
*/
|
|
240
|
+
metaSiteId?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Tag to invalidate by
|
|
243
|
+
* @minLength 1
|
|
244
|
+
* @maxLength 256
|
|
245
|
+
*/
|
|
246
|
+
tag?: string;
|
|
247
|
+
}
|
|
230
248
|
export interface CreateSeatingReservationRequest {
|
|
231
249
|
/** A reservation to create */
|
|
232
250
|
reservation?: SeatingReservation;
|
|
@@ -316,12 +334,14 @@ export interface Sorting {
|
|
|
316
334
|
*/
|
|
317
335
|
fieldName?: string;
|
|
318
336
|
/** Sort order. */
|
|
319
|
-
order?:
|
|
337
|
+
order?: SortOrderWithLiterals;
|
|
320
338
|
}
|
|
321
339
|
export declare enum SortOrder {
|
|
322
340
|
ASC = "ASC",
|
|
323
341
|
DESC = "DESC"
|
|
324
342
|
}
|
|
343
|
+
/** @enumType */
|
|
344
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
325
345
|
export interface Paging {
|
|
326
346
|
/** Number of items to load. */
|
|
327
347
|
limit?: number | null;
|
|
@@ -578,7 +598,7 @@ export interface Element {
|
|
|
578
598
|
*/
|
|
579
599
|
title?: string | null;
|
|
580
600
|
/** Element type */
|
|
581
|
-
type?:
|
|
601
|
+
type?: TypeWithLiterals;
|
|
582
602
|
/**
|
|
583
603
|
* Capacity. None for Shape type Element.
|
|
584
604
|
* @min 1
|
|
@@ -617,6 +637,8 @@ export declare enum Type {
|
|
|
617
637
|
ROUND_TABLE = "ROUND_TABLE",
|
|
618
638
|
SHAPE = "SHAPE"
|
|
619
639
|
}
|
|
640
|
+
/** @enumType */
|
|
641
|
+
export type TypeWithLiterals = Type | 'AREA' | 'ROW' | 'MULTI_ROW' | 'TABLE' | 'ROUND_TABLE' | 'SHAPE';
|
|
620
642
|
export interface Sequencing {
|
|
621
643
|
/**
|
|
622
644
|
* First seq element
|
|
@@ -655,14 +677,14 @@ export interface Place {
|
|
|
655
677
|
* Type of the parent element
|
|
656
678
|
* @readonly
|
|
657
679
|
*/
|
|
658
|
-
elementType?:
|
|
680
|
+
elementType?: TypeWithLiterals;
|
|
659
681
|
/**
|
|
660
682
|
* Assigned category id
|
|
661
683
|
* @readonly
|
|
662
684
|
*/
|
|
663
685
|
categoryId?: number | null;
|
|
664
686
|
/** Place type */
|
|
665
|
-
type?:
|
|
687
|
+
type?: PlaceTypeEnumTypeWithLiterals;
|
|
666
688
|
}
|
|
667
689
|
export declare enum PlaceTypeEnumType {
|
|
668
690
|
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
@@ -673,6 +695,8 @@ export declare enum PlaceTypeEnumType {
|
|
|
673
695
|
OBSTRUCTED = "OBSTRUCTED",
|
|
674
696
|
DISCOUNT = "DISCOUNT"
|
|
675
697
|
}
|
|
698
|
+
/** @enumType */
|
|
699
|
+
export type PlaceTypeEnumTypeWithLiterals = PlaceTypeEnumType | 'UNKNOWN_PROPERTY' | 'STANDARD' | 'WHEELCHAIR' | 'ACCESSIBLE' | 'COMPANION' | 'OBSTRUCTED' | 'DISCOUNT';
|
|
676
700
|
export interface ReservationOptions {
|
|
677
701
|
/** Indicates whether the entire element must be reserved */
|
|
678
702
|
reserveWholeElement?: boolean;
|
|
@@ -702,7 +726,7 @@ export interface ElementUiProperties {
|
|
|
702
726
|
* @max 180
|
|
703
727
|
*/
|
|
704
728
|
rotationAngle?: number | null;
|
|
705
|
-
shapeType?:
|
|
729
|
+
shapeType?: ShapeTypeEnumTypeWithLiterals;
|
|
706
730
|
/**
|
|
707
731
|
* @min 10
|
|
708
732
|
* @max 176
|
|
@@ -716,7 +740,7 @@ export interface ElementUiProperties {
|
|
|
716
740
|
*/
|
|
717
741
|
seatSpacing?: number | null;
|
|
718
742
|
hideLabel?: boolean | null;
|
|
719
|
-
labelPosition?:
|
|
743
|
+
labelPosition?: PositionWithLiterals;
|
|
720
744
|
seatLayout?: number[];
|
|
721
745
|
/** @max 50 */
|
|
722
746
|
emptyTopSeatSpaces?: number | null;
|
|
@@ -749,9 +773,9 @@ export interface ElementUiProperties {
|
|
|
749
773
|
strokeWidth?: number | null;
|
|
750
774
|
/** @max 100 */
|
|
751
775
|
opacity?: number | null;
|
|
752
|
-
icon?:
|
|
776
|
+
icon?: IconWithLiterals;
|
|
753
777
|
image?: Image;
|
|
754
|
-
seatNumbering?:
|
|
778
|
+
seatNumbering?: NumberingWithLiterals;
|
|
755
779
|
}
|
|
756
780
|
export declare enum ShapeTypeEnumType {
|
|
757
781
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
@@ -762,6 +786,8 @@ export declare enum ShapeTypeEnumType {
|
|
|
762
786
|
ICON = "ICON",
|
|
763
787
|
IMAGE = "IMAGE"
|
|
764
788
|
}
|
|
789
|
+
/** @enumType */
|
|
790
|
+
export type ShapeTypeEnumTypeWithLiterals = ShapeTypeEnumType | 'UNKNOWN_TYPE' | 'TEXT' | 'RECTANGLE' | 'ELLIPSE' | 'LINE' | 'ICON' | 'IMAGE';
|
|
765
791
|
export declare enum Position {
|
|
766
792
|
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
767
793
|
LEFT = "LEFT",
|
|
@@ -769,6 +795,8 @@ export declare enum Position {
|
|
|
769
795
|
BOTH = "BOTH",
|
|
770
796
|
NONE = "NONE"
|
|
771
797
|
}
|
|
798
|
+
/** @enumType */
|
|
799
|
+
export type PositionWithLiterals = Position | 'UNKNOWN_POSITION' | 'LEFT' | 'RIGHT' | 'BOTH' | 'NONE';
|
|
772
800
|
export declare enum Icon {
|
|
773
801
|
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
774
802
|
ENTER = "ENTER",
|
|
@@ -784,6 +812,8 @@ export declare enum Icon {
|
|
|
784
812
|
CHECKROOM = "CHECKROOM",
|
|
785
813
|
STAGE = "STAGE"
|
|
786
814
|
}
|
|
815
|
+
/** @enumType */
|
|
816
|
+
export type IconWithLiterals = Icon | 'UNKNOWN_ICON' | 'ENTER' | 'EXIT' | 'DRINKS' | 'WC' | 'WC_MEN' | 'WC_WOMEN' | 'FOOD' | 'STAIRS' | 'ELEVATOR' | 'SMOKING' | 'CHECKROOM' | 'STAGE';
|
|
787
817
|
export interface Image {
|
|
788
818
|
/** WixMedia image ID. */
|
|
789
819
|
_id?: string;
|
|
@@ -809,6 +839,8 @@ export declare enum Numbering {
|
|
|
809
839
|
ODD_EVEN = "ODD_EVEN",
|
|
810
840
|
ALPHABETICAL = "ALPHABETICAL"
|
|
811
841
|
}
|
|
842
|
+
/** @enumType */
|
|
843
|
+
export type NumberingWithLiterals = Numbering | 'UNKNOWN_NUMBERING' | 'NUMERIC' | 'ODD_EVEN' | 'ALPHABETICAL';
|
|
812
844
|
export interface MultiRowProperties {
|
|
813
845
|
/**
|
|
814
846
|
* Individual rows of the multi row element
|
|
@@ -878,9 +910,9 @@ export interface RowElementUiProperties {
|
|
|
878
910
|
*/
|
|
879
911
|
seatSpacing?: number | null;
|
|
880
912
|
/** Label position */
|
|
881
|
-
labelPosition?:
|
|
913
|
+
labelPosition?: PositionWithLiterals;
|
|
882
914
|
/** Seat numbering */
|
|
883
|
-
seatNumbering?:
|
|
915
|
+
seatNumbering?: NumberingWithLiterals;
|
|
884
916
|
}
|
|
885
917
|
export interface VerticalSequencing {
|
|
886
918
|
/**
|
|
@@ -890,7 +922,7 @@ export interface VerticalSequencing {
|
|
|
890
922
|
*/
|
|
891
923
|
startAt?: string;
|
|
892
924
|
/** Row numbering */
|
|
893
|
-
rowNumbering?:
|
|
925
|
+
rowNumbering?: NumberingWithLiterals;
|
|
894
926
|
/** If true - direction bottom to top. Otherwise top to bottom. */
|
|
895
927
|
reverseOrder?: boolean | null;
|
|
896
928
|
}
|
|
@@ -1013,25 +1045,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
1013
1045
|
updatedEvent?: EntityUpdatedEvent;
|
|
1014
1046
|
deletedEvent?: EntityDeletedEvent;
|
|
1015
1047
|
actionEvent?: ActionEvent;
|
|
1016
|
-
/**
|
|
1017
|
-
* Unique event ID.
|
|
1018
|
-
* Allows clients to ignore duplicate webhooks.
|
|
1019
|
-
*/
|
|
1048
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
1020
1049
|
_id?: string;
|
|
1021
1050
|
/**
|
|
1022
|
-
*
|
|
1023
|
-
*
|
|
1051
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
1052
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1024
1053
|
*/
|
|
1025
1054
|
entityFqdn?: string;
|
|
1026
1055
|
/**
|
|
1027
|
-
*
|
|
1028
|
-
*
|
|
1029
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
1056
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
1057
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1030
1058
|
*/
|
|
1031
1059
|
slug?: string;
|
|
1032
1060
|
/** ID of the entity associated with the event. */
|
|
1033
1061
|
entityId?: string;
|
|
1034
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
1062
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1035
1063
|
eventTime?: Date | null;
|
|
1036
1064
|
/**
|
|
1037
1065
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1041,12 +1069,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
1041
1069
|
/** If present, indicates the action that triggered the event. */
|
|
1042
1070
|
originatedFrom?: string | null;
|
|
1043
1071
|
/**
|
|
1044
|
-
* A sequence number
|
|
1045
|
-
*
|
|
1046
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1047
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1048
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1049
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
1072
|
+
* 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.
|
|
1073
|
+
* 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.
|
|
1050
1074
|
*/
|
|
1051
1075
|
entityEventSequence?: string | null;
|
|
1052
1076
|
}
|
|
@@ -1072,7 +1096,7 @@ export interface EntityUpdatedEvent {
|
|
|
1072
1096
|
currentEntity?: string;
|
|
1073
1097
|
}
|
|
1074
1098
|
export interface EntityDeletedEvent {
|
|
1075
|
-
/** Entity that was deleted */
|
|
1099
|
+
/** Entity that was deleted. */
|
|
1076
1100
|
deletedEntity?: string | null;
|
|
1077
1101
|
}
|
|
1078
1102
|
export interface ActionEvent {
|
|
@@ -1116,7 +1140,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
1116
1140
|
*/
|
|
1117
1141
|
appId?: string;
|
|
1118
1142
|
/** @readonly */
|
|
1119
|
-
identityType?:
|
|
1143
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1120
1144
|
}
|
|
1121
1145
|
/** @oneof */
|
|
1122
1146
|
export interface IdentificationDataIdOneOf {
|
|
@@ -1148,104 +1172,8 @@ export declare enum WebhookIdentityType {
|
|
|
1148
1172
|
WIX_USER = "WIX_USER",
|
|
1149
1173
|
APP = "APP"
|
|
1150
1174
|
}
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
}
|
|
1154
|
-
export interface SeatingReservationNonNullableFields {
|
|
1155
|
-
reservedPlaces: PlaceReservationNonNullableFields[];
|
|
1156
|
-
}
|
|
1157
|
-
export interface CreateSeatingReservationResponseNonNullableFields {
|
|
1158
|
-
reservation?: SeatingReservationNonNullableFields;
|
|
1159
|
-
}
|
|
1160
|
-
export interface GetReservationResponseNonNullableFields {
|
|
1161
|
-
reservation?: SeatingReservationNonNullableFields;
|
|
1162
|
-
}
|
|
1163
|
-
export interface QuerySeatingReservationResponseNonNullableFields {
|
|
1164
|
-
reservations: SeatingReservationNonNullableFields[];
|
|
1165
|
-
}
|
|
1166
|
-
export interface DeleteSeatingReservationResponseNonNullableFields {
|
|
1167
|
-
reservation?: SeatingReservationNonNullableFields;
|
|
1168
|
-
}
|
|
1169
|
-
interface SequencingNonNullableFields {
|
|
1170
|
-
startAt: string;
|
|
1171
|
-
labels: string[];
|
|
1172
|
-
}
|
|
1173
|
-
interface PlaceNonNullableFields {
|
|
1174
|
-
index: number;
|
|
1175
|
-
label: string;
|
|
1176
|
-
elementType: Type;
|
|
1177
|
-
type: PlaceTypeEnumType;
|
|
1178
|
-
}
|
|
1179
|
-
interface ReservationOptionsNonNullableFields {
|
|
1180
|
-
reserveWholeElement: boolean;
|
|
1181
|
-
}
|
|
1182
|
-
interface ImageNonNullableFields {
|
|
1183
|
-
_id: string;
|
|
1184
|
-
height: number;
|
|
1185
|
-
width: number;
|
|
1186
|
-
}
|
|
1187
|
-
interface ElementUiPropertiesNonNullableFields {
|
|
1188
|
-
shapeType: ShapeTypeEnumType;
|
|
1189
|
-
labelPosition: Position;
|
|
1190
|
-
seatLayout: number[];
|
|
1191
|
-
icon: Icon;
|
|
1192
|
-
image?: ImageNonNullableFields;
|
|
1193
|
-
seatNumbering: Numbering;
|
|
1194
|
-
}
|
|
1195
|
-
interface RowElementUiPropertiesNonNullableFields {
|
|
1196
|
-
labelPosition: Position;
|
|
1197
|
-
seatNumbering: Numbering;
|
|
1198
|
-
}
|
|
1199
|
-
interface RowElementNonNullableFields {
|
|
1200
|
-
_id: number;
|
|
1201
|
-
sequencing?: SequencingNonNullableFields;
|
|
1202
|
-
uiProperties?: RowElementUiPropertiesNonNullableFields;
|
|
1203
|
-
}
|
|
1204
|
-
interface VerticalSequencingNonNullableFields {
|
|
1205
|
-
startAt: string;
|
|
1206
|
-
rowNumbering: Numbering;
|
|
1207
|
-
}
|
|
1208
|
-
interface MultiRowPropertiesNonNullableFields {
|
|
1209
|
-
rows: RowElementNonNullableFields[];
|
|
1210
|
-
verticalSequencing?: VerticalSequencingNonNullableFields;
|
|
1211
|
-
}
|
|
1212
|
-
interface ElementNonNullableFields {
|
|
1213
|
-
_id: number;
|
|
1214
|
-
type: Type;
|
|
1215
|
-
sequencing?: SequencingNonNullableFields;
|
|
1216
|
-
overrides: PlaceNonNullableFields[];
|
|
1217
|
-
places: PlaceNonNullableFields[];
|
|
1218
|
-
reservationOptions?: ReservationOptionsNonNullableFields;
|
|
1219
|
-
uiProperties?: ElementUiPropertiesNonNullableFields;
|
|
1220
|
-
multiRowProperties?: MultiRowPropertiesNonNullableFields;
|
|
1221
|
-
}
|
|
1222
|
-
interface SectionNonNullableFields {
|
|
1223
|
-
_id: number;
|
|
1224
|
-
elements: ElementNonNullableFields[];
|
|
1225
|
-
default: boolean;
|
|
1226
|
-
}
|
|
1227
|
-
interface CategoryNonNullableFields {
|
|
1228
|
-
_id: number;
|
|
1229
|
-
title: string;
|
|
1230
|
-
places: PlaceNonNullableFields[];
|
|
1231
|
-
}
|
|
1232
|
-
interface ElementGroupNonNullableFields {
|
|
1233
|
-
_id: number;
|
|
1234
|
-
}
|
|
1235
|
-
interface SeatingPlanNonNullableFields {
|
|
1236
|
-
sections: SectionNonNullableFields[];
|
|
1237
|
-
categories: CategoryNonNullableFields[];
|
|
1238
|
-
uncategorizedPlaces: PlaceNonNullableFields[];
|
|
1239
|
-
elementGroups: ElementGroupNonNullableFields[];
|
|
1240
|
-
}
|
|
1241
|
-
interface PlaceReservationDetailsNonNullableFields {
|
|
1242
|
-
placeId: string;
|
|
1243
|
-
occupied: number;
|
|
1244
|
-
}
|
|
1245
|
-
export interface GetSeatingReservationSummaryResponseNonNullableFields {
|
|
1246
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1247
|
-
places: PlaceReservationDetailsNonNullableFields[];
|
|
1248
|
-
}
|
|
1175
|
+
/** @enumType */
|
|
1176
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1249
1177
|
export interface BaseEventMetadata {
|
|
1250
1178
|
/**
|
|
1251
1179
|
* App instance ID.
|
|
@@ -1261,25 +1189,21 @@ export interface BaseEventMetadata {
|
|
|
1261
1189
|
identity?: IdentificationData;
|
|
1262
1190
|
}
|
|
1263
1191
|
export interface EventMetadata extends BaseEventMetadata {
|
|
1264
|
-
/**
|
|
1265
|
-
* Unique event ID.
|
|
1266
|
-
* Allows clients to ignore duplicate webhooks.
|
|
1267
|
-
*/
|
|
1192
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
1268
1193
|
_id?: string;
|
|
1269
1194
|
/**
|
|
1270
|
-
*
|
|
1271
|
-
*
|
|
1195
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
1196
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1272
1197
|
*/
|
|
1273
1198
|
entityFqdn?: string;
|
|
1274
1199
|
/**
|
|
1275
|
-
*
|
|
1276
|
-
*
|
|
1277
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
1200
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
1201
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1278
1202
|
*/
|
|
1279
1203
|
slug?: string;
|
|
1280
1204
|
/** ID of the entity associated with the event. */
|
|
1281
1205
|
entityId?: string;
|
|
1282
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
1206
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1283
1207
|
eventTime?: Date | null;
|
|
1284
1208
|
/**
|
|
1285
1209
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1289,12 +1213,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
1289
1213
|
/** If present, indicates the action that triggered the event. */
|
|
1290
1214
|
originatedFrom?: string | null;
|
|
1291
1215
|
/**
|
|
1292
|
-
* A sequence number
|
|
1293
|
-
*
|
|
1294
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1295
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1296
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1297
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
1216
|
+
* 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.
|
|
1217
|
+
* 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.
|
|
1298
1218
|
*/
|
|
1299
1219
|
entityEventSequence?: string | null;
|
|
1300
1220
|
}
|
|
@@ -1324,6 +1244,7 @@ export interface SeatingReservationDeletedEnvelope {
|
|
|
1324
1244
|
* @documentationMaturity preview
|
|
1325
1245
|
*/
|
|
1326
1246
|
export declare function onSeatingReservationDeleted(handler: (event: SeatingReservationDeletedEnvelope) => void | Promise<void>): void;
|
|
1247
|
+
type SeatingReservationNonNullablePaths = `reservedPlaces` | `reservedPlaces.${number}._id`;
|
|
1327
1248
|
/**
|
|
1328
1249
|
* Creates a seating reservation
|
|
1329
1250
|
* @public
|
|
@@ -1335,7 +1256,7 @@ export declare function onSeatingReservationDeleted(handler: (event: SeatingRese
|
|
|
1335
1256
|
* @returns Created reservation
|
|
1336
1257
|
* @fqn com.wixpress.seating.SeatingReservationService.CreateSeatingReservation
|
|
1337
1258
|
*/
|
|
1338
|
-
export declare function createSeatingReservation(options?: CreateSeatingReservationOptions): Promise<SeatingReservation
|
|
1259
|
+
export declare function createSeatingReservation(options?: CreateSeatingReservationOptions): Promise<NonNullablePaths<SeatingReservation, SeatingReservationNonNullablePaths>>;
|
|
1339
1260
|
export interface CreateSeatingReservationOptions {
|
|
1340
1261
|
/** A reservation to create */
|
|
1341
1262
|
reservation?: SeatingReservation;
|
|
@@ -1353,7 +1274,7 @@ export interface CreateSeatingReservationOptions {
|
|
|
1353
1274
|
* @returns Created reservation
|
|
1354
1275
|
* @fqn com.wixpress.seating.SeatingReservationService.GetReservation
|
|
1355
1276
|
*/
|
|
1356
|
-
export declare function getReservation(_id: string
|
|
1277
|
+
export declare function getReservation(_id: string): Promise<NonNullablePaths<SeatingReservation, SeatingReservationNonNullablePaths>>;
|
|
1357
1278
|
/**
|
|
1358
1279
|
* Lists seating reservations by query request
|
|
1359
1280
|
* @public
|
|
@@ -1402,17 +1323,21 @@ export interface ReservationsQueryBuilder {
|
|
|
1402
1323
|
* @applicableIdentity APP
|
|
1403
1324
|
* @fqn com.wixpress.seating.SeatingReservationService.DeleteSeatingReservation
|
|
1404
1325
|
*/
|
|
1405
|
-
export declare function deleteSeatingReservation(_id: string
|
|
1326
|
+
export declare function deleteSeatingReservation(_id: string): Promise<NonNullablePaths<DeleteSeatingReservationResponse, {
|
|
1327
|
+
[P in SeatingReservationNonNullablePaths]: `reservation.${P}`;
|
|
1328
|
+
}[SeatingReservationNonNullablePaths]>>;
|
|
1406
1329
|
/** @public
|
|
1407
1330
|
* @documentationMaturity preview
|
|
1408
1331
|
* @permissionId SEATING_PLANS.READ_SEATING_PLANS
|
|
1409
1332
|
* @permissionScope Manage Events
|
|
1410
1333
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1334
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1335
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1411
1336
|
* @applicableIdentity APP
|
|
1412
1337
|
* @applicableIdentity VISITOR
|
|
1413
1338
|
* @fqn com.wixpress.seating.SeatingReservationService.GetSeatingCategorySummary
|
|
1414
1339
|
*/
|
|
1415
|
-
export declare function getSeatingCategorySummary(options?: GetSeatingCategorySummaryOptions): Promise<GetSeatingCategorySummaryResponse
|
|
1340
|
+
export declare function getSeatingCategorySummary(options?: GetSeatingCategorySummaryOptions): Promise<NonNullablePaths<GetSeatingCategorySummaryResponse, `categories`>>;
|
|
1416
1341
|
export interface GetSeatingCategorySummaryOptions {
|
|
1417
1342
|
/**
|
|
1418
1343
|
* Seating plan external id
|
|
@@ -1428,9 +1353,11 @@ export interface GetSeatingCategorySummaryOptions {
|
|
|
1428
1353
|
* @permissionId SEATING_PLANS.READ_SEATING_PLANS
|
|
1429
1354
|
* @permissionScope Manage Events
|
|
1430
1355
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1356
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1357
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1431
1358
|
* @applicableIdentity APP
|
|
1432
1359
|
* @applicableIdentity VISITOR
|
|
1433
1360
|
* @fqn com.wixpress.seating.SeatingReservationService.GetSeatingReservationSummary
|
|
1434
1361
|
*/
|
|
1435
|
-
export declare function getSeatingReservationSummary(externalId: string): Promise<GetSeatingReservationSummaryResponse
|
|
1362
|
+
export declare function getSeatingReservationSummary(externalId: string): Promise<NonNullablePaths<GetSeatingReservationSummaryResponse, `plan.sections` | `plan.sections.${number}._id` | `plan.sections.${number}.default` | `plan.categories` | `plan.categories.${number}._id` | `plan.categories.${number}.title` | `plan.uncategorizedPlaces` | `plan.elementGroups` | `plan.elementGroups.${number}._id` | `places` | `places.${number}.placeId` | `places.${number}.occupied`>>;
|
|
1436
1363
|
export {};
|
|
@@ -28,6 +28,8 @@ const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
|
28
28
|
const query_builder_1 = require("@wix/sdk-runtime/query-builder");
|
|
29
29
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
30
30
|
const ambassadorWixSeatingV1SeatingReservation = __importStar(require("./seating-v1-seating-reservation-seating-reservation.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var SortOrder;
|
|
32
34
|
(function (SortOrder) {
|
|
33
35
|
SortOrder["ASC"] = "ASC";
|
|
@@ -206,7 +208,7 @@ function querySeatingReservation() {
|
|
|
206
208
|
});
|
|
207
209
|
},
|
|
208
210
|
responseTransformer: ({ data, }) => {
|
|
209
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
211
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
210
212
|
return {
|
|
211
213
|
items: transformedData?.reservations,
|
|
212
214
|
pagingMetadata: transformedData?.metadata,
|
|
@@ -264,6 +266,8 @@ exports.deleteSeatingReservation = deleteSeatingReservation;
|
|
|
264
266
|
* @permissionId SEATING_PLANS.READ_SEATING_PLANS
|
|
265
267
|
* @permissionScope Manage Events
|
|
266
268
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
269
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
270
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
267
271
|
* @applicableIdentity APP
|
|
268
272
|
* @applicableIdentity VISITOR
|
|
269
273
|
* @fqn com.wixpress.seating.SeatingReservationService.GetSeatingCategorySummary
|
|
@@ -299,6 +303,8 @@ exports.getSeatingCategorySummary = getSeatingCategorySummary;
|
|
|
299
303
|
* @permissionId SEATING_PLANS.READ_SEATING_PLANS
|
|
300
304
|
* @permissionScope Manage Events
|
|
301
305
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
306
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
307
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
302
308
|
* @applicableIdentity APP
|
|
303
309
|
* @applicableIdentity VISITOR
|
|
304
310
|
* @fqn com.wixpress.seating.SeatingReservationService.GetSeatingReservationSummary
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seating-v1-seating-reservation-seating-reservation.universal.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-reservation-seating-reservation.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,uIAAyH;
|
|
1
|
+
{"version":3,"file":"seating-v1-seating-reservation-seating-reservation.universal.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-reservation-seating-reservation.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,uIAAyH;AACzH,aAAa;AACb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C;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;YAChD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,YAAY,CAAC,CACf,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtDD,oEAsDC"}
|
|
@@ -14,4 +14,4 @@ export declare const onSeatingReservationCreated: ReturnType<typeof createEventM
|
|
|
14
14
|
/** */
|
|
15
15
|
export declare const onSeatingReservationDeleted: ReturnType<typeof createEventModule<typeof publicOnSeatingReservationDeleted>>;
|
|
16
16
|
export { SortOrder, Type, PlaceTypeEnumType, ShapeTypeEnumType, Position, Icon, Numbering, WebhookIdentityType, } from './seating-v1-seating-reservation-seating-reservation.universal.js';
|
|
17
|
-
export { SeatingReservation, PlaceReservation, SeatingPlanCategoriesSummaryUpdated, CategoryDetails, InvalidateCache, InvalidateCacheGetByOneOf, App, Page, URI, File, CreateSeatingReservationRequest, CreateSeatingReservationResponse, Places, UnavailablePlaces, ReservationErrorDetails, GetReservationRequest, GetReservationResponse, QuerySeatingReservationRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QuerySeatingReservationResponse, PagingMetadataV2, Cursors, DeleteSeatingReservationRequest, DeleteSeatingReservationResponse, DeleteSeatingPlaceReservationRequest, Empty, CancelSeatingPlaceReservationsRequest, PlaceReservationDetails, CancelSeatingPlaceReservationsResponse, UpdateSeatingReservationRequest, UpdateSeatingReservationResponse, GetReservedPlacesRequest, GetReservedPlacesResponse, GetSeatingCategorySummaryRequest, GetSeatingCategorySummaryResponse, GetSeatingReservationSummaryRequest, GetSeatingReservationSummaryResponse, SeatingPlan, Section, Element, Sequencing, Place, ReservationOptions, ElementUiProperties, Image, MultiRowProperties, RowElement, RowElementUiProperties, VerticalSequencing, Category, ExtendedFields, SeatingPlanUiProperties, ElementGroup, ElementGroupUiProperties, RegenerateSummariesRequest, RegenerateSummariesResponse, SeatingReservationsSummary, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf,
|
|
17
|
+
export { SeatingReservation, PlaceReservation, SeatingPlanCategoriesSummaryUpdated, CategoryDetails, InvalidateCache, InvalidateCacheGetByOneOf, App, Page, URI, File, CustomTag, CreateSeatingReservationRequest, CreateSeatingReservationResponse, Places, UnavailablePlaces, ReservationErrorDetails, GetReservationRequest, GetReservationResponse, QuerySeatingReservationRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QuerySeatingReservationResponse, PagingMetadataV2, Cursors, DeleteSeatingReservationRequest, DeleteSeatingReservationResponse, DeleteSeatingPlaceReservationRequest, Empty, CancelSeatingPlaceReservationsRequest, PlaceReservationDetails, CancelSeatingPlaceReservationsResponse, UpdateSeatingReservationRequest, UpdateSeatingReservationResponse, GetReservedPlacesRequest, GetReservedPlacesResponse, GetSeatingCategorySummaryRequest, GetSeatingCategorySummaryResponse, GetSeatingReservationSummaryRequest, GetSeatingReservationSummaryResponse, SeatingPlan, Section, Element, Sequencing, Place, ReservationOptions, ElementUiProperties, Image, MultiRowProperties, RowElement, RowElementUiProperties, VerticalSequencing, Category, ExtendedFields, SeatingPlanUiProperties, ElementGroup, ElementGroupUiProperties, RegenerateSummariesRequest, RegenerateSummariesResponse, SeatingReservationsSummary, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, EventMetadata, SeatingReservationCreatedEnvelope, SeatingReservationDeletedEnvelope, CreateSeatingReservationOptions, ReservationsQueryResult, ReservationsQueryBuilder, GetSeatingCategorySummaryOptions, } from './seating-v1-seating-reservation-seating-reservation.universal.js';
|
|
@@ -10,15 +10,15 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function createSeatingReservation(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.CreateSeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationTypes.CreateSeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.CreateSeatingReservationResponse
|
|
13
|
+
export declare function createSeatingReservation(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.CreateSeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationTypes.CreateSeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.CreateSeatingReservationResponse, ambassadorWixSeatingV1SeatingReservationTypes.CreateSeatingReservationResponse>;
|
|
14
14
|
export declare function getReservation(): __PublicMethodMetaInfo<'GET', {
|
|
15
15
|
id: string;
|
|
16
|
-
}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetReservationRequest, ambassadorWixSeatingV1SeatingReservationTypes.GetReservationRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetReservationResponse
|
|
17
|
-
export declare function querySeatingReservation(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.QuerySeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationTypes.QuerySeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.QuerySeatingReservationResponse
|
|
16
|
+
}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetReservationRequest, ambassadorWixSeatingV1SeatingReservationTypes.GetReservationRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetReservationResponse, ambassadorWixSeatingV1SeatingReservationTypes.GetReservationResponse>;
|
|
17
|
+
export declare function querySeatingReservation(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.QuerySeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationTypes.QuerySeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.QuerySeatingReservationResponse, ambassadorWixSeatingV1SeatingReservationTypes.QuerySeatingReservationResponse>;
|
|
18
18
|
export declare function deleteSeatingReservation(): __PublicMethodMetaInfo<'DELETE', {
|
|
19
19
|
id: string;
|
|
20
|
-
}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.DeleteSeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationTypes.DeleteSeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.DeleteSeatingReservationResponse
|
|
20
|
+
}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.DeleteSeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationTypes.DeleteSeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.DeleteSeatingReservationResponse, ambassadorWixSeatingV1SeatingReservationTypes.DeleteSeatingReservationResponse>;
|
|
21
21
|
export declare function getSeatingCategorySummary(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetSeatingCategorySummaryRequest, ambassadorWixSeatingV1SeatingReservationTypes.GetSeatingCategorySummaryRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetSeatingCategorySummaryResponse, ambassadorWixSeatingV1SeatingReservationTypes.GetSeatingCategorySummaryResponse>;
|
|
22
22
|
export declare function getSeatingReservationSummary(): __PublicMethodMetaInfo<'GET', {
|
|
23
23
|
externalId: string;
|
|
24
|
-
}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetSeatingReservationSummaryRequest, ambassadorWixSeatingV1SeatingReservationTypes.GetSeatingReservationSummaryRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetSeatingReservationSummaryResponse
|
|
24
|
+
}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetSeatingReservationSummaryRequest, ambassadorWixSeatingV1SeatingReservationTypes.GetSeatingReservationSummaryRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetSeatingReservationSummaryResponse, ambassadorWixSeatingV1SeatingReservationTypes.GetSeatingReservationSummaryResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seating-v1-seating-reservation-seating-reservation.meta.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-reservation-seating-reservation.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,wCAAwC,MAAM,8DAA8D,CAAC;AAsBzH,MAAM,UAAU,wBAAwB;
|
|
1
|
+
{"version":3,"file":"seating-v1-seating-reservation-seating-reservation.meta.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-reservation-seating-reservation.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,wCAAwC,MAAM,8DAA8D,CAAC;AAsBzH,MAAM,UAAU,wBAAwB;IAQtC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,wCAAwC,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAE7E,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,kBAAkB;QACxB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC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