@wix/auto_sdk_seatings_seating-reservation 1.0.40 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +21 -30
- package/build/cjs/index.js +146 -940
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +156 -38
- package/build/cjs/index.typings.js +105 -909
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +86 -25
- package/build/cjs/meta.js +90 -42
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +21 -15
- package/build/cjs/schemas.js +46 -44
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +21 -30
- package/build/es/index.mjs +138 -922
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +156 -38
- package/build/es/index.typings.mjs +99 -893
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +86 -25
- package/build/es/meta.mjs +85 -37
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +21 -15
- package/build/es/schemas.mjs +38 -36
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +21 -30
- package/build/internal/cjs/index.js +146 -940
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +156 -38
- package/build/internal/cjs/index.typings.js +105 -909
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +86 -25
- package/build/internal/cjs/meta.js +90 -42
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +21 -15
- package/build/internal/cjs/schemas.js +46 -44
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +21 -30
- package/build/internal/es/index.mjs +138 -922
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +156 -38
- package/build/internal/es/index.typings.mjs +99 -893
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +86 -25
- package/build/internal/es/meta.mjs +85 -37
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +21 -15
- package/build/internal/es/schemas.mjs +38 -36
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { CreateSeatingReservationOptions, SeatingReservation, CreateSeatingReservationApplicationErrors, DeleteSeatingReservationResponse,
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, App, AvailablePlace, BaseEventMetadata, CancelSeatingPlaceReservationsRequest, CancelSeatingPlaceReservationsResponse, Category, CategoryDetails, CommonQueryWithEntityContext, CreateSeatingReservationRequest, CreateSeatingReservationResponse, CursorPaging, Cursors, CustomTag, DeleteSeatingPlaceReservationRequest, DeleteSeatingReservationByExternalIdRequest, DeleteSeatingReservationByExternalIdResponse, DeleteSeatingReservationRequest, DomainEvent, DomainEventBodyOneOf, Element, ElementGroup, ElementGroupUiProperties, ElementUiProperties, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, GetReservationRequest, GetReservationResponse, GetReservedPlacesRequest, GetReservedPlacesResponse, GetSeatingCategorySummaryRequest, GetSeatingReservationSummaryRequest, Icon, IconWithLiterals, IdentificationData, IdentificationDataIdOneOf, Image, InvalidateCache, InvalidateCacheGetByOneOf, ListAvailablePlacesRequest, ListAvailablePlacesResponse, ListReservedPlacesRequest, ListReservedPlacesResponse, MessageEnvelope, MultiRowProperties, Numbering, NumberingWithLiterals, Page, Pages, Paging, PagingMetadata, PagingMetadataV2, Place, PlaceReservation, PlaceReservationDetails, PlaceTypeEnumType, PlaceTypeEnumTypeWithLiterals, Places, Position, PositionWithLiterals, QuerySeatingReservationRequest, QuerySeatingReservationResponse, QueryV2, QueryV2PagingMethodOneOf, RegenerateSummariesRequest, RegenerateSummariesResponse, ReservationErrorDetails, ReservationOptions, ReservationsQueryResult, ReservedPlace, RestoreInfo, RowElement, RowElementUiProperties, SeatReservation, SeatingPlan, SeatingPlanCategoriesSummaryUpdated, SeatingPlanUiProperties, SeatingReservationQuerySpec, SeatingReservationsSummary, Section, Sequencing, ShapeTypeEnumType, ShapeTypeEnumTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Type, TypeWithLiterals, URI, URIs, UnavailablePlaces, UpdateSeatingReservationRequest, UpdateSeatingReservationResponse, VerticalSequencing, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
2
|
+
import { CreateSeatingReservationOptions, SeatingReservation, CreateSeatingReservationApplicationErrors, DeleteSeatingReservationResponse, GetSeatingCategorySummaryByExternalIdResponse, GetSeatingReservationSummaryByExternalIdResponse, SeatingReservationCreatedEnvelope, SeatingReservationDeletedEnvelope, ReservationsQueryBuilder, SeatingReservationQuery, typedQuerySeatingReservations } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, App, AvailablePlace, BaseEventMetadata, CancelSeatingPlaceReservationsRequest, CancelSeatingPlaceReservationsResponse, Category, CategoryDetails, CommonQueryWithEntityContext, CreateSeatingReservationRequest, CreateSeatingReservationResponse, CursorPaging, Cursors, CustomTag, DeleteSeatingPlaceReservationRequest, DeleteSeatingReservationByExternalIdRequest, DeleteSeatingReservationByExternalIdResponse, DeleteSeatingReservationRequest, DomainEvent, DomainEventBodyOneOf, Element, ElementGroup, ElementGroupUiProperties, ElementUiProperties, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, GetReservationRequest, GetReservationResponse, GetReservedPlacesRequest, GetReservedPlacesResponse, GetSeatingCategorySummaryByExternalIdRequest, GetSeatingCategorySummaryRequest, GetSeatingCategorySummaryResponse, GetSeatingReservationRequest, GetSeatingReservationResponse, GetSeatingReservationSummaryByExternalIdRequest, GetSeatingReservationSummaryRequest, GetSeatingReservationSummaryResponse, Icon, IconWithLiterals, IdentificationData, IdentificationDataIdOneOf, Image, InvalidateCache, InvalidateCacheGetByOneOf, ListAvailablePlacesRequest, ListAvailablePlacesResponse, ListReservedPlacesRequest, ListReservedPlacesResponse, MessageEnvelope, MultiRowProperties, Numbering, NumberingWithLiterals, Page, Pages, Paging, PagingMetadata, PagingMetadataV2, Place, PlaceReservation, PlaceReservationDetails, PlaceTypeEnumType, PlaceTypeEnumTypeWithLiterals, Places, Position, PositionWithLiterals, QuerySeatingReservationRequest, QuerySeatingReservationResponse, QuerySeatingReservationsRequest, QuerySeatingReservationsResponse, QueryV2, QueryV2PagingMethodOneOf, RegenerateSummariesRequest, RegenerateSummariesResponse, ReservationErrorDetails, ReservationOptions, ReservationsQueryResult, ReservedPlace, RestoreInfo, RowElement, RowElementUiProperties, SeatReservation, SeatingPlan, SeatingPlanCategoriesSummaryUpdated, SeatingPlanUiProperties, SeatingReservationQuerySpec, SeatingReservationsSummary, Section, Sequencing, ShapeTypeEnumType, ShapeTypeEnumTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Type, TypeWithLiterals, URI, URIs, UnavailablePlaces, UpdateSeatingReservationRequest, UpdateSeatingReservationResponse, VerticalSequencing, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
|
-
declare function createSeatingReservation$1(httpClient: HttpClient
|
|
6
|
-
validateRequestSchema?: boolean;
|
|
7
|
-
}): CreateSeatingReservationSignature;
|
|
5
|
+
declare function createSeatingReservation$1(httpClient: HttpClient): CreateSeatingReservationSignature;
|
|
8
6
|
interface CreateSeatingReservationSignature {
|
|
9
7
|
/**
|
|
10
8
|
* Creates a seating reservation for one or more places within a seating plan.
|
|
@@ -14,20 +12,16 @@ interface CreateSeatingReservationSignature {
|
|
|
14
12
|
__applicationErrorsType?: CreateSeatingReservationApplicationErrors;
|
|
15
13
|
}>;
|
|
16
14
|
}
|
|
17
|
-
declare function
|
|
18
|
-
|
|
19
|
-
}): GetReservationSignature;
|
|
20
|
-
interface GetReservationSignature {
|
|
15
|
+
declare function getSeatingReservation$1(httpClient: HttpClient): GetSeatingReservationSignature;
|
|
16
|
+
interface GetSeatingReservationSignature {
|
|
21
17
|
/**
|
|
22
18
|
* Retrieves a seating reservation by ID.
|
|
23
19
|
* @param - Reservation ID.
|
|
24
20
|
* @returns Retrieved reservation.
|
|
25
21
|
*/
|
|
26
|
-
(
|
|
22
|
+
(reservationId: string): Promise<NonNullablePaths<SeatingReservation, `reservedPlaces` | `reservedPlaces.${number}._id`, 4>>;
|
|
27
23
|
}
|
|
28
|
-
declare function deleteSeatingReservation$1(httpClient: HttpClient
|
|
29
|
-
validateRequestSchema?: boolean;
|
|
30
|
-
}): DeleteSeatingReservationSignature;
|
|
24
|
+
declare function deleteSeatingReservation$1(httpClient: HttpClient): DeleteSeatingReservationSignature;
|
|
31
25
|
interface DeleteSeatingReservationSignature {
|
|
32
26
|
/**
|
|
33
27
|
* Deletes a seating reservation and releases all reserved places.
|
|
@@ -36,43 +30,40 @@ interface DeleteSeatingReservationSignature {
|
|
|
36
30
|
*/
|
|
37
31
|
(_id: string): Promise<NonNullablePaths<DeleteSeatingReservationResponse, `reservation.reservedPlaces` | `reservation.reservedPlaces.${number}._id`, 5>>;
|
|
38
32
|
}
|
|
39
|
-
declare function
|
|
40
|
-
|
|
41
|
-
}): GetSeatingCategorySummarySignature;
|
|
42
|
-
interface GetSeatingCategorySummarySignature {
|
|
33
|
+
declare function getSeatingCategorySummaryByExternalId$1(httpClient: HttpClient): GetSeatingCategorySummaryByExternalIdSignature;
|
|
34
|
+
interface GetSeatingCategorySummaryByExternalIdSignature {
|
|
43
35
|
/**
|
|
44
36
|
* Retrieves capacity and reservation summary by seating category.
|
|
37
|
+
* @param - External seating plan ID.
|
|
45
38
|
* @returns Response containing capacity summary by category.
|
|
46
39
|
*/
|
|
47
|
-
(
|
|
40
|
+
(externalId: string): Promise<NonNullablePaths<GetSeatingCategorySummaryByExternalIdResponse, `categories`, 2>>;
|
|
48
41
|
}
|
|
49
|
-
declare function
|
|
50
|
-
|
|
51
|
-
}): GetSeatingReservationSummarySignature;
|
|
52
|
-
interface GetSeatingReservationSummarySignature {
|
|
42
|
+
declare function getSeatingReservationSummaryByExternalId$1(httpClient: HttpClient): GetSeatingReservationSummaryByExternalIdSignature;
|
|
43
|
+
interface GetSeatingReservationSummaryByExternalIdSignature {
|
|
53
44
|
/**
|
|
54
45
|
* Retrieves detailed place-level occupancy data for a seating plan.
|
|
55
46
|
* @param - External seating plan ID.
|
|
56
47
|
* @returns Response containing complete seating plan and occupancy data.
|
|
57
48
|
*/
|
|
58
|
-
(externalId: string): Promise<NonNullablePaths<
|
|
49
|
+
(externalId: string): Promise<NonNullablePaths<GetSeatingReservationSummaryByExternalIdResponse, `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`, 5>>;
|
|
59
50
|
}
|
|
60
51
|
declare const onSeatingReservationCreated$1: EventDefinition<SeatingReservationCreatedEnvelope, "wix.seating.v1.seating_reservation_created">;
|
|
61
52
|
declare const onSeatingReservationDeleted$1: EventDefinition<SeatingReservationDeletedEnvelope, "wix.seating.v1.seating_reservation_deleted">;
|
|
62
53
|
|
|
63
|
-
declare function
|
|
54
|
+
declare function customQuerySeatingReservations(httpClient: HttpClient): {
|
|
64
55
|
(): ReservationsQueryBuilder;
|
|
65
|
-
(query: SeatingReservationQuery): ReturnType<typeof
|
|
56
|
+
(query: SeatingReservationQuery): ReturnType<typeof typedQuerySeatingReservations>;
|
|
66
57
|
};
|
|
67
58
|
declare const createSeatingReservation: MaybeContext<BuildRESTFunction<typeof createSeatingReservation$1> & typeof createSeatingReservation$1>;
|
|
68
|
-
declare const
|
|
59
|
+
declare const getSeatingReservation: MaybeContext<BuildRESTFunction<typeof getSeatingReservation$1> & typeof getSeatingReservation$1>;
|
|
69
60
|
declare const deleteSeatingReservation: MaybeContext<BuildRESTFunction<typeof deleteSeatingReservation$1> & typeof deleteSeatingReservation$1>;
|
|
70
|
-
declare const
|
|
71
|
-
declare const
|
|
72
|
-
declare const
|
|
61
|
+
declare const getSeatingCategorySummaryByExternalId: MaybeContext<BuildRESTFunction<typeof getSeatingCategorySummaryByExternalId$1> & typeof getSeatingCategorySummaryByExternalId$1>;
|
|
62
|
+
declare const getSeatingReservationSummaryByExternalId: MaybeContext<BuildRESTFunction<typeof getSeatingReservationSummaryByExternalId$1> & typeof getSeatingReservationSummaryByExternalId$1>;
|
|
63
|
+
declare const querySeatingReservations: MaybeContext<BuildRESTFunction<typeof customQuerySeatingReservations> & typeof customQuerySeatingReservations>;
|
|
73
64
|
/** */
|
|
74
65
|
declare const onSeatingReservationCreated: BuildEventDefinition<typeof onSeatingReservationCreated$1> & typeof onSeatingReservationCreated$1;
|
|
75
66
|
/** */
|
|
76
67
|
declare const onSeatingReservationDeleted: BuildEventDefinition<typeof onSeatingReservationDeleted$1> & typeof onSeatingReservationDeleted$1;
|
|
77
68
|
|
|
78
|
-
export { CreateSeatingReservationApplicationErrors, CreateSeatingReservationOptions, DeleteSeatingReservationResponse,
|
|
69
|
+
export { CreateSeatingReservationApplicationErrors, CreateSeatingReservationOptions, DeleteSeatingReservationResponse, GetSeatingCategorySummaryByExternalIdResponse, GetSeatingReservationSummaryByExternalIdResponse, ReservationsQueryBuilder, SeatingReservation, SeatingReservationCreatedEnvelope, SeatingReservationDeletedEnvelope, SeatingReservationQuery, createSeatingReservation, deleteSeatingReservation, getSeatingCategorySummaryByExternalId, getSeatingReservation, getSeatingReservationSummaryByExternalId, onSeatingReservationCreated, onSeatingReservationDeleted, querySeatingReservations };
|