@wix/auto_sdk_seatings_seating-reservation 1.0.22 → 1.0.23

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.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { CreateSeatingReservationOptions, SeatingReservation, CreateSeatingReservationApplicationErrors, DeleteSeatingReservationResponse, GetSeatingCategorySummaryOptions, GetSeatingCategorySummaryResponse, GetSeatingReservationSummaryResponse, SeatingReservationCreatedEnvelope, SeatingReservationDeletedEnvelope, ReservationsQueryBuilder, SeatingReservationQuery, typedQuerySeatingReservation } from './index.typings.js';
3
- export { AccountDetails, ActionEvent, App, AvailablePlace, BaseEventMetadata, CancelSeatingPlaceReservationsRequest, CancelSeatingPlaceReservationsResponse, Category, CategoryDetails, CommonQueryWithEntityContext, CreateSeatingReservationRequest, CreateSeatingReservationResponse, CursorPaging, Cursors, CustomTag, DeleteSeatingPlaceReservationRequest, 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, 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, UnavailablePlaces, UpdateSeatingReservationRequest, UpdateSeatingReservationResponse, VerticalSequencing, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
3
+ export { AccountInfo, ActionEvent, App, AvailablePlace, BaseEventMetadata, CancelSeatingPlaceReservationsRequest, CancelSeatingPlaceReservationsResponse, Category, CategoryDetails, CommonQueryWithEntityContext, CreateSeatingReservationRequest, CreateSeatingReservationResponse, CursorPaging, Cursors, CustomTag, DeleteSeatingPlaceReservationRequest, 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, 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, UnavailablePlaces, UpdateSeatingReservationRequest, UpdateSeatingReservationResponse, VerticalSequencing, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function createSeatingReservation$1(httpClient: HttpClient): CreateSeatingReservationSignature;
6
6
  interface CreateSeatingReservationSignature {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../index.ts","../../src/seating-v1-seating-reservation-seating-reservation.public.ts","../../src/seating-v1-seating-reservation-seating-reservation.universal.ts","../../src/seating-v1-seating-reservation-seating-reservation.http.ts","../../src/seating-v1-seating-reservation-seating-reservation.context.ts"],"sourcesContent":["export * from './src/seating-v1-seating-reservation-seating-reservation.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n CreateSeatingReservationApplicationErrors,\n CreateSeatingReservationOptions,\n DeleteSeatingReservationResponse,\n GetSeatingCategorySummaryOptions,\n GetSeatingCategorySummaryResponse,\n GetSeatingReservationSummaryResponse,\n QuerySeatingReservationResponse,\n ReservationsQueryBuilder,\n SeatingReservation,\n SeatingReservationCreatedEnvelope,\n SeatingReservationDeletedEnvelope,\n SeatingReservationQuery,\n createSeatingReservation as universalCreateSeatingReservation,\n deleteSeatingReservation as universalDeleteSeatingReservation,\n getReservation as universalGetReservation,\n getSeatingCategorySummary as universalGetSeatingCategorySummary,\n getSeatingReservationSummary as universalGetSeatingReservationSummary,\n querySeatingReservation as universalQuerySeatingReservation,\n typedQuerySeatingReservation as universalTypedQuerySeatingReservation,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/seatings' };\n\nexport function createSeatingReservation(\n httpClient: HttpClient\n): CreateSeatingReservationSignature {\n return (options?: CreateSeatingReservationOptions) =>\n universalCreateSeatingReservation(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateSeatingReservationSignature {\n /**\n * Creates a seating reservation for one or more places within a seating plan.\n * @returns Created reservation.\n */\n (options?: CreateSeatingReservationOptions): Promise<\n NonNullablePaths<\n SeatingReservation,\n `reservedPlaces` | `reservedPlaces.${number}._id`,\n 4\n > & {\n __applicationErrorsType?: CreateSeatingReservationApplicationErrors;\n }\n >;\n}\n\nexport function getReservation(\n httpClient: HttpClient\n): GetReservationSignature {\n return (_id: string) =>\n universalGetReservation(\n _id,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetReservationSignature {\n /**\n * Retrieves a seating reservation by ID.\n * @param - Reservation ID.\n * @returns Retrieved reservation.\n */\n (_id: string): Promise<\n NonNullablePaths<\n SeatingReservation,\n `reservedPlaces` | `reservedPlaces.${number}._id`,\n 4\n >\n >;\n}\n\nexport function querySeatingReservation(\n httpClient: HttpClient\n): QuerySeatingReservationSignature {\n return () =>\n universalQuerySeatingReservation(\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QuerySeatingReservationSignature {\n /**\n * Retrieves seating reservations that match specified criteria.\n */\n (): ReservationsQueryBuilder;\n}\n\nexport function typedQuerySeatingReservation(\n httpClient: HttpClient\n): TypedQuerySeatingReservationSignature {\n return (query: SeatingReservationQuery) =>\n universalTypedQuerySeatingReservation(\n query,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TypedQuerySeatingReservationSignature {\n /** @returns Response containing matching seating reservations. */\n (query: SeatingReservationQuery): Promise<\n NonNullablePaths<QuerySeatingReservationResponse, `reservations`, 2>\n >;\n}\n\nexport function deleteSeatingReservation(\n httpClient: HttpClient\n): DeleteSeatingReservationSignature {\n return (_id: string) =>\n universalDeleteSeatingReservation(\n _id,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteSeatingReservationSignature {\n /**\n * Deletes a seating reservation and releases all reserved places.\n * @param - Reservation ID.\n * @returns Response after deleting a seating reservation.\n */\n (_id: string): Promise<\n NonNullablePaths<\n DeleteSeatingReservationResponse,\n `reservation.reservedPlaces` | `reservation.reservedPlaces.${number}._id`,\n 5\n >\n >;\n}\n\nexport function getSeatingCategorySummary(\n httpClient: HttpClient\n): GetSeatingCategorySummarySignature {\n return (options?: GetSeatingCategorySummaryOptions) =>\n universalGetSeatingCategorySummary(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetSeatingCategorySummarySignature {\n /**\n * Retrieves capacity and reservation summary by seating category.\n * @returns Response containing capacity summary by category.\n */\n (options?: GetSeatingCategorySummaryOptions): Promise<\n NonNullablePaths<GetSeatingCategorySummaryResponse, `categories`, 2>\n >;\n}\n\nexport function getSeatingReservationSummary(\n httpClient: HttpClient\n): GetSeatingReservationSummarySignature {\n return (externalId: string) =>\n universalGetSeatingReservationSummary(\n externalId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetSeatingReservationSummarySignature {\n /**\n * Retrieves detailed place-level occupancy data for a seating plan.\n * @param - External seating plan ID.\n * @returns Response containing complete seating plan and occupancy data.\n */\n (externalId: string): Promise<\n NonNullablePaths<\n GetSeatingReservationSummaryResponse,\n | `plan.sections`\n | `plan.sections.${number}._id`\n | `plan.sections.${number}.default`\n | `plan.categories`\n | `plan.categories.${number}._id`\n | `plan.categories.${number}.title`\n | `plan.uncategorizedPlaces`\n | `plan.elementGroups`\n | `plan.elementGroups.${number}._id`\n | `places`\n | `places.${number}.placeId`\n | `places.${number}.occupied`,\n 5\n >\n >;\n}\n\nexport const onSeatingReservationCreated = EventDefinition(\n 'wix.seating.v1.seating_reservation_created',\n true,\n (event: SeatingReservationCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'metadata.eventTime' }],\n },\n ])\n )\n)<SeatingReservationCreatedEnvelope>();\nexport const onSeatingReservationDeleted = EventDefinition(\n 'wix.seating.v1.seating_reservation_deleted',\n true,\n (event: SeatingReservationDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'metadata.eventTime' }],\n },\n ])\n )\n)<SeatingReservationDeletedEnvelope>();\n\nexport {\n AccountDetails,\n ActionEvent,\n App,\n AvailablePlace,\n BaseEventMetadata,\n CancelSeatingPlaceReservationsRequest,\n CancelSeatingPlaceReservationsResponse,\n Category,\n CategoryDetails,\n CreateSeatingReservationOptions,\n CreateSeatingReservationRequest,\n CreateSeatingReservationResponse,\n CursorPaging,\n Cursors,\n CustomTag,\n DeleteSeatingPlaceReservationRequest,\n DeleteSeatingReservationRequest,\n DeleteSeatingReservationResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n Element,\n ElementGroup,\n ElementGroupUiProperties,\n ElementUiProperties,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EventMetadata,\n ExtendedFields,\n File,\n GetReservationRequest,\n GetReservationResponse,\n GetReservedPlacesRequest,\n GetReservedPlacesResponse,\n GetSeatingCategorySummaryOptions,\n GetSeatingCategorySummaryRequest,\n GetSeatingCategorySummaryResponse,\n GetSeatingReservationSummaryRequest,\n GetSeatingReservationSummaryResponse,\n Icon,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n InvalidateCache,\n InvalidateCacheGetByOneOf,\n ListAvailablePlacesRequest,\n ListAvailablePlacesResponse,\n ListReservedPlacesRequest,\n ListReservedPlacesResponse,\n MessageEnvelope,\n MultiRowProperties,\n Numbering,\n Page,\n Paging,\n PagingMetadata,\n PagingMetadataV2,\n Place,\n PlaceReservation,\n PlaceReservationDetails,\n PlaceTypeEnumType,\n Places,\n Position,\n QuerySeatingReservationRequest,\n QuerySeatingReservationResponse,\n QueryV2,\n QueryV2PagingMethodOneOf,\n RegenerateSummariesRequest,\n RegenerateSummariesResponse,\n ReservationErrorDetails,\n ReservationOptions,\n ReservationsQueryBuilder,\n ReservationsQueryResult,\n ReservedPlace,\n RestoreInfo,\n RowElement,\n RowElementUiProperties,\n SeatReservation,\n SeatingPlan,\n SeatingPlanCategoriesSummaryUpdated,\n SeatingPlanUiProperties,\n SeatingReservation,\n SeatingReservationCreatedEnvelope,\n SeatingReservationDeletedEnvelope,\n SeatingReservationQuerySpec,\n SeatingReservationsSummary,\n Section,\n Sequencing,\n ShapeTypeEnumType,\n SortOrder,\n Sorting,\n Type,\n URI,\n UnavailablePlaces,\n UpdateSeatingReservationRequest,\n UpdateSeatingReservationResponse,\n VerticalSequencing,\n WebhookIdentityType,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixSeatingV1SeatingReservation from './seating-v1-seating-reservation-seating-reservation.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\n/**\n * A seating reservation represents a booking for one or more places within a seating plan.\n *\n * Seating reservations track specific seat assignments or area capacity allocations for events. Each reservation can include multiple places across different sections of a venue, with individual capacity requirements for each place. The system maintains referential integrity through both internal Wix identifiers and external system references, enabling seamless integration with third-party ticketing platforms.\n */\nexport interface SeatingReservation {\n /**\n * Reservation ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Seating plan ID.\n * @format GUID\n * @readonly\n */\n seatingPlanId?: string | null;\n /**\n * External seating plan ID used for integration with third-party venue systems.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalSeatingPlanId?: string | null;\n /**\n * Places reserved in this reservation. Each place can have its own capacity requirements.\n * @minSize 1\n * @maxSize 100\n */\n reservedPlaces?: PlaceReservation[];\n /**\n * External reference ID for cross-system integration. Format: `{fqdn}:{entity guid}`. For example, `wix.events.v1.ticket:12345678-1234-1234-1234-123456789012`.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string | null;\n /**\n * Revision number, which increments by 1 each time the reservation is updated. To prevent conflicting changes, the current revision must be passed when updating the reservation. Ignored when creating a reservation.\n * @readonly\n */\n revision?: string | null;\n}\n\n/** Individual place reservation within a seating arrangement. */\nexport interface PlaceReservation {\n /**\n * Place ID. For example, `A1-1-5` for section A, row 1, seat 5.\n * @minLength 5\n * @maxLength 11\n */\n _id?: string;\n /**\n * Number of people to be seated at this place. Used for area seating where multiple guests can occupy a single reservable location.\n *\n * Default: `1`\n * @min 1\n * @max 50\n */\n capacity?: number | null;\n /**\n * Section name within the venue. For example, `Orchestra` or `Balcony`.\n * @readonly\n */\n sectionLabel?: string | null;\n /**\n * Area name within a section. Used for general admission or standing areas.\n * @readonly\n */\n areaLabel?: string | null;\n /**\n * Table identifier for table-based seating arrangements.\n * @readonly\n */\n tableLabel?: string | null;\n /**\n * Row identifier within a section or area.\n * @readonly\n */\n rowLabel?: string | null;\n /**\n * Individual seat identifier within a row or at a table.\n * @readonly\n */\n seatLabel?: string | null;\n}\n\n/** Triggers when seating plan category summaries are updated. */\nexport interface SeatingPlanCategoriesSummaryUpdated {\n /**\n * Seating plan ID.\n * @format GUID\n */\n seatingPlanId?: string;\n /** External seating plan ID. */\n externalSeatingPlanId?: string | null;\n /**\n * Updated category capacity and reservation counts.\n * @maxSize 100\n */\n categories?: CategoryDetails[];\n /**\n * Summary revision number for cache invalidation.\n * @readonly\n */\n revision?: string | null;\n}\n\n/** Category capacity and reservation summary. */\nexport interface CategoryDetails {\n /**\n * Seating Plan ID.\n * @format GUID\n * @readonly\n */\n seatingPlanId?: string | null;\n /**\n * External Seating Plan ID used for integration with third-party systems.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalSeatingPlanId?: string | null;\n /**\n * External Category ID used for mapping to venue-specific category names. For example, `VIP` or `ORCHESTRA`.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalCategoryId?: string | null;\n /**\n * Total seating capacity available in category.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * Number of seats currently reserved in category.\n * @readonly\n */\n reserved?: number | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\n/** Request to create a seating reservation. */\nexport interface CreateSeatingReservationRequest {\n /** Reservation to create. */\n reservation?: SeatingReservation;\n}\n\n/** Response after creating a seating reservation. */\nexport interface CreateSeatingReservationResponse {\n /** Created reservation. */\n reservation?: SeatingReservation;\n}\n\n/** Details about specific places, used for error reporting. */\nexport interface Places {\n /**\n * List of place identifiers. For example, `A1-1-5` or `VIP-12`.\n * @minSize 1\n * @maxSize 100\n */\n places?: string[];\n}\n\n/** Details about places that are unavailable, including capacity conflicts. */\nexport interface UnavailablePlaces {\n /**\n * List of place identifiers that are unavailable. For example, `A1-1-5` or `VIP-12`.\n * @minSize 1\n * @maxSize 100\n */\n unavailablePlaces?: string[];\n /**\n * Detailed capacity information for each unavailable place.\n * @minSize 1\n * @maxSize 100\n */\n reservationErrorDetails?: ReservationErrorDetails[];\n}\n\n/** Capacity conflict details for a given place. */\nexport interface ReservationErrorDetails {\n /** ID of the place with a capacity conflict. */\n _id?: string;\n /** Currently available capacity at this place. */\n available?: number;\n /** Requested capacity that exceeds the available capacity. */\n requested?: number;\n}\n\n/** Request to retrieve a specific seating reservation. */\nexport interface GetReservationRequest {\n /**\n * Reservation ID.\n * @format GUID\n */\n _id: string | null;\n}\n\n/** Response containing the requested seating reservation. */\nexport interface GetReservationResponse {\n /** Retrieved reservation. */\n reservation?: SeatingReservation;\n}\n\n/** Request to query seating reservations. */\nexport interface QuerySeatingReservationRequest {\n /** Query object with filter criteria and pagination settings. */\n query: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n */\n sort?: Sorting[];\n /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n fields?: string[];\n /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\n/** Response containing matching seating reservations. */\nexport interface QuerySeatingReservationResponse {\n /** Found reservations matching the query criteria. */\n reservations?: SeatingReservation[];\n /** Paging metadata for result navigation. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\n/** Request to delete a seating reservation. */\nexport interface DeleteSeatingReservationRequest {\n /**\n * Reservation ID.\n * @format GUID\n */\n _id: string | null;\n}\n\n/** Response after deleting a seating reservation. */\nexport interface DeleteSeatingReservationResponse {\n /** Deleted reservation. */\n reservation?: SeatingReservation;\n}\n\n/** Request to delete a specific place reservation. */\nexport interface DeleteSeatingPlaceReservationRequest {\n /** Place reservation ID. */\n _id?: string | null;\n /**\n * Seating reservation ID that contains the place reservation.\n * @format GUID\n */\n reservationId?: string | null;\n}\n\nexport interface Empty {}\n\n/** Request to cancel specific place reservations. */\nexport interface CancelSeatingPlaceReservationsRequest {\n /**\n * Seating reservation ID containing the places to cancel.\n * @format GUID\n */\n reservationId?: string | null;\n /**\n * Place reservations to cancel with their reduced capacity.\n * @minSize 1\n * @maxSize 100\n */\n placeReservations?: PlaceReservationDetails[];\n}\n\n/** Occupancy details for a specific place in a seating plan. */\nexport interface PlaceReservationDetails {\n /** Place ID. */\n placeId?: string;\n /** Number of occupied seats or capacity units at this place. */\n occupied?: number;\n}\n\n/** Response after canceling place reservations. */\nexport interface CancelSeatingPlaceReservationsResponse {\n /** Reservation with canceled place reservations. */\n reservation?: SeatingReservation;\n}\n\n/** Request to update a seating reservation. */\nexport interface UpdateSeatingReservationRequest {\n /** Reservation to update with modified capacity values. */\n reservation?: SeatingReservation;\n}\n\n/** Response after updating a seating reservation. */\nexport interface UpdateSeatingReservationResponse {\n /** Updated reservation. */\n reservation?: SeatingReservation;\n}\n\n/** Request to retrieve all reserved places for a seating plan. */\nexport interface GetReservedPlacesRequest {\n /**\n * Seating plan ID.\n * @format GUID\n */\n _id?: string | null;\n}\n\n/** Response containing all reserved places for a seating plan. */\nexport interface GetReservedPlacesResponse {\n /** Reserved places in the seating plan. */\n placeReservations?: PlaceReservation[];\n}\n\n/** Request to list reserved places with optional filtering. */\nexport interface ListReservedPlacesRequest {\n /**\n * Seating plan ID.\n * @format GUID\n */\n planId?: string | null;\n /**\n * Optional filter by reservation ID.\n * @format GUID\n */\n reservationId?: string | null;\n /**\n * Optional filter by specific seat IDs.\n * @maxSize 50\n * @maxLength 20\n */\n seatId?: string[];\n /** Paging configuration. */\n paging?: Paging;\n}\n\n/** Response containing filtered reserved places. */\nexport interface ListReservedPlacesResponse {\n /** Reserved places matching the filter criteria. */\n reservedPlaces?: ReservedPlace[];\n /** Paging metadata for result navigation. */\n pagingMetadata?: PagingMetadata;\n}\n\n/** Internal representation of a place reservation. */\nexport interface SeatReservation {\n /**\n * Place reservation ID.\n * @maxLength 72\n */\n seatReservationId?: string | null;\n /**\n * Place ID.\n * @maxLength 20\n */\n seatId?: string | null;\n /**\n * Seating plan ID.\n * @format GUID\n */\n planId?: string | null;\n /**\n * Seating reservation ID.\n * @format GUID\n */\n reservationId?: string | null;\n /**\n * Number of occupied spots at this place.\n * @max 50000\n */\n spots?: number | null;\n /** Whether this is an area-based reservation (true) or individual seat (false). */\n area?: boolean | null;\n}\n\n/** Individual reserved place with full context. */\nexport interface ReservedPlace {\n /** Place reservation details. */\n seatReservation?: SeatReservation;\n /** Parent reservation (active). */\n reservation?: SeatingReservation;\n /** Parent reservation (deleted, for audit trail). */\n reservationFromTrashBin?: SeatingReservation;\n}\n\nexport interface PagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n}\n\n/** Request to retrieve category-level capacity summary. */\nexport interface GetSeatingCategorySummaryRequest {\n /**\n * External seating plan ID.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string;\n}\n\n/** Response containing capacity summary by category. */\nexport interface GetSeatingCategorySummaryResponse {\n /**\n * Capacity and reservation counts by category.\n * @maxSize 50000\n */\n categories?: CategoryDetails[];\n}\n\n/** Request to retrieve detailed place-level occupancy data. */\nexport interface GetSeatingReservationSummaryRequest {\n /**\n * External seating plan ID.\n * @minLength 1\n * @maxLength 100\n */\n externalId: string;\n}\n\n/** Response containing complete seating plan and occupancy data. */\nexport interface GetSeatingReservationSummaryResponse {\n /** Complete seating plan structure. */\n plan?: SeatingPlan;\n /**\n * Occupancy details for each place in the plan.\n * @maxSize 50000\n */\n places?: PlaceReservationDetails[];\n}\n\n/** A seating plan represents the layout and organization of seats within a venue. It defines the physical arrangement of seating areas, pricing categories, and individual places where attendees can be seated or positioned during an event. */\nexport interface SeatingPlan {\n /**\n * Seating plan ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Client-defined external ID for cross-referencing with external systems. Format: `{fqdn}:{entity_guid}`. For example, `wix.events.v1.event:abc-123-def`.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string | null;\n /**\n * Human-friendly seating plan title. For example, `Madison Square Garden - Main Floor`.\n * @minLength 1\n * @maxLength 120\n */\n title?: string | null;\n /**\n * High-level divisions of the venue, such as \"Orchestra\", \"Balcony\", or \"VIP Section\". A default section with `id = 0` is required and serves as the primary seating area.\n * @maxSize 100\n */\n sections?: Section[];\n /**\n * Pricing tiers or groupings for organizing places, such as \"VIP\", \"General Admission\", or \"Student Discount\". Elements and places can be assigned to categories for pricing and availability management.\n * @maxSize 100\n */\n categories?: Category[];\n /**\n * Date and time the seating plan was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the seating plan was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Total number of seats across all sections and elements in the seating plan. Automatically calculated by summing element capacities.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * Total number of categories defined in the seating plan. Automatically calculated.\n * @readonly\n */\n totalCategories?: number | null;\n /**\n * Places that are not assigned to any category. These places require manual category assignment for pricing and organization.\n * @maxSize 50000\n * @readonly\n */\n uncategorizedPlaces?: Place[];\n /**\n * Version number of the seating plan, incremented by 1 each time the plan is updated. Used for version management and tracking changes.\n * @readonly\n */\n version?: string | null;\n /** Additional custom fields for extending the seating plan with app-specific data. Learn more about @extended fields. */\n extendedFields?: ExtendedFields;\n /** Visual settings for the seating plan, such as background color and opacity. Used by seating chart interfaces for rendering. */\n uiProperties?: SeatingPlanUiProperties;\n /**\n * Hierarchical groupings of elements for UI organization and bulk operations. Groups can contain multiple elements or nested sub-groups for easier management.\n * @maxSize 1000\n */\n elementGroups?: ElementGroup[];\n /** Optimistic concurrency control; preserved from request, defaults to current plan's revision when absent. */\n revision?: string | null;\n}\n\n/** A section represents a high-level division within a seating plan, such as \"Orchestra\", \"Balcony\", or \"VIP Area\". Sections contain elements that define the actual seating arrangements. */\nexport interface Section {\n /** Section ID. Must be unique within the seating plan. Section with `id = 0` is required as the default section. */\n _id?: number;\n /**\n * Human-readable section title. For example, `Orchestra` or `Balcony`.\n * @minLength 1\n * @maxLength 20\n */\n title?: string | null;\n /**\n * Client configuration object for storing additional section metadata. Read-only field maintained for backward compatibility.\n * @readonly\n */\n config?: Record<string, any> | null;\n /**\n * Seating elements within this section, such as rows, tables, or general admission areas. Each element generates individual places based on its type and capacity.\n * @maxSize 1000\n */\n elements?: Element[];\n /**\n * Total capacity of all elements within this section. Automatically calculated by summing element capacities.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * Whether this is the default section. Always `true` for section with `id = 0`.\n * @readonly\n */\n default?: boolean;\n}\n\n/** An element represents a specific seating configuration within a section, such as a row of seats, a table, or a general admission area. Elements generate individual places based on their type and capacity. */\nexport interface Element {\n /**\n * Element ID. Must be unique within the seating plan.\n * @min 1\n */\n _id?: number;\n /**\n * User-friendly title or label for the element. For example, `Row A` or `VIP Table 1`.\n * @minLength 1\n * @maxLength 50\n */\n title?: string | null;\n /** Type of seating element, which determines capacity limits and place generation behavior. See ElementTypeEnum for available types. */\n type?: TypeWithLiterals;\n /**\n * Number of seats or spots in this element. Not applicable for SHAPE type elements. Maximum 50,000 per element.\n * @min 1\n * @max 50000\n */\n capacity?: number | null;\n /** ID of the category this element is assigned to for pricing and organization. References a category defined in the seating plan. */\n categoryId?: number | null;\n /** Configuration for generating place labels and numbering within this element. Defines how seats are labeled (e.g., 1, 2, 3 or A, B, C). */\n sequencing?: Sequencing;\n /**\n * Custom place configurations that override the default generated places for specific positions. Used for accessibility seating, obstructed views, or custom labeling.\n * @maxSize 2000\n */\n overrides?: Place[];\n /**\n * Final sequence of places generated for this element, including any overrides applied. Read-only field populated by the system.\n * @maxSize 200\n * @readonly\n */\n places?: Place[];\n /** Constraints on how this element can be reserved or booked. For example, requiring the entire element to be reserved as a unit. */\n reservationOptions?: ReservationOptions;\n /** Visual positioning and styling properties for rendering this element in a seating chart. Includes coordinates, dimensions, and styling options. */\n uiProperties?: ElementUiProperties;\n /** ID of the element group this element belongs to for hierarchical organization. References an ElementGroup defined in the seating plan. */\n elementGroupId?: number | null;\n /** Additional properties for MULTI_ROW type elements, defining individual rows and their configurations. Only applicable when type is MULTI_ROW. */\n multiRowProperties?: MultiRowProperties;\n}\n\nexport enum Type {\n /** General admission area with a single place containing the full capacity. */\n AREA = 'AREA',\n /** Single row of individual seats with sequential labeling. */\n ROW = 'ROW',\n /** Multiple rows treated as one element, each with individual capacity and sequencing. */\n MULTI_ROW = 'MULTI_ROW',\n /** Rectangular table with individual seats around the perimeter. */\n TABLE = 'TABLE',\n /** Circular table with individual seats around the perimeter. */\n ROUND_TABLE = 'ROUND_TABLE',\n /** Visual element with no seating capacity, used for decorative or informational purposes. */\n SHAPE = 'SHAPE',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'AREA'\n | 'ROW'\n | 'MULTI_ROW'\n | 'TABLE'\n | 'ROUND_TABLE'\n | 'SHAPE';\n\n/** Configuration for generating sequential labels for places within an element. */\nexport interface Sequencing {\n /**\n * Starting value for the sequence. For example, `1` for numeric sequences or `A` for alphabetical sequences.\n * @minLength 1\n * @maxLength 4\n */\n startAt?: string;\n /**\n * Complete sequence of labels to be used for places. Must match the element's capacity. When provided, overrides automatic label generation.\n * @maxSize 2500\n */\n labels?: string[];\n /** Whether to apply labels in reverse order (right-to-left instead of left-to-right). Useful for venue-specific numbering conventions. */\n reverseOrder?: boolean | null;\n}\n\n/** An individual seat or spot within an element where an attendee can be positioned. */\nexport interface Place {\n /** Zero-based position of this place within the element's sequence. Used to identify the place's position for overrides. */\n index?: number;\n /**\n * Unique place ID in the format `{section_id}-{element_id}-{label}`. For example, `0-1-A5` for section 0, element 1, seat A5.\n * @readonly\n */\n _id?: string | null;\n /**\n * Human-readable label for this place, such as `A1`, `12`, or `VIP1`. Generated based on sequencing configuration or custom overrides.\n * @minLength 1\n * @maxLength 4\n */\n label?: string;\n /**\n * Maximum number of people that can occupy this place. Typically 1 for individual seats, higher for AREA type places.\n * @readonly\n */\n capacity?: number | null;\n /**\n * Type of the parent element that contains this place. Inherited from the element's type.\n * @readonly\n */\n elementType?: TypeWithLiterals;\n /**\n * ID of the category this place is assigned to. Inherited from element or row category assignment.\n * @readonly\n */\n categoryId?: number | null;\n /** Special characteristics or accessibility features of this place (standard, wheelchair, accessible, companion, obstructed, discount). */\n type?: PlaceTypeEnumTypeWithLiterals;\n}\n\nexport enum PlaceTypeEnumType {\n /** Unknown place type. */\n UNKNOWN_PROPERTY = 'UNKNOWN_PROPERTY',\n /** Standard seating with no special accommodations. */\n STANDARD = 'STANDARD',\n /** Wheelchair accessible seating space. */\n WHEELCHAIR = 'WHEELCHAIR',\n /** Accessible seating for mobility-impaired guests. */\n ACCESSIBLE = 'ACCESSIBLE',\n /** Companion seat adjacent to accessible seating. */\n COMPANION = 'COMPANION',\n /** Seat with limited or obstructed view. */\n OBSTRUCTED = 'OBSTRUCTED',\n /** Discounted pricing seat. */\n DISCOUNT = 'DISCOUNT',\n}\n\n/** @enumType */\nexport type PlaceTypeEnumTypeWithLiterals =\n | PlaceTypeEnumType\n | 'UNKNOWN_PROPERTY'\n | 'STANDARD'\n | 'WHEELCHAIR'\n | 'ACCESSIBLE'\n | 'COMPANION'\n | 'OBSTRUCTED'\n | 'DISCOUNT';\n\n/** Configuration options that control how an element can be reserved or booked. */\nexport interface ReservationOptions {\n /** Whether the entire element must be reserved as a single unit. When `true`, individual seats cannot be booked separately. Cannot be used with AREA type elements. */\n reserveWholeElement?: boolean;\n}\n\n/** Visual positioning and styling properties for rendering elements in a seating chart interface. */\nexport interface ElementUiProperties {\n /**\n * Horizontal position coordinate of the element in the seating chart coordinate system.\n * @min -1000000\n * @max 1000000\n */\n x?: number | null;\n /**\n * Vertical position coordinate of the element in the seating chart coordinate system.\n * @min -1000000\n * @max 1000000\n */\n y?: number | null;\n /**\n * Layering order for overlapping elements. Higher values appear on top of lower values.\n * @min -1000000\n * @max 1000000\n */\n zIndex?: number | null;\n /**\n * Width of the element in the coordinate system units.\n * @max 1000000\n */\n width?: number | null;\n /**\n * Height of the element in the coordinate system units.\n * @max 1000000\n */\n height?: number | null;\n /**\n * Rotation angle of the element in degrees. Positive values rotate clockwise.\n * @min -180\n * @max 180\n */\n rotationAngle?: number | null;\n /** Shape type for SHAPE elements that don't represent seating. Only applicable when element type is SHAPE. */\n shapeType?: ShapeTypeEnumTypeWithLiterals;\n /**\n * Font size for text elements in points.\n * @min 10\n * @max 176\n */\n fontSize?: number | null;\n /**\n * Corner radius for rounded rectangular shapes in coordinate system units.\n * @max 1000000\n */\n cornerRadius?: number | null;\n /**\n * Horizontal spacing between individual seats within the element.\n * @min 1\n * @max 60\n */\n seatSpacing?: number | null;\n /** Whether to hide labels on seats within this element. When `true`, seat labels are not displayed in the UI. */\n hideLabel?: boolean | null;\n /** Position of labels relative to seats (left, right, both sides, or none). */\n labelPosition?: PositionWithLiterals;\n /** Array defining the arrangement of seats within the element. Each number represents the count of seats in that position. */\n seatLayout?: number[];\n /**\n * Number of empty spaces at the top of the seating arrangement for visual spacing.\n * @max 50\n */\n emptyTopSeatSpaces?: number | null;\n /**\n * Text content for TEXT type shape elements. Only applicable when shape_type is TEXT.\n * @minLength 1\n * @maxLength 10000\n */\n text?: string | null;\n /**\n * Primary color in hexadecimal format. For example, `#FF0000` for red.\n * @format COLOR_HEX\n */\n color?: string | null;\n /**\n * Fill color for shapes in hexadecimal format. For example, `#00FF00` for green.\n * @format COLOR_HEX\n */\n fillColor?: string | null;\n /**\n * Border color in hexadecimal format. For example, `#0000FF` for blue.\n * @format COLOR_HEX\n */\n strokeColor?: string | null;\n /**\n * Border width in pixels for shape outlines.\n * @min 1\n * @max 6\n */\n strokeWidth?: number | null;\n /**\n * Opacity level as a percentage from 0 (transparent) to 100 (opaque).\n * @max 100\n */\n opacity?: number | null;\n /** Icon type for ICON shape elements. Only applicable when shape_type is ICON. */\n icon?: IconWithLiterals;\n /** Image object for IMAGE shape elements. Only applicable when shape_type is IMAGE. */\n image?: Image;\n /** Numbering scheme for seats within this element (numeric, alphabetical, or odd/even). */\n seatNumbering?: NumberingWithLiterals;\n}\n\nexport enum ShapeTypeEnumType {\n /** Unknown shape type. */\n UNKNOWN_TYPE = 'UNKNOWN_TYPE',\n /** Text label or annotation. */\n TEXT = 'TEXT',\n /** Rectangular shape. */\n RECTANGLE = 'RECTANGLE',\n /** Circular or oval shape. */\n ELLIPSE = 'ELLIPSE',\n /** Straight line. */\n LINE = 'LINE',\n /** Predefined icon symbol. */\n ICON = 'ICON',\n /** Custom image. */\n IMAGE = 'IMAGE',\n}\n\n/** @enumType */\nexport type ShapeTypeEnumTypeWithLiterals =\n | ShapeTypeEnumType\n | 'UNKNOWN_TYPE'\n | 'TEXT'\n | 'RECTANGLE'\n | 'ELLIPSE'\n | 'LINE'\n | 'ICON'\n | 'IMAGE';\n\nexport enum Position {\n /** Label positioning options for seats and elements. */\n UNKNOWN_POSITION = 'UNKNOWN_POSITION',\n /** Labels appear to the left of seats. */\n LEFT = 'LEFT',\n /** Labels appear to the right of seats. */\n RIGHT = 'RIGHT',\n /** Labels appear on both sides of seats. */\n BOTH = 'BOTH',\n /** No labels are displayed. */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type PositionWithLiterals =\n | Position\n | 'UNKNOWN_POSITION'\n | 'LEFT'\n | 'RIGHT'\n | 'BOTH'\n | 'NONE';\n\nexport enum Icon {\n /** Available icon types for venue wayfinding and information. */\n UNKNOWN_ICON = 'UNKNOWN_ICON',\n /** Entrance icon. */\n ENTER = 'ENTER',\n /** Exit icon. */\n EXIT = 'EXIT',\n /** Beverage service icon. */\n DRINKS = 'DRINKS',\n /** Restroom icon. */\n WC = 'WC',\n /** Men's restroom icon. */\n WC_MEN = 'WC_MEN',\n /** Women's restroom icon. */\n WC_WOMEN = 'WC_WOMEN',\n /** Food service icon. */\n FOOD = 'FOOD',\n /** Stairway icon. */\n STAIRS = 'STAIRS',\n /** Elevator icon. */\n ELEVATOR = 'ELEVATOR',\n /** Smoking area icon. */\n SMOKING = 'SMOKING',\n /** Coat check icon. */\n CHECKROOM = 'CHECKROOM',\n /** Stage or performance area icon. */\n STAGE = 'STAGE',\n}\n\n/** @enumType */\nexport type IconWithLiterals =\n | Icon\n | 'UNKNOWN_ICON'\n | 'ENTER'\n | 'EXIT'\n | 'DRINKS'\n | 'WC'\n | 'WC_MEN'\n | 'WC_WOMEN'\n | 'FOOD'\n | 'STAIRS'\n | 'ELEVATOR'\n | 'SMOKING'\n | 'CHECKROOM'\n | 'STAGE';\n\n/** Image reference for use in seating plan visual elements. */\nexport interface Image {\n /** Image ID from Wix Media Manager. */\n _id?: string;\n /**\n * Original image height in pixels.\n * @readonly\n */\n height?: number;\n /**\n * Original image width in pixels.\n * @readonly\n */\n width?: number;\n /**\n * Deprecated. Use the `id` field instead for referencing images.\n * @deprecated\n */\n uri?: string | null;\n}\n\nexport enum Numbering {\n /** Seat numbering patterns for sequential label generation. */\n UNKNOWN_NUMBERING = 'UNKNOWN_NUMBERING',\n /** Sequential numbers (1, 2, 3, ...). */\n NUMERIC = 'NUMERIC',\n /** Alternating odd and even numbers. */\n ODD_EVEN = 'ODD_EVEN',\n /** Sequential letters (A, B, C, ...). */\n ALPHABETICAL = 'ALPHABETICAL',\n}\n\n/** @enumType */\nexport type NumberingWithLiterals =\n | Numbering\n | 'UNKNOWN_NUMBERING'\n | 'NUMERIC'\n | 'ODD_EVEN'\n | 'ALPHABETICAL';\n\n/** Configuration for multi-row elements that contain multiple individual rows, each with their own capacity and sequencing. */\nexport interface MultiRowProperties {\n /**\n * Individual rows within the multi-row element. Each row has its own capacity, sequencing, and category assignment.\n * @maxSize 1000\n */\n rows?: RowElement[];\n /** Configuration for labeling rows vertically (e.g., Row A, Row B, Row C). Defines how row labels are generated. */\n verticalSequencing?: VerticalSequencing;\n /**\n * Vertical spacing between rows in the multi-row element. Measured in coordinate system units.\n * @min 1\n * @max 60\n */\n rowSpacing?: number | null;\n /**\n * Number of seats per row in the multi-row element.\n * @max 50\n */\n seatAmount?: number | null;\n}\n\n/** An individual row within a multi-row element, with its own capacity, sequencing, and category assignment. */\nexport interface RowElement {\n /**\n * Row ID. Must be unique across all multi-row elements in the seating plan.\n * @min 1\n */\n _id?: number;\n /**\n * User-friendly title or label for this row. For example, `Row A` or `Front Row`.\n * @minLength 1\n * @maxLength 50\n */\n title?: string | null;\n /**\n * Number of seats in this row. Maximum 50,000 per row.\n * @min 1\n * @max 50000\n */\n capacity?: number | null;\n /** Category assignment for this row, which can override the parent element's category. References a category defined in the seating plan. */\n categoryId?: number | null;\n /** Configuration for generating seat labels within this row. Defines numbering scheme and starting position. */\n sequencing?: Sequencing;\n /** Visual properties specific to this row within the multi-row element. Includes positioning relative to parent element. */\n uiProperties?: RowElementUiProperties;\n}\n\n/** Visual properties specific to individual rows within multi-row elements. */\nexport interface RowElementUiProperties {\n /**\n * Horizontal position relative to the parent multi-row element's coordinate system.\n * @min -1000000\n * @max 1000000\n */\n relativeX?: number | null;\n /**\n * Width of this row in coordinate system units.\n * @max 1000000\n */\n width?: number | null;\n /**\n * Number of seats in this row. Overrides the capacity field when specified.\n * @max 50\n */\n seatAmount?: number | null;\n /**\n * Spacing between seats in this row.\n * @min 1\n * @max 60\n */\n seatSpacing?: number | null;\n /** Position of labels relative to seats in this row (left, right, both sides, or none). // Position of labels relative to seats in this row. */\n labelPosition?: PositionWithLiterals;\n /** Numbering scheme for seats in this row (numeric, alphabetical, or odd/even). */\n seatNumbering?: NumberingWithLiterals;\n}\n\n/** Configuration for labeling rows vertically in multi-row elements. */\nexport interface VerticalSequencing {\n /**\n * Starting value for row labeling. For example, `A` for alphabetical sequences or `1` for numeric sequences.\n * @minLength 1\n * @maxLength 4\n */\n startAt?: string;\n /** Numbering scheme for row labels (numeric, alphabetical, or odd/even). */\n rowNumbering?: NumberingWithLiterals;\n /** Whether to label rows in reverse order (bottom-to-top instead of top-to-bottom). */\n reverseOrder?: boolean | null;\n}\n\n/** A grouping mechanism for organizing places by pricing tier, access level, or other business criteria. */\nexport interface Category {\n /**\n * Category ID. Must be unique within the seating plan.\n * @min 1\n */\n _id?: number;\n /**\n * Client-defined external ID for cross-referencing with pricing or ticketing systems. Format: `{entity_fqdn}:{entity_id}`.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string | null;\n /**\n * Human-readable category name, such as `VIP`, `General Admission`, or `Student Discount`.\n * @minLength 1\n * @maxLength 120\n */\n title?: string;\n /**\n * Client configuration object for storing additional category metadata. Read-only field maintained for backward compatibility.\n * @readonly\n */\n config?: Record<string, any> | null;\n /**\n * Total capacity of all places assigned to this category. Automatically calculated by summing place capacities.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * All places that are assigned to this category. Populated when using the CATEGORIES fieldset.\n * @maxSize 50000\n * @readonly\n */\n places?: Place[];\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/** Visual styling properties for the overall seating plan background and appearance. */\nexport interface SeatingPlanUiProperties {\n /**\n * Background color in hexadecimal format. For example, `#F0F0F0` for light gray.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Background opacity as a percentage from 0 (transparent) to 100 (opaque).\n * @max 100\n */\n backgroundOpacity?: number | null;\n}\n\n/** A hierarchical grouping of elements for UI organization and bulk operations. */\nexport interface ElementGroup {\n /**\n * Element group ID. Must be unique within the seating plan.\n * @min 1\n */\n _id?: number;\n /** ID of the parent group for creating nested group hierarchies. References another ElementGroup in the same seating plan. */\n parentElementGroupId?: number | null;\n /** Visual properties for rendering this group in the UI. Includes positioning and dimensions for the group container. */\n uiProperties?: ElementGroupUiProperties;\n}\n\n/** Visual positioning and styling properties for element groups. */\nexport interface ElementGroupUiProperties {\n /**\n * Horizontal position coordinate of the group container.\n * @min -1000000\n * @max 1000000\n */\n x?: number | null;\n /**\n * Vertical position coordinate of the group container.\n * @min -1000000\n * @max 1000000\n */\n y?: number | null;\n /**\n * Width of the group bounding box in coordinate system units.\n * @max 1000000\n */\n width?: number | null;\n /**\n * Height of the group bounding box in coordinate system units.\n * @max 1000000\n */\n height?: number | null;\n /**\n * Rotation angle of the group in degrees. Applied to all elements within the group.\n * @min -180\n * @max 180\n */\n rotationAngle?: number | null;\n}\n\n/** Request to regenerate cached summaries. */\nexport interface RegenerateSummariesRequest {\n /**\n * Seating plan ID.\n * @format GUID\n */\n planId?: string | null;\n}\n\n/** Response after regenerating summaries. */\nexport interface RegenerateSummariesResponse {\n /** Regenerated place-level occupancy summary. */\n seatingReservationsSummary?: SeatingReservationsSummary;\n /**\n * Regenerated category-level summaries.\n * @maxSize 50000\n */\n categories?: CategoryDetails[];\n}\n\n/** Aggregated occupancy data for all places in a seating plan. */\nexport interface SeatingReservationsSummary {\n /**\n * Occupancy details for each place.\n * @maxSize 50000\n */\n places?: PlaceReservationDetails[];\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\n/** Request to list all available places in a seating plan. */\nexport interface ListAvailablePlacesRequest {\n /**\n * External seating plan ID. For example, `wix.events.v1.event:abc-123-def`.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string;\n}\n\n/** Response containing all available places with their details. */\nexport interface ListAvailablePlacesResponse {\n /**\n * Available places across all categories in the seating plan.\n * @maxSize 50000\n */\n places?: AvailablePlace[];\n}\n\n/** An individual available place with all relevant details. */\nexport interface AvailablePlace {\n /**\n * Place ID in the format `{section_id}-{element_id}-{label}`. For example, `0-1-A5`.\n * @minLength 1\n * @maxLength 20\n */\n placeId?: string;\n /**\n * Human-readable label for this place, such as `A1`, `12`, or `VIP1`.\n * @minLength 1\n * @maxLength 4\n */\n label?: string;\n /**\n * Section name where this place is located. For example, `Orchestra` or `Balcony`.\n * @minLength 1\n * @maxLength 20\n */\n sectionLabel?: string | null;\n /**\n * Element label from the seating plan. For example, `Row A`, `Table 5`, or `General Admission`.\n * @minLength 1\n * @maxLength 50\n */\n elementLabel?: string | null;\n /** Numeric category ID this place is assigned to for pricing and organization. */\n categoryId?: number;\n /**\n * External category ID for cross-referencing with ticketing systems. Format: `{entity_fqdn}:{entity_id}`. For example, `wix.events.v1.ticket_definition:xyz-456`.\n * @minLength 1\n * @maxLength 100\n */\n externalCategoryId?: string | null;\n /** Type of seating element (AREA, ROW, MULTI_ROW, TABLE, ROUND_TABLE, SHAPE). */\n elementType?: TypeWithLiterals;\n /**\n * Available capacity at this place. For AREA type: remaining spots; for other types: 0 or 1.\n * @max 50000\n */\n availableCapacity?: number;\n /**\n * Total capacity of this place.\n * @max 50000\n */\n totalCapacity?: number;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountDetails {\n /**\n * ID of the account.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the site, if applicable.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateSeatingReservationApplicationErrors =\n | {\n code?: 'PLACE_NOT_FOUND';\n description?: string;\n data?: Places;\n }\n | {\n code?: 'PLACE_RESERVED';\n description?: string;\n data?: UnavailablePlaces;\n };\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface SeatingReservationCreatedEnvelope {\n entity: SeatingReservation;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_RESERVATIONS\n * @webhook\n * @eventType wix.seating.v1.seating_reservation_created\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onSeatingReservationCreated(\n handler: (event: SeatingReservationCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface SeatingReservationDeletedEnvelope {\n entity: SeatingReservation;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_RESERVATIONS\n * @webhook\n * @eventType wix.seating.v1.seating_reservation_deleted\n * @slug deleted\n * @documentationMaturity preview\n */\nexport declare function onSeatingReservationDeleted(\n handler: (event: SeatingReservationDeletedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a seating reservation for one or more places within a seating plan.\n * @public\n * @documentationMaturity preview\n * @permissionId SEATING_PLANS.MANAGE_RESERVATIONS\n * @applicableIdentity APP\n * @returns Created reservation.\n * @fqn com.wixpress.seating.SeatingReservationService.CreateSeatingReservation\n */\nexport async function createSeatingReservation(\n options?: CreateSeatingReservationOptions\n): Promise<\n NonNullablePaths<\n SeatingReservation,\n `reservedPlaces` | `reservedPlaces.${number}._id`,\n 4\n > & {\n __applicationErrorsType?: CreateSeatingReservationApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n reservation: options?.reservation,\n });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.createSeatingReservation(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.reservation!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { reservation: '$[0].reservation' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateSeatingReservationOptions {\n /** Reservation to create. */\n reservation?: SeatingReservation;\n}\n\n/**\n * Retrieves a seating reservation by ID.\n * @param _id - Reservation ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.READ_RESERVATIONS\n * @applicableIdentity APP\n * @returns Retrieved reservation.\n * @fqn com.wixpress.seating.SeatingReservationService.GetReservation\n */\nexport async function getReservation(\n _id: string\n): Promise<\n NonNullablePaths<\n SeatingReservation,\n `reservedPlaces` | `reservedPlaces.${number}._id`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.getReservation(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.reservation!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { id: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['_id']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves seating reservations that match specified criteria.\n * @public\n * @documentationMaturity preview\n * @permissionId SEATING_PLANS.READ_RESERVATIONS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingReservationService.QuerySeatingReservation\n */\nexport function querySeatingReservation(): ReservationsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n SeatingReservation,\n 'CURSOR',\n QuerySeatingReservationRequest,\n QuerySeatingReservationResponse\n >({\n func: async (payload: QuerySeatingReservationRequest) => {\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.querySeatingReservation(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QuerySeatingReservationRequest['query']) => {\n const args = [query, {}] as [QuerySeatingReservationRequest['query'], {}];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QuerySeatingReservationResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.reservations,\n pagingMetadata: transformedData?.metadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface ReservationsQueryResult extends QueryCursorResult {\n items: SeatingReservation[];\n query: ReservationsQueryBuilder;\n next: () => Promise<ReservationsQueryResult>;\n prev: () => Promise<ReservationsQueryResult>;\n}\n\nexport interface ReservationsQueryBuilder {\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => ReservationsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => ReservationsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<ReservationsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn com.wixpress.seating.SeatingReservationService.QuerySeatingReservation\n * @requiredField query\n * @returns Response containing matching seating reservations.\n */\nexport async function typedQuerySeatingReservation(\n query: SeatingReservationQuery\n): Promise<\n NonNullablePaths<QuerySeatingReservationResponse, `reservations`, 2>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ query: query });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.querySeatingReservation(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface SeatingReservationQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n SeatingReservation,\n SeatingReservationQuerySpec\n>;\nexport type SeatingReservationQuery = {\n /** \n Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. \n */\n cursorPaging?: {\n /** \n Maximum number of items to return in the results. \n @max: 100 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n\n Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 16000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object.\n\n Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters). \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object.\n\n Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting). \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 512 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n\n/**\n * Deletes a seating reservation and releases all reserved places.\n * @param _id - Reservation ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.MANAGE_RESERVATIONS\n * @applicableIdentity APP\n * @returns Response after deleting a seating reservation.\n * @fqn com.wixpress.seating.SeatingReservationService.DeleteSeatingReservation\n */\nexport async function deleteSeatingReservation(\n _id: string\n): Promise<\n NonNullablePaths<\n DeleteSeatingReservationResponse,\n `reservation.reservedPlaces` | `reservation.reservedPlaces.${number}._id`,\n 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.deleteSeatingReservation(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { id: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['_id']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves capacity and reservation summary by seating category.\n * @public\n * @documentationMaturity preview\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Response containing capacity summary by category.\n * @fqn com.wixpress.seating.SeatingReservationService.GetSeatingCategorySummary\n */\nexport async function getSeatingCategorySummary(\n options?: GetSeatingCategorySummaryOptions\n): Promise<\n NonNullablePaths<GetSeatingCategorySummaryResponse, `categories`, 2>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n externalId: options?.externalId,\n });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.getSeatingCategorySummary(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { externalId: '$[0].externalId' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetSeatingCategorySummaryOptions {\n /**\n * External seating plan ID.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string;\n}\n\n/**\n * Retrieves detailed place-level occupancy data for a seating plan.\n * @param externalId - External seating plan ID.\n * @public\n * @documentationMaturity preview\n * @requiredField externalId\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Response containing complete seating plan and occupancy data.\n * @fqn com.wixpress.seating.SeatingReservationService.GetSeatingReservationSummary\n */\nexport async function getSeatingReservationSummary(\n externalId: string\n): Promise<\n NonNullablePaths<\n GetSeatingReservationSummaryResponse,\n | `plan.sections`\n | `plan.sections.${number}._id`\n | `plan.sections.${number}.default`\n | `plan.categories`\n | `plan.categories.${number}._id`\n | `plan.categories.${number}.title`\n | `plan.uncategorizedPlaces`\n | `plan.elementGroups`\n | `plan.elementGroups.${number}._id`\n | `places`\n | `places.${number}.placeId`\n | `places.${number}.occupied`,\n 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n externalId: externalId,\n });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.getSeatingReservationSummary(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { externalId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['externalId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressSeatingSeatingReservationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _api_base_domain_: [\n {\n srcPath: '/seating-reservations',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'api._base_domain_': [\n {\n srcPath: '/seating-reservations',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/seating/v1/reservations',\n destPath: '/v1/reservations',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_seatings_seating-reservation';\n\n/** Creates a seating reservation for one or more places within a seating plan. */\nexport function createSeatingReservation(\n payload: object\n): RequestOptionsFactory<any> {\n function __createSeatingReservation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.CreateSeatingReservation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __createSeatingReservation;\n}\n\n/** Retrieves a seating reservation by ID. */\nexport function getReservation(payload: object): RequestOptionsFactory<any> {\n function __getReservation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.GetReservation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/{id}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getReservation;\n}\n\n/** Retrieves seating reservations that match specified criteria. */\nexport function querySeatingReservation(\n payload: object\n): RequestOptionsFactory<any> {\n function __querySeatingReservation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.QuerySeatingReservation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/query',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __querySeatingReservation;\n}\n\n/** Deletes a seating reservation and releases all reserved places. */\nexport function deleteSeatingReservation(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteSeatingReservation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.DeleteSeatingReservation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/{id}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteSeatingReservation;\n}\n\n/** Retrieves capacity and reservation summary by seating category. */\nexport function getSeatingCategorySummary(\n payload: object\n): RequestOptionsFactory<any> {\n function __getSeatingCategorySummary({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.GetSeatingCategorySummary',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/seating-category-summary',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getSeatingCategorySummary;\n}\n\n/** Retrieves detailed place-level occupancy data for a seating plan. */\nexport function getSeatingReservationSummary(\n payload: object\n): RequestOptionsFactory<any> {\n function __getSeatingReservationSummary({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.GetSeatingReservationSummary',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/seating-reservation-summary/{externalId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'plan.createdDate' }, { path: 'plan.updatedDate' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'plan.sections.elements.uiProperties.x' },\n { path: 'plan.sections.elements.uiProperties.y' },\n { path: 'plan.sections.elements.uiProperties.width' },\n { path: 'plan.sections.elements.uiProperties.height' },\n { path: 'plan.sections.elements.uiProperties.rotationAngle' },\n {\n path: 'plan.sections.elements.multiRowProperties.curveAngleTo',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.curveAngleFrom',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.rows.uiProperties.width',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo',\n },\n { path: 'plan.elementGroups.uiProperties.x' },\n { path: 'plan.elementGroups.uiProperties.y' },\n { path: 'plan.elementGroups.uiProperties.width' },\n { path: 'plan.elementGroups.uiProperties.height' },\n { path: 'plan.elementGroups.uiProperties.rotationAngle' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getSeatingReservationSummary;\n}\n","import {\n createSeatingReservation as publicCreateSeatingReservation,\n getReservation as publicGetReservation,\n querySeatingReservation as publicQuerySeatingReservation,\n typedQuerySeatingReservation as publicTypedQuerySeatingReservation,\n deleteSeatingReservation as publicDeleteSeatingReservation,\n getSeatingCategorySummary as publicGetSeatingCategorySummary,\n getSeatingReservationSummary as publicGetSeatingReservationSummary,\n} from './seating-v1-seating-reservation-seating-reservation.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n ReservationsQueryBuilder,\n SeatingReservationQuery,\n typedQuerySeatingReservation as universalTypedQuerySeatingReservation,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\nimport { onSeatingReservationCreated as publicOnSeatingReservationCreated } from './seating-v1-seating-reservation-seating-reservation.public.js';\nimport { onSeatingReservationDeleted as publicOnSeatingReservationDeleted } from './seating-v1-seating-reservation-seating-reservation.public.js';\n\nfunction customQuerySeatingReservation(httpClient: HttpClient) {\n const router = createQueryOverloadRouter({\n builderQueryFunction: () => publicQuerySeatingReservation(httpClient)(),\n typedQueryFunction: (query: SeatingReservationQuery) =>\n publicTypedQuerySeatingReservation(httpClient)(query),\n hasOptionsParameter: false,\n });\n\n function overloadedQuery(): ReservationsQueryBuilder;\n function overloadedQuery(\n query: SeatingReservationQuery\n ): ReturnType<typeof universalTypedQuerySeatingReservation>;\n function overloadedQuery(query?: SeatingReservationQuery): any {\n return router(...arguments);\n }\n\n return overloadedQuery;\n}\n\nexport const createSeatingReservation: MaybeContext<\n BuildRESTFunction<typeof publicCreateSeatingReservation> &\n typeof publicCreateSeatingReservation\n> = /*#__PURE__*/ createRESTModule(publicCreateSeatingReservation);\nexport const getReservation: MaybeContext<\n BuildRESTFunction<typeof publicGetReservation> & typeof publicGetReservation\n> = /*#__PURE__*/ createRESTModule(publicGetReservation);\nexport const deleteSeatingReservation: MaybeContext<\n BuildRESTFunction<typeof publicDeleteSeatingReservation> &\n typeof publicDeleteSeatingReservation\n> = /*#__PURE__*/ createRESTModule(publicDeleteSeatingReservation);\nexport const getSeatingCategorySummary: MaybeContext<\n BuildRESTFunction<typeof publicGetSeatingCategorySummary> &\n typeof publicGetSeatingCategorySummary\n> = /*#__PURE__*/ createRESTModule(publicGetSeatingCategorySummary);\nexport const getSeatingReservationSummary: MaybeContext<\n BuildRESTFunction<typeof publicGetSeatingReservationSummary> &\n typeof publicGetSeatingReservationSummary\n> = /*#__PURE__*/ createRESTModule(publicGetSeatingReservationSummary);\nexport const querySeatingReservation: MaybeContext<\n BuildRESTFunction<typeof customQuerySeatingReservation> &\n typeof customQuerySeatingReservation\n> = /*#__PURE__*/ createRESTModule(customQuerySeatingReservation);\n/** */\nexport const onSeatingReservationCreated: BuildEventDefinition<\n typeof publicOnSeatingReservationCreated\n> &\n typeof publicOnSeatingReservationCreated = createEventModule(\n publicOnSeatingReservationCreated\n);\n/** */\nexport const onSeatingReservationDeleted: BuildEventDefinition<\n typeof publicOnSeatingReservationDeleted\n> &\n typeof publicOnSeatingReservationDeleted = createEventModule(\n publicOnSeatingReservationDeleted\n);\n\nexport {\n SortOrder,\n Type,\n PlaceTypeEnumType,\n ShapeTypeEnumType,\n Position,\n Icon,\n Numbering,\n WebhookIdentityType,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\nexport {\n SeatingReservation,\n PlaceReservation,\n SeatingPlanCategoriesSummaryUpdated,\n CategoryDetails,\n InvalidateCache,\n InvalidateCacheGetByOneOf,\n App,\n Page,\n URI,\n File,\n CustomTag,\n CreateSeatingReservationRequest,\n CreateSeatingReservationResponse,\n Places,\n UnavailablePlaces,\n ReservationErrorDetails,\n GetReservationRequest,\n GetReservationResponse,\n QuerySeatingReservationRequest,\n QueryV2,\n QueryV2PagingMethodOneOf,\n Sorting,\n Paging,\n CursorPaging,\n QuerySeatingReservationResponse,\n PagingMetadataV2,\n Cursors,\n DeleteSeatingReservationRequest,\n DeleteSeatingReservationResponse,\n DeleteSeatingPlaceReservationRequest,\n Empty,\n CancelSeatingPlaceReservationsRequest,\n PlaceReservationDetails,\n CancelSeatingPlaceReservationsResponse,\n UpdateSeatingReservationRequest,\n UpdateSeatingReservationResponse,\n GetReservedPlacesRequest,\n GetReservedPlacesResponse,\n ListReservedPlacesRequest,\n ListReservedPlacesResponse,\n SeatReservation,\n ReservedPlace,\n PagingMetadata,\n GetSeatingCategorySummaryRequest,\n GetSeatingCategorySummaryResponse,\n GetSeatingReservationSummaryRequest,\n GetSeatingReservationSummaryResponse,\n SeatingPlan,\n Section,\n Element,\n Sequencing,\n Place,\n ReservationOptions,\n ElementUiProperties,\n Image,\n MultiRowProperties,\n RowElement,\n RowElementUiProperties,\n VerticalSequencing,\n Category,\n ExtendedFields,\n SeatingPlanUiProperties,\n ElementGroup,\n ElementGroupUiProperties,\n RegenerateSummariesRequest,\n RegenerateSummariesResponse,\n SeatingReservationsSummary,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n ListAvailablePlacesRequest,\n ListAvailablePlacesResponse,\n AvailablePlace,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountDetails,\n BaseEventMetadata,\n EventMetadata,\n SeatingReservationCreatedEnvelope,\n SeatingReservationDeletedEnvelope,\n CreateSeatingReservationOptions,\n ReservationsQueryResult,\n ReservationsQueryBuilder,\n SeatingReservationQuerySpec,\n GetSeatingCategorySummaryOptions,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\nexport {\n SortOrderWithLiterals,\n TypeWithLiterals,\n PlaceTypeEnumTypeWithLiterals,\n ShapeTypeEnumTypeWithLiterals,\n PositionWithLiterals,\n IconWithLiterals,\n NumberingWithLiterals,\n WebhookIdentityTypeWithLiterals,\n CreateSeatingReservationApplicationErrors,\n CommonQueryWithEntityContext,\n SeatingReservationQuery,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAAAA;AAAA,EAAA,gCAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,oCAAAC;AAAA,EAAA,mCAAAC;AAAA,EAAA,mCAAAC;AAAA,EAAA,+BAAAC;AAAA;AAAA;;;ACAA,IAAAC,iCAAwD;AACxD,IAAAC,oBAAqD;AACrD,IAAAC,0BAA+B;AAC/B,uBAA8D;;;ACH9D,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,mBAA6C;AAC7C,uBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,sDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,w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,MAAMC,yBAA8B,UAAU,EAAE;AAAA,IACtE,oBAAoB,CAAC,UACnBC,8BAAmC,UAAU,EAAE,KAAK;AAAA,IACtD,qBAAqB;AAAA,EACvB,CAAC;AAMD,WAAS,gBAAgB,OAAsC;AAC7D,WAAO,OAAO,GAAG,SAAS;AAAA,EAC5B;AAEA,SAAO;AACT;AAEO,IAAMC,4BAGK,2DAAiBA,yBAA8B;AAC1D,IAAMC,kBAEK,2DAAiBA,eAAoB;AAChD,IAAMC,4BAGK,2DAAiBA,yBAA8B;AAC1D,IAAMC,6BAGK,2DAAiBA,0BAA+B;AAC3D,IAAMC,gCAGK,2DAAiBA,6BAAkC;AAC9D,IAAMN,2BAGK,2DAAiB,6BAA6B;AAEzD,IAAMO,mCAGgC;AAAA,EAC3C;AACF;AAEO,IAAMC,mCAGgC;AAAA,EAC3C;AACF;","names":["createSeatingReservation","deleteSeatingReservation","getReservation","getSeatingCategorySummary","getSeatingReservationSummary","onSeatingReservationCreated","onSeatingReservationDeleted","querySeatingReservation","import_rename_all_nested_keys","import_timestamp","import_transform_paths","import_rest_modules","payload","import_transform_paths","SortOrder","Type","PlaceTypeEnumType","ShapeTypeEnumType","Position","Icon","Numbering","WebhookIdentityType","createSeatingReservation","sdkTransformError","getReservation","querySeatingReservation","deleteSeatingReservation","getSeatingCategorySummary","getSeatingReservationSummary","createSeatingReservation","getReservation","querySeatingReservation","typedQuerySeatingReservation","deleteSeatingReservation","getSeatingCategorySummary","getSeatingReservationSummary","import_rest_modules","querySeatingReservation","typedQuerySeatingReservation","createSeatingReservation","getReservation","deleteSeatingReservation","getSeatingCategorySummary","getSeatingReservationSummary","onSeatingReservationCreated","onSeatingReservationDeleted"]}
1
+ {"version":3,"sources":["../../index.ts","../../src/seating-v1-seating-reservation-seating-reservation.public.ts","../../src/seating-v1-seating-reservation-seating-reservation.universal.ts","../../src/seating-v1-seating-reservation-seating-reservation.http.ts","../../src/seating-v1-seating-reservation-seating-reservation.context.ts"],"sourcesContent":["export * from './src/seating-v1-seating-reservation-seating-reservation.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n CreateSeatingReservationApplicationErrors,\n CreateSeatingReservationOptions,\n DeleteSeatingReservationResponse,\n GetSeatingCategorySummaryOptions,\n GetSeatingCategorySummaryResponse,\n GetSeatingReservationSummaryResponse,\n QuerySeatingReservationResponse,\n ReservationsQueryBuilder,\n SeatingReservation,\n SeatingReservationCreatedEnvelope,\n SeatingReservationDeletedEnvelope,\n SeatingReservationQuery,\n createSeatingReservation as universalCreateSeatingReservation,\n deleteSeatingReservation as universalDeleteSeatingReservation,\n getReservation as universalGetReservation,\n getSeatingCategorySummary as universalGetSeatingCategorySummary,\n getSeatingReservationSummary as universalGetSeatingReservationSummary,\n querySeatingReservation as universalQuerySeatingReservation,\n typedQuerySeatingReservation as universalTypedQuerySeatingReservation,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/seatings' };\n\nexport function createSeatingReservation(\n httpClient: HttpClient\n): CreateSeatingReservationSignature {\n return (options?: CreateSeatingReservationOptions) =>\n universalCreateSeatingReservation(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateSeatingReservationSignature {\n /**\n * Creates a seating reservation for one or more places within a seating plan.\n * @returns Created reservation.\n */\n (options?: CreateSeatingReservationOptions): Promise<\n NonNullablePaths<\n SeatingReservation,\n `reservedPlaces` | `reservedPlaces.${number}._id`,\n 4\n > & {\n __applicationErrorsType?: CreateSeatingReservationApplicationErrors;\n }\n >;\n}\n\nexport function getReservation(\n httpClient: HttpClient\n): GetReservationSignature {\n return (_id: string) =>\n universalGetReservation(\n _id,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetReservationSignature {\n /**\n * Retrieves a seating reservation by ID.\n * @param - Reservation ID.\n * @returns Retrieved reservation.\n */\n (_id: string): Promise<\n NonNullablePaths<\n SeatingReservation,\n `reservedPlaces` | `reservedPlaces.${number}._id`,\n 4\n >\n >;\n}\n\nexport function querySeatingReservation(\n httpClient: HttpClient\n): QuerySeatingReservationSignature {\n return () =>\n universalQuerySeatingReservation(\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QuerySeatingReservationSignature {\n /**\n * Retrieves seating reservations that match specified criteria.\n */\n (): ReservationsQueryBuilder;\n}\n\nexport function typedQuerySeatingReservation(\n httpClient: HttpClient\n): TypedQuerySeatingReservationSignature {\n return (query: SeatingReservationQuery) =>\n universalTypedQuerySeatingReservation(\n query,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TypedQuerySeatingReservationSignature {\n /** @returns Response containing matching seating reservations. */\n (query: SeatingReservationQuery): Promise<\n NonNullablePaths<QuerySeatingReservationResponse, `reservations`, 2>\n >;\n}\n\nexport function deleteSeatingReservation(\n httpClient: HttpClient\n): DeleteSeatingReservationSignature {\n return (_id: string) =>\n universalDeleteSeatingReservation(\n _id,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteSeatingReservationSignature {\n /**\n * Deletes a seating reservation and releases all reserved places.\n * @param - Reservation ID.\n * @returns Response after deleting a seating reservation.\n */\n (_id: string): Promise<\n NonNullablePaths<\n DeleteSeatingReservationResponse,\n `reservation.reservedPlaces` | `reservation.reservedPlaces.${number}._id`,\n 5\n >\n >;\n}\n\nexport function getSeatingCategorySummary(\n httpClient: HttpClient\n): GetSeatingCategorySummarySignature {\n return (options?: GetSeatingCategorySummaryOptions) =>\n universalGetSeatingCategorySummary(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetSeatingCategorySummarySignature {\n /**\n * Retrieves capacity and reservation summary by seating category.\n * @returns Response containing capacity summary by category.\n */\n (options?: GetSeatingCategorySummaryOptions): Promise<\n NonNullablePaths<GetSeatingCategorySummaryResponse, `categories`, 2>\n >;\n}\n\nexport function getSeatingReservationSummary(\n httpClient: HttpClient\n): GetSeatingReservationSummarySignature {\n return (externalId: string) =>\n universalGetSeatingReservationSummary(\n externalId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetSeatingReservationSummarySignature {\n /**\n * Retrieves detailed place-level occupancy data for a seating plan.\n * @param - External seating plan ID.\n * @returns Response containing complete seating plan and occupancy data.\n */\n (externalId: string): Promise<\n NonNullablePaths<\n GetSeatingReservationSummaryResponse,\n | `plan.sections`\n | `plan.sections.${number}._id`\n | `plan.sections.${number}.default`\n | `plan.categories`\n | `plan.categories.${number}._id`\n | `plan.categories.${number}.title`\n | `plan.uncategorizedPlaces`\n | `plan.elementGroups`\n | `plan.elementGroups.${number}._id`\n | `places`\n | `places.${number}.placeId`\n | `places.${number}.occupied`,\n 5\n >\n >;\n}\n\nexport const onSeatingReservationCreated = EventDefinition(\n 'wix.seating.v1.seating_reservation_created',\n true,\n (event: SeatingReservationCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'metadata.eventTime' }],\n },\n ])\n )\n)<SeatingReservationCreatedEnvelope>();\nexport const onSeatingReservationDeleted = EventDefinition(\n 'wix.seating.v1.seating_reservation_deleted',\n true,\n (event: SeatingReservationDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'metadata.eventTime' }],\n },\n ])\n )\n)<SeatingReservationDeletedEnvelope>();\n\nexport {\n AccountInfo,\n ActionEvent,\n App,\n AvailablePlace,\n BaseEventMetadata,\n CancelSeatingPlaceReservationsRequest,\n CancelSeatingPlaceReservationsResponse,\n Category,\n CategoryDetails,\n CreateSeatingReservationOptions,\n CreateSeatingReservationRequest,\n CreateSeatingReservationResponse,\n CursorPaging,\n Cursors,\n CustomTag,\n DeleteSeatingPlaceReservationRequest,\n DeleteSeatingReservationRequest,\n DeleteSeatingReservationResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n Element,\n ElementGroup,\n ElementGroupUiProperties,\n ElementUiProperties,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EventMetadata,\n ExtendedFields,\n File,\n GetReservationRequest,\n GetReservationResponse,\n GetReservedPlacesRequest,\n GetReservedPlacesResponse,\n GetSeatingCategorySummaryOptions,\n GetSeatingCategorySummaryRequest,\n GetSeatingCategorySummaryResponse,\n GetSeatingReservationSummaryRequest,\n GetSeatingReservationSummaryResponse,\n Icon,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n InvalidateCache,\n InvalidateCacheGetByOneOf,\n ListAvailablePlacesRequest,\n ListAvailablePlacesResponse,\n ListReservedPlacesRequest,\n ListReservedPlacesResponse,\n MessageEnvelope,\n MultiRowProperties,\n Numbering,\n Page,\n Paging,\n PagingMetadata,\n PagingMetadataV2,\n Place,\n PlaceReservation,\n PlaceReservationDetails,\n PlaceTypeEnumType,\n Places,\n Position,\n QuerySeatingReservationRequest,\n QuerySeatingReservationResponse,\n QueryV2,\n QueryV2PagingMethodOneOf,\n RegenerateSummariesRequest,\n RegenerateSummariesResponse,\n ReservationErrorDetails,\n ReservationOptions,\n ReservationsQueryBuilder,\n ReservationsQueryResult,\n ReservedPlace,\n RestoreInfo,\n RowElement,\n RowElementUiProperties,\n SeatReservation,\n SeatingPlan,\n SeatingPlanCategoriesSummaryUpdated,\n SeatingPlanUiProperties,\n SeatingReservation,\n SeatingReservationCreatedEnvelope,\n SeatingReservationDeletedEnvelope,\n SeatingReservationQuerySpec,\n SeatingReservationsSummary,\n Section,\n Sequencing,\n ShapeTypeEnumType,\n SortOrder,\n Sorting,\n Type,\n URI,\n UnavailablePlaces,\n UpdateSeatingReservationRequest,\n UpdateSeatingReservationResponse,\n VerticalSequencing,\n WebhookIdentityType,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixSeatingV1SeatingReservation from './seating-v1-seating-reservation-seating-reservation.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\n/**\n * A seating reservation represents a booking for one or more places within a seating plan.\n *\n * Seating reservations track specific seat assignments or area capacity allocations for events. Each reservation can include multiple places across different sections of a venue, with individual capacity requirements for each place. The system maintains referential integrity through both internal Wix identifiers and external system references, enabling seamless integration with third-party ticketing platforms.\n */\nexport interface SeatingReservation {\n /**\n * Reservation ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Seating plan ID.\n * @format GUID\n * @readonly\n */\n seatingPlanId?: string | null;\n /**\n * External seating plan ID used for integration with third-party venue systems.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalSeatingPlanId?: string | null;\n /**\n * Places reserved in this reservation. Each place can have its own capacity requirements.\n * @minSize 1\n * @maxSize 100\n */\n reservedPlaces?: PlaceReservation[];\n /**\n * External reference ID for cross-system integration. Format: `{fqdn}:{entity guid}`. For example, `wix.events.v1.ticket:12345678-1234-1234-1234-123456789012`.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string | null;\n /**\n * Revision number, which increments by 1 each time the reservation is updated. To prevent conflicting changes, the current revision must be passed when updating the reservation. Ignored when creating a reservation.\n * @readonly\n */\n revision?: string | null;\n}\n\n/** Individual place reservation within a seating arrangement. */\nexport interface PlaceReservation {\n /**\n * Place ID. For example, `A1-1-5` for section A, row 1, seat 5.\n * @minLength 5\n * @maxLength 11\n */\n _id?: string;\n /**\n * Number of people to be seated at this place. Used for area seating where multiple guests can occupy a single reservable location.\n *\n * Default: `1`\n * @min 1\n * @max 50\n */\n capacity?: number | null;\n /**\n * Section name within the venue. For example, `Orchestra` or `Balcony`.\n * @readonly\n */\n sectionLabel?: string | null;\n /**\n * Area name within a section. Used for general admission or standing areas.\n * @readonly\n */\n areaLabel?: string | null;\n /**\n * Table identifier for table-based seating arrangements.\n * @readonly\n */\n tableLabel?: string | null;\n /**\n * Row identifier within a section or area.\n * @readonly\n */\n rowLabel?: string | null;\n /**\n * Individual seat identifier within a row or at a table.\n * @readonly\n */\n seatLabel?: string | null;\n}\n\n/** Triggers when seating plan category summaries are updated. */\nexport interface SeatingPlanCategoriesSummaryUpdated {\n /**\n * Seating plan ID.\n * @format GUID\n */\n seatingPlanId?: string;\n /** External seating plan ID. */\n externalSeatingPlanId?: string | null;\n /**\n * Updated category capacity and reservation counts.\n * @maxSize 100\n */\n categories?: CategoryDetails[];\n /**\n * Summary revision number for cache invalidation.\n * @readonly\n */\n revision?: string | null;\n}\n\n/** Category capacity and reservation summary. */\nexport interface CategoryDetails {\n /**\n * Seating Plan ID.\n * @format GUID\n * @readonly\n */\n seatingPlanId?: string | null;\n /**\n * External Seating Plan ID used for integration with third-party systems.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalSeatingPlanId?: string | null;\n /**\n * External Category ID used for mapping to venue-specific category names. For example, `VIP` or `ORCHESTRA`.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalCategoryId?: string | null;\n /**\n * Total seating capacity available in category.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * Number of seats currently reserved in category.\n * @readonly\n */\n reserved?: number | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\n/** Request to create a seating reservation. */\nexport interface CreateSeatingReservationRequest {\n /** Reservation to create. */\n reservation?: SeatingReservation;\n}\n\n/** Response after creating a seating reservation. */\nexport interface CreateSeatingReservationResponse {\n /** Created reservation. */\n reservation?: SeatingReservation;\n}\n\n/** Details about specific places, used for error reporting. */\nexport interface Places {\n /**\n * List of place identifiers. For example, `A1-1-5` or `VIP-12`.\n * @minSize 1\n * @maxSize 100\n */\n places?: string[];\n}\n\n/** Details about places that are unavailable, including capacity conflicts. */\nexport interface UnavailablePlaces {\n /**\n * List of place identifiers that are unavailable. For example, `A1-1-5` or `VIP-12`.\n * @minSize 1\n * @maxSize 100\n */\n unavailablePlaces?: string[];\n /**\n * Detailed capacity information for each unavailable place.\n * @minSize 1\n * @maxSize 100\n */\n reservationErrorDetails?: ReservationErrorDetails[];\n}\n\n/** Capacity conflict details for a given place. */\nexport interface ReservationErrorDetails {\n /** ID of the place with a capacity conflict. */\n _id?: string;\n /** Currently available capacity at this place. */\n available?: number;\n /** Requested capacity that exceeds the available capacity. */\n requested?: number;\n}\n\n/** Request to retrieve a specific seating reservation. */\nexport interface GetReservationRequest {\n /**\n * Reservation ID.\n * @format GUID\n */\n _id: string | null;\n}\n\n/** Response containing the requested seating reservation. */\nexport interface GetReservationResponse {\n /** Retrieved reservation. */\n reservation?: SeatingReservation;\n}\n\n/** Request to query seating reservations. */\nexport interface QuerySeatingReservationRequest {\n /** Query object with filter criteria and pagination settings. */\n query: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n */\n sort?: Sorting[];\n /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n fields?: string[];\n /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\n/** Response containing matching seating reservations. */\nexport interface QuerySeatingReservationResponse {\n /** Found reservations matching the query criteria. */\n reservations?: SeatingReservation[];\n /** Paging metadata for result navigation. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\n/** Request to delete a seating reservation. */\nexport interface DeleteSeatingReservationRequest {\n /**\n * Reservation ID.\n * @format GUID\n */\n _id: string | null;\n}\n\n/** Response after deleting a seating reservation. */\nexport interface DeleteSeatingReservationResponse {\n /** Deleted reservation. */\n reservation?: SeatingReservation;\n}\n\n/** Request to delete a specific place reservation. */\nexport interface DeleteSeatingPlaceReservationRequest {\n /** Place reservation ID. */\n _id?: string | null;\n /**\n * Seating reservation ID that contains the place reservation.\n * @format GUID\n */\n reservationId?: string | null;\n}\n\nexport interface Empty {}\n\n/** Request to cancel specific place reservations. */\nexport interface CancelSeatingPlaceReservationsRequest {\n /**\n * Seating reservation ID containing the places to cancel.\n * @format GUID\n */\n reservationId?: string | null;\n /**\n * Place reservations to cancel with their reduced capacity.\n * @minSize 1\n * @maxSize 100\n */\n placeReservations?: PlaceReservationDetails[];\n}\n\n/** Occupancy details for a specific place in a seating plan. */\nexport interface PlaceReservationDetails {\n /** Place ID. */\n placeId?: string;\n /** Number of occupied seats or capacity units at this place. */\n occupied?: number;\n}\n\n/** Response after canceling place reservations. */\nexport interface CancelSeatingPlaceReservationsResponse {\n /** Reservation with canceled place reservations. */\n reservation?: SeatingReservation;\n}\n\n/** Request to update a seating reservation. */\nexport interface UpdateSeatingReservationRequest {\n /** Reservation to update with modified capacity values. */\n reservation?: SeatingReservation;\n}\n\n/** Response after updating a seating reservation. */\nexport interface UpdateSeatingReservationResponse {\n /** Updated reservation. */\n reservation?: SeatingReservation;\n}\n\n/** Request to retrieve all reserved places for a seating plan. */\nexport interface GetReservedPlacesRequest {\n /**\n * Seating plan ID.\n * @format GUID\n */\n _id?: string | null;\n}\n\n/** Response containing all reserved places for a seating plan. */\nexport interface GetReservedPlacesResponse {\n /** Reserved places in the seating plan. */\n placeReservations?: PlaceReservation[];\n}\n\n/** Request to list reserved places with optional filtering. */\nexport interface ListReservedPlacesRequest {\n /**\n * Seating plan ID.\n * @format GUID\n */\n planId?: string | null;\n /**\n * Optional filter by reservation ID.\n * @format GUID\n */\n reservationId?: string | null;\n /**\n * Optional filter by specific seat IDs.\n * @maxSize 50\n * @maxLength 20\n */\n seatId?: string[];\n /** Paging configuration. */\n paging?: Paging;\n}\n\n/** Response containing filtered reserved places. */\nexport interface ListReservedPlacesResponse {\n /** Reserved places matching the filter criteria. */\n reservedPlaces?: ReservedPlace[];\n /** Paging metadata for result navigation. */\n pagingMetadata?: PagingMetadata;\n}\n\n/** Internal representation of a place reservation. */\nexport interface SeatReservation {\n /**\n * Place reservation ID.\n * @maxLength 72\n */\n seatReservationId?: string | null;\n /**\n * Place ID.\n * @maxLength 20\n */\n seatId?: string | null;\n /**\n * Seating plan ID.\n * @format GUID\n */\n planId?: string | null;\n /**\n * Seating reservation ID.\n * @format GUID\n */\n reservationId?: string | null;\n /**\n * Number of occupied spots at this place.\n * @max 50000\n */\n spots?: number | null;\n /** Whether this is an area-based reservation (true) or individual seat (false). */\n area?: boolean | null;\n}\n\n/** Individual reserved place with full context. */\nexport interface ReservedPlace {\n /** Place reservation details. */\n seatReservation?: SeatReservation;\n /** Parent reservation (active). */\n reservation?: SeatingReservation;\n /** Parent reservation (deleted, for audit trail). */\n reservationFromTrashBin?: SeatingReservation;\n}\n\nexport interface PagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n}\n\n/** Request to retrieve category-level capacity summary. */\nexport interface GetSeatingCategorySummaryRequest {\n /**\n * External seating plan ID.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string;\n}\n\n/** Response containing capacity summary by category. */\nexport interface GetSeatingCategorySummaryResponse {\n /**\n * Capacity and reservation counts by category.\n * @maxSize 50000\n */\n categories?: CategoryDetails[];\n}\n\n/** Request to retrieve detailed place-level occupancy data. */\nexport interface GetSeatingReservationSummaryRequest {\n /**\n * External seating plan ID.\n * @minLength 1\n * @maxLength 100\n */\n externalId: string;\n}\n\n/** Response containing complete seating plan and occupancy data. */\nexport interface GetSeatingReservationSummaryResponse {\n /** Complete seating plan structure. */\n plan?: SeatingPlan;\n /**\n * Occupancy details for each place in the plan.\n * @maxSize 50000\n */\n places?: PlaceReservationDetails[];\n}\n\n/** A seating plan represents the layout and organization of seats within a venue. It defines the physical arrangement of seating areas, pricing categories, and individual places where attendees can be seated or positioned during an event. */\nexport interface SeatingPlan {\n /**\n * Seating plan ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Client-defined external ID for cross-referencing with external systems. Format: `{fqdn}:{entity_guid}`. For example, `wix.events.v1.event:abc-123-def`.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string | null;\n /**\n * Human-friendly seating plan title. For example, `Madison Square Garden - Main Floor`.\n * @minLength 1\n * @maxLength 120\n */\n title?: string | null;\n /**\n * High-level divisions of the venue, such as \"Orchestra\", \"Balcony\", or \"VIP Section\". A default section with `id = 0` is required and serves as the primary seating area.\n * @maxSize 100\n */\n sections?: Section[];\n /**\n * Pricing tiers or groupings for organizing places, such as \"VIP\", \"General Admission\", or \"Student Discount\". Elements and places can be assigned to categories for pricing and availability management.\n * @maxSize 100\n */\n categories?: Category[];\n /**\n * Date and time the seating plan was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the seating plan was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Total number of seats across all sections and elements in the seating plan. Automatically calculated by summing element capacities.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * Total number of categories defined in the seating plan. Automatically calculated.\n * @readonly\n */\n totalCategories?: number | null;\n /**\n * Places that are not assigned to any category. These places require manual category assignment for pricing and organization.\n * @maxSize 50000\n * @readonly\n */\n uncategorizedPlaces?: Place[];\n /**\n * Version number of the seating plan, incremented by 1 each time the plan is updated. Used for version management and tracking changes.\n * @readonly\n */\n version?: string | null;\n /** Additional custom fields for extending the seating plan with app-specific data. Learn more about @extended fields. */\n extendedFields?: ExtendedFields;\n /** Visual settings for the seating plan, such as background color and opacity. Used by seating chart interfaces for rendering. */\n uiProperties?: SeatingPlanUiProperties;\n /**\n * Hierarchical groupings of elements for UI organization and bulk operations. Groups can contain multiple elements or nested sub-groups for easier management.\n * @maxSize 1000\n */\n elementGroups?: ElementGroup[];\n /** Optimistic concurrency control; preserved from request, defaults to current plan's revision when absent. */\n revision?: string | null;\n}\n\n/** A section represents a high-level division within a seating plan, such as \"Orchestra\", \"Balcony\", or \"VIP Area\". Sections contain elements that define the actual seating arrangements. */\nexport interface Section {\n /** Section ID. Must be unique within the seating plan. Section with `id = 0` is required as the default section. */\n _id?: number;\n /**\n * Human-readable section title. For example, `Orchestra` or `Balcony`.\n * @minLength 1\n * @maxLength 20\n */\n title?: string | null;\n /**\n * Client configuration object for storing additional section metadata. Read-only field maintained for backward compatibility.\n * @readonly\n */\n config?: Record<string, any> | null;\n /**\n * Seating elements within this section, such as rows, tables, or general admission areas. Each element generates individual places based on its type and capacity.\n * @maxSize 1000\n */\n elements?: Element[];\n /**\n * Total capacity of all elements within this section. Automatically calculated by summing element capacities.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * Whether this is the default section. Always `true` for section with `id = 0`.\n * @readonly\n */\n default?: boolean;\n}\n\n/** An element represents a specific seating configuration within a section, such as a row of seats, a table, or a general admission area. Elements generate individual places based on their type and capacity. */\nexport interface Element {\n /**\n * Element ID. Must be unique within the seating plan.\n * @min 1\n */\n _id?: number;\n /**\n * User-friendly title or label for the element. For example, `Row A` or `VIP Table 1`.\n * @minLength 1\n * @maxLength 50\n */\n title?: string | null;\n /** Type of seating element, which determines capacity limits and place generation behavior. See ElementTypeEnum for available types. */\n type?: TypeWithLiterals;\n /**\n * Number of seats or spots in this element. Not applicable for SHAPE type elements. Maximum 50,000 per element.\n * @min 1\n * @max 50000\n */\n capacity?: number | null;\n /** ID of the category this element is assigned to for pricing and organization. References a category defined in the seating plan. */\n categoryId?: number | null;\n /** Configuration for generating place labels and numbering within this element. Defines how seats are labeled (e.g., 1, 2, 3 or A, B, C). */\n sequencing?: Sequencing;\n /**\n * Custom place configurations that override the default generated places for specific positions. Used for accessibility seating, obstructed views, or custom labeling.\n * @maxSize 2000\n */\n overrides?: Place[];\n /**\n * Final sequence of places generated for this element, including any overrides applied. Read-only field populated by the system.\n * @maxSize 200\n * @readonly\n */\n places?: Place[];\n /** Constraints on how this element can be reserved or booked. For example, requiring the entire element to be reserved as a unit. */\n reservationOptions?: ReservationOptions;\n /** Visual positioning and styling properties for rendering this element in a seating chart. Includes coordinates, dimensions, and styling options. */\n uiProperties?: ElementUiProperties;\n /** ID of the element group this element belongs to for hierarchical organization. References an ElementGroup defined in the seating plan. */\n elementGroupId?: number | null;\n /** Additional properties for MULTI_ROW type elements, defining individual rows and their configurations. Only applicable when type is MULTI_ROW. */\n multiRowProperties?: MultiRowProperties;\n}\n\nexport enum Type {\n /** General admission area with a single place containing the full capacity. */\n AREA = 'AREA',\n /** Single row of individual seats with sequential labeling. */\n ROW = 'ROW',\n /** Multiple rows treated as one element, each with individual capacity and sequencing. */\n MULTI_ROW = 'MULTI_ROW',\n /** Rectangular table with individual seats around the perimeter. */\n TABLE = 'TABLE',\n /** Circular table with individual seats around the perimeter. */\n ROUND_TABLE = 'ROUND_TABLE',\n /** Visual element with no seating capacity, used for decorative or informational purposes. */\n SHAPE = 'SHAPE',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'AREA'\n | 'ROW'\n | 'MULTI_ROW'\n | 'TABLE'\n | 'ROUND_TABLE'\n | 'SHAPE';\n\n/** Configuration for generating sequential labels for places within an element. */\nexport interface Sequencing {\n /**\n * Starting value for the sequence. For example, `1` for numeric sequences or `A` for alphabetical sequences.\n * @minLength 1\n * @maxLength 4\n */\n startAt?: string;\n /**\n * Complete sequence of labels to be used for places. Must match the element's capacity. When provided, overrides automatic label generation.\n * @maxSize 2500\n */\n labels?: string[];\n /** Whether to apply labels in reverse order (right-to-left instead of left-to-right). Useful for venue-specific numbering conventions. */\n reverseOrder?: boolean | null;\n}\n\n/** An individual seat or spot within an element where an attendee can be positioned. */\nexport interface Place {\n /** Zero-based position of this place within the element's sequence. Used to identify the place's position for overrides. */\n index?: number;\n /**\n * Unique place ID in the format `{section_id}-{element_id}-{label}`. For example, `0-1-A5` for section 0, element 1, seat A5.\n * @readonly\n */\n _id?: string | null;\n /**\n * Human-readable label for this place, such as `A1`, `12`, or `VIP1`. Generated based on sequencing configuration or custom overrides.\n * @minLength 1\n * @maxLength 4\n */\n label?: string;\n /**\n * Maximum number of people that can occupy this place. Typically 1 for individual seats, higher for AREA type places.\n * @readonly\n */\n capacity?: number | null;\n /**\n * Type of the parent element that contains this place. Inherited from the element's type.\n * @readonly\n */\n elementType?: TypeWithLiterals;\n /**\n * ID of the category this place is assigned to. Inherited from element or row category assignment.\n * @readonly\n */\n categoryId?: number | null;\n /** Special characteristics or accessibility features of this place (standard, wheelchair, accessible, companion, obstructed, discount). */\n type?: PlaceTypeEnumTypeWithLiterals;\n}\n\nexport enum PlaceTypeEnumType {\n /** Unknown place type. */\n UNKNOWN_PROPERTY = 'UNKNOWN_PROPERTY',\n /** Standard seating with no special accommodations. */\n STANDARD = 'STANDARD',\n /** Wheelchair accessible seating space. */\n WHEELCHAIR = 'WHEELCHAIR',\n /** Accessible seating for mobility-impaired guests. */\n ACCESSIBLE = 'ACCESSIBLE',\n /** Companion seat adjacent to accessible seating. */\n COMPANION = 'COMPANION',\n /** Seat with limited or obstructed view. */\n OBSTRUCTED = 'OBSTRUCTED',\n /** Discounted pricing seat. */\n DISCOUNT = 'DISCOUNT',\n}\n\n/** @enumType */\nexport type PlaceTypeEnumTypeWithLiterals =\n | PlaceTypeEnumType\n | 'UNKNOWN_PROPERTY'\n | 'STANDARD'\n | 'WHEELCHAIR'\n | 'ACCESSIBLE'\n | 'COMPANION'\n | 'OBSTRUCTED'\n | 'DISCOUNT';\n\n/** Configuration options that control how an element can be reserved or booked. */\nexport interface ReservationOptions {\n /** Whether the entire element must be reserved as a single unit. When `true`, individual seats cannot be booked separately. Cannot be used with AREA type elements. */\n reserveWholeElement?: boolean;\n}\n\n/** Visual positioning and styling properties for rendering elements in a seating chart interface. */\nexport interface ElementUiProperties {\n /**\n * Horizontal position coordinate of the element in the seating chart coordinate system.\n * @min -1000000\n * @max 1000000\n */\n x?: number | null;\n /**\n * Vertical position coordinate of the element in the seating chart coordinate system.\n * @min -1000000\n * @max 1000000\n */\n y?: number | null;\n /**\n * Layering order for overlapping elements. Higher values appear on top of lower values.\n * @min -1000000\n * @max 1000000\n */\n zIndex?: number | null;\n /**\n * Width of the element in the coordinate system units.\n * @max 1000000\n */\n width?: number | null;\n /**\n * Height of the element in the coordinate system units.\n * @max 1000000\n */\n height?: number | null;\n /**\n * Rotation angle of the element in degrees. Positive values rotate clockwise.\n * @min -180\n * @max 180\n */\n rotationAngle?: number | null;\n /** Shape type for SHAPE elements that don't represent seating. Only applicable when element type is SHAPE. */\n shapeType?: ShapeTypeEnumTypeWithLiterals;\n /**\n * Font size for text elements in points.\n * @min 10\n * @max 176\n */\n fontSize?: number | null;\n /**\n * Corner radius for rounded rectangular shapes in coordinate system units.\n * @max 1000000\n */\n cornerRadius?: number | null;\n /**\n * Horizontal spacing between individual seats within the element.\n * @min 1\n * @max 60\n */\n seatSpacing?: number | null;\n /** Whether to hide labels on seats within this element. When `true`, seat labels are not displayed in the UI. */\n hideLabel?: boolean | null;\n /** Position of labels relative to seats (left, right, both sides, or none). */\n labelPosition?: PositionWithLiterals;\n /** Array defining the arrangement of seats within the element. Each number represents the count of seats in that position. */\n seatLayout?: number[];\n /**\n * Number of empty spaces at the top of the seating arrangement for visual spacing.\n * @max 50\n */\n emptyTopSeatSpaces?: number | null;\n /**\n * Text content for TEXT type shape elements. Only applicable when shape_type is TEXT.\n * @minLength 1\n * @maxLength 10000\n */\n text?: string | null;\n /**\n * Primary color in hexadecimal format. For example, `#FF0000` for red.\n * @format COLOR_HEX\n */\n color?: string | null;\n /**\n * Fill color for shapes in hexadecimal format. For example, `#00FF00` for green.\n * @format COLOR_HEX\n */\n fillColor?: string | null;\n /**\n * Border color in hexadecimal format. For example, `#0000FF` for blue.\n * @format COLOR_HEX\n */\n strokeColor?: string | null;\n /**\n * Border width in pixels for shape outlines.\n * @min 1\n * @max 6\n */\n strokeWidth?: number | null;\n /**\n * Opacity level as a percentage from 0 (transparent) to 100 (opaque).\n * @max 100\n */\n opacity?: number | null;\n /** Icon type for ICON shape elements. Only applicable when shape_type is ICON. */\n icon?: IconWithLiterals;\n /** Image object for IMAGE shape elements. Only applicable when shape_type is IMAGE. */\n image?: Image;\n /** Numbering scheme for seats within this element (numeric, alphabetical, or odd/even). */\n seatNumbering?: NumberingWithLiterals;\n}\n\nexport enum ShapeTypeEnumType {\n /** Unknown shape type. */\n UNKNOWN_TYPE = 'UNKNOWN_TYPE',\n /** Text label or annotation. */\n TEXT = 'TEXT',\n /** Rectangular shape. */\n RECTANGLE = 'RECTANGLE',\n /** Circular or oval shape. */\n ELLIPSE = 'ELLIPSE',\n /** Straight line. */\n LINE = 'LINE',\n /** Predefined icon symbol. */\n ICON = 'ICON',\n /** Custom image. */\n IMAGE = 'IMAGE',\n}\n\n/** @enumType */\nexport type ShapeTypeEnumTypeWithLiterals =\n | ShapeTypeEnumType\n | 'UNKNOWN_TYPE'\n | 'TEXT'\n | 'RECTANGLE'\n | 'ELLIPSE'\n | 'LINE'\n | 'ICON'\n | 'IMAGE';\n\nexport enum Position {\n /** Label positioning options for seats and elements. */\n UNKNOWN_POSITION = 'UNKNOWN_POSITION',\n /** Labels appear to the left of seats. */\n LEFT = 'LEFT',\n /** Labels appear to the right of seats. */\n RIGHT = 'RIGHT',\n /** Labels appear on both sides of seats. */\n BOTH = 'BOTH',\n /** No labels are displayed. */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type PositionWithLiterals =\n | Position\n | 'UNKNOWN_POSITION'\n | 'LEFT'\n | 'RIGHT'\n | 'BOTH'\n | 'NONE';\n\nexport enum Icon {\n /** Available icon types for venue wayfinding and information. */\n UNKNOWN_ICON = 'UNKNOWN_ICON',\n /** Entrance icon. */\n ENTER = 'ENTER',\n /** Exit icon. */\n EXIT = 'EXIT',\n /** Beverage service icon. */\n DRINKS = 'DRINKS',\n /** Restroom icon. */\n WC = 'WC',\n /** Men's restroom icon. */\n WC_MEN = 'WC_MEN',\n /** Women's restroom icon. */\n WC_WOMEN = 'WC_WOMEN',\n /** Food service icon. */\n FOOD = 'FOOD',\n /** Stairway icon. */\n STAIRS = 'STAIRS',\n /** Elevator icon. */\n ELEVATOR = 'ELEVATOR',\n /** Smoking area icon. */\n SMOKING = 'SMOKING',\n /** Coat check icon. */\n CHECKROOM = 'CHECKROOM',\n /** Stage or performance area icon. */\n STAGE = 'STAGE',\n}\n\n/** @enumType */\nexport type IconWithLiterals =\n | Icon\n | 'UNKNOWN_ICON'\n | 'ENTER'\n | 'EXIT'\n | 'DRINKS'\n | 'WC'\n | 'WC_MEN'\n | 'WC_WOMEN'\n | 'FOOD'\n | 'STAIRS'\n | 'ELEVATOR'\n | 'SMOKING'\n | 'CHECKROOM'\n | 'STAGE';\n\n/** Image reference for use in seating plan visual elements. */\nexport interface Image {\n /** Image ID from Wix Media Manager. */\n _id?: string;\n /**\n * Original image height in pixels.\n * @readonly\n */\n height?: number;\n /**\n * Original image width in pixels.\n * @readonly\n */\n width?: number;\n /**\n * Deprecated. Use the `id` field instead for referencing images.\n * @deprecated\n */\n uri?: string | null;\n}\n\nexport enum Numbering {\n /** Seat numbering patterns for sequential label generation. */\n UNKNOWN_NUMBERING = 'UNKNOWN_NUMBERING',\n /** Sequential numbers (1, 2, 3, ...). */\n NUMERIC = 'NUMERIC',\n /** Alternating odd and even numbers. */\n ODD_EVEN = 'ODD_EVEN',\n /** Sequential letters (A, B, C, ...). */\n ALPHABETICAL = 'ALPHABETICAL',\n}\n\n/** @enumType */\nexport type NumberingWithLiterals =\n | Numbering\n | 'UNKNOWN_NUMBERING'\n | 'NUMERIC'\n | 'ODD_EVEN'\n | 'ALPHABETICAL';\n\n/** Configuration for multi-row elements that contain multiple individual rows, each with their own capacity and sequencing. */\nexport interface MultiRowProperties {\n /**\n * Individual rows within the multi-row element. Each row has its own capacity, sequencing, and category assignment.\n * @maxSize 1000\n */\n rows?: RowElement[];\n /** Configuration for labeling rows vertically (e.g., Row A, Row B, Row C). Defines how row labels are generated. */\n verticalSequencing?: VerticalSequencing;\n /**\n * Vertical spacing between rows in the multi-row element. Measured in coordinate system units.\n * @min 1\n * @max 60\n */\n rowSpacing?: number | null;\n /**\n * Number of seats per row in the multi-row element.\n * @max 50\n */\n seatAmount?: number | null;\n}\n\n/** An individual row within a multi-row element, with its own capacity, sequencing, and category assignment. */\nexport interface RowElement {\n /**\n * Row ID. Must be unique across all multi-row elements in the seating plan.\n * @min 1\n */\n _id?: number;\n /**\n * User-friendly title or label for this row. For example, `Row A` or `Front Row`.\n * @minLength 1\n * @maxLength 50\n */\n title?: string | null;\n /**\n * Number of seats in this row. Maximum 50,000 per row.\n * @min 1\n * @max 50000\n */\n capacity?: number | null;\n /** Category assignment for this row, which can override the parent element's category. References a category defined in the seating plan. */\n categoryId?: number | null;\n /** Configuration for generating seat labels within this row. Defines numbering scheme and starting position. */\n sequencing?: Sequencing;\n /** Visual properties specific to this row within the multi-row element. Includes positioning relative to parent element. */\n uiProperties?: RowElementUiProperties;\n}\n\n/** Visual properties specific to individual rows within multi-row elements. */\nexport interface RowElementUiProperties {\n /**\n * Horizontal position relative to the parent multi-row element's coordinate system.\n * @min -1000000\n * @max 1000000\n */\n relativeX?: number | null;\n /**\n * Width of this row in coordinate system units.\n * @max 1000000\n */\n width?: number | null;\n /**\n * Number of seats in this row. Overrides the capacity field when specified.\n * @max 50\n */\n seatAmount?: number | null;\n /**\n * Spacing between seats in this row.\n * @min 1\n * @max 60\n */\n seatSpacing?: number | null;\n /** Position of labels relative to seats in this row (left, right, both sides, or none). // Position of labels relative to seats in this row. */\n labelPosition?: PositionWithLiterals;\n /** Numbering scheme for seats in this row (numeric, alphabetical, or odd/even). */\n seatNumbering?: NumberingWithLiterals;\n}\n\n/** Configuration for labeling rows vertically in multi-row elements. */\nexport interface VerticalSequencing {\n /**\n * Starting value for row labeling. For example, `A` for alphabetical sequences or `1` for numeric sequences.\n * @minLength 1\n * @maxLength 4\n */\n startAt?: string;\n /** Numbering scheme for row labels (numeric, alphabetical, or odd/even). */\n rowNumbering?: NumberingWithLiterals;\n /** Whether to label rows in reverse order (bottom-to-top instead of top-to-bottom). */\n reverseOrder?: boolean | null;\n}\n\n/** A grouping mechanism for organizing places by pricing tier, access level, or other business criteria. */\nexport interface Category {\n /**\n * Category ID. Must be unique within the seating plan.\n * @min 1\n */\n _id?: number;\n /**\n * Client-defined external ID for cross-referencing with pricing or ticketing systems. Format: `{entity_fqdn}:{entity_id}`.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string | null;\n /**\n * Human-readable category name, such as `VIP`, `General Admission`, or `Student Discount`.\n * @minLength 1\n * @maxLength 120\n */\n title?: string;\n /**\n * Client configuration object for storing additional category metadata. Read-only field maintained for backward compatibility.\n * @readonly\n */\n config?: Record<string, any> | null;\n /**\n * Total capacity of all places assigned to this category. Automatically calculated by summing place capacities.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * All places that are assigned to this category. Populated when using the CATEGORIES fieldset.\n * @maxSize 50000\n * @readonly\n */\n places?: Place[];\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/** Visual styling properties for the overall seating plan background and appearance. */\nexport interface SeatingPlanUiProperties {\n /**\n * Background color in hexadecimal format. For example, `#F0F0F0` for light gray.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Background opacity as a percentage from 0 (transparent) to 100 (opaque).\n * @max 100\n */\n backgroundOpacity?: number | null;\n}\n\n/** A hierarchical grouping of elements for UI organization and bulk operations. */\nexport interface ElementGroup {\n /**\n * Element group ID. Must be unique within the seating plan.\n * @min 1\n */\n _id?: number;\n /** ID of the parent group for creating nested group hierarchies. References another ElementGroup in the same seating plan. */\n parentElementGroupId?: number | null;\n /** Visual properties for rendering this group in the UI. Includes positioning and dimensions for the group container. */\n uiProperties?: ElementGroupUiProperties;\n}\n\n/** Visual positioning and styling properties for element groups. */\nexport interface ElementGroupUiProperties {\n /**\n * Horizontal position coordinate of the group container.\n * @min -1000000\n * @max 1000000\n */\n x?: number | null;\n /**\n * Vertical position coordinate of the group container.\n * @min -1000000\n * @max 1000000\n */\n y?: number | null;\n /**\n * Width of the group bounding box in coordinate system units.\n * @max 1000000\n */\n width?: number | null;\n /**\n * Height of the group bounding box in coordinate system units.\n * @max 1000000\n */\n height?: number | null;\n /**\n * Rotation angle of the group in degrees. Applied to all elements within the group.\n * @min -180\n * @max 180\n */\n rotationAngle?: number | null;\n}\n\n/** Request to regenerate cached summaries. */\nexport interface RegenerateSummariesRequest {\n /**\n * Seating plan ID.\n * @format GUID\n */\n planId?: string | null;\n}\n\n/** Response after regenerating summaries. */\nexport interface RegenerateSummariesResponse {\n /** Regenerated place-level occupancy summary. */\n seatingReservationsSummary?: SeatingReservationsSummary;\n /**\n * Regenerated category-level summaries.\n * @maxSize 50000\n */\n categories?: CategoryDetails[];\n}\n\n/** Aggregated occupancy data for all places in a seating plan. */\nexport interface SeatingReservationsSummary {\n /**\n * Occupancy details for each place.\n * @maxSize 50000\n */\n places?: PlaceReservationDetails[];\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\n/** Request to list all available places in a seating plan. */\nexport interface ListAvailablePlacesRequest {\n /**\n * External seating plan ID. For example, `wix.events.v1.event:abc-123-def`.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string;\n}\n\n/** Response containing all available places with their details. */\nexport interface ListAvailablePlacesResponse {\n /**\n * Available places across all categories in the seating plan.\n * @maxSize 50000\n */\n places?: AvailablePlace[];\n}\n\n/** An individual available place with all relevant details. */\nexport interface AvailablePlace {\n /**\n * Place ID in the format `{section_id}-{element_id}-{label}`. For example, `0-1-A5`.\n * @minLength 1\n * @maxLength 20\n */\n placeId?: string;\n /**\n * Human-readable label for this place, such as `A1`, `12`, or `VIP1`.\n * @minLength 1\n * @maxLength 4\n */\n label?: string;\n /**\n * Section name where this place is located. For example, `Orchestra` or `Balcony`.\n * @minLength 1\n * @maxLength 20\n */\n sectionLabel?: string | null;\n /**\n * Element label from the seating plan. For example, `Row A`, `Table 5`, or `General Admission`.\n * @minLength 1\n * @maxLength 50\n */\n elementLabel?: string | null;\n /** Numeric category ID this place is assigned to for pricing and organization. */\n categoryId?: number;\n /**\n * External category ID for cross-referencing with ticketing systems. Format: `{entity_fqdn}:{entity_id}`. For example, `wix.events.v1.ticket_definition:xyz-456`.\n * @minLength 1\n * @maxLength 100\n */\n externalCategoryId?: string | null;\n /** Type of seating element (AREA, ROW, MULTI_ROW, TABLE, ROUND_TABLE, SHAPE). */\n elementType?: TypeWithLiterals;\n /**\n * Available capacity at this place. For AREA type: remaining spots; for other types: 0 or 1.\n * @max 50000\n */\n availableCapacity?: number;\n /**\n * Total capacity of this place.\n * @max 50000\n */\n totalCapacity?: number;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateSeatingReservationApplicationErrors =\n | {\n code?: 'PLACE_NOT_FOUND';\n description?: string;\n data?: Places;\n }\n | {\n code?: 'PLACE_RESERVED';\n description?: string;\n data?: UnavailablePlaces;\n };\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface SeatingReservationCreatedEnvelope {\n entity: SeatingReservation;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_RESERVATIONS\n * @webhook\n * @eventType wix.seating.v1.seating_reservation_created\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onSeatingReservationCreated(\n handler: (event: SeatingReservationCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface SeatingReservationDeletedEnvelope {\n entity: SeatingReservation;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_RESERVATIONS\n * @webhook\n * @eventType wix.seating.v1.seating_reservation_deleted\n * @slug deleted\n * @documentationMaturity preview\n */\nexport declare function onSeatingReservationDeleted(\n handler: (event: SeatingReservationDeletedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a seating reservation for one or more places within a seating plan.\n * @public\n * @documentationMaturity preview\n * @permissionId SEATING_PLANS.MANAGE_RESERVATIONS\n * @applicableIdentity APP\n * @returns Created reservation.\n * @fqn com.wixpress.seating.SeatingReservationService.CreateSeatingReservation\n */\nexport async function createSeatingReservation(\n options?: CreateSeatingReservationOptions\n): Promise<\n NonNullablePaths<\n SeatingReservation,\n `reservedPlaces` | `reservedPlaces.${number}._id`,\n 4\n > & {\n __applicationErrorsType?: CreateSeatingReservationApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n reservation: options?.reservation,\n });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.createSeatingReservation(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.reservation!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { reservation: '$[0].reservation' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateSeatingReservationOptions {\n /** Reservation to create. */\n reservation?: SeatingReservation;\n}\n\n/**\n * Retrieves a seating reservation by ID.\n * @param _id - Reservation ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.READ_RESERVATIONS\n * @applicableIdentity APP\n * @returns Retrieved reservation.\n * @fqn com.wixpress.seating.SeatingReservationService.GetReservation\n */\nexport async function getReservation(\n _id: string\n): Promise<\n NonNullablePaths<\n SeatingReservation,\n `reservedPlaces` | `reservedPlaces.${number}._id`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.getReservation(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.reservation!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { id: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['_id']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves seating reservations that match specified criteria.\n * @public\n * @documentationMaturity preview\n * @permissionId SEATING_PLANS.READ_RESERVATIONS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingReservationService.QuerySeatingReservation\n */\nexport function querySeatingReservation(): ReservationsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n SeatingReservation,\n 'CURSOR',\n QuerySeatingReservationRequest,\n QuerySeatingReservationResponse\n >({\n func: async (payload: QuerySeatingReservationRequest) => {\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.querySeatingReservation(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QuerySeatingReservationRequest['query']) => {\n const args = [query, {}] as [QuerySeatingReservationRequest['query'], {}];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QuerySeatingReservationResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.reservations,\n pagingMetadata: transformedData?.metadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface ReservationsQueryResult extends QueryCursorResult {\n items: SeatingReservation[];\n query: ReservationsQueryBuilder;\n next: () => Promise<ReservationsQueryResult>;\n prev: () => Promise<ReservationsQueryResult>;\n}\n\nexport interface ReservationsQueryBuilder {\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => ReservationsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => ReservationsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<ReservationsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn com.wixpress.seating.SeatingReservationService.QuerySeatingReservation\n * @requiredField query\n * @returns Response containing matching seating reservations.\n */\nexport async function typedQuerySeatingReservation(\n query: SeatingReservationQuery\n): Promise<\n NonNullablePaths<QuerySeatingReservationResponse, `reservations`, 2>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ query: query });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.querySeatingReservation(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface SeatingReservationQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n SeatingReservation,\n SeatingReservationQuerySpec\n>;\nexport type SeatingReservationQuery = {\n /** \n Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. \n */\n cursorPaging?: {\n /** \n Maximum number of items to return in the results. \n @max: 100 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n\n Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 16000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object.\n\n Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters). \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object.\n\n Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting). \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 512 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n\n/**\n * Deletes a seating reservation and releases all reserved places.\n * @param _id - Reservation ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.MANAGE_RESERVATIONS\n * @applicableIdentity APP\n * @returns Response after deleting a seating reservation.\n * @fqn com.wixpress.seating.SeatingReservationService.DeleteSeatingReservation\n */\nexport async function deleteSeatingReservation(\n _id: string\n): Promise<\n NonNullablePaths<\n DeleteSeatingReservationResponse,\n `reservation.reservedPlaces` | `reservation.reservedPlaces.${number}._id`,\n 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.deleteSeatingReservation(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { id: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['_id']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves capacity and reservation summary by seating category.\n * @public\n * @documentationMaturity preview\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Response containing capacity summary by category.\n * @fqn com.wixpress.seating.SeatingReservationService.GetSeatingCategorySummary\n */\nexport async function getSeatingCategorySummary(\n options?: GetSeatingCategorySummaryOptions\n): Promise<\n NonNullablePaths<GetSeatingCategorySummaryResponse, `categories`, 2>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n externalId: options?.externalId,\n });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.getSeatingCategorySummary(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { externalId: '$[0].externalId' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetSeatingCategorySummaryOptions {\n /**\n * External seating plan ID.\n * @minLength 1\n * @maxLength 100\n */\n externalId?: string;\n}\n\n/**\n * Retrieves detailed place-level occupancy data for a seating plan.\n * @param externalId - External seating plan ID.\n * @public\n * @documentationMaturity preview\n * @requiredField externalId\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Response containing complete seating plan and occupancy data.\n * @fqn com.wixpress.seating.SeatingReservationService.GetSeatingReservationSummary\n */\nexport async function getSeatingReservationSummary(\n externalId: string\n): Promise<\n NonNullablePaths<\n GetSeatingReservationSummaryResponse,\n | `plan.sections`\n | `plan.sections.${number}._id`\n | `plan.sections.${number}.default`\n | `plan.categories`\n | `plan.categories.${number}._id`\n | `plan.categories.${number}.title`\n | `plan.uncategorizedPlaces`\n | `plan.elementGroups`\n | `plan.elementGroups.${number}._id`\n | `places`\n | `places.${number}.placeId`\n | `places.${number}.occupied`,\n 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n externalId: externalId,\n });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingReservation.getSeatingReservationSummary(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { externalId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['externalId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressSeatingSeatingReservationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _api_base_domain_: [\n {\n srcPath: '/seating-reservations',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'api._base_domain_': [\n {\n srcPath: '/seating-reservations',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/seating-reservations',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/seating/v1/reservations',\n destPath: '/v1/reservations',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_seatings_seating-reservation';\n\n/** Creates a seating reservation for one or more places within a seating plan. */\nexport function createSeatingReservation(\n payload: object\n): RequestOptionsFactory<any> {\n function __createSeatingReservation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.CreateSeatingReservation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __createSeatingReservation;\n}\n\n/** Retrieves a seating reservation by ID. */\nexport function getReservation(payload: object): RequestOptionsFactory<any> {\n function __getReservation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.GetReservation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/{id}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getReservation;\n}\n\n/** Retrieves seating reservations that match specified criteria. */\nexport function querySeatingReservation(\n payload: object\n): RequestOptionsFactory<any> {\n function __querySeatingReservation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.QuerySeatingReservation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/query',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __querySeatingReservation;\n}\n\n/** Deletes a seating reservation and releases all reserved places. */\nexport function deleteSeatingReservation(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteSeatingReservation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.DeleteSeatingReservation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/{id}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteSeatingReservation;\n}\n\n/** Retrieves capacity and reservation summary by seating category. */\nexport function getSeatingCategorySummary(\n payload: object\n): RequestOptionsFactory<any> {\n function __getSeatingCategorySummary({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.GetSeatingCategorySummary',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/seating-category-summary',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getSeatingCategorySummary;\n}\n\n/** Retrieves detailed place-level occupancy data for a seating plan. */\nexport function getSeatingReservationSummary(\n payload: object\n): RequestOptionsFactory<any> {\n function __getSeatingReservationSummary({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_reservation',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingReservationService.GetSeatingReservationSummary',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingReservationServiceUrl({\n protoPath: '/v1/reservations/seating-reservation-summary/{externalId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'plan.createdDate' }, { path: 'plan.updatedDate' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'plan.sections.elements.uiProperties.x' },\n { path: 'plan.sections.elements.uiProperties.y' },\n { path: 'plan.sections.elements.uiProperties.width' },\n { path: 'plan.sections.elements.uiProperties.height' },\n { path: 'plan.sections.elements.uiProperties.rotationAngle' },\n {\n path: 'plan.sections.elements.multiRowProperties.curveAngleTo',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.curveAngleFrom',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.rows.uiProperties.relativeX',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.rows.uiProperties.width',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom',\n },\n {\n path: 'plan.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo',\n },\n { path: 'plan.elementGroups.uiProperties.x' },\n { path: 'plan.elementGroups.uiProperties.y' },\n { path: 'plan.elementGroups.uiProperties.width' },\n { path: 'plan.elementGroups.uiProperties.height' },\n { path: 'plan.elementGroups.uiProperties.rotationAngle' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getSeatingReservationSummary;\n}\n","import {\n createSeatingReservation as publicCreateSeatingReservation,\n getReservation as publicGetReservation,\n querySeatingReservation as publicQuerySeatingReservation,\n typedQuerySeatingReservation as publicTypedQuerySeatingReservation,\n deleteSeatingReservation as publicDeleteSeatingReservation,\n getSeatingCategorySummary as publicGetSeatingCategorySummary,\n getSeatingReservationSummary as publicGetSeatingReservationSummary,\n} from './seating-v1-seating-reservation-seating-reservation.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n ReservationsQueryBuilder,\n SeatingReservationQuery,\n typedQuerySeatingReservation as universalTypedQuerySeatingReservation,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\nimport { onSeatingReservationCreated as publicOnSeatingReservationCreated } from './seating-v1-seating-reservation-seating-reservation.public.js';\nimport { onSeatingReservationDeleted as publicOnSeatingReservationDeleted } from './seating-v1-seating-reservation-seating-reservation.public.js';\n\nfunction customQuerySeatingReservation(httpClient: HttpClient) {\n const router = createQueryOverloadRouter({\n builderQueryFunction: () => publicQuerySeatingReservation(httpClient)(),\n typedQueryFunction: (query: SeatingReservationQuery) =>\n publicTypedQuerySeatingReservation(httpClient)(query),\n hasOptionsParameter: false,\n });\n\n function overloadedQuery(): ReservationsQueryBuilder;\n function overloadedQuery(\n query: SeatingReservationQuery\n ): ReturnType<typeof universalTypedQuerySeatingReservation>;\n function overloadedQuery(query?: SeatingReservationQuery): any {\n return router(...arguments);\n }\n\n return overloadedQuery;\n}\n\nexport const createSeatingReservation: MaybeContext<\n BuildRESTFunction<typeof publicCreateSeatingReservation> &\n typeof publicCreateSeatingReservation\n> = /*#__PURE__*/ createRESTModule(publicCreateSeatingReservation);\nexport const getReservation: MaybeContext<\n BuildRESTFunction<typeof publicGetReservation> & typeof publicGetReservation\n> = /*#__PURE__*/ createRESTModule(publicGetReservation);\nexport const deleteSeatingReservation: MaybeContext<\n BuildRESTFunction<typeof publicDeleteSeatingReservation> &\n typeof publicDeleteSeatingReservation\n> = /*#__PURE__*/ createRESTModule(publicDeleteSeatingReservation);\nexport const getSeatingCategorySummary: MaybeContext<\n BuildRESTFunction<typeof publicGetSeatingCategorySummary> &\n typeof publicGetSeatingCategorySummary\n> = /*#__PURE__*/ createRESTModule(publicGetSeatingCategorySummary);\nexport const getSeatingReservationSummary: MaybeContext<\n BuildRESTFunction<typeof publicGetSeatingReservationSummary> &\n typeof publicGetSeatingReservationSummary\n> = /*#__PURE__*/ createRESTModule(publicGetSeatingReservationSummary);\nexport const querySeatingReservation: MaybeContext<\n BuildRESTFunction<typeof customQuerySeatingReservation> &\n typeof customQuerySeatingReservation\n> = /*#__PURE__*/ createRESTModule(customQuerySeatingReservation);\n/** */\nexport const onSeatingReservationCreated: BuildEventDefinition<\n typeof publicOnSeatingReservationCreated\n> &\n typeof publicOnSeatingReservationCreated = createEventModule(\n publicOnSeatingReservationCreated\n);\n/** */\nexport const onSeatingReservationDeleted: BuildEventDefinition<\n typeof publicOnSeatingReservationDeleted\n> &\n typeof publicOnSeatingReservationDeleted = createEventModule(\n publicOnSeatingReservationDeleted\n);\n\nexport {\n SortOrder,\n Type,\n PlaceTypeEnumType,\n ShapeTypeEnumType,\n Position,\n Icon,\n Numbering,\n WebhookIdentityType,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\nexport {\n SeatingReservation,\n PlaceReservation,\n SeatingPlanCategoriesSummaryUpdated,\n CategoryDetails,\n InvalidateCache,\n InvalidateCacheGetByOneOf,\n App,\n Page,\n URI,\n File,\n CustomTag,\n CreateSeatingReservationRequest,\n CreateSeatingReservationResponse,\n Places,\n UnavailablePlaces,\n ReservationErrorDetails,\n GetReservationRequest,\n GetReservationResponse,\n QuerySeatingReservationRequest,\n QueryV2,\n QueryV2PagingMethodOneOf,\n Sorting,\n Paging,\n CursorPaging,\n QuerySeatingReservationResponse,\n PagingMetadataV2,\n Cursors,\n DeleteSeatingReservationRequest,\n DeleteSeatingReservationResponse,\n DeleteSeatingPlaceReservationRequest,\n Empty,\n CancelSeatingPlaceReservationsRequest,\n PlaceReservationDetails,\n CancelSeatingPlaceReservationsResponse,\n UpdateSeatingReservationRequest,\n UpdateSeatingReservationResponse,\n GetReservedPlacesRequest,\n GetReservedPlacesResponse,\n ListReservedPlacesRequest,\n ListReservedPlacesResponse,\n SeatReservation,\n ReservedPlace,\n PagingMetadata,\n GetSeatingCategorySummaryRequest,\n GetSeatingCategorySummaryResponse,\n GetSeatingReservationSummaryRequest,\n GetSeatingReservationSummaryResponse,\n SeatingPlan,\n Section,\n Element,\n Sequencing,\n Place,\n ReservationOptions,\n ElementUiProperties,\n Image,\n MultiRowProperties,\n RowElement,\n RowElementUiProperties,\n VerticalSequencing,\n Category,\n ExtendedFields,\n SeatingPlanUiProperties,\n ElementGroup,\n ElementGroupUiProperties,\n RegenerateSummariesRequest,\n RegenerateSummariesResponse,\n SeatingReservationsSummary,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n ListAvailablePlacesRequest,\n ListAvailablePlacesResponse,\n AvailablePlace,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountInfo,\n BaseEventMetadata,\n EventMetadata,\n SeatingReservationCreatedEnvelope,\n SeatingReservationDeletedEnvelope,\n CreateSeatingReservationOptions,\n ReservationsQueryResult,\n ReservationsQueryBuilder,\n SeatingReservationQuerySpec,\n GetSeatingCategorySummaryOptions,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\nexport {\n SortOrderWithLiterals,\n TypeWithLiterals,\n PlaceTypeEnumTypeWithLiterals,\n ShapeTypeEnumTypeWithLiterals,\n PositionWithLiterals,\n IconWithLiterals,\n NumberingWithLiterals,\n WebhookIdentityTypeWithLiterals,\n CreateSeatingReservationApplicationErrors,\n CommonQueryWithEntityContext,\n SeatingReservationQuery,\n} from './seating-v1-seating-reservation-seating-reservation.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAAAA;AAAA,EAAA,gCAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,oCAAAC;AAAA,EAAA,mCAAAC;AAAA,EAAA,mCAAAC;AAAA,EAAA,+BAAAC;AAAA;AAAA;;;ACAA,IAAAC,iCAAwD;AACxD,IAAAC,oBAAqD;AACrD,IAAAC,0BAA+B;AAC/B,uBAA8D;;;ACH9D,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,mBAA6C;AAC7C,u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E;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AA4BO,IAAM,kCAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA,CAAC,cACC;AAAA,QACE,wCAAe,OAAO;AAAA,MACpB;AAAA,QACE,aAAa;AAAA,QACb,OAAO,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAAA,MACxC;AAAA,IACF,CAAC;AAAA,EACH;AACJ,EAAqC;AAC9B,IAAM,kCAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA,CAAC,cACC;AAAA,QACE,wCAAe,OAAO;AAAA,MACpB;AAAA,QACE,aAAa;AAAA,QACb,OAAO,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAAA,MACxC;AAAA,IACF,CAAC;AAAA,EACH;AACJ,EAAqC;;;AGxNrC,IAAAC,uBAAiC;AACjC,sCAAkC;AAOlC,iCAA0C;AAS1C,SAAS,8BAA8B,YAAwB;AAC7D,QAAM,aAAS,sDAA0B;AAAA,IACvC,sBAAsB,MAAMC,yBAA8B,UAAU,EAAE;AAAA,IACtE,oBAAoB,CAAC,UACnBC,8BAAmC,UAAU,EAAE,KAAK;AAAA,IACtD,qBAAqB;AAAA,EACvB,CAAC;AAMD,WAAS,gBAAgB,OAAsC;AAC7D,WAAO,OAAO,GAAG,SAAS;AAAA,EAC5B;AAEA,SAAO;AACT;AAEO,IAAMC,4BAGK,2DAAiBA,yBAA8B;AAC1D,IAAMC,kBAEK,2DAAiBA,eAAoB;AAChD,IAAMC,4BAGK,2DAAiBA,yBAA8B;AAC1D,IAAMC,6BAGK,2DAAiBA,0BAA+B;AAC3D,IAAMC,gCAGK,2DAAiBA,6BAAkC;AAC9D,IAAMN,2BAGK,2DAAiB,6BAA6B;AAEzD,IAAMO,mCAGgC;AAAA,EAC3C;AACF;AAEO,IAAMC,mCAGgC;AAAA,EAC3C;AACF;","names":["createSeatingReservation","deleteSeatingReservation","getReservation","getSeatingCategorySummary","getSeatingReservationSummary","onSeatingReservationCreated","onSeatingReservationDeleted","querySeatingReservation","import_rename_all_nested_keys","import_timestamp","import_transform_paths","import_rest_modules","payload","import_transform_paths","SortOrder","Type","PlaceTypeEnumType","ShapeTypeEnumType","Position","Icon","Numbering","WebhookIdentityType","createSeatingReservation","sdkTransformError","getReservation","querySeatingReservation","deleteSeatingReservation","getSeatingCategorySummary","getSeatingReservationSummary","createSeatingReservation","getReservation","querySeatingReservation","typedQuerySeatingReservation","deleteSeatingReservation","getSeatingCategorySummary","getSeatingReservationSummary","import_rest_modules","querySeatingReservation","typedQuerySeatingReservation","createSeatingReservation","getReservation","deleteSeatingReservation","getSeatingCategorySummary","getSeatingReservationSummary","onSeatingReservationCreated","onSeatingReservationDeleted"]}
@@ -1449,19 +1449,19 @@ declare enum WebhookIdentityType {
1449
1449
  }
1450
1450
  /** @enumType */
1451
1451
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1452
- interface AccountDetails {
1452
+ interface AccountInfo {
1453
1453
  /**
1454
- * ID of the account.
1454
+ * ID of the Wix account associated with the event.
1455
1455
  * @format GUID
1456
1456
  */
1457
1457
  accountId?: string | null;
1458
1458
  /**
1459
- * ID of the parent account.
1459
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
1460
1460
  * @format GUID
1461
1461
  */
1462
1462
  parentAccountId?: string | null;
1463
1463
  /**
1464
- * ID of the site, if applicable.
1464
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
1465
1465
  * @format GUID
1466
1466
  */
1467
1467
  siteId?: string | null;
@@ -1705,4 +1705,4 @@ interface GetSeatingCategorySummaryOptions {
1705
1705
  */
1706
1706
  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`, 5>>;
1707
1707
 
1708
- export { type AccountDetails, type ActionEvent, type App, type AvailablePlace, type BaseEventMetadata, type CancelSeatingPlaceReservationsRequest, type CancelSeatingPlaceReservationsResponse, type Category, type CategoryDetails, type CommonQueryWithEntityContext, type CreateSeatingReservationApplicationErrors, type CreateSeatingReservationOptions, type CreateSeatingReservationRequest, type CreateSeatingReservationResponse, type CursorPaging, type Cursors, type CustomTag, type DeleteSeatingPlaceReservationRequest, type DeleteSeatingReservationRequest, type DeleteSeatingReservationResponse, type DomainEvent, type DomainEventBodyOneOf, type Element, type ElementGroup, type ElementGroupUiProperties, type ElementUiProperties, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type File, type GetReservationRequest, type GetReservationResponse, type GetReservedPlacesRequest, type GetReservedPlacesResponse, type GetSeatingCategorySummaryOptions, type GetSeatingCategorySummaryRequest, type GetSeatingCategorySummaryResponse, type GetSeatingReservationSummaryRequest, type GetSeatingReservationSummaryResponse, Icon, type IconWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, type Image, type InvalidateCache, type InvalidateCacheGetByOneOf, type ListAvailablePlacesRequest, type ListAvailablePlacesResponse, type ListReservedPlacesRequest, type ListReservedPlacesResponse, type MessageEnvelope, type MultiRowProperties, Numbering, type NumberingWithLiterals, type Page, type Paging, type PagingMetadata, type PagingMetadataV2, type Place, type PlaceReservation, type PlaceReservationDetails, PlaceTypeEnumType, type PlaceTypeEnumTypeWithLiterals, type Places, Position, type PositionWithLiterals, type QuerySeatingReservationRequest, type QuerySeatingReservationResponse, type QueryV2, type QueryV2PagingMethodOneOf, type RegenerateSummariesRequest, type RegenerateSummariesResponse, type ReservationErrorDetails, type ReservationOptions, type ReservationsQueryBuilder, type ReservationsQueryResult, type ReservedPlace, type RestoreInfo, type RowElement, type RowElementUiProperties, type SeatReservation, type SeatingPlan, type SeatingPlanCategoriesSummaryUpdated, type SeatingPlanUiProperties, type SeatingReservation, type SeatingReservationCreatedEnvelope, type SeatingReservationDeletedEnvelope, type SeatingReservationQuery, type SeatingReservationQuerySpec, type SeatingReservationsSummary, type Section, type Sequencing, ShapeTypeEnumType, type ShapeTypeEnumTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Type, type TypeWithLiterals, type URI, type UnavailablePlaces, type UpdateSeatingReservationRequest, type UpdateSeatingReservationResponse, type VerticalSequencing, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createSeatingReservation, deleteSeatingReservation, getReservation, getSeatingCategorySummary, getSeatingReservationSummary, onSeatingReservationCreated, onSeatingReservationDeleted, querySeatingReservation, typedQuerySeatingReservation };
1708
+ export { type AccountInfo, type ActionEvent, type App, type AvailablePlace, type BaseEventMetadata, type CancelSeatingPlaceReservationsRequest, type CancelSeatingPlaceReservationsResponse, type Category, type CategoryDetails, type CommonQueryWithEntityContext, type CreateSeatingReservationApplicationErrors, type CreateSeatingReservationOptions, type CreateSeatingReservationRequest, type CreateSeatingReservationResponse, type CursorPaging, type Cursors, type CustomTag, type DeleteSeatingPlaceReservationRequest, type DeleteSeatingReservationRequest, type DeleteSeatingReservationResponse, type DomainEvent, type DomainEventBodyOneOf, type Element, type ElementGroup, type ElementGroupUiProperties, type ElementUiProperties, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type File, type GetReservationRequest, type GetReservationResponse, type GetReservedPlacesRequest, type GetReservedPlacesResponse, type GetSeatingCategorySummaryOptions, type GetSeatingCategorySummaryRequest, type GetSeatingCategorySummaryResponse, type GetSeatingReservationSummaryRequest, type GetSeatingReservationSummaryResponse, Icon, type IconWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, type Image, type InvalidateCache, type InvalidateCacheGetByOneOf, type ListAvailablePlacesRequest, type ListAvailablePlacesResponse, type ListReservedPlacesRequest, type ListReservedPlacesResponse, type MessageEnvelope, type MultiRowProperties, Numbering, type NumberingWithLiterals, type Page, type Paging, type PagingMetadata, type PagingMetadataV2, type Place, type PlaceReservation, type PlaceReservationDetails, PlaceTypeEnumType, type PlaceTypeEnumTypeWithLiterals, type Places, Position, type PositionWithLiterals, type QuerySeatingReservationRequest, type QuerySeatingReservationResponse, type QueryV2, type QueryV2PagingMethodOneOf, type RegenerateSummariesRequest, type RegenerateSummariesResponse, type ReservationErrorDetails, type ReservationOptions, type ReservationsQueryBuilder, type ReservationsQueryResult, type ReservedPlace, type RestoreInfo, type RowElement, type RowElementUiProperties, type SeatReservation, type SeatingPlan, type SeatingPlanCategoriesSummaryUpdated, type SeatingPlanUiProperties, type SeatingReservation, type SeatingReservationCreatedEnvelope, type SeatingReservationDeletedEnvelope, type SeatingReservationQuery, type SeatingReservationQuerySpec, type SeatingReservationsSummary, type Section, type Sequencing, ShapeTypeEnumType, type ShapeTypeEnumTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Type, type TypeWithLiterals, type URI, type UnavailablePlaces, type UpdateSeatingReservationRequest, type UpdateSeatingReservationResponse, type VerticalSequencing, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createSeatingReservation, deleteSeatingReservation, getReservation, getSeatingCategorySummary, getSeatingReservationSummary, onSeatingReservationCreated, onSeatingReservationDeleted, querySeatingReservation, typedQuerySeatingReservation };