@wix/auto_sdk_seatings_seating-plan 1.0.59 → 1.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +13 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../index.typings.ts","../../src/seating-v1-seating-plan-seating-plan.universal.ts","../../src/seating-v1-seating-plan-seating-plan.http.ts"],"sourcesContent":["export * from './src/seating-v1-seating-plan-seating-plan.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 ambassadorWixSeatingV1SeatingPlan from './seating-v1-seating-plan-seating-plan.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\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 create a new seating plan. */\nexport interface CreateSeatingPlanRequest {\n /** Seating plan to create. Must include at least one section with `id = 0` as the default section. */\n plan: SeatingPlan;\n}\n\n/** Response containing the created seating plan. */\nexport interface CreateSeatingPlanResponse {\n /** Created seating plan with generated ID, timestamps, and calculated totals. */\n plan?: SeatingPlan;\n}\n\n/** Error details when seating plan or element capacity limits are exceeded. */\nexport interface CapacityExceededViolation {\n /** Maximum allowed capacity that was exceeded. Represents the system limit for the specific context. */\n maxCapacity?: number;\n /** Invalid capacity value that was provided in the request. */\n capacity?: number;\n /** ID of the element where the capacity violation occurred. Only present for element-level violations. */\n elementId?: number | null;\n}\n\n/** Request to update an existing seating plan. */\nexport interface UpdateSeatingPlanRequest {\n /** Seating plan updates to apply. Must include the plan ID for identification. */\n plan?: SeatingPlan;\n /** Field mask specifying which parts of the seating plan to update. For example, `sections.elements.ui_properties` to update only visual properties. */\n fields?: string[];\n}\n\n/** Response containing the updated seating plan. */\nexport interface UpdateSeatingPlanResponse {\n /** Updated seating plan with incremented version and recalculated totals. */\n plan?: SeatingPlan;\n}\n\nexport interface CopySeatingPlanRequest {\n /**\n * ID of the seating plan to be copied.\n * @format GUID\n */\n _id: string | null;\n /**\n * Title for the new copied seating plan. Must be different from the original.\n * @minLength 1\n * @maxLength 120\n */\n title: string | null;\n /**\n * External ID for the new copied seating plan. Format: `{fqdn}:{entity_guid}`. Must be unique.\n * @minLength 1\n * @maxLength 100\n */\n externalId: string | null;\n}\n\nexport interface CopySeatingPlanResponse {\n /** Copied seating plan with new ID, specified title, and all duplicated content. */\n plan?: SeatingPlan;\n}\n\n/** Request to query multiple seating plans with filtering and projection options. */\nexport interface QuerySeatingPlanRequest {\n /**\n * Generic query object\n * Possible fieldsets: \"elements\", \"categories\", \"places\", \"config\".\n */\n query: QueryV2;\n /** Fieldsets to include in the response. Available options: ELEMENTS, CATEGORIES, PLACES, CONFIG, ELEMENT_GROUPS. */\n fieldset?: FieldsetWithLiterals[];\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/** Available fieldsets for seating plan projections. */\nexport enum Fieldset {\n /** Include section elements with their configurations and generated places. */\n ELEMENTS = 'ELEMENTS',\n /** Include categories with their assigned places and capacity totals. */\n CATEGORIES = 'CATEGORIES',\n /** Include all generated places across all elements and sections. */\n PLACES = 'PLACES',\n /** Include legacy configuration objects for backward compatibility. */\n CONFIG = 'CONFIG',\n /** Include element groups for hierarchical organization and UI rendering. */\n ELEMENT_GROUPS = 'ELEMENT_GROUPS',\n}\n\n/** @enumType */\nexport type FieldsetWithLiterals =\n | Fieldset\n | 'ELEMENTS'\n | 'CATEGORIES'\n | 'PLACES'\n | 'CONFIG'\n | 'ELEMENT_GROUPS';\n\n/** Response containing matching seating plans. */\nexport interface QuerySeatingPlanResponse {\n /** Seating plans matching the query criteria with requested fieldsets included. */\n plans?: SeatingPlan[];\n}\n\n/** Request to retrieve a specific seating plan by ID. */\nexport interface GetSeatingPlanRequest {\n /**\n * Seating plan ID to retrieve.\n * @format GUID\n */\n _id: string | null;\n /**\n * Deprecated. Use `fieldsets` parameter instead.\n * @deprecated\n */\n fieldset?: FieldsetWithLiterals[];\n /**\n * Projection on the result object - list of named projections.\n * Possible values: \"elements\", \"categories\", \"places\", \"config\".\n */\n fieldsets?: string[];\n /** Seating plan mask for filtering specific places by their IDs. Useful for retrieving only relevant places. */\n seatingPlanMask?: SeatingPlanMask;\n}\n\nexport interface SeatingPlanMask {\n /**\n * Filter seating plan by place IDs. For example, `0-1-A`, `0-2-B`. Use this to retrieve only specific places from large seating plans.\n * @minLength 5\n * @maxLength 11\n */\n placeId?: string[];\n}\n\nexport interface GetSeatingPlanResponse {\n /** Retrieved seating plan with requested fieldsets and filtered places. */\n plan?: SeatingPlan;\n}\n\nexport interface FindSeatingPlanRequest {\n /** Filter criteria for finding the seating plan. Use standard WQL filter format. */\n filter: Record<string, any> | null;\n /**\n * Deprecated. Use `fieldsets` parameter instead.\n * @deprecated\n */\n fieldset?: FieldsetWithLiterals[];\n /**\n * Projection on the result object - list of named projections.\n * Possible values: \"elements\", \"categories\", \"places\", \"config\".\n */\n fieldsets?: string[];\n /** Seating plan mask for filtering specific places by their IDs. */\n seatingPlanMask?: SeatingPlanMask;\n}\n\nexport interface FindSeatingPlanResponse {\n /** Found seating plan matching the filter criteria, or empty if no match found. */\n plan?: SeatingPlan;\n}\n\nexport interface DeleteSeatingPlanRequest {\n /**\n * ID of the seating plan to delete.\n * @format GUID\n */\n _id: string | null;\n}\n\nexport interface DeleteSeatingPlanResponse {\n /** Deleted seating plan data for reference before deletion. */\n plan?: SeatingPlan;\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\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\nexport interface UpdateSeatingPlanThumbnailRequest {\n /** Thumbnail to update with new image data. */\n thumbnail: SeatingPlanThumbnail;\n}\n\n/** Thumbnail image data for a seating plan. */\nexport interface SeatingPlanThumbnail {\n /**\n * Seating plan ID that this thumbnail represents.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /** Thumbnail image data or reference. Format depends on implementation (base64, URL, or image ID). */\n img?: string | null;\n}\n\nexport interface UpdateSeatingPlanThumbnailResponse {\n /** Updated thumbnail with confirmation of changes. */\n thumbnail?: SeatingPlanThumbnail;\n}\n\nexport interface GetSeatingPlanThumbnailRequest {\n /**\n * Seating plan ID to retrieve thumbnail for.\n * @format GUID\n * @readonly\n */\n _id: string | null;\n}\n\nexport interface GetSeatingPlanThumbnailResponse {\n /** Retrieved thumbnail data, or empty if no thumbnail exists. */\n thumbnail?: SeatingPlanThumbnail;\n}\n\nexport interface SaveSeatingPlanVersionRequest {\n /** Seating plan version to be saved as a draft. Must include plan ID for existing plans. */\n plan?: SeatingPlan;\n /**\n * Parent version of the plan. Use this field to override history of plan versions.\n * @min 1\n */\n parentVersion?: string | null;\n}\n\nexport interface SaveSeatingPlanVersionResponse {\n /** Saved seating plan version with incremented version number and updated timestamps. */\n plan?: SeatingPlan;\n}\n\nexport interface QuerySeatingPlanVersionsRequest {\n /** Query criteria for filtering seating plan versions. Supports standard WQL filtering, sorting, and paging. */\n query?: QueryV2;\n}\n\nexport interface QuerySeatingPlanVersionsResponse {\n /** Seating plan versions matching the query criteria, ordered by version number. */\n plans?: SeatingPlan[];\n /** Paging metadata for the query results including total count and cursor information. */\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\nexport interface DiscardSeatingPlanVersionsRequest {\n /**\n * Seating plan ID to discard versions for.\n * @format GUID\n */\n seatingPlanId?: string | null;\n /** Version from which all higher versions will be discarded. This version and lower versions are preserved. */\n version?: string | null;\n}\n\nexport interface DiscardSeatingPlanVersionsResponse {}\n\nexport interface RestoreSeatingPlanRequest {\n /**\n * Seating plan ID to restore.\n * @format GUID\n */\n seatingPlanId?: string | null;\n /** Version to which the seating plan should be restored. This becomes the basis for the new current version. */\n version?: string | null;\n}\n\nexport interface RestoreSeatingPlanResponse {\n /** Restored seating plan with the specified version as the new current version and incremented version number. */\n plan?: SeatingPlan;\n}\n\n/** @docsIgnore */\nexport type CreateSeatingPlanApplicationErrors =\n | {\n code?: 'PLAN_MAX_CAPACITY_EXCEEDED';\n description?: string;\n data?: CapacityExceededViolation;\n }\n | {\n code?: 'ELEMENT_MAX_CAPACITY_EXCEEDED';\n description?: string;\n data?: CapacityExceededViolation;\n };\n/** @docsIgnore */\nexport type UpdateSeatingPlanApplicationErrors = {\n code?: 'INVALID_FIELD_MASK';\n description?: string;\n data?: Record<string, any>;\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 SeatingPlanCreatedEnvelope {\n entity: SeatingPlan;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @webhook\n * @eventType wix.seating.v1.seating_plan_created\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onSeatingPlanCreated(\n handler: (event: SeatingPlanCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface SeatingPlanDeletedEnvelope {\n entity: SeatingPlan;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @webhook\n * @eventType wix.seating.v1.seating_plan_deleted\n * @slug deleted\n * @documentationMaturity preview\n */\nexport declare function onSeatingPlanDeleted(\n handler: (event: SeatingPlanDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface SeatingPlanUpdatedEnvelope {\n entity: SeatingPlan;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @webhook\n * @eventType wix.seating.v1.seating_plan_updated\n * @slug updated\n * @documentationMaturity preview\n */\nexport declare function onSeatingPlanUpdated(\n handler: (event: SeatingPlanUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a new seating plan with sections, elements, and categories. The system automatically generates places based on element configurations and calculates capacity totals.\n * @param plan - Seating plan to create. Must include at least one section with `id = 0` as the default section.\n * @public\n * @documentationMaturity preview\n * @requiredField plan\n * @requiredField plan.sections.elements.title\n * @requiredField plan.title\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Created seating plan with generated ID, timestamps, and calculated totals.\n * @fqn com.wixpress.seating.SeatingPlanManagement.CreateSeatingPlan\n */\nexport async function createSeatingPlan(\n plan: NonNullablePaths<\n SeatingPlan,\n `sections.${number}.elements.${number}.title` | `title`,\n 6\n >\n): Promise<\n NonNullablePaths<\n SeatingPlan,\n | `sections`\n | `sections.${number}._id`\n | `sections.${number}.default`\n | `categories`\n | `categories.${number}._id`\n | `categories.${number}.title`\n | `uncategorizedPlaces`\n | `elementGroups`\n | `elementGroups.${number}._id`,\n 4\n > & {\n __applicationErrorsType?: CreateSeatingPlanApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ plan: plan });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.createSeatingPlan(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.plan!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { plan: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['plan']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates an existing seating plan. Changes trigger recalculation of places, capacities, and version increment. Use field masks to update specific portions of the plan.\n * @public\n * @documentationMaturity preview\n * @requiredField options.plan._id\n * @requiredField options.plan.sections.elements.title\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Updated seating plan with incremented version and recalculated totals.\n * @fqn com.wixpress.seating.SeatingPlanManagement.UpdateSeatingPlan\n */\nexport async function updateSeatingPlan(\n options?: NonNullablePaths<\n UpdateSeatingPlanOptions,\n `plan._id` | `plan.sections.${number}.elements.${number}.title`,\n 7\n >\n): Promise<\n NonNullablePaths<\n SeatingPlan,\n | `sections`\n | `sections.${number}._id`\n | `sections.${number}.default`\n | `categories`\n | `categories.${number}._id`\n | `categories.${number}.title`\n | `uncategorizedPlaces`\n | `elementGroups`\n | `elementGroups.${number}._id`,\n 4\n > & {\n __applicationErrorsType?: UpdateSeatingPlanApplicationErrors;\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 plan: options?.plan,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.updateSeatingPlan(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.plan!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { plan: '$[0].plan', fields: '$[0].fields' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateSeatingPlanOptions {\n /** Seating plan updates to apply. Must include the plan ID for identification. */\n plan?: SeatingPlan;\n /** Field mask specifying which parts of the seating plan to update. For example, `sections.elements.ui_properties` to update only visual properties. */\n fields?: string[];\n}\n\n/**\n * Creates a copy of an existing seating plan with a new title and external ID. Useful for reusing venue layouts across multiple events.\n * @param _id - ID of the seating plan to be copied.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField options\n * @requiredField options.externalId\n * @requiredField options.title\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanManagement.CopySeatingPlan\n */\nexport async function copySeatingPlan(\n _id: string,\n options: NonNullablePaths<CopySeatingPlanOptions, `externalId` | `title`, 2>\n): Promise<\n NonNullablePaths<\n CopySeatingPlanResponse,\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 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n id: _id,\n title: options?.title,\n externalId: options?.externalId,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.copySeatingPlan(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: {\n id: '$[0]',\n title: '$[1].title',\n externalId: '$[1].externalId',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CopySeatingPlanOptions {\n /**\n * Title for the new copied seating plan. Must be different from the original.\n * @minLength 1\n * @maxLength 120\n */\n title: string | null;\n /**\n * External ID for the new copied seating plan. Format: `{fqdn}:{entity_guid}`. Must be unique.\n * @minLength 1\n * @maxLength 100\n */\n externalId: string | null;\n}\n\n/**\n * Retrieves multiple seating plans based on filter criteria. Supports fieldset projections to control response size and improve performance.\n * @public\n * @documentationMaturity preview\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanManagement.QuerySeatingPlan\n */\nexport function querySeatingPlan(\n options?: QuerySeatingPlanOptions\n): PlansQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n SeatingPlan,\n 'CURSOR',\n QuerySeatingPlanRequest,\n QuerySeatingPlanResponse\n >({\n func: async (payload: QuerySeatingPlanRequest) => {\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.querySeatingPlan({\n ...payload,\n ...(options ?? {}),\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: QuerySeatingPlanRequest['query']) => {\n const args = [query, options] as [\n QuerySeatingPlanRequest['query'],\n QuerySeatingPlanOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({ data }: HttpResponse<QuerySeatingPlanResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.plans,\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\nexport interface QuerySeatingPlanOptions {\n /** Fieldsets to include in the response. Available options: ELEMENTS, CATEGORIES, PLACES, CONFIG, ELEMENT_GROUPS. */\n fieldset?: FieldsetWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface PlansQueryResult extends QueryCursorResult {\n items: SeatingPlan[];\n query: PlansQueryBuilder;\n next: () => Promise<PlansQueryResult>;\n prev: () => Promise<PlansQueryResult>;\n}\n\nexport interface PlansQueryBuilder {\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) => PlansQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => PlansQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<PlansQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn com.wixpress.seating.SeatingPlanManagement.QuerySeatingPlan\n * @requiredField query\n * @returns Response containing matching seating plans.\n */\nexport async function typedQuerySeatingPlan(\n query: SeatingPlanQuery,\n options?: QuerySeatingPlanOptions\n): Promise<NonNullablePaths<QuerySeatingPlanResponse, `plans`, 2>> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n query: query,\n ...options,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.querySeatingPlan(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', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface SeatingPlanQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n SeatingPlan,\n SeatingPlanQuerySpec\n>;\nexport type SeatingPlanQuery = {\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 * Retrieves a specific seating plan by ID. Supports fieldset projections and place filtering via SeatingPlanMask for targeted queries.\n * @param _id - Seating plan ID to retrieve.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Retrieved seating plan with requested fieldsets and filtered places.\n * @fqn com.wixpress.seating.SeatingPlanManagement.GetSeatingPlan\n */\nexport async function getSeatingPlan(\n _id: string,\n options?: GetSeatingPlanOptions\n): Promise<\n NonNullablePaths<\n SeatingPlan,\n | `sections`\n | `sections.${number}._id`\n | `sections.${number}.default`\n | `categories`\n | `categories.${number}._id`\n | `categories.${number}.title`\n | `uncategorizedPlaces`\n | `elementGroups`\n | `elementGroups.${number}._id`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n id: _id,\n fieldset: options?.fieldset,\n fieldsets: options?.fieldsets,\n seatingPlanMask: options?.seatingPlanMask,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.getSeatingPlan(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.plan!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n id: '$[0]',\n fieldset: '$[1].fieldset',\n fieldsets: '$[1].fieldsets',\n seatingPlanMask: '$[1].seatingPlanMask',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetSeatingPlanOptions {\n /**\n * Deprecated. Use `fieldsets` parameter instead.\n * @deprecated\n */\n fieldset?: FieldsetWithLiterals[];\n /**\n * Projection on the result object - list of named projections.\n * Possible values: \"elements\", \"categories\", \"places\", \"config\".\n */\n fieldsets?: string[];\n /** Seating plan mask for filtering specific places by their IDs. Useful for retrieving only relevant places. */\n seatingPlanMask?: SeatingPlanMask;\n}\n\n/**\n * Finds the first seating plan matching the specified filter criteria. Useful for locating plans by external ID or other properties.\n * @param filter - Filter criteria for finding the seating plan. Use standard WQL filter format.\n * @public\n * @documentationMaturity preview\n * @requiredField filter\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanManagement.FindSeatingPlan\n */\nexport async function findSeatingPlan(\n filter: Record<string, any>,\n options?: FindSeatingPlanOptions\n): Promise<\n NonNullablePaths<\n FindSeatingPlanResponse,\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 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n filter: filter,\n fieldset: options?.fieldset,\n fieldsets: options?.fieldsets,\n seatingPlanMask: options?.seatingPlanMask,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.findSeatingPlan(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: {\n filter: '$[0]',\n fieldset: '$[1].fieldset',\n fieldsets: '$[1].fieldsets',\n seatingPlanMask: '$[1].seatingPlanMask',\n },\n singleArgumentUnchanged: false,\n },\n ['filter', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface FindSeatingPlanOptions {\n /**\n * Deprecated. Use `fieldsets` parameter instead.\n * @deprecated\n */\n fieldset?: FieldsetWithLiterals[];\n /**\n * Projection on the result object - list of named projections.\n * Possible values: \"elements\", \"categories\", \"places\", \"config\".\n */\n fieldsets?: string[];\n /** Seating plan mask for filtering specific places by their IDs. */\n seatingPlanMask?: SeatingPlanMask;\n}\n\n/**\n * Deletes a seating plan and all its associated data including sections, elements, places, and version history.\n * @param _id - ID of the seating plan to delete.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanManagement.DeleteSeatingPlan\n */\nexport async function deleteSeatingPlan(\n _id: string\n): Promise<\n NonNullablePaths<\n DeleteSeatingPlanResponse,\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 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 = ambassadorWixSeatingV1SeatingPlan.deleteSeatingPlan(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 * Thumbnails provide visual previews of seating layouts for selection and management interfaces.\n * @param thumbnail - Thumbnail to update with new image data.\n * @public\n * @documentationMaturity preview\n * @requiredField thumbnail\n * @requiredField thumbnail._id\n * @requiredField thumbnail.img\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanThumbnailService.UpdateSeatingPlanThumbnail\n */\nexport async function updateSeatingPlanThumbnail(\n thumbnail: NonNullablePaths<SeatingPlanThumbnail, `_id` | `img`, 2>\n): Promise<UpdateSeatingPlanThumbnailResponse> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n thumbnail: thumbnail,\n });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingPlan.updateSeatingPlanThumbnail(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: { thumbnail: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['thumbnail']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Returns the current thumbnail or empty response if no thumbnail has been set.\n * @param _id - Seating plan ID to retrieve thumbnail for.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanThumbnailService.GetSeatingPlanThumbnail\n */\nexport async function getSeatingPlanThumbnail(\n _id: string\n): Promise<GetSeatingPlanThumbnailResponse> {\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 ambassadorWixSeatingV1SeatingPlan.getSeatingPlanThumbnail(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","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\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 resolveComWixpressSeatingSeatingPlanThumbnailServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'editor-flow.wixapps.net': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'api._base_domain_': [\n {\n srcPath: '/seating-plans',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/seating-plans',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/seating/v1/plans',\n destPath: '/v1/plans',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressSeatingSeatingPlanManagementUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'editor-flow.wixapps.net': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'api._base_domain_': [\n {\n srcPath: '/seating-plans',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/seating-plans',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/seating/v1/plans',\n destPath: '/v1/plans',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_seatings_seating-plan';\n\n/** Creates a new seating plan with sections, elements, and categories. The system automatically generates places based on element configurations and calculates capacity totals. */\nexport function createSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __createSeatingPlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'plan.createdDate' }, { path: 'plan.updatedDate' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\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 { path: 'plan.sections.elements.multiRowProperties.curveAngleTo' },\n { path: 'plan.sections.elements.multiRowProperties.curveAngleFrom' },\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 const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.CreateSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans',\n data: serializedData,\n host,\n }),\n data: serializedData,\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 __createSeatingPlan;\n}\n\n/** Updates an existing seating plan. Changes trigger recalculation of places, capacities, and version increment. Use field masks to update specific portions of the plan. */\nexport function updateSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __updateSeatingPlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fields' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'plan.createdDate' }, { path: 'plan.updatedDate' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\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 { path: 'plan.sections.elements.multiRowProperties.curveAngleTo' },\n { path: 'plan.sections.elements.multiRowProperties.curveAngleFrom' },\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 const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'PUT' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.UpdateSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans',\n data: serializedData,\n host,\n }),\n data: serializedData,\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 __updateSeatingPlan;\n}\n\n/** Creates a copy of an existing seating plan with a new title and external ID. Useful for reusing venue layouts across multiple events. */\nexport function copySeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __copySeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.CopySeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/copy',\n data: payload,\n host,\n }),\n data: 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 __copySeatingPlan;\n}\n\n/** Retrieves multiple seating plans based on filter criteria. Supports fieldset projections to control response size and improve performance. */\nexport function querySeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __querySeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.QuerySeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'plans.createdDate' },\n { path: 'plans.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'plans.sections.elements.uiProperties.x' },\n { path: 'plans.sections.elements.uiProperties.y' },\n { path: 'plans.sections.elements.uiProperties.width' },\n { path: 'plans.sections.elements.uiProperties.height' },\n { path: 'plans.sections.elements.uiProperties.rotationAngle' },\n {\n path: 'plans.sections.elements.multiRowProperties.curveAngleTo',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.curveAngleFrom',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.rows.uiProperties.relativeX',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.rows.uiProperties.width',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo',\n },\n { path: 'plans.elementGroups.uiProperties.x' },\n { path: 'plans.elementGroups.uiProperties.y' },\n { path: 'plans.elementGroups.uiProperties.width' },\n { path: 'plans.elementGroups.uiProperties.height' },\n { path: 'plans.elementGroups.uiProperties.rotationAngle' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __querySeatingPlan;\n}\n\n/** Retrieves a specific seating plan by ID. Supports fieldset projections and place filtering via SeatingPlanMask for targeted queries. */\nexport function getSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __getSeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.GetSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/{id}',\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 __getSeatingPlan;\n}\n\n/** Finds the first seating plan matching the specified filter criteria. Useful for locating plans by external ID or other properties. */\nexport function findSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __findSeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.FindSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/find',\n data: payload,\n host,\n }),\n data: 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 __findSeatingPlan;\n}\n\n/** Deletes a seating plan and all its associated data including sections, elements, places, and version history. */\nexport function deleteSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __deleteSeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'DELETE' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.DeleteSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/{id}',\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 __deleteSeatingPlan;\n}\n\n/** Thumbnails provide visual previews of seating layouts for selection and management interfaces. */\nexport function updateSeatingPlanThumbnail(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateSeatingPlanThumbnail({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingPlanThumbnailService.UpdateSeatingPlanThumbnail',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanThumbnailServiceUrl({\n protoPath: '/v1/plan-thumbnails',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateSeatingPlanThumbnail;\n}\n\n/** Returns the current thumbnail or empty response if no thumbnail has been set. */\nexport function getSeatingPlanThumbnail(\n payload: object\n): RequestOptionsFactory<any> {\n function __getSeatingPlanThumbnail({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingPlanThumbnailService.GetSeatingPlanThumbnail',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanThumbnailServiceUrl({\n protoPath: '/v1/plan-thumbnails',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getSeatingPlanThumbnail;\n}\n"],"mappings":";;;;;;;;;;;;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2BAA2B,OAAO;AAEtE,eAAa,aAAa;AAC1B,MAAI;AACF,UAAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,eAAO,uEAAwC,OAAO,IAAI;AAAA,EAC5D,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAP;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B,EAAE,WAAW,OAAO;AAAA,QAC9C,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,WAAW;AAAA,IACd;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;AAYA,eAAsBQ,yBACpB,KAC0C;AAE1C,QAAM,EAAE,YAAY,YAAY,IAAI,UAAU,CAAC;AAK/C,QAAM,cAAU,qEAAsC,EAAE,IAAI,IAAI,CAAC;AAEjE,QAAM,UAC8B,wBAAwB,OAAO;AAEnE,eAAa,aAAa;AAC1B,MAAI;AACF,UAAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,eAAO,uEAAwC,OAAO,IAAI;AAAA,EAC5D,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAR;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B,EAAE,IAAI,OAAO;AAAA,QACvC,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,KAAK;AAAA,IACR;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["copySeatingPlan","createSeatingPlan","deleteSeatingPlan","findSeatingPlan","getSeatingPlan","getSeatingPlanThumbnail","querySeatingPlan","updateSeatingPlan","updateSeatingPlanThumbnail","import_float","import_timestamp","import_rest_modules","payload","import_transform_paths","Type","PlaceTypeEnumType","ShapeTypeEnumType","Position","Icon","Numbering","SortOrder","Fieldset","WebhookIdentityType","createSeatingPlan","sdkTransformError","updateSeatingPlan","copySeatingPlan","querySeatingPlan","getSeatingPlan","findSeatingPlan","deleteSeatingPlan","updateSeatingPlanThumbnail","getSeatingPlanThumbnail"]}
|
|
1
|
+
{"version":3,"sources":["../../index.typings.ts","../../src/seating-v1-seating-plan-seating-plan.universal.ts","../../src/seating-v1-seating-plan-seating-plan.http.ts"],"sourcesContent":["export * from './src/seating-v1-seating-plan-seating-plan.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 ambassadorWixSeatingV1SeatingPlan from './seating-v1-seating-plan-seating-plan.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\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 create a new seating plan. */\nexport interface CreateSeatingPlanRequest {\n /** Seating plan to create. Must include at least one section with `id = 0` as the default section. */\n plan: SeatingPlan;\n}\n\n/** Response containing the created seating plan. */\nexport interface CreateSeatingPlanResponse {\n /** Created seating plan with generated ID, timestamps, and calculated totals. */\n plan?: SeatingPlan;\n}\n\n/** Error details when seating plan or element capacity limits are exceeded. */\nexport interface CapacityExceededViolation {\n /** Maximum allowed capacity that was exceeded. Represents the system limit for the specific context. */\n maxCapacity?: number;\n /** Invalid capacity value that was provided in the request. */\n capacity?: number;\n /** ID of the element where the capacity violation occurred. Only present for element-level violations. */\n elementId?: number | null;\n}\n\n/** Request to update an existing seating plan. */\nexport interface UpdateSeatingPlanRequest {\n /** Seating plan updates to apply. Must include the plan ID for identification. */\n plan?: SeatingPlan;\n /** Field mask specifying which parts of the seating plan to update. For example, `sections.elements.ui_properties` to update only visual properties. */\n fields?: string[];\n}\n\n/** Response containing the updated seating plan. */\nexport interface UpdateSeatingPlanResponse {\n /** Updated seating plan with incremented version and recalculated totals. */\n plan?: SeatingPlan;\n}\n\nexport interface CopySeatingPlanRequest {\n /**\n * ID of the seating plan to be copied.\n * @format GUID\n */\n _id: string | null;\n /**\n * Title for the new copied seating plan. Must be different from the original.\n * @minLength 1\n * @maxLength 120\n */\n title: string | null;\n /**\n * External ID for the new copied seating plan. Format: `{fqdn}:{entity_guid}`. Must be unique.\n * @minLength 1\n * @maxLength 100\n */\n externalId: string | null;\n}\n\nexport interface CopySeatingPlanResponse {\n /** Copied seating plan with new ID, specified title, and all duplicated content. */\n plan?: SeatingPlan;\n}\n\n/** Request to query multiple seating plans with filtering and projection options. */\nexport interface QuerySeatingPlanRequest {\n /**\n * Generic query object\n * Possible fieldsets: \"elements\", \"categories\", \"places\", \"config\".\n */\n query: QueryV2;\n /** Fieldsets to include in the response. Available options: ELEMENTS, CATEGORIES, PLACES, CONFIG, ELEMENT_GROUPS. */\n fieldset?: FieldsetWithLiterals[];\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/** Available fieldsets for seating plan projections. */\nexport enum Fieldset {\n /** Include section elements with their configurations and generated places. */\n ELEMENTS = 'ELEMENTS',\n /** Include categories with their assigned places and capacity totals. */\n CATEGORIES = 'CATEGORIES',\n /** Include all generated places across all elements and sections. */\n PLACES = 'PLACES',\n /** Include legacy configuration objects for backward compatibility. */\n CONFIG = 'CONFIG',\n /** Include element groups for hierarchical organization and UI rendering. */\n ELEMENT_GROUPS = 'ELEMENT_GROUPS',\n}\n\n/** @enumType */\nexport type FieldsetWithLiterals =\n | Fieldset\n | 'ELEMENTS'\n | 'CATEGORIES'\n | 'PLACES'\n | 'CONFIG'\n | 'ELEMENT_GROUPS';\n\n/** Response containing matching seating plans. */\nexport interface QuerySeatingPlanResponse {\n /** Seating plans matching the query criteria with requested fieldsets included. */\n plans?: SeatingPlan[];\n}\n\n/** Request to retrieve a specific seating plan by ID. */\nexport interface GetSeatingPlanRequest {\n /**\n * Seating plan ID to retrieve.\n * @format GUID\n */\n _id: string | null;\n /**\n * Deprecated. Use `fieldsets` parameter instead.\n * @deprecated\n */\n fieldset?: FieldsetWithLiterals[];\n /**\n * Projection on the result object - list of named projections.\n * Possible values: \"elements\", \"categories\", \"places\", \"config\".\n */\n fieldsets?: string[];\n /** Seating plan mask for filtering specific places by their IDs. Useful for retrieving only relevant places. */\n seatingPlanMask?: SeatingPlanMask;\n}\n\nexport interface SeatingPlanMask {\n /**\n * Filter seating plan by place IDs. For example, `0-1-A`, `0-2-B`. Use this to retrieve only specific places from large seating plans.\n * @minLength 5\n * @maxLength 11\n */\n placeId?: string[];\n}\n\nexport interface GetSeatingPlanResponse {\n /** Retrieved seating plan with requested fieldsets and filtered places. */\n plan?: SeatingPlan;\n}\n\nexport interface FindSeatingPlanRequest {\n /** Filter criteria for finding the seating plan. Use standard WQL filter format. */\n filter: Record<string, any> | null;\n /**\n * Deprecated. Use `fieldsets` parameter instead.\n * @deprecated\n */\n fieldset?: FieldsetWithLiterals[];\n /**\n * Projection on the result object - list of named projections.\n * Possible values: \"elements\", \"categories\", \"places\", \"config\".\n */\n fieldsets?: string[];\n /** Seating plan mask for filtering specific places by their IDs. */\n seatingPlanMask?: SeatingPlanMask;\n}\n\nexport interface FindSeatingPlanResponse {\n /** Found seating plan matching the filter criteria, or empty if no match found. */\n plan?: SeatingPlan;\n}\n\nexport interface DeleteSeatingPlanRequest {\n /**\n * ID of the seating plan to delete.\n * @format GUID\n */\n _id: string | null;\n}\n\nexport interface DeleteSeatingPlanResponse {\n /** Deleted seating plan data for reference before deletion. */\n plan?: SeatingPlan;\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\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 /** Details related to the account */\n accountInfo?: AccountInfo;\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\nexport interface UpdateSeatingPlanThumbnailRequest {\n /** Thumbnail to update with new image data. */\n thumbnail: SeatingPlanThumbnail;\n}\n\n/** Thumbnail image data for a seating plan. */\nexport interface SeatingPlanThumbnail {\n /**\n * Seating plan ID that this thumbnail represents.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /** Thumbnail image data or reference. Format depends on implementation (base64, URL, or image ID). */\n img?: string | null;\n}\n\nexport interface UpdateSeatingPlanThumbnailResponse {\n /** Updated thumbnail with confirmation of changes. */\n thumbnail?: SeatingPlanThumbnail;\n}\n\nexport interface GetSeatingPlanThumbnailRequest {\n /**\n * Seating plan ID to retrieve thumbnail for.\n * @format GUID\n * @readonly\n */\n _id: string | null;\n}\n\nexport interface GetSeatingPlanThumbnailResponse {\n /** Retrieved thumbnail data, or empty if no thumbnail exists. */\n thumbnail?: SeatingPlanThumbnail;\n}\n\nexport interface SaveSeatingPlanVersionRequest {\n /** Seating plan version to be saved as a draft. Must include plan ID for existing plans. */\n plan?: SeatingPlan;\n /**\n * Parent version of the plan. Use this field to override history of plan versions.\n * @min 1\n */\n parentVersion?: string | null;\n}\n\nexport interface SaveSeatingPlanVersionResponse {\n /** Saved seating plan version with incremented version number and updated timestamps. */\n plan?: SeatingPlan;\n}\n\nexport interface QuerySeatingPlanVersionsRequest {\n /** Query criteria for filtering seating plan versions. Supports standard WQL filtering, sorting, and paging. */\n query?: QueryV2;\n}\n\nexport interface QuerySeatingPlanVersionsResponse {\n /** Seating plan versions matching the query criteria, ordered by version number. */\n plans?: SeatingPlan[];\n /** Paging metadata for the query results including total count and cursor information. */\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\nexport interface DiscardSeatingPlanVersionsRequest {\n /**\n * Seating plan ID to discard versions for.\n * @format GUID\n */\n seatingPlanId?: string | null;\n /** Version from which all higher versions will be discarded. This version and lower versions are preserved. */\n version?: string | null;\n}\n\nexport interface DiscardSeatingPlanVersionsResponse {}\n\nexport interface RestoreSeatingPlanRequest {\n /**\n * Seating plan ID to restore.\n * @format GUID\n */\n seatingPlanId?: string | null;\n /** Version to which the seating plan should be restored. This becomes the basis for the new current version. */\n version?: string | null;\n}\n\nexport interface RestoreSeatingPlanResponse {\n /** Restored seating plan with the specified version as the new current version and incremented version number. */\n plan?: SeatingPlan;\n}\n\n/** @docsIgnore */\nexport type CreateSeatingPlanApplicationErrors =\n | {\n code?: 'PLAN_MAX_CAPACITY_EXCEEDED';\n description?: string;\n data?: CapacityExceededViolation;\n }\n | {\n code?: 'ELEMENT_MAX_CAPACITY_EXCEEDED';\n description?: string;\n data?: CapacityExceededViolation;\n };\n/** @docsIgnore */\nexport type UpdateSeatingPlanApplicationErrors = {\n code?: 'INVALID_FIELD_MASK';\n description?: string;\n data?: Record<string, any>;\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 /** Details related to the account */\n accountInfo?: AccountInfo;\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 accountInfo?: AccountInfoMetadata;\n}\n\ninterface AccountInfoMetadata {\n /** ID of the Wix account associated with the event */\n accountId: string;\n /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */\n siteId?: string;\n /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */\n parentAccountId?: string;\n}\n\nexport interface SeatingPlanCreatedEnvelope {\n entity: SeatingPlan;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @webhook\n * @eventType wix.seating.v1.seating_plan_created\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onSeatingPlanCreated(\n handler: (event: SeatingPlanCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface SeatingPlanDeletedEnvelope {\n entity: SeatingPlan;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @webhook\n * @eventType wix.seating.v1.seating_plan_deleted\n * @slug deleted\n * @documentationMaturity preview\n */\nexport declare function onSeatingPlanDeleted(\n handler: (event: SeatingPlanDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface SeatingPlanUpdatedEnvelope {\n entity: SeatingPlan;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @webhook\n * @eventType wix.seating.v1.seating_plan_updated\n * @slug updated\n * @documentationMaturity preview\n */\nexport declare function onSeatingPlanUpdated(\n handler: (event: SeatingPlanUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a new seating plan with sections, elements, and categories. The system automatically generates places based on element configurations and calculates capacity totals.\n * @param plan - Seating plan to create. Must include at least one section with `id = 0` as the default section.\n * @public\n * @documentationMaturity preview\n * @requiredField plan\n * @requiredField plan.sections.elements.title\n * @requiredField plan.title\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Created seating plan with generated ID, timestamps, and calculated totals.\n * @fqn com.wixpress.seating.SeatingPlanManagement.CreateSeatingPlan\n */\nexport async function createSeatingPlan(\n plan: NonNullablePaths<\n SeatingPlan,\n `sections.${number}.elements.${number}.title` | `title`,\n 6\n >\n): Promise<\n NonNullablePaths<\n SeatingPlan,\n | `sections`\n | `sections.${number}._id`\n | `sections.${number}.default`\n | `categories`\n | `categories.${number}._id`\n | `categories.${number}.title`\n | `uncategorizedPlaces`\n | `elementGroups`\n | `elementGroups.${number}._id`,\n 4\n > & {\n __applicationErrorsType?: CreateSeatingPlanApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ plan: plan });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.createSeatingPlan(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.plan!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { plan: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['plan']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates an existing seating plan. Changes trigger recalculation of places, capacities, and version increment. Use field masks to update specific portions of the plan.\n * @public\n * @documentationMaturity preview\n * @requiredField options.plan._id\n * @requiredField options.plan.sections.elements.title\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Updated seating plan with incremented version and recalculated totals.\n * @fqn com.wixpress.seating.SeatingPlanManagement.UpdateSeatingPlan\n */\nexport async function updateSeatingPlan(\n options?: NonNullablePaths<\n UpdateSeatingPlanOptions,\n `plan._id` | `plan.sections.${number}.elements.${number}.title`,\n 7\n >\n): Promise<\n NonNullablePaths<\n SeatingPlan,\n | `sections`\n | `sections.${number}._id`\n | `sections.${number}.default`\n | `categories`\n | `categories.${number}._id`\n | `categories.${number}.title`\n | `uncategorizedPlaces`\n | `elementGroups`\n | `elementGroups.${number}._id`,\n 4\n > & {\n __applicationErrorsType?: UpdateSeatingPlanApplicationErrors;\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 plan: options?.plan,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.updateSeatingPlan(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.plan!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { plan: '$[0].plan', fields: '$[0].fields' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateSeatingPlanOptions {\n /** Seating plan updates to apply. Must include the plan ID for identification. */\n plan?: SeatingPlan;\n /** Field mask specifying which parts of the seating plan to update. For example, `sections.elements.ui_properties` to update only visual properties. */\n fields?: string[];\n}\n\n/**\n * Creates a copy of an existing seating plan with a new title and external ID. Useful for reusing venue layouts across multiple events.\n * @param _id - ID of the seating plan to be copied.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField options\n * @requiredField options.externalId\n * @requiredField options.title\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanManagement.CopySeatingPlan\n */\nexport async function copySeatingPlan(\n _id: string,\n options: NonNullablePaths<CopySeatingPlanOptions, `externalId` | `title`, 2>\n): Promise<\n NonNullablePaths<\n CopySeatingPlanResponse,\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 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n id: _id,\n title: options?.title,\n externalId: options?.externalId,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.copySeatingPlan(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: {\n id: '$[0]',\n title: '$[1].title',\n externalId: '$[1].externalId',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CopySeatingPlanOptions {\n /**\n * Title for the new copied seating plan. Must be different from the original.\n * @minLength 1\n * @maxLength 120\n */\n title: string | null;\n /**\n * External ID for the new copied seating plan. Format: `{fqdn}:{entity_guid}`. Must be unique.\n * @minLength 1\n * @maxLength 100\n */\n externalId: string | null;\n}\n\n/**\n * Retrieves multiple seating plans based on filter criteria. Supports fieldset projections to control response size and improve performance.\n * @public\n * @documentationMaturity preview\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanManagement.QuerySeatingPlan\n */\nexport function querySeatingPlan(\n options?: QuerySeatingPlanOptions\n): PlansQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n SeatingPlan,\n 'CURSOR',\n QuerySeatingPlanRequest,\n QuerySeatingPlanResponse\n >({\n func: async (payload: QuerySeatingPlanRequest) => {\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.querySeatingPlan({\n ...payload,\n ...(options ?? {}),\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: QuerySeatingPlanRequest['query']) => {\n const args = [query, options] as [\n QuerySeatingPlanRequest['query'],\n QuerySeatingPlanOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({ data }: HttpResponse<QuerySeatingPlanResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.plans,\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\nexport interface QuerySeatingPlanOptions {\n /** Fieldsets to include in the response. Available options: ELEMENTS, CATEGORIES, PLACES, CONFIG, ELEMENT_GROUPS. */\n fieldset?: FieldsetWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface PlansQueryResult extends QueryCursorResult {\n items: SeatingPlan[];\n query: PlansQueryBuilder;\n next: () => Promise<PlansQueryResult>;\n prev: () => Promise<PlansQueryResult>;\n}\n\nexport interface PlansQueryBuilder {\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) => PlansQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => PlansQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<PlansQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn com.wixpress.seating.SeatingPlanManagement.QuerySeatingPlan\n * @requiredField query\n * @returns Response containing matching seating plans.\n */\nexport async function typedQuerySeatingPlan(\n query: SeatingPlanQuery,\n options?: QuerySeatingPlanOptions\n): Promise<NonNullablePaths<QuerySeatingPlanResponse, `plans`, 2>> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n query: query,\n ...options,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.querySeatingPlan(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', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface SeatingPlanQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n SeatingPlan,\n SeatingPlanQuerySpec\n>;\nexport type SeatingPlanQuery = {\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 * Retrieves a specific seating plan by ID. Supports fieldset projections and place filtering via SeatingPlanMask for targeted queries.\n * @param _id - Seating plan ID to retrieve.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @returns Retrieved seating plan with requested fieldsets and filtered places.\n * @fqn com.wixpress.seating.SeatingPlanManagement.GetSeatingPlan\n */\nexport async function getSeatingPlan(\n _id: string,\n options?: GetSeatingPlanOptions\n): Promise<\n NonNullablePaths<\n SeatingPlan,\n | `sections`\n | `sections.${number}._id`\n | `sections.${number}.default`\n | `categories`\n | `categories.${number}._id`\n | `categories.${number}.title`\n | `uncategorizedPlaces`\n | `elementGroups`\n | `elementGroups.${number}._id`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n id: _id,\n fieldset: options?.fieldset,\n fieldsets: options?.fieldsets,\n seatingPlanMask: options?.seatingPlanMask,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.getSeatingPlan(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.plan!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n id: '$[0]',\n fieldset: '$[1].fieldset',\n fieldsets: '$[1].fieldsets',\n seatingPlanMask: '$[1].seatingPlanMask',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetSeatingPlanOptions {\n /**\n * Deprecated. Use `fieldsets` parameter instead.\n * @deprecated\n */\n fieldset?: FieldsetWithLiterals[];\n /**\n * Projection on the result object - list of named projections.\n * Possible values: \"elements\", \"categories\", \"places\", \"config\".\n */\n fieldsets?: string[];\n /** Seating plan mask for filtering specific places by their IDs. Useful for retrieving only relevant places. */\n seatingPlanMask?: SeatingPlanMask;\n}\n\n/**\n * Finds the first seating plan matching the specified filter criteria. Useful for locating plans by external ID or other properties.\n * @param filter - Filter criteria for finding the seating plan. Use standard WQL filter format.\n * @public\n * @documentationMaturity preview\n * @requiredField filter\n * @permissionId SEATING_PLANS.READ_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanManagement.FindSeatingPlan\n */\nexport async function findSeatingPlan(\n filter: Record<string, any>,\n options?: FindSeatingPlanOptions\n): Promise<\n NonNullablePaths<\n FindSeatingPlanResponse,\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 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n filter: filter,\n fieldset: options?.fieldset,\n fieldsets: options?.fieldsets,\n seatingPlanMask: options?.seatingPlanMask,\n });\n\n const reqOpts = ambassadorWixSeatingV1SeatingPlan.findSeatingPlan(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: {\n filter: '$[0]',\n fieldset: '$[1].fieldset',\n fieldsets: '$[1].fieldsets',\n seatingPlanMask: '$[1].seatingPlanMask',\n },\n singleArgumentUnchanged: false,\n },\n ['filter', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface FindSeatingPlanOptions {\n /**\n * Deprecated. Use `fieldsets` parameter instead.\n * @deprecated\n */\n fieldset?: FieldsetWithLiterals[];\n /**\n * Projection on the result object - list of named projections.\n * Possible values: \"elements\", \"categories\", \"places\", \"config\".\n */\n fieldsets?: string[];\n /** Seating plan mask for filtering specific places by their IDs. */\n seatingPlanMask?: SeatingPlanMask;\n}\n\n/**\n * Deletes a seating plan and all its associated data including sections, elements, places, and version history.\n * @param _id - ID of the seating plan to delete.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanManagement.DeleteSeatingPlan\n */\nexport async function deleteSeatingPlan(\n _id: string\n): Promise<\n NonNullablePaths<\n DeleteSeatingPlanResponse,\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 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 = ambassadorWixSeatingV1SeatingPlan.deleteSeatingPlan(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 * Thumbnails provide visual previews of seating layouts for selection and management interfaces.\n * @param thumbnail - Thumbnail to update with new image data.\n * @public\n * @documentationMaturity preview\n * @requiredField thumbnail\n * @requiredField thumbnail._id\n * @requiredField thumbnail.img\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanThumbnailService.UpdateSeatingPlanThumbnail\n */\nexport async function updateSeatingPlanThumbnail(\n thumbnail: NonNullablePaths<SeatingPlanThumbnail, `_id` | `img`, 2>\n): Promise<UpdateSeatingPlanThumbnailResponse> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n thumbnail: thumbnail,\n });\n\n const reqOpts =\n ambassadorWixSeatingV1SeatingPlan.updateSeatingPlanThumbnail(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: { thumbnail: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['thumbnail']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Returns the current thumbnail or empty response if no thumbnail has been set.\n * @param _id - Seating plan ID to retrieve thumbnail for.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId SEATING_PLANS.MANAGE_SEATING_PLANS\n * @applicableIdentity APP\n * @fqn com.wixpress.seating.SeatingPlanThumbnailService.GetSeatingPlanThumbnail\n */\nexport async function getSeatingPlanThumbnail(\n _id: string\n): Promise<GetSeatingPlanThumbnailResponse> {\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 ambassadorWixSeatingV1SeatingPlan.getSeatingPlanThumbnail(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","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\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 resolveComWixpressSeatingSeatingPlanThumbnailServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'editor-flow.wixapps.net': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'api._base_domain_': [\n {\n srcPath: '/seating-plans',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/seating-plans',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/seating/v1/plans',\n destPath: '/v1/plans',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressSeatingSeatingPlanManagementUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'editor-flow.wixapps.net': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'api._base_domain_': [\n {\n srcPath: '/seating-plans',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/seating-plans',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/seating-plans',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/seating/v1/plans',\n destPath: '/v1/plans',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_seatings_seating-plan';\n\n/** Creates a new seating plan with sections, elements, and categories. The system automatically generates places based on element configurations and calculates capacity totals. */\nexport function createSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __createSeatingPlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'plan.createdDate' }, { path: 'plan.updatedDate' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\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 { path: 'plan.sections.elements.multiRowProperties.curveAngleTo' },\n { path: 'plan.sections.elements.multiRowProperties.curveAngleFrom' },\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 const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.CreateSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans',\n data: serializedData,\n host,\n }),\n data: serializedData,\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 __createSeatingPlan;\n}\n\n/** Updates an existing seating plan. Changes trigger recalculation of places, capacities, and version increment. Use field masks to update specific portions of the plan. */\nexport function updateSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __updateSeatingPlan({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fields' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'plan.createdDate' }, { path: 'plan.updatedDate' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\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 { path: 'plan.sections.elements.multiRowProperties.curveAngleTo' },\n { path: 'plan.sections.elements.multiRowProperties.curveAngleFrom' },\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 const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'PUT' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.UpdateSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans',\n data: serializedData,\n host,\n }),\n data: serializedData,\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 __updateSeatingPlan;\n}\n\n/** Creates a copy of an existing seating plan with a new title and external ID. Useful for reusing venue layouts across multiple events. */\nexport function copySeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __copySeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.CopySeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/copy',\n data: payload,\n host,\n }),\n data: 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 __copySeatingPlan;\n}\n\n/** Retrieves multiple seating plans based on filter criteria. Supports fieldset projections to control response size and improve performance. */\nexport function querySeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __querySeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.QuerySeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'plans.createdDate' },\n { path: 'plans.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'plans.sections.elements.uiProperties.x' },\n { path: 'plans.sections.elements.uiProperties.y' },\n { path: 'plans.sections.elements.uiProperties.width' },\n { path: 'plans.sections.elements.uiProperties.height' },\n { path: 'plans.sections.elements.uiProperties.rotationAngle' },\n {\n path: 'plans.sections.elements.multiRowProperties.curveAngleTo',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.curveAngleFrom',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.rows.uiProperties.relativeX',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.rows.uiProperties.width',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.rows.uiProperties.curveAngleFrom',\n },\n {\n path: 'plans.sections.elements.multiRowProperties.rows.uiProperties.curveAngleTo',\n },\n { path: 'plans.elementGroups.uiProperties.x' },\n { path: 'plans.elementGroups.uiProperties.y' },\n { path: 'plans.elementGroups.uiProperties.width' },\n { path: 'plans.elementGroups.uiProperties.height' },\n { path: 'plans.elementGroups.uiProperties.rotationAngle' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __querySeatingPlan;\n}\n\n/** Retrieves a specific seating plan by ID. Supports fieldset projections and place filtering via SeatingPlanMask for targeted queries. */\nexport function getSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __getSeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.GetSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/{id}',\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 __getSeatingPlan;\n}\n\n/** Finds the first seating plan matching the specified filter criteria. Useful for locating plans by external ID or other properties. */\nexport function findSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __findSeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.FindSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/find',\n data: payload,\n host,\n }),\n data: 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 __findSeatingPlan;\n}\n\n/** Deletes a seating plan and all its associated data including sections, elements, places, and version history. */\nexport function deleteSeatingPlan(payload: object): RequestOptionsFactory<any> {\n function __deleteSeatingPlan({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'DELETE' as any,\n methodFqn: 'com.wixpress.seating.SeatingPlanManagement.DeleteSeatingPlan',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanManagementUrl({\n protoPath: '/v1/plans/{id}',\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 __deleteSeatingPlan;\n}\n\n/** Thumbnails provide visual previews of seating layouts for selection and management interfaces. */\nexport function updateSeatingPlanThumbnail(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateSeatingPlanThumbnail({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingPlanThumbnailService.UpdateSeatingPlanThumbnail',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanThumbnailServiceUrl({\n protoPath: '/v1/plan-thumbnails',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateSeatingPlanThumbnail;\n}\n\n/** Returns the current thumbnail or empty response if no thumbnail has been set. */\nexport function getSeatingPlanThumbnail(\n payload: object\n): RequestOptionsFactory<any> {\n function __getSeatingPlanThumbnail({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.seating.v1.seating_plan',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.seating.SeatingPlanThumbnailService.GetSeatingPlanThumbnail',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressSeatingSeatingPlanThumbnailServiceUrl({\n protoPath: '/v1/plan-thumbnails',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getSeatingPlanThumbnail;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAAA;AAAA,EAAA,yBAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA;AAAA,2BAAAC;AAAA,EAAA,kCAAAC;AAAA;AAAA;;;ACAA,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,g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BAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;AAYA,eAAsBQ,yBACpB,KAC0C;AAE1C,QAAM,EAAE,YAAY,YAAY,IAAI,UAAU,CAAC;AAK/C,QAAM,cAAU,qEAAsC,EAAE,IAAI,IAAI,CAAC;AAEjE,QAAM,UAC8B,wBAAwB,OAAO;AAEnE,eAAa,aAAa;AAC1B,MAAI;AACF,UAAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,eAAO,uEAAwC,OAAO,IAAI;AAAA,EAC5D,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAR;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B,EAAE,IAAI,OAAO;AAAA,QACvC,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,KAAK;AAAA,IACR;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["copySeatingPlan","createSeatingPlan","deleteSeatingPlan","findSeatingPlan","getSeatingPlan","getSeatingPlanThumbnail","querySeatingPlan","updateSeatingPlan","updateSeatingPlanThumbnail","import_float","import_timestamp","import_rest_modules","payload","import_transform_paths","Type","PlaceTypeEnumType","ShapeTypeEnumType","Position","Icon","Numbering","SortOrder","Fieldset","WebhookIdentityType","createSeatingPlan","sdkTransformError","updateSeatingPlan","copySeatingPlan","querySeatingPlan","getSeatingPlan","findSeatingPlan","deleteSeatingPlan","updateSeatingPlanThumbnail","getSeatingPlanThumbnail"]}
|
package/build/cjs/meta.d.ts
CHANGED
|
@@ -920,6 +920,8 @@ interface MessageEnvelope {
|
|
|
920
920
|
identity?: IdentificationData;
|
|
921
921
|
/** Stringify payload. */
|
|
922
922
|
data?: string;
|
|
923
|
+
/** Details related to the account */
|
|
924
|
+
accountInfo?: AccountInfo;
|
|
923
925
|
}
|
|
924
926
|
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
925
927
|
/**
|