@wix/auto_sdk_seatings_seating-plan 1.0.83 → 1.0.84

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.
@@ -2,7 +2,9 @@ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTF
2
2
  import { SeatingPlan, CreateSeatingPlanApplicationErrors, UpdateSeatingPlanOptions, UpdateSeatingPlanApplicationErrors, CopySeatingPlanOptions, CopySeatingPlanResponse, GetSeatingPlanOptions, FindSeatingPlanOptions, FindSeatingPlanResponse, DeleteSeatingPlanResponse, SeatingPlanThumbnail, UpdateSeatingPlanThumbnailResponse, GetSeatingPlanThumbnailResponse, SeatingPlanCreatedEnvelope, SeatingPlanDeletedEnvelope, SeatingPlanUpdatedEnvelope, SeatingPlanQuery, QuerySeatingPlanOptions, typedQuerySeatingPlan, PlansQueryBuilder } from './index.typings.js';
3
3
  export { AccountInfo, AccountInfoMetadata, ActionEvent, AddSeatingPlanToFavoritesRequest, AddSeatingPlanToFavoritesResponse, BaseEventMetadata, CapacityExceededViolation, Category, CheckSeatingPlanFavoriteRequest, CheckSeatingPlanFavoriteResponse, CommonQueryWithEntityContext, CopySeatingPlanRequest, CreateSeatingPlanRequest, CreateSeatingPlanResponse, CursorPaging, Cursors, DeleteSeatingPlanRequest, DiscardSeatingPlanVersionsRequest, DiscardSeatingPlanVersionsResponse, DomainEvent, DomainEventBodyOneOf, Element, ElementGroup, ElementGroupUiProperties, ElementUiProperties, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, Fieldset, FieldsetWithLiterals, FindSeatingPlanRequest, GetFavoriteSeatingPlansRequest, GetFavoriteSeatingPlansResponse, GetSeatingPlanRequest, GetSeatingPlanResponse, GetSeatingPlanThumbnailRequest, Icon, IconWithLiterals, IdentificationData, IdentificationDataIdOneOf, Image, MessageEnvelope, MultiRowProperties, Numbering, NumberingWithLiterals, Paging, PagingMetadataV2, Place, PlaceTypeEnumType, PlaceTypeEnumTypeWithLiterals, PlansQueryResult, Position, PositionWithLiterals, QuerySeatingPlanRequest, QuerySeatingPlanResponse, QuerySeatingPlanVersionsRequest, QuerySeatingPlanVersionsResponse, QueryV2, QueryV2PagingMethodOneOf, RemoveSeatingPlanFromFavoritesRequest, RemoveSeatingPlanFromFavoritesResponse, ReservationOptions, RestoreInfo, RestoreSeatingPlanRequest, RestoreSeatingPlanResponse, RowElement, RowElementUiProperties, SaveSeatingPlanVersionRequest, SaveSeatingPlanVersionResponse, SeatingPlanMask, SeatingPlanQuerySpec, SeatingPlanUiProperties, Section, Sequencing, ShapeTypeEnumType, ShapeTypeEnumTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Type, TypeWithLiterals, UpdateSeatingPlanRequest, UpdateSeatingPlanResponse, UpdateSeatingPlanThumbnailRequest, VerticalSequencing, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
4
4
 
5
- declare function createSeatingPlan$1(httpClient: HttpClient): CreateSeatingPlanSignature;
5
+ declare function createSeatingPlan$1(httpClient: HttpClient, __options?: {
6
+ validateRequestSchema?: boolean;
7
+ }): CreateSeatingPlanSignature;
6
8
  interface CreateSeatingPlanSignature {
7
9
  /**
8
10
  * Creates a new seating plan with sections, elements, and categories. The system automatically generates places based on element configurations and calculates capacity totals.
@@ -13,7 +15,9 @@ interface CreateSeatingPlanSignature {
13
15
  __applicationErrorsType?: CreateSeatingPlanApplicationErrors;
14
16
  }>;
15
17
  }
16
- declare function updateSeatingPlan$1(httpClient: HttpClient): UpdateSeatingPlanSignature;
18
+ declare function updateSeatingPlan$1(httpClient: HttpClient, __options?: {
19
+ validateRequestSchema?: boolean;
20
+ }): UpdateSeatingPlanSignature;
17
21
  interface UpdateSeatingPlanSignature {
18
22
  /**
19
23
  * Updates an existing seating plan. Changes trigger recalculation of places, capacities, and version increment. Use field masks to update specific portions of the plan.
@@ -23,7 +27,9 @@ interface UpdateSeatingPlanSignature {
23
27
  __applicationErrorsType?: UpdateSeatingPlanApplicationErrors;
24
28
  }>;
25
29
  }
26
- declare function copySeatingPlan$1(httpClient: HttpClient): CopySeatingPlanSignature;
30
+ declare function copySeatingPlan$1(httpClient: HttpClient, __options?: {
31
+ validateRequestSchema?: boolean;
32
+ }): CopySeatingPlanSignature;
27
33
  interface CopySeatingPlanSignature {
28
34
  /**
29
35
  * Creates a copy of an existing seating plan with a new title and external ID. Useful for reusing venue layouts across multiple events.
@@ -31,7 +37,9 @@ interface CopySeatingPlanSignature {
31
37
  */
32
38
  (_id: string, options: NonNullablePaths<CopySeatingPlanOptions, `externalId` | `title`, 2>): Promise<NonNullablePaths<CopySeatingPlanResponse, `plan.sections` | `plan.sections.${number}._id` | `plan.sections.${number}.default` | `plan.categories` | `plan.categories.${number}._id` | `plan.categories.${number}.title` | `plan.uncategorizedPlaces` | `plan.elementGroups` | `plan.elementGroups.${number}._id`, 5>>;
33
39
  }
34
- declare function getSeatingPlan$1(httpClient: HttpClient): GetSeatingPlanSignature;
40
+ declare function getSeatingPlan$1(httpClient: HttpClient, __options?: {
41
+ validateRequestSchema?: boolean;
42
+ }): GetSeatingPlanSignature;
35
43
  interface GetSeatingPlanSignature {
36
44
  /**
37
45
  * Retrieves a specific seating plan by ID. Supports fieldset projections and place filtering via SeatingPlanMask for targeted queries.
@@ -40,7 +48,9 @@ interface GetSeatingPlanSignature {
40
48
  */
41
49
  (_id: string, options?: GetSeatingPlanOptions): Promise<NonNullablePaths<SeatingPlan, `sections` | `sections.${number}._id` | `sections.${number}.default` | `categories` | `categories.${number}._id` | `categories.${number}.title` | `uncategorizedPlaces` | `elementGroups` | `elementGroups.${number}._id`, 4>>;
42
50
  }
43
- declare function findSeatingPlan$1(httpClient: HttpClient): FindSeatingPlanSignature;
51
+ declare function findSeatingPlan$1(httpClient: HttpClient, __options?: {
52
+ validateRequestSchema?: boolean;
53
+ }): FindSeatingPlanSignature;
44
54
  interface FindSeatingPlanSignature {
45
55
  /**
46
56
  * Finds the first seating plan matching the specified filter criteria. Useful for locating plans by external ID or other properties.
@@ -48,7 +58,9 @@ interface FindSeatingPlanSignature {
48
58
  */
49
59
  (filter: Record<string, any>, options?: FindSeatingPlanOptions): Promise<NonNullablePaths<FindSeatingPlanResponse, `plan.sections` | `plan.sections.${number}._id` | `plan.sections.${number}.default` | `plan.categories` | `plan.categories.${number}._id` | `plan.categories.${number}.title` | `plan.uncategorizedPlaces` | `plan.elementGroups` | `plan.elementGroups.${number}._id`, 5>>;
50
60
  }
51
- declare function deleteSeatingPlan$1(httpClient: HttpClient): DeleteSeatingPlanSignature;
61
+ declare function deleteSeatingPlan$1(httpClient: HttpClient, __options?: {
62
+ validateRequestSchema?: boolean;
63
+ }): DeleteSeatingPlanSignature;
52
64
  interface DeleteSeatingPlanSignature {
53
65
  /**
54
66
  * Deletes a seating plan and all its associated data including sections, elements, places, and version history.
@@ -56,7 +68,9 @@ interface DeleteSeatingPlanSignature {
56
68
  */
57
69
  (_id: string): Promise<NonNullablePaths<DeleteSeatingPlanResponse, `plan.sections` | `plan.sections.${number}._id` | `plan.sections.${number}.default` | `plan.categories` | `plan.categories.${number}._id` | `plan.categories.${number}.title` | `plan.uncategorizedPlaces` | `plan.elementGroups` | `plan.elementGroups.${number}._id`, 5>>;
58
70
  }
59
- declare function updateSeatingPlanThumbnail$1(httpClient: HttpClient): UpdateSeatingPlanThumbnailSignature;
71
+ declare function updateSeatingPlanThumbnail$1(httpClient: HttpClient, __options?: {
72
+ validateRequestSchema?: boolean;
73
+ }): UpdateSeatingPlanThumbnailSignature;
60
74
  interface UpdateSeatingPlanThumbnailSignature {
61
75
  /**
62
76
  * Thumbnails provide visual previews of seating layouts for selection and management interfaces.
@@ -64,7 +78,9 @@ interface UpdateSeatingPlanThumbnailSignature {
64
78
  */
65
79
  (thumbnail: NonNullablePaths<SeatingPlanThumbnail, `_id` | `img`, 2>): Promise<UpdateSeatingPlanThumbnailResponse>;
66
80
  }
67
- declare function getSeatingPlanThumbnail$1(httpClient: HttpClient): GetSeatingPlanThumbnailSignature;
81
+ declare function getSeatingPlanThumbnail$1(httpClient: HttpClient, __options?: {
82
+ validateRequestSchema?: boolean;
83
+ }): GetSeatingPlanThumbnailSignature;
68
84
  interface GetSeatingPlanThumbnailSignature {
69
85
  /**
70
86
  * Returns the current thumbnail or empty response if no thumbnail has been set.