@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.
Files changed (41) hide show
  1. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +1 -1
  2. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +5 -5
  3. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -1
  4. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +6 -6
  5. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -1
  6. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +54 -128
  7. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
  8. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +75 -148
  9. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +7 -1
  10. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
  11. package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +1 -1
  12. package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +5 -5
  13. package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -1
  14. package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +6 -6
  15. package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -1
  16. package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +54 -128
  17. package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
  18. package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +75 -148
  19. package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +7 -1
  20. package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
  21. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +1 -1
  22. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +5 -5
  23. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -1
  24. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +6 -6
  25. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -1
  26. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +54 -128
  27. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
  28. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +75 -148
  29. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +7 -1
  30. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
  31. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +1 -1
  32. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +5 -5
  33. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -1
  34. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +6 -6
  35. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -1
  36. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +54 -128
  37. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -1
  38. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +75 -148
  39. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +7 -1
  40. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -1
  41. package/package.json +4 -4
@@ -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, SeatingReservationNonNullableFields, CreateSeatingReservationResponseNonNullableFields, GetReservationResponseNonNullableFields, QuerySeatingReservationResponseNonNullableFields, DeleteSeatingReservationResponseNonNullableFields, GetSeatingReservationSummaryResponseNonNullableFields, BaseEventMetadata, EventMetadata, SeatingReservationCreatedEnvelope, SeatingReservationDeletedEnvelope, CreateSeatingReservationOptions, ReservationsQueryResult, ReservationsQueryBuilder, GetSeatingCategorySummaryOptions, } from './seating-v1-seating-reservation-seating-reservation.universal.js';
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 & ambassadorWixSeatingV1SeatingReservationUniversalTypes.CreateSeatingReservationResponseNonNullableFields, ambassadorWixSeatingV1SeatingReservationTypes.CreateSeatingReservationResponse & ambassadorWixSeatingV1SeatingReservationTypes.CreateSeatingReservationResponseNonNullableFields>;
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 & ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetReservationResponseNonNullableFields, ambassadorWixSeatingV1SeatingReservationTypes.GetReservationResponse & ambassadorWixSeatingV1SeatingReservationTypes.GetReservationResponseNonNullableFields>;
17
- export declare function querySeatingReservation(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingReservationUniversalTypes.QuerySeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationTypes.QuerySeatingReservationRequest, ambassadorWixSeatingV1SeatingReservationUniversalTypes.QuerySeatingReservationResponse & ambassadorWixSeatingV1SeatingReservationUniversalTypes.QuerySeatingReservationResponseNonNullableFields, ambassadorWixSeatingV1SeatingReservationTypes.QuerySeatingReservationResponse & ambassadorWixSeatingV1SeatingReservationTypes.QuerySeatingReservationResponseNonNullableFields>;
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 & ambassadorWixSeatingV1SeatingReservationUniversalTypes.DeleteSeatingReservationResponseNonNullableFields, ambassadorWixSeatingV1SeatingReservationTypes.DeleteSeatingReservationResponse & ambassadorWixSeatingV1SeatingReservationTypes.DeleteSeatingReservationResponseNonNullableFields>;
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 & ambassadorWixSeatingV1SeatingReservationUniversalTypes.GetSeatingReservationSummaryResponseNonNullableFields, ambassadorWixSeatingV1SeatingReservationTypes.GetSeatingReservationSummaryResponse & ambassadorWixSeatingV1SeatingReservationTypes.GetSeatingReservationSummaryResponseNonNullableFields>;
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,uIAAyH;AAsBzH,SAAgB,wBAAwB;IAUtC,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,E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iB,GACrB,wCAAwC,CAAC,4BAA4B,CACnE,OAAO,CACR,CAAC;IAEJ,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,KAAK;QACjB,IAAI,EAAE,2DAA2D;QACjE,UAAU,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE;QACxC,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAhCD,oEAgCC"}
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,uIAAyH;AAsBzH,SAAgB,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;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,4DA4BC;AAED,SAAgB,cAAc;IAQ5B,MAAM,OAAO,GAAG,EAAE,EAAE,E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,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,2DAA2D;QACjE,UAAU,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE;QACxC,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,oEA8BC"}
@@ -1,5 +1,5 @@
1
1
  import { EventDefinition, HttpClient } from '@wix/sdk-types';
2
- import { CreateSeatingReservationOptions, DeleteSeatingReservationResponse, DeleteSeatingReservationResponseNonNullableFields, GetSeatingCategorySummaryOptions, GetSeatingCategorySummaryResponse, GetSeatingReservationSummaryResponse, GetSeatingReservationSummaryResponseNonNullableFields, ReservationsQueryBuilder, SeatingReservation, SeatingReservationCreatedEnvelope, SeatingReservationDeletedEnvelope, SeatingReservationNonNullableFields } from './seating-v1-seating-reservation-seating-reservation.universal.js';
2
+ import { CreateSeatingReservationOptions, DeleteSeatingReservationResponse, GetSeatingCategorySummaryOptions, GetSeatingCategorySummaryResponse, GetSeatingReservationSummaryResponse, ReservationsQueryBuilder, SeatingReservation, SeatingReservationCreatedEnvelope, SeatingReservationDeletedEnvelope } from './seating-v1-seating-reservation-seating-reservation.universal.js';
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
@@ -9,7 +9,7 @@ interface CreateSeatingReservationSignature {
9
9
  * Creates a seating reservation
10
10
  * @returns Created reservation
11
11
  */
12
- (options?: CreateSeatingReservationOptions | undefined): Promise<SeatingReservation & SeatingReservationNonNullableFields>;
12
+ (options?: CreateSeatingReservationOptions | undefined): Promise<SeatingReservation>;
13
13
  }
14
14
  export declare function getReservation(httpClient: HttpClient): GetReservationSignature;
15
15
  interface GetReservationSignature {
@@ -18,7 +18,7 @@ interface GetReservationSignature {
18
18
  * @param - The id of the reservation to return
19
19
  * @returns Created reservation
20
20
  */
21
- (_id: string | null): Promise<SeatingReservation & SeatingReservationNonNullableFields>;
21
+ (_id: string): Promise<SeatingReservation>;
22
22
  }
23
23
  export declare function querySeatingReservation(httpClient: HttpClient): QuerySeatingReservationSignature;
24
24
  interface QuerySeatingReservationSignature {
@@ -33,7 +33,7 @@ interface DeleteSeatingReservationSignature {
33
33
  * Deletes the seating reservation
34
34
  * @param - The id of the reservation to delete
35
35
  */
36
- (_id: string | null): Promise<DeleteSeatingReservationResponse & DeleteSeatingReservationResponseNonNullableFields>;
36
+ (_id: string): Promise<DeleteSeatingReservationResponse>;
37
37
  }
38
38
  export declare function getSeatingCategorySummary(httpClient: HttpClient): GetSeatingCategorySummarySignature;
39
39
  interface GetSeatingCategorySummarySignature {
@@ -43,8 +43,8 @@ interface GetSeatingCategorySummarySignature {
43
43
  export declare function getSeatingReservationSummary(httpClient: HttpClient): GetSeatingReservationSummarySignature;
44
44
  interface GetSeatingReservationSummarySignature {
45
45
  /** @param - Seating plan external id */
46
- (externalId: string): Promise<GetSeatingReservationSummaryResponse & GetSeatingReservationSummaryResponseNonNullableFields>;
46
+ (externalId: string): Promise<GetSeatingReservationSummaryResponse>;
47
47
  }
48
48
  export declare const onSeatingReservationCreated: EventDefinition<SeatingReservationCreatedEnvelope, "wix.seating.v1.seating_reservation_created">;
49
49
  export declare const onSeatingReservationDeleted: EventDefinition<SeatingReservationDeletedEnvelope, "wix.seating.v1.seating_reservation_deleted">;
50
- export { ActionEvent, App, BaseEventMetadata, CancelSeatingPlaceReservationsRequest, CancelSeatingPlaceReservationsResponse, Category, CategoryDetails, CreateSeatingReservationOptions, CreateSeatingReservationRequest, CreateSeatingReservationResponse, CreateSeatingReservationResponseNonNullableFields, CursorPaging, Cursors, DeleteSeatingPlaceReservationRequest, DeleteSeatingReservationRequest, DeleteSeatingReservationResponse, DeleteSeatingReservationResponseNonNullableFields, DomainEvent, DomainEventBodyOneOf, Element, ElementGroup, ElementGroupUiProperties, ElementUiProperties, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, GetReservationRequest, GetReservationResponse, GetReservationResponseNonNullableFields, GetReservedPlacesRequest, GetReservedPlacesResponse, GetSeatingCategorySummaryOptions, GetSeatingCategorySummaryRequest, GetSeatingCategorySummaryResponse, GetSeatingReservationSummaryRequest, GetSeatingReservationSummaryResponse, GetSeatingReservationSummaryResponseNonNullableFields, Icon, IdentificationData, IdentificationDataIdOneOf, Image, InvalidateCache, InvalidateCacheGetByOneOf, MessageEnvelope, MultiRowProperties, Numbering, Page, Paging, PagingMetadataV2, Place, PlaceReservation, PlaceReservationDetails, PlaceTypeEnumType, Places, Position, QuerySeatingReservationRequest, QuerySeatingReservationResponse, QuerySeatingReservationResponseNonNullableFields, QueryV2, QueryV2PagingMethodOneOf, RegenerateSummariesRequest, RegenerateSummariesResponse, ReservationErrorDetails, ReservationOptions, ReservationsQueryBuilder, ReservationsQueryResult, RestoreInfo, RowElement, RowElementUiProperties, SeatingPlan, SeatingPlanCategoriesSummaryUpdated, SeatingPlanUiProperties, SeatingReservation, SeatingReservationCreatedEnvelope, SeatingReservationDeletedEnvelope, SeatingReservationNonNullableFields, SeatingReservationsSummary, Section, Sequencing, ShapeTypeEnumType, SortOrder, Sorting, Type, URI, UnavailablePlaces, UpdateSeatingReservationRequest, UpdateSeatingReservationResponse, VerticalSequencing, WebhookIdentityType, } from './seating-v1-seating-reservation-seating-reservation.universal.js';
50
+ export { ActionEvent, App, BaseEventMetadata, CancelSeatingPlaceReservationsRequest, CancelSeatingPlaceReservationsResponse, Category, CategoryDetails, CreateSeatingReservationOptions, CreateSeatingReservationRequest, CreateSeatingReservationResponse, CursorPaging, Cursors, CustomTag, DeleteSeatingPlaceReservationRequest, DeleteSeatingReservationRequest, DeleteSeatingReservationResponse, DomainEvent, DomainEventBodyOneOf, Element, ElementGroup, ElementGroupUiProperties, ElementUiProperties, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, GetReservationRequest, GetReservationResponse, GetReservedPlacesRequest, GetReservedPlacesResponse, GetSeatingCategorySummaryOptions, GetSeatingCategorySummaryRequest, GetSeatingCategorySummaryResponse, GetSeatingReservationSummaryRequest, GetSeatingReservationSummaryResponse, Icon, IdentificationData, IdentificationDataIdOneOf, Image, InvalidateCache, InvalidateCacheGetByOneOf, MessageEnvelope, MultiRowProperties, Numbering, Page, Paging, PagingMetadataV2, Place, PlaceReservation, PlaceReservationDetails, PlaceTypeEnumType, Places, Position, QuerySeatingReservationRequest, QuerySeatingReservationResponse, QueryV2, QueryV2PagingMethodOneOf, RegenerateSummariesRequest, RegenerateSummariesResponse, ReservationErrorDetails, ReservationOptions, ReservationsQueryBuilder, ReservationsQueryResult, RestoreInfo, RowElement, RowElementUiProperties, SeatingPlan, SeatingPlanCategoriesSummaryUpdated, SeatingPlanUiProperties, SeatingReservation, SeatingReservationCreatedEnvelope, SeatingReservationDeletedEnvelope, SeatingReservationsSummary, Section, Sequencing, ShapeTypeEnumType, SortOrder, Sorting, Type, URI, UnavailablePlaces, UpdateSeatingReservationRequest, UpdateSeatingReservationResponse, VerticalSequencing, WebhookIdentityType, } from './seating-v1-seating-reservation-seating-reservation.universal.js';
@@ -1 +1 @@
1
- {"version":3,"file":"seating-v1-seating-reservation-seating-reservation.public.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-reservation-seating-reservation.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,uJAmB2E;AAE9D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,OAAyC,EAAE,EAAE,CACnD,IAAA,0FAAiC,EAC/B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,4DASC;AAYD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO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,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;KACxC;CACF,CAAC,CACH,CACJ,EAAqC,CAAC;AAEvC,qJA8F2E;AApDzE,uJAAA,IAAI,OAAA;AAQJ,4JAAA,SAAS,OAAA;AAOT,oKAAA,iBAAiB,OAAA;AAEjB,2JAAA,QAAQ,OAAA;AAyBR,oKAAA,iBAAiB,OAAA;AACjB,4JAAA,SAAS,OAAA;AAET,uJAAA,IAAI,OAAA;AAMJ,sKAAA,mBAAmB,OAAA"}
1
+ {"version":3,"file":"seating-v1-seating-reservation-seating-reservation.public.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-reservation-seating-reservation.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,uJAgB2E;AAE9D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,OAAyC,EAAE,EAAE,CACnD,IAAA,0FAAiC,EAC/B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,4DASC;AAYD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,gFAAuB,EACrB,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAWD,SAAgB,uBAAuB,CACrC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,yFAAgC;IAC9B,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,0DAQC;AASD,SAAgB,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,0FAAiC,EAC/B,GAAG;I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@@ -148,6 +148,8 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
148
148
  uri?: URI;
149
149
  /** Invalidate by file (for media files such as PDFs) */
150
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;
151
153
  /**
152
154
  * tell us why you're invalidating the cache. You don't need to add your app name
153
155
  * @maxLength 256
@@ -177,6 +179,8 @@ export interface InvalidateCacheGetByOneOf {
177
179
  uri?: URI;
178
180
  /** Invalidate by file (for media files such as PDFs) */
179
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;
180
184
  }
181
185
  export interface App {
182
186
  /**
@@ -227,6 +231,19 @@ export interface File {
227
231
  */
228
232
  fileName?: string;
229
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
+ }
230
247
  export interface CreateSeatingReservationRequest {
231
248
  /** A reservation to create */
232
249
  reservation?: SeatingReservation;
@@ -316,12 +333,14 @@ export interface Sorting {
316
333
  */
317
334
  fieldName?: string;
318
335
  /** Sort order. */
319
- order?: SortOrder;
336
+ order?: SortOrderWithLiterals;
320
337
  }
321
338
  export declare enum SortOrder {
322
339
  ASC = "ASC",
323
340
  DESC = "DESC"
324
341
  }
342
+ /** @enumType */
343
+ export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
325
344
  export interface Paging {
326
345
  /** Number of items to load. */
327
346
  limit?: number | null;
@@ -578,7 +597,7 @@ export interface Element {
578
597
  */
579
598
  title?: string | null;
580
599
  /** Element type */
581
- type?: Type;
600
+ type?: TypeWithLiterals;
582
601
  /**
583
602
  * Capacity. None for Shape type Element.
584
603
  * @min 1
@@ -617,6 +636,8 @@ export declare enum Type {
617
636
  ROUND_TABLE = "ROUND_TABLE",
618
637
  SHAPE = "SHAPE"
619
638
  }
639
+ /** @enumType */
640
+ export type TypeWithLiterals = Type | 'AREA' | 'ROW' | 'MULTI_ROW' | 'TABLE' | 'ROUND_TABLE' | 'SHAPE';
620
641
  export interface Sequencing {
621
642
  /**
622
643
  * First seq element
@@ -655,14 +676,14 @@ export interface Place {
655
676
  * Type of the parent element
656
677
  * @readonly
657
678
  */
658
- elementType?: Type;
679
+ elementType?: TypeWithLiterals;
659
680
  /**
660
681
  * Assigned category id
661
682
  * @readonly
662
683
  */
663
684
  categoryId?: number | null;
664
685
  /** Place type */
665
- type?: PlaceTypeEnumType;
686
+ type?: PlaceTypeEnumTypeWithLiterals;
666
687
  }
667
688
  export declare enum PlaceTypeEnumType {
668
689
  UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
@@ -673,6 +694,8 @@ export declare enum PlaceTypeEnumType {
673
694
  OBSTRUCTED = "OBSTRUCTED",
674
695
  DISCOUNT = "DISCOUNT"
675
696
  }
697
+ /** @enumType */
698
+ export type PlaceTypeEnumTypeWithLiterals = PlaceTypeEnumType | 'UNKNOWN_PROPERTY' | 'STANDARD' | 'WHEELCHAIR' | 'ACCESSIBLE' | 'COMPANION' | 'OBSTRUCTED' | 'DISCOUNT';
676
699
  export interface ReservationOptions {
677
700
  /** Indicates whether the entire element must be reserved */
678
701
  reserveWholeElement?: boolean;
@@ -702,7 +725,7 @@ export interface ElementUiProperties {
702
725
  * @max 180
703
726
  */
704
727
  rotationAngle?: number | null;
705
- shapeType?: ShapeTypeEnumType;
728
+ shapeType?: ShapeTypeEnumTypeWithLiterals;
706
729
  /**
707
730
  * @min 10
708
731
  * @max 176
@@ -716,7 +739,7 @@ export interface ElementUiProperties {
716
739
  */
717
740
  seatSpacing?: number | null;
718
741
  hideLabel?: boolean | null;
719
- labelPosition?: Position;
742
+ labelPosition?: PositionWithLiterals;
720
743
  seatLayout?: number[];
721
744
  /** @max 50 */
722
745
  emptyTopSeatSpaces?: number | null;
@@ -749,9 +772,9 @@ export interface ElementUiProperties {
749
772
  strokeWidth?: number | null;
750
773
  /** @max 100 */
751
774
  opacity?: number | null;
752
- icon?: Icon;
775
+ icon?: IconWithLiterals;
753
776
  image?: Image;
754
- seatNumbering?: Numbering;
777
+ seatNumbering?: NumberingWithLiterals;
755
778
  }
756
779
  export declare enum ShapeTypeEnumType {
757
780
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
@@ -762,6 +785,8 @@ export declare enum ShapeTypeEnumType {
762
785
  ICON = "ICON",
763
786
  IMAGE = "IMAGE"
764
787
  }
788
+ /** @enumType */
789
+ export type ShapeTypeEnumTypeWithLiterals = ShapeTypeEnumType | 'UNKNOWN_TYPE' | 'TEXT' | 'RECTANGLE' | 'ELLIPSE' | 'LINE' | 'ICON' | 'IMAGE';
765
790
  export declare enum Position {
766
791
  UNKNOWN_POSITION = "UNKNOWN_POSITION",
767
792
  LEFT = "LEFT",
@@ -769,6 +794,8 @@ export declare enum Position {
769
794
  BOTH = "BOTH",
770
795
  NONE = "NONE"
771
796
  }
797
+ /** @enumType */
798
+ export type PositionWithLiterals = Position | 'UNKNOWN_POSITION' | 'LEFT' | 'RIGHT' | 'BOTH' | 'NONE';
772
799
  export declare enum Icon {
773
800
  UNKNOWN_ICON = "UNKNOWN_ICON",
774
801
  ENTER = "ENTER",
@@ -784,6 +811,8 @@ export declare enum Icon {
784
811
  CHECKROOM = "CHECKROOM",
785
812
  STAGE = "STAGE"
786
813
  }
814
+ /** @enumType */
815
+ export type IconWithLiterals = Icon | 'UNKNOWN_ICON' | 'ENTER' | 'EXIT' | 'DRINKS' | 'WC' | 'WC_MEN' | 'WC_WOMEN' | 'FOOD' | 'STAIRS' | 'ELEVATOR' | 'SMOKING' | 'CHECKROOM' | 'STAGE';
787
816
  export interface Image {
788
817
  /** WixMedia image ID. */
789
818
  id?: string;
@@ -809,6 +838,8 @@ export declare enum Numbering {
809
838
  ODD_EVEN = "ODD_EVEN",
810
839
  ALPHABETICAL = "ALPHABETICAL"
811
840
  }
841
+ /** @enumType */
842
+ export type NumberingWithLiterals = Numbering | 'UNKNOWN_NUMBERING' | 'NUMERIC' | 'ODD_EVEN' | 'ALPHABETICAL';
812
843
  export interface MultiRowProperties {
813
844
  /**
814
845
  * Individual rows of the multi row element
@@ -878,9 +909,9 @@ export interface RowElementUiProperties {
878
909
  */
879
910
  seatSpacing?: number | null;
880
911
  /** Label position */
881
- labelPosition?: Position;
912
+ labelPosition?: PositionWithLiterals;
882
913
  /** Seat numbering */
883
- seatNumbering?: Numbering;
914
+ seatNumbering?: NumberingWithLiterals;
884
915
  }
885
916
  export interface VerticalSequencing {
886
917
  /**
@@ -890,7 +921,7 @@ export interface VerticalSequencing {
890
921
  */
891
922
  startAt?: string;
892
923
  /** Row numbering */
893
- rowNumbering?: Numbering;
924
+ rowNumbering?: NumberingWithLiterals;
894
925
  /** If true - direction bottom to top. Otherwise top to bottom. */
895
926
  reverseOrder?: boolean | null;
896
927
  }
@@ -1013,25 +1044,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1013
1044
  updatedEvent?: EntityUpdatedEvent;
1014
1045
  deletedEvent?: EntityDeletedEvent;
1015
1046
  actionEvent?: ActionEvent;
1016
- /**
1017
- * Unique event ID.
1018
- * Allows clients to ignore duplicate webhooks.
1019
- */
1047
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1020
1048
  id?: string;
1021
1049
  /**
1022
- * Assumes actions are also always typed to an entity_type
1023
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1050
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1051
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1024
1052
  */
1025
1053
  entityFqdn?: string;
1026
1054
  /**
1027
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1028
- * This is although the created/updated/deleted notion is duplication of the oneof types
1029
- * Example: created/updated/deleted/started/completed/email_opened
1055
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1056
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1030
1057
  */
1031
1058
  slug?: string;
1032
1059
  /** ID of the entity associated with the event. */
1033
1060
  entityId?: string;
1034
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1061
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1035
1062
  eventTime?: Date | null;
1036
1063
  /**
1037
1064
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1041,12 +1068,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1041
1068
  /** If present, indicates the action that triggered the event. */
1042
1069
  originatedFrom?: string | null;
1043
1070
  /**
1044
- * A sequence number defining the order of updates to the underlying entity.
1045
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
1071
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1072
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1050
1073
  */
1051
1074
  entityEventSequence?: string | null;
1052
1075
  }
@@ -1074,7 +1097,7 @@ export interface EntityUpdatedEvent {
1074
1097
  currentEntityAsJson?: string;
1075
1098
  }
1076
1099
  export interface EntityDeletedEvent {
1077
- /** Entity that was deleted */
1100
+ /** Entity that was deleted. */
1078
1101
  deletedEntityAsJson?: string | null;
1079
1102
  }
1080
1103
  export interface ActionEvent {
@@ -1118,7 +1141,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
1118
1141
  */
1119
1142
  appId?: string;
1120
1143
  /** @readonly */
1121
- identityType?: WebhookIdentityType;
1144
+ identityType?: WebhookIdentityTypeWithLiterals;
1122
1145
  }
1123
1146
  /** @oneof */
1124
1147
  export interface IdentificationDataIdOneOf {
@@ -1150,102 +1173,5 @@ export declare enum WebhookIdentityType {
1150
1173
  WIX_USER = "WIX_USER",
1151
1174
  APP = "APP"
1152
1175
  }
1153
- interface PlaceReservationNonNullableFields {
1154
- id: string;
1155
- }
1156
- interface SeatingReservationNonNullableFields {
1157
- reservedPlaces: PlaceReservationNonNullableFields[];
1158
- }
1159
- export interface CreateSeatingReservationResponseNonNullableFields {
1160
- reservation?: SeatingReservationNonNullableFields;
1161
- }
1162
- export interface GetReservationResponseNonNullableFields {
1163
- reservation?: SeatingReservationNonNullableFields;
1164
- }
1165
- export interface QuerySeatingReservationResponseNonNullableFields {
1166
- reservations: SeatingReservationNonNullableFields[];
1167
- }
1168
- export interface DeleteSeatingReservationResponseNonNullableFields {
1169
- reservation?: SeatingReservationNonNullableFields;
1170
- }
1171
- interface SequencingNonNullableFields {
1172
- startAt: string;
1173
- labels: string[];
1174
- }
1175
- interface PlaceNonNullableFields {
1176
- index: number;
1177
- label: string;
1178
- elementType: Type;
1179
- type: PlaceTypeEnumType;
1180
- }
1181
- interface ReservationOptionsNonNullableFields {
1182
- reserveWholeElement: boolean;
1183
- }
1184
- interface ImageNonNullableFields {
1185
- id: string;
1186
- height: number;
1187
- width: number;
1188
- }
1189
- interface ElementUiPropertiesNonNullableFields {
1190
- shapeType: ShapeTypeEnumType;
1191
- labelPosition: Position;
1192
- seatLayout: number[];
1193
- icon: Icon;
1194
- image?: ImageNonNullableFields;
1195
- seatNumbering: Numbering;
1196
- }
1197
- interface RowElementUiPropertiesNonNullableFields {
1198
- labelPosition: Position;
1199
- seatNumbering: Numbering;
1200
- }
1201
- interface RowElementNonNullableFields {
1202
- id: number;
1203
- sequencing?: SequencingNonNullableFields;
1204
- uiProperties?: RowElementUiPropertiesNonNullableFields;
1205
- }
1206
- interface VerticalSequencingNonNullableFields {
1207
- startAt: string;
1208
- rowNumbering: Numbering;
1209
- }
1210
- interface MultiRowPropertiesNonNullableFields {
1211
- rows: RowElementNonNullableFields[];
1212
- verticalSequencing?: VerticalSequencingNonNullableFields;
1213
- }
1214
- interface ElementNonNullableFields {
1215
- id: number;
1216
- type: Type;
1217
- sequencing?: SequencingNonNullableFields;
1218
- overrides: PlaceNonNullableFields[];
1219
- places: PlaceNonNullableFields[];
1220
- reservationOptions?: ReservationOptionsNonNullableFields;
1221
- uiProperties?: ElementUiPropertiesNonNullableFields;
1222
- multiRowProperties?: MultiRowPropertiesNonNullableFields;
1223
- }
1224
- interface SectionNonNullableFields {
1225
- id: number;
1226
- elements: ElementNonNullableFields[];
1227
- default: boolean;
1228
- }
1229
- interface CategoryNonNullableFields {
1230
- id: number;
1231
- title: string;
1232
- places: PlaceNonNullableFields[];
1233
- }
1234
- interface ElementGroupNonNullableFields {
1235
- id: number;
1236
- }
1237
- interface SeatingPlanNonNullableFields {
1238
- sections: SectionNonNullableFields[];
1239
- categories: CategoryNonNullableFields[];
1240
- uncategorizedPlaces: PlaceNonNullableFields[];
1241
- elementGroups: ElementGroupNonNullableFields[];
1242
- }
1243
- interface PlaceReservationDetailsNonNullableFields {
1244
- placeId: string;
1245
- occupied: number;
1246
- }
1247
- export interface GetSeatingReservationSummaryResponseNonNullableFields {
1248
- plan?: SeatingPlanNonNullableFields;
1249
- places: PlaceReservationDetailsNonNullableFields[];
1250
- }
1251
- export {};
1176
+ /** @enumType */
1177
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
@@ -1 +1 @@
1
- {"version":3,"file":"seating-v1-seating-reservation-seating-reservation.types.js","sourceRoot":"","sources":["../../../src/seating-v1-seating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AAA;IACnB,+BAAuB,CAAA;IACvB,uBAAe,CAAA;AACjB,CAAC,EAdW,IAAI,oBAAJ,IAAI,QAcf;AAsBD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;IACrB,0CAA6B,CAAA;AAC/B,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAsWD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"seating-v1-seating-reservation-seating-reservation.types.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-reservation-seating-reservation.types.ts"],"names":[],"mappings":";;;AAuWA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA0TD,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,qBAAa,CAAA;IACb,mBAAW,CAAA;IACX,+BAAuB,CAAA;IACvB,uBAAe,CAAA;IACf,mCAA2B,CAAA;IAC3B,uBAAe,CAAA;AACjB,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AA6DD,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,0DAAqC,CAAA;IACrC,0CAAqB,CAAA;IACrB,8CAAyB,CAAA;IACzB,8CAAyB,CAAA;IACzB,4CAAuB,CAAA;IACvB,8CAAyB,CAAA;IACzB,0CAAqB,CAAA;AACvB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AA+FD,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,kCAAa,CAAA;IACb,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACn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