@wix/auto_sdk_seatings_seating-plan 1.0.84 → 1.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +25 -41
  2. package/build/cjs/index.js +131 -4789
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +177 -177
  5. package/build/cjs/index.typings.js +99 -4757
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +156 -156
  8. package/build/cjs/meta.js +79 -79
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +21 -21
  11. package/build/cjs/schemas.js +39 -39
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +25 -41
  14. package/build/es/index.mjs +131 -4779
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +177 -177
  17. package/build/es/index.typings.mjs +99 -4747
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +156 -156
  20. package/build/es/meta.mjs +79 -79
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +21 -21
  23. package/build/es/schemas.mjs +39 -39
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +25 -41
  26. package/build/internal/cjs/index.js +131 -4789
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +177 -177
  29. package/build/internal/cjs/index.typings.js +99 -4757
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +156 -156
  32. package/build/internal/cjs/meta.js +79 -79
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +21 -21
  35. package/build/internal/cjs/schemas.js +39 -39
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +25 -41
  38. package/build/internal/es/index.mjs +131 -4779
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +177 -177
  41. package/build/internal/es/index.typings.mjs +99 -4747
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +156 -156
  44. package/build/internal/es/meta.mjs +79 -79
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +21 -21
  47. package/build/internal/es/schemas.mjs +39 -39
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1,10 +1,24 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
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';
2
+ import { SeatingPlanThumbnail, UpdateSeatingPlanThumbnailResponse, GetSeatingPlanThumbnailResponse, SeatingPlan, CreateSeatingPlanApplicationErrors, UpdateSeatingPlanOptions, UpdateSeatingPlanApplicationErrors, CopySeatingPlanOptions, CopySeatingPlanResponse, GetSeatingPlanOptions, FindSeatingPlanOptions, FindSeatingPlanResponse, DeleteSeatingPlanResponse, 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, __options?: {
6
- validateRequestSchema?: boolean;
7
- }): CreateSeatingPlanSignature;
5
+ declare function updateSeatingPlanThumbnail$1(httpClient: HttpClient): UpdateSeatingPlanThumbnailSignature;
6
+ interface UpdateSeatingPlanThumbnailSignature {
7
+ /**
8
+ * Thumbnails provide visual previews of seating layouts for selection and management interfaces.
9
+ * @param - Thumbnail to update with new image data.
10
+ */
11
+ (thumbnail: NonNullablePaths<SeatingPlanThumbnail, `_id` | `img`, 2>): Promise<UpdateSeatingPlanThumbnailResponse>;
12
+ }
13
+ declare function getSeatingPlanThumbnail$1(httpClient: HttpClient): GetSeatingPlanThumbnailSignature;
14
+ interface GetSeatingPlanThumbnailSignature {
15
+ /**
16
+ * Returns the current thumbnail or empty response if no thumbnail has been set.
17
+ * @param - Seating plan ID to retrieve thumbnail for.
18
+ */
19
+ (_id: string): Promise<GetSeatingPlanThumbnailResponse>;
20
+ }
21
+ declare function createSeatingPlan$1(httpClient: HttpClient): CreateSeatingPlanSignature;
8
22
  interface CreateSeatingPlanSignature {
9
23
  /**
10
24
  * Creates a new seating plan with sections, elements, and categories. The system automatically generates places based on element configurations and calculates capacity totals.
@@ -15,9 +29,7 @@ interface CreateSeatingPlanSignature {
15
29
  __applicationErrorsType?: CreateSeatingPlanApplicationErrors;
16
30
  }>;
17
31
  }
18
- declare function updateSeatingPlan$1(httpClient: HttpClient, __options?: {
19
- validateRequestSchema?: boolean;
20
- }): UpdateSeatingPlanSignature;
32
+ declare function updateSeatingPlan$1(httpClient: HttpClient): UpdateSeatingPlanSignature;
21
33
  interface UpdateSeatingPlanSignature {
22
34
  /**
23
35
  * Updates an existing seating plan. Changes trigger recalculation of places, capacities, and version increment. Use field masks to update specific portions of the plan.
@@ -27,9 +39,7 @@ interface UpdateSeatingPlanSignature {
27
39
  __applicationErrorsType?: UpdateSeatingPlanApplicationErrors;
28
40
  }>;
29
41
  }
30
- declare function copySeatingPlan$1(httpClient: HttpClient, __options?: {
31
- validateRequestSchema?: boolean;
32
- }): CopySeatingPlanSignature;
42
+ declare function copySeatingPlan$1(httpClient: HttpClient): CopySeatingPlanSignature;
33
43
  interface CopySeatingPlanSignature {
34
44
  /**
35
45
  * Creates a copy of an existing seating plan with a new title and external ID. Useful for reusing venue layouts across multiple events.
@@ -37,9 +47,7 @@ interface CopySeatingPlanSignature {
37
47
  */
38
48
  (_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>>;
39
49
  }
40
- declare function getSeatingPlan$1(httpClient: HttpClient, __options?: {
41
- validateRequestSchema?: boolean;
42
- }): GetSeatingPlanSignature;
50
+ declare function getSeatingPlan$1(httpClient: HttpClient): GetSeatingPlanSignature;
43
51
  interface GetSeatingPlanSignature {
44
52
  /**
45
53
  * Retrieves a specific seating plan by ID. Supports fieldset projections and place filtering via SeatingPlanMask for targeted queries.
@@ -48,9 +56,7 @@ interface GetSeatingPlanSignature {
48
56
  */
49
57
  (_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>>;
50
58
  }
51
- declare function findSeatingPlan$1(httpClient: HttpClient, __options?: {
52
- validateRequestSchema?: boolean;
53
- }): FindSeatingPlanSignature;
59
+ declare function findSeatingPlan$1(httpClient: HttpClient): FindSeatingPlanSignature;
54
60
  interface FindSeatingPlanSignature {
55
61
  /**
56
62
  * Finds the first seating plan matching the specified filter criteria. Useful for locating plans by external ID or other properties.
@@ -58,9 +64,7 @@ interface FindSeatingPlanSignature {
58
64
  */
59
65
  (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>>;
60
66
  }
61
- declare function deleteSeatingPlan$1(httpClient: HttpClient, __options?: {
62
- validateRequestSchema?: boolean;
63
- }): DeleteSeatingPlanSignature;
67
+ declare function deleteSeatingPlan$1(httpClient: HttpClient): DeleteSeatingPlanSignature;
64
68
  interface DeleteSeatingPlanSignature {
65
69
  /**
66
70
  * Deletes a seating plan and all its associated data including sections, elements, places, and version history.
@@ -68,26 +72,6 @@ interface DeleteSeatingPlanSignature {
68
72
  */
69
73
  (_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>>;
70
74
  }
71
- declare function updateSeatingPlanThumbnail$1(httpClient: HttpClient, __options?: {
72
- validateRequestSchema?: boolean;
73
- }): UpdateSeatingPlanThumbnailSignature;
74
- interface UpdateSeatingPlanThumbnailSignature {
75
- /**
76
- * Thumbnails provide visual previews of seating layouts for selection and management interfaces.
77
- * @param - Thumbnail to update with new image data.
78
- */
79
- (thumbnail: NonNullablePaths<SeatingPlanThumbnail, `_id` | `img`, 2>): Promise<UpdateSeatingPlanThumbnailResponse>;
80
- }
81
- declare function getSeatingPlanThumbnail$1(httpClient: HttpClient, __options?: {
82
- validateRequestSchema?: boolean;
83
- }): GetSeatingPlanThumbnailSignature;
84
- interface GetSeatingPlanThumbnailSignature {
85
- /**
86
- * Returns the current thumbnail or empty response if no thumbnail has been set.
87
- * @param - Seating plan ID to retrieve thumbnail for.
88
- */
89
- (_id: string): Promise<GetSeatingPlanThumbnailResponse>;
90
- }
91
75
  declare const onSeatingPlanCreated$1: EventDefinition<SeatingPlanCreatedEnvelope, "wix.seating.v1.seating_plan_created">;
92
76
  declare const onSeatingPlanDeleted$1: EventDefinition<SeatingPlanDeletedEnvelope, "wix.seating.v1.seating_plan_deleted">;
93
77
  declare const onSeatingPlanUpdated$1: EventDefinition<SeatingPlanUpdatedEnvelope, "wix.seating.v1.seating_plan_updated">;
@@ -96,14 +80,14 @@ declare function customQuerySeatingPlan(httpClient: HttpClient): {
96
80
  (query: SeatingPlanQuery, options?: QuerySeatingPlanOptions): ReturnType<typeof typedQuerySeatingPlan>;
97
81
  (options?: QuerySeatingPlanOptions): PlansQueryBuilder;
98
82
  };
83
+ declare const updateSeatingPlanThumbnail: MaybeContext<BuildRESTFunction<typeof updateSeatingPlanThumbnail$1> & typeof updateSeatingPlanThumbnail$1>;
84
+ declare const getSeatingPlanThumbnail: MaybeContext<BuildRESTFunction<typeof getSeatingPlanThumbnail$1> & typeof getSeatingPlanThumbnail$1>;
99
85
  declare const createSeatingPlan: MaybeContext<BuildRESTFunction<typeof createSeatingPlan$1> & typeof createSeatingPlan$1>;
100
86
  declare const updateSeatingPlan: MaybeContext<BuildRESTFunction<typeof updateSeatingPlan$1> & typeof updateSeatingPlan$1>;
101
87
  declare const copySeatingPlan: MaybeContext<BuildRESTFunction<typeof copySeatingPlan$1> & typeof copySeatingPlan$1>;
102
88
  declare const getSeatingPlan: MaybeContext<BuildRESTFunction<typeof getSeatingPlan$1> & typeof getSeatingPlan$1>;
103
89
  declare const findSeatingPlan: MaybeContext<BuildRESTFunction<typeof findSeatingPlan$1> & typeof findSeatingPlan$1>;
104
90
  declare const deleteSeatingPlan: MaybeContext<BuildRESTFunction<typeof deleteSeatingPlan$1> & typeof deleteSeatingPlan$1>;
105
- declare const updateSeatingPlanThumbnail: MaybeContext<BuildRESTFunction<typeof updateSeatingPlanThumbnail$1> & typeof updateSeatingPlanThumbnail$1>;
106
- declare const getSeatingPlanThumbnail: MaybeContext<BuildRESTFunction<typeof getSeatingPlanThumbnail$1> & typeof getSeatingPlanThumbnail$1>;
107
91
  declare const querySeatingPlan: MaybeContext<BuildRESTFunction<typeof customQuerySeatingPlan> & typeof customQuerySeatingPlan>;
108
92
  /** */
109
93
  declare const onSeatingPlanCreated: BuildEventDefinition<typeof onSeatingPlanCreated$1> & typeof onSeatingPlanCreated$1;