@wix/auto_sdk_seatings_seating-reservation 1.0.2 → 1.0.3

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 +26 -116
  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 +43 -136
  9. package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +3 -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 +26 -116
  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 +43 -136
  19. package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +3 -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 +26 -116
  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 +43 -136
  29. package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +3 -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 +26 -116
  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 +43 -136
  39. package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +3 -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;
@@ -1013,25 +1030,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1013
1030
  updatedEvent?: EntityUpdatedEvent;
1014
1031
  deletedEvent?: EntityDeletedEvent;
1015
1032
  actionEvent?: ActionEvent;
1016
- /**
1017
- * Unique event ID.
1018
- * Allows clients to ignore duplicate webhooks.
1019
- */
1033
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1020
1034
  id?: string;
1021
1035
  /**
1022
- * Assumes actions are also always typed to an entity_type
1023
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1036
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1037
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1024
1038
  */
1025
1039
  entityFqdn?: string;
1026
1040
  /**
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
1041
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1042
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1030
1043
  */
1031
1044
  slug?: string;
1032
1045
  /** ID of the entity associated with the event. */
1033
1046
  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 */
1047
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1035
1048
  eventTime?: Date | null;
1036
1049
  /**
1037
1050
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1041,12 +1054,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1041
1054
  /** If present, indicates the action that triggered the event. */
1042
1055
  originatedFrom?: string | null;
1043
1056
  /**
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.
1057
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1058
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1050
1059
  */
1051
1060
  entityEventSequence?: string | null;
1052
1061
  }
@@ -1074,7 +1083,7 @@ export interface EntityUpdatedEvent {
1074
1083
  currentEntityAsJson?: string;
1075
1084
  }
1076
1085
  export interface EntityDeletedEvent {
1077
- /** Entity that was deleted */
1086
+ /** Entity that was deleted. */
1078
1087
  deletedEntityAsJson?: string | null;
1079
1088
  }
1080
1089
  export interface ActionEvent {
@@ -1150,102 +1159,3 @@ export declare enum WebhookIdentityType {
1150
1159
  WIX_USER = "WIX_USER",
1151
1160
  APP = "APP"
1152
1161
  }
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 {};
@@ -1 +1 @@
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":";;;AAqVA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAuTD,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,qBAAa,CA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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;AAuTD,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;AAmDD,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;AAoFD,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,kCAAa,CAAA;IACb,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,kCAAa,CAAA;IACb,kCAAa,CAAA;IACb,oCAAe,CAAA;AACjB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAED,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,yBAAa,CAAA;AACf,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB;AAED,IAAY,IAcX;AAdD,WAAY,IAAI;IACd,qCAA6B,CAAA;IAC7B,uBAAe,CAAA;IACf,qBAAa,CAAA;IACb,yBAAiB,CAAA;IACjB,iBAAS,CAAA;IACT,yBAAiB,CAAA;IACjB,6BAAqB,CAAA;IACrB,qBAAa,CAAA;IACb,yBAAiB,CAAA;IACjB,6BAAqB,CAAA;IACrB,2BAAmB,CAAA;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;AA8VD,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,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;
@@ -1013,25 +1031,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1013
1031
  updatedEvent?: EntityUpdatedEvent;
1014
1032
  deletedEvent?: EntityDeletedEvent;
1015
1033
  actionEvent?: ActionEvent;
1016
- /**
1017
- * Unique event ID.
1018
- * Allows clients to ignore duplicate webhooks.
1019
- */
1034
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1020
1035
  _id?: string;
1021
1036
  /**
1022
- * Assumes actions are also always typed to an entity_type
1023
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1037
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1038
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1024
1039
  */
1025
1040
  entityFqdn?: string;
1026
1041
  /**
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
1042
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1043
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1030
1044
  */
1031
1045
  slug?: string;
1032
1046
  /** ID of the entity associated with the event. */
1033
1047
  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 */
1048
+ /** 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
1049
  eventTime?: Date | null;
1036
1050
  /**
1037
1051
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1041,12 +1055,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1041
1055
  /** If present, indicates the action that triggered the event. */
1042
1056
  originatedFrom?: string | null;
1043
1057
  /**
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.
1058
+ * 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.
1059
+ * 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
1060
  */
1051
1061
  entityEventSequence?: string | null;
1052
1062
  }
@@ -1072,7 +1082,7 @@ export interface EntityUpdatedEvent {
1072
1082
  currentEntity?: string;
1073
1083
  }
1074
1084
  export interface EntityDeletedEvent {
1075
- /** Entity that was deleted */
1085
+ /** Entity that was deleted. */
1076
1086
  deletedEntity?: string | null;
1077
1087
  }
