@wix/auto_sdk_seatings_seating-plan 1.0.84 → 1.0.86
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 +16 -32
- package/build/cjs/index.js +53 -4709
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +145 -32
- package/build/cjs/index.typings.js +29 -4685
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +70 -23
- package/build/cjs/meta.js +10 -10
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +17 -25
- package/build/cjs/schemas.js +30 -66
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +16 -32
- package/build/es/index.mjs +52 -4698
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +145 -32
- package/build/es/index.typings.mjs +27 -4673
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +70 -23
- package/build/es/meta.mjs +9 -9
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +17 -25
- package/build/es/schemas.mjs +28 -64
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +16 -32
- package/build/internal/cjs/index.js +53 -4709
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +145 -32
- package/build/internal/cjs/index.typings.js +29 -4685
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +70 -23
- package/build/internal/cjs/meta.js +10 -10
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +17 -25
- package/build/internal/cjs/schemas.js +30 -66
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +16 -32
- package/build/internal/es/index.mjs +52 -4698
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +145 -32
- package/build/internal/es/index.typings.mjs +27 -4673
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +70 -23
- package/build/internal/es/meta.mjs +9 -9
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +17 -25
- package/build/internal/es/schemas.mjs +28 -64
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
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,
|
|
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';
|
|
2
|
+
import { SeatingPlan, CreateSeatingPlanApplicationErrors, UpdateSeatingPlanOptions, UpdateSeatingPlanApplicationErrors, CopySeatingPlanOptions, CopySeatingPlanResponse, GetSeatingPlanOptions, FindSeatingPlanOptions, FindSeatingPlanResponse, DeleteSeatingPlanResponse, SeatingPlanThumbnail, UpdateSeatingPlanThumbnailResponse, GetSeatingPlanThumbnailResponse, SeatingPlanCreatedEnvelope, SeatingPlanDeletedEnvelope, SeatingPlanUpdatedEnvelope, SeatingPlanQuery, QuerySeatingPlansOptions, typedQuerySeatingPlans, PlansQueryBuilder } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddSeatingPlanToFavoritesRequest, AddSeatingPlanToFavoritesResponse, BaseEventMetadata, CapacityExceededViolation, Category, CheckSeatingPlanFavoriteRequest, CheckSeatingPlanFavoriteResponse, CommonCursors, CommonPagingMetadataV2, 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, PlaceFilter, PlaceTypeEnumType, PlaceTypeEnumTypeWithLiterals, PlansQueryResult, Position, PositionWithLiterals, QuerySeatingPlanRequest, QuerySeatingPlanResponse, QuerySeatingPlanVersionsRequest, QuerySeatingPlanVersionsResponse, QuerySeatingPlansRequest, QuerySeatingPlansResponse, 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
|
|
6
|
-
validateRequestSchema?: boolean;
|
|
7
|
-
}): CreateSeatingPlanSignature;
|
|
5
|
+
declare function createSeatingPlan$1(httpClient: HttpClient): CreateSeatingPlanSignature;
|
|
8
6
|
interface CreateSeatingPlanSignature {
|
|
9
7
|
/**
|
|
10
8
|
* 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 +13,7 @@ interface CreateSeatingPlanSignature {
|
|
|
15
13
|
__applicationErrorsType?: CreateSeatingPlanApplicationErrors;
|
|
16
14
|
}>;
|
|
17
15
|
}
|
|
18
|
-
declare function updateSeatingPlan$1(httpClient: HttpClient
|
|
19
|
-
validateRequestSchema?: boolean;
|
|
20
|
-
}): UpdateSeatingPlanSignature;
|
|
16
|
+
declare function updateSeatingPlan$1(httpClient: HttpClient): UpdateSeatingPlanSignature;
|
|
21
17
|
interface UpdateSeatingPlanSignature {
|
|
22
18
|
/**
|
|
23
19
|
* 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 +23,7 @@ interface UpdateSeatingPlanSignature {
|
|
|
27
23
|
__applicationErrorsType?: UpdateSeatingPlanApplicationErrors;
|
|
28
24
|
}>;
|
|
29
25
|
}
|
|
30
|
-
declare function copySeatingPlan$1(httpClient: HttpClient
|
|
31
|
-
validateRequestSchema?: boolean;
|
|
32
|
-
}): CopySeatingPlanSignature;
|
|
26
|
+
declare function copySeatingPlan$1(httpClient: HttpClient): CopySeatingPlanSignature;
|
|
33
27
|
interface CopySeatingPlanSignature {
|
|
34
28
|
/**
|
|
35
29
|
* Creates a copy of an existing seating plan with a new title and external ID. Useful for reusing venue layouts across multiple events.
|
|
@@ -37,20 +31,16 @@ interface CopySeatingPlanSignature {
|
|
|
37
31
|
*/
|
|
38
32
|
(_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
33
|
}
|
|
40
|
-
declare function getSeatingPlan$1(httpClient: HttpClient
|
|
41
|
-
validateRequestSchema?: boolean;
|
|
42
|
-
}): GetSeatingPlanSignature;
|
|
34
|
+
declare function getSeatingPlan$1(httpClient: HttpClient): GetSeatingPlanSignature;
|
|
43
35
|
interface GetSeatingPlanSignature {
|
|
44
36
|
/**
|
|
45
|
-
* Retrieves a specific seating plan by ID. Supports fieldset projections and place filtering via
|
|
37
|
+
* Retrieves a specific seating plan by ID. Supports fieldset projections and place filtering via PlaceFilter for targeted queries.
|
|
46
38
|
* @param - Seating plan ID to retrieve.
|
|
47
39
|
* @returns Retrieved seating plan with requested fieldsets and filtered places.
|
|
48
40
|
*/
|
|
49
41
|
(_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
42
|
}
|
|
51
|
-
declare function findSeatingPlan$1(httpClient: HttpClient
|
|
52
|
-
validateRequestSchema?: boolean;
|
|
53
|
-
}): FindSeatingPlanSignature;
|
|
43
|
+
declare function findSeatingPlan$1(httpClient: HttpClient): FindSeatingPlanSignature;
|
|
54
44
|
interface FindSeatingPlanSignature {
|
|
55
45
|
/**
|
|
56
46
|
* Finds the first seating plan matching the specified filter criteria. Useful for locating plans by external ID or other properties.
|
|
@@ -58,9 +48,7 @@ interface FindSeatingPlanSignature {
|
|
|
58
48
|
*/
|
|
59
49
|
(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
50
|
}
|
|
61
|
-
declare function deleteSeatingPlan$1(httpClient: HttpClient
|
|
62
|
-
validateRequestSchema?: boolean;
|
|
63
|
-
}): DeleteSeatingPlanSignature;
|
|
51
|
+
declare function deleteSeatingPlan$1(httpClient: HttpClient): DeleteSeatingPlanSignature;
|
|
64
52
|
interface DeleteSeatingPlanSignature {
|
|
65
53
|
/**
|
|
66
54
|
* Deletes a seating plan and all its associated data including sections, elements, places, and version history.
|
|
@@ -68,9 +56,7 @@ interface DeleteSeatingPlanSignature {
|
|
|
68
56
|
*/
|
|
69
57
|
(_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
58
|
}
|
|
71
|
-
declare function updateSeatingPlanThumbnail$1(httpClient: HttpClient
|
|
72
|
-
validateRequestSchema?: boolean;
|
|
73
|
-
}): UpdateSeatingPlanThumbnailSignature;
|
|
59
|
+
declare function updateSeatingPlanThumbnail$1(httpClient: HttpClient): UpdateSeatingPlanThumbnailSignature;
|
|
74
60
|
interface UpdateSeatingPlanThumbnailSignature {
|
|
75
61
|
/**
|
|
76
62
|
* Thumbnails provide visual previews of seating layouts for selection and management interfaces.
|
|
@@ -78,9 +64,7 @@ interface UpdateSeatingPlanThumbnailSignature {
|
|
|
78
64
|
*/
|
|
79
65
|
(thumbnail: NonNullablePaths<SeatingPlanThumbnail, `_id` | `img`, 2>): Promise<UpdateSeatingPlanThumbnailResponse>;
|
|
80
66
|
}
|
|
81
|
-
declare function getSeatingPlanThumbnail$1(httpClient: HttpClient
|
|
82
|
-
validateRequestSchema?: boolean;
|
|
83
|
-
}): GetSeatingPlanThumbnailSignature;
|
|
67
|
+
declare function getSeatingPlanThumbnail$1(httpClient: HttpClient): GetSeatingPlanThumbnailSignature;
|
|
84
68
|
interface GetSeatingPlanThumbnailSignature {
|
|
85
69
|
/**
|
|
86
70
|
* Returns the current thumbnail or empty response if no thumbnail has been set.
|
|
@@ -92,9 +76,9 @@ declare const onSeatingPlanCreated$1: EventDefinition<SeatingPlanCreatedEnvelope
|
|
|
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">;
|
|
94
78
|
|
|
95
|
-
declare function
|
|
96
|
-
(query: SeatingPlanQuery, options?:
|
|
97
|
-
(options?:
|
|
79
|
+
declare function customQuerySeatingPlans(httpClient: HttpClient): {
|
|
80
|
+
(query: SeatingPlanQuery, options?: QuerySeatingPlansOptions): ReturnType<typeof typedQuerySeatingPlans>;
|
|
81
|
+
(options?: QuerySeatingPlansOptions): PlansQueryBuilder;
|
|
98
82
|
};
|
|
99
83
|
declare const createSeatingPlan: MaybeContext<BuildRESTFunction<typeof createSeatingPlan$1> & typeof createSeatingPlan$1>;
|
|
100
84
|
declare const updateSeatingPlan: MaybeContext<BuildRESTFunction<typeof updateSeatingPlan$1> & typeof updateSeatingPlan$1>;
|
|
@@ -104,7 +88,7 @@ declare const findSeatingPlan: MaybeContext<BuildRESTFunction<typeof findSeating
|
|
|
104
88
|
declare const deleteSeatingPlan: MaybeContext<BuildRESTFunction<typeof deleteSeatingPlan$1> & typeof deleteSeatingPlan$1>;
|
|
105
89
|
declare const updateSeatingPlanThumbnail: MaybeContext<BuildRESTFunction<typeof updateSeatingPlanThumbnail$1> & typeof updateSeatingPlanThumbnail$1>;
|
|
106
90
|
declare const getSeatingPlanThumbnail: MaybeContext<BuildRESTFunction<typeof getSeatingPlanThumbnail$1> & typeof getSeatingPlanThumbnail$1>;
|
|
107
|
-
declare const
|
|
91
|
+
declare const querySeatingPlans: MaybeContext<BuildRESTFunction<typeof customQuerySeatingPlans> & typeof customQuerySeatingPlans>;
|
|
108
92
|
/** */
|
|
109
93
|
declare const onSeatingPlanCreated: BuildEventDefinition<typeof onSeatingPlanCreated$1> & typeof onSeatingPlanCreated$1;
|
|
110
94
|
/** */
|
|
@@ -112,4 +96,4 @@ declare const onSeatingPlanDeleted: BuildEventDefinition<typeof onSeatingPlanDel
|
|
|
112
96
|
/** */
|
|
113
97
|
declare const onSeatingPlanUpdated: BuildEventDefinition<typeof onSeatingPlanUpdated$1> & typeof onSeatingPlanUpdated$1;
|
|
114
98
|
|
|
115
|
-
export { CopySeatingPlanOptions, CopySeatingPlanResponse, CreateSeatingPlanApplicationErrors, DeleteSeatingPlanResponse, FindSeatingPlanOptions, FindSeatingPlanResponse, GetSeatingPlanOptions, GetSeatingPlanThumbnailResponse, PlansQueryBuilder,
|
|
99
|
+
export { CopySeatingPlanOptions, CopySeatingPlanResponse, CreateSeatingPlanApplicationErrors, DeleteSeatingPlanResponse, FindSeatingPlanOptions, FindSeatingPlanResponse, GetSeatingPlanOptions, GetSeatingPlanThumbnailResponse, PlansQueryBuilder, QuerySeatingPlansOptions, SeatingPlan, SeatingPlanCreatedEnvelope, SeatingPlanDeletedEnvelope, SeatingPlanQuery, SeatingPlanThumbnail, SeatingPlanUpdatedEnvelope, UpdateSeatingPlanApplicationErrors, UpdateSeatingPlanOptions, UpdateSeatingPlanThumbnailResponse, copySeatingPlan, createSeatingPlan, deleteSeatingPlan, findSeatingPlan, getSeatingPlan, getSeatingPlanThumbnail, onSeatingPlanCreated, onSeatingPlanDeleted, onSeatingPlanUpdated, querySeatingPlans, updateSeatingPlan, updateSeatingPlanThumbnail };
|