@wix/auto_sdk_seatings_seating-plan 1.0.91 → 1.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +7 -7
- package/build/cjs/index.js +120 -384
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +8 -8
- package/build/cjs/index.typings.js +83 -279
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +83 -279
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +7 -7
- package/build/es/index.mjs +120 -384
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +8 -8
- package/build/es/index.typings.mjs +83 -279
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +83 -279
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +7 -7
- package/build/internal/cjs/index.typings.d.ts +8 -8
- package/build/internal/es/index.d.mts +7 -7
- package/build/internal/es/index.typings.d.mts +8 -8
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ interface UpdateSeatingPlanThumbnailSignature {
|
|
|
8
8
|
* Thumbnails provide visual previews of seating layouts for selection and management interfaces.
|
|
9
9
|
* @param - Thumbnail to update with new image data.
|
|
10
10
|
*/
|
|
11
|
-
(thumbnail: NonNullablePaths<SeatingPlanThumbnail, `_id` | `img`,
|
|
11
|
+
(thumbnail: NonNullablePaths<SeatingPlanThumbnail, `_id` | `img`, 0>): Promise<UpdateSeatingPlanThumbnailResponse>;
|
|
12
12
|
}
|
|
13
13
|
declare function getSeatingPlanThumbnail$1(httpClient: HttpClient): GetSeatingPlanThumbnailSignature;
|
|
14
14
|
interface GetSeatingPlanThumbnailSignature {
|
|
@@ -25,7 +25,7 @@ interface CreateSeatingPlanSignature {
|
|
|
25
25
|
* @param - Seating plan to create. Must include at least one section with `id = 0` as the default section.
|
|
26
26
|
* @returns Created seating plan with generated ID, timestamps, and calculated totals.
|
|
27
27
|
*/
|
|
28
|
-
(plan: NonNullablePaths<SeatingPlan, `sections.${number}.elements.${number}.title` | `title`,
|
|
28
|
+
(plan: NonNullablePaths<SeatingPlan, `sections.${number}.elements.${number}.title` | `title`, 4>): Promise<NonNullablePaths<SeatingPlan, `sections` | `sections.${number}._id` | `sections.${number}.default` | `categories` | `categories.${number}._id` | `categories.${number}.title` | `uncategorizedPlaces` | `elementGroups` | `elementGroups.${number}._id`, 2> & {
|
|
29
29
|
__applicationErrorsType?: CreateSeatingPlanApplicationErrors;
|
|
30
30
|
}>;
|
|
31
31
|
}
|
|
@@ -35,7 +35,7 @@ interface UpdateSeatingPlanSignature {
|
|
|
35
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.
|
|
36
36
|
* @returns Updated seating plan with incremented version and recalculated totals.
|
|
37
37
|
*/
|
|
38
|
-
(options?: NonNullablePaths<UpdateSeatingPlanOptions, `plan._id` | `plan.sections.${number}.elements.${number}.title`,
|
|
38
|
+
(options?: NonNullablePaths<UpdateSeatingPlanOptions, `plan._id` | `plan.sections.${number}.elements.${number}.title`, 5>): Promise<NonNullablePaths<SeatingPlan, `sections` | `sections.${number}._id` | `sections.${number}.default` | `categories` | `categories.${number}._id` | `categories.${number}.title` | `uncategorizedPlaces` | `elementGroups` | `elementGroups.${number}._id`, 2> & {
|
|
39
39
|
__applicationErrorsType?: UpdateSeatingPlanApplicationErrors;
|
|
40
40
|
}>;
|
|
41
41
|
}
|
|
@@ -45,7 +45,7 @@ interface CopySeatingPlanSignature {
|
|
|
45
45
|
* Creates a copy of an existing seating plan with a new title and external ID. Useful for reusing venue layouts across multiple events.
|
|
46
46
|
* @param - ID of the seating plan to be copied.
|
|
47
47
|
*/
|
|
48
|
-
(_id: string, options: NonNullablePaths<CopySeatingPlanOptions, `externalId` | `title`,
|
|
48
|
+
(_id: string, options: NonNullablePaths<CopySeatingPlanOptions, `externalId` | `title`, 0>): 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`, 3>>;
|
|
49
49
|
}
|
|
50
50
|
declare function getSeatingPlan$1(httpClient: HttpClient): GetSeatingPlanSignature;
|
|
51
51
|
interface GetSeatingPlanSignature {
|
|
@@ -54,7 +54,7 @@ interface GetSeatingPlanSignature {
|
|
|
54
54
|
* @param - Seating plan ID to retrieve.
|
|
55
55
|
* @returns Retrieved seating plan with requested fieldsets and filtered places.
|
|
56
56
|
*/
|
|
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`,
|
|
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`, 2>>;
|
|
58
58
|
}
|
|
59
59
|
declare function findSeatingPlan$1(httpClient: HttpClient): FindSeatingPlanSignature;
|
|
60
60
|
interface FindSeatingPlanSignature {
|
|
@@ -62,7 +62,7 @@ interface FindSeatingPlanSignature {
|
|
|
62
62
|
* Finds the first seating plan matching the specified filter criteria. Useful for locating plans by external ID or other properties.
|
|
63
63
|
* @param - Filter criteria for finding the seating plan. Use standard WQL filter format.
|
|
64
64
|
*/
|
|
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`,
|
|
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`, 3>>;
|
|
66
66
|
}
|
|
67
67
|
declare function deleteSeatingPlan$1(httpClient: HttpClient): DeleteSeatingPlanSignature;
|
|
68
68
|
interface DeleteSeatingPlanSignature {
|
|
@@ -70,7 +70,7 @@ interface DeleteSeatingPlanSignature {
|
|
|
70
70
|
* Deletes a seating plan and all its associated data including sections, elements, places, and version history.
|
|
71
71
|
* @param - ID of the seating plan to delete.
|
|
72
72
|
*/
|
|
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`,
|
|
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`, 3>>;
|
|
74
74
|
}
|
|
75
75
|
declare const onSeatingPlanCreated$1: EventDefinition<SeatingPlanCreatedEnvelope, "wix.seating.v1.seating_plan_created">;
|
|
76
76
|
declare const onSeatingPlanDeleted$1: EventDefinition<SeatingPlanDeletedEnvelope, "wix.seating.v1.seating_plan_deleted">;
|