1078
1088
  export interface ActionEvent {
@@ -1148,104 +1158,6 @@ export declare enum WebhookIdentityType {
1148
1158
  WIX_USER = "WIX_USER",
1149
1159
  APP = "APP"
1150
1160
  }
1151
- interface PlaceReservationNonNullableFields {
1152
- _id: string;
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
- }
1249
1161
  export interface BaseEventMetadata {
1250
1162
  /**
1251
1163
  * App instance ID.
@@ -1261,25 +1173,21 @@ export interface BaseEventMetadata {
1261
1173
  identity?: IdentificationData;
1262
1174
  }
1263
1175
  export interface EventMetadata extends BaseEventMetadata {
1264
- /**
1265
- * Unique event ID.
1266
- * Allows clients to ignore duplicate webhooks.
1267
- */
1176
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1268
1177
  _id?: string;
1269
1178
  /**
1270
- * Assumes actions are also always typed to an entity_type
1271
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1179
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1180
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1272
1181
  */
1273
1182
  entityFqdn?: string;
1274
1183
  /**
1275
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1276
- * This is although the created/updated/deleted notion is duplication of the oneof types
1277
- * Example: created/updated/deleted/started/completed/email_opened
1184
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1185
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1278
1186
  */
1279
1187
  slug?: string;
1280
1188
  /** ID of the entity associated with the event. */
1281
1189
  entityId?: string;
1282
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1190
+ /** 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
1191
  eventTime?: Date | null;
1284
1192
  /**
1285
1193
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1289,12 +1197,8 @@ export interface EventMetadata extends BaseEventMetadata {
1289
1197
  /** If present, indicates the action that triggered the event. */
1290
1198
  originatedFrom?: string | null;
1291
1199
  /**
1292
- * A sequence number defining the order of updates to the underlying entity.
1293
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
1200
+ * 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.
1201
+ * 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
1202
  */
1299
1203
  entityEventSequence?: string | null;
1300
1204
  }
@@ -1324,6 +1228,7 @@ export interface SeatingReservationDeletedEnvelope {
1324
1228
  * @documentationMaturity preview
1325
1229
  */
1326
1230
  export declare function onSeatingReservationDeleted(handler: (event: SeatingReservationDeletedEnvelope) => void | Promise<void>): void;
1231
+ type SeatingReservationNonNullablePaths = `reservedPlaces` | `reservedPlaces.${number}._id`;
1327
1232
  /**
1328
1233
  * Creates a seating reservation
1329
1234
  * @public
@@ -1335,7 +1240,7 @@ export declare function onSeatingReservationDeleted(handler: (event: SeatingRese
1335
1240
  * @returns Created reservation
1336
1241
  * @fqn com.wixpress.seating.SeatingReservationService.CreateSeatingReservation
1337
1242
  */
1338
- export declare function createSeatingReservation(options?: CreateSeatingReservationOptions): Promise<SeatingReservation & SeatingReservationNonNullableFields>;
1243
+ export declare function createSeatingReservation(options?: CreateSeatingReservationOptions): Promise<NonNullablePaths<SeatingReservation, SeatingReservationNonNullablePaths>>;
1339
1244
  export interface CreateSeatingReservationOptions {
1340
1245
  /** A reservation to create */
1341
1246
  reservation?: SeatingReservation;
@@ -1353,7 +1258,7 @@ export interface CreateSeatingReservationOptions {
1353
1258
  * @returns Created reservation
1354
1259
  * @fqn com.wixpress.seating.SeatingReservationService.GetReservation
1355
1260
  */
1356
- export declare function getReservation(_id: string | null): Promise<SeatingReservation & SeatingReservationNonNullableFields>;
1261
+ export declare function getReservation(_id: string): Promise<NonNullablePaths<SeatingReservation, SeatingReservationNonNullablePaths>>;
1357
1262
  /**
1358
1263
  * Lists seating reservations by query request
1359
1264
  * @public
@@ -1402,7 +1307,9 @@ export interface ReservationsQueryBuilder {
1402
1307
  * @applicableIdentity APP
1403
1308
  * @fqn com.wixpress.seating.SeatingReservationService.DeleteSeatingReservation
1404
1309
  */
1405
- export declare function deleteSeatingReservation(_id: string | null): Promise<DeleteSeatingReservationResponse & DeleteSeatingReservationResponseNonNullableFields>;
1310
+ export declare function deleteSeatingReservation(_id: string): Promise<NonNullablePaths<DeleteSeatingReservationResponse, {
1311
+ [P in SeatingReservationNonNullablePaths]: `reservation.${P}`;
1312
+ }[SeatingReservationNonNullablePaths]>>;
1406
1313
  /** @public
1407
1314
  * @documentationMaturity preview
1408
1315
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
@@ -1412,7 +1319,7 @@ export declare function deleteSeatingReservation(_id: string | null): Promise<De
1412
1319
  * @applicableIdentity VISITOR
1413
1320
  * @fqn com.wixpress.seating.SeatingReservationService.GetSeatingCategorySummary
1414
1321
  */
1415
- export declare function getSeatingCategorySummary(options?: GetSeatingCategorySummaryOptions): Promise<GetSeatingCategorySummaryResponse>;
1322
+ export declare function getSeatingCategorySummary(options?: GetSeatingCategorySummaryOptions): Promise<NonNullablePaths<GetSeatingCategorySummaryResponse, `categories`>>;
1416
1323
  export interface GetSeatingCategorySummaryOptions {
1417
1324
  /**
1418
1325
  * Seating plan external id
@@ -1432,5 +1339,5 @@ export interface GetSeatingCategorySummaryOptions {
1432
1339
  * @applicableIdentity VISITOR
1433
1340
  * @fqn com.wixpress.seating.SeatingReservationService.GetSeatingReservationSummary
1434
1341
  */
1435
- export declare function getSeatingReservationSummary(externalId: string): Promise<GetSeatingReservationSummaryResponse & GetSeatingReservationSummaryResponseNonNullableFields>;
1342
+ 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
1343
  export {};