@wix/auto_sdk_seatings_seating-plan 1.0.57 → 1.0.59
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 +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +36 -42
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +36 -36
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +36 -42
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +36 -36
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +36 -42
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +36 -36
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +36 -42
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +36 -36
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -974,23 +974,54 @@ declare enum WebhookIdentityType {
|
|
|
974
974
|
}
|
|
975
975
|
/** @enumType */
|
|
976
976
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
977
|
-
interface
|
|
977
|
+
interface AccountInfo {
|
|
978
978
|
/**
|
|
979
|
-
* ID of the account.
|
|
979
|
+
* ID of the Wix account associated with the event.
|
|
980
980
|
* @format GUID
|
|
981
981
|
*/
|
|
982
982
|
accountId?: string | null;
|
|
983
983
|
/**
|
|
984
|
-
* ID of the parent account.
|
|
984
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
985
985
|
* @format GUID
|
|
986
986
|
*/
|
|
987
987
|
parentAccountId?: string | null;
|
|
988
988
|
/**
|
|
989
|
-
* ID of the site
|
|
989
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
990
990
|
* @format GUID
|
|
991
991
|
*/
|
|
992
992
|
siteId?: string | null;
|
|
993
993
|
}
|
|
994
|
+
interface UpdateSeatingPlanThumbnailRequest {
|
|
995
|
+
/** Thumbnail to update with new image data. */
|
|
996
|
+
thumbnail: SeatingPlanThumbnail;
|
|
997
|
+
}
|
|
998
|
+
/** Thumbnail image data for a seating plan. */
|
|
999
|
+
interface SeatingPlanThumbnail {
|
|
1000
|
+
/**
|
|
1001
|
+
* Seating plan ID that this thumbnail represents.
|
|
1002
|
+
* @format GUID
|
|
1003
|
+
* @readonly
|
|
1004
|
+
*/
|
|
1005
|
+
_id?: string | null;
|
|
1006
|
+
/** Thumbnail image data or reference. Format depends on implementation (base64, URL, or image ID). */
|
|
1007
|
+
img?: string | null;
|
|
1008
|
+
}
|
|
1009
|
+
interface UpdateSeatingPlanThumbnailResponse {
|
|
1010
|
+
/** Updated thumbnail with confirmation of changes. */
|
|
1011
|
+
thumbnail?: SeatingPlanThumbnail;
|
|
1012
|
+
}
|
|
1013
|
+
interface GetSeatingPlanThumbnailRequest {
|
|
1014
|
+
/**
|
|
1015
|
+
* Seating plan ID to retrieve thumbnail for.
|
|
1016
|
+
* @format GUID
|
|
1017
|
+
* @readonly
|
|
1018
|
+
*/
|
|
1019
|
+
_id: string | null;
|
|
1020
|
+
}
|
|
1021
|
+
interface GetSeatingPlanThumbnailResponse {
|
|
1022
|
+
/** Retrieved thumbnail data, or empty if no thumbnail exists. */
|
|
1023
|
+
thumbnail?: SeatingPlanThumbnail;
|
|
1024
|
+
}
|
|
994
1025
|
interface SaveSeatingPlanVersionRequest {
|
|
995
1026
|
/** Seating plan version to be saved as a draft. Must include plan ID for existing plans. */
|
|
996
1027
|
plan?: SeatingPlan;
|
|
@@ -1062,37 +1093,6 @@ interface RestoreSeatingPlanResponse {
|
|
|
1062
1093
|
/** Restored seating plan with the specified version as the new current version and incremented version number. */
|
|
1063
1094
|
plan?: SeatingPlan;
|
|
1064
1095
|
}
|
|
1065
|
-
interface UpdateSeatingPlanThumbnailRequest {
|
|
1066
|
-
/** Thumbnail to update with new image data. */
|
|
1067
|
-
thumbnail: SeatingPlanThumbnail;
|
|
1068
|
-
}
|
|
1069
|
-
/** Thumbnail image data for a seating plan. */
|
|
1070
|
-
interface SeatingPlanThumbnail {
|
|
1071
|
-
/**
|
|
1072
|
-
* Seating plan ID that this thumbnail represents.
|
|
1073
|
-
* @format GUID
|
|
1074
|
-
* @readonly
|
|
1075
|
-
*/
|
|
1076
|
-
_id?: string | null;
|
|
1077
|
-
/** Thumbnail image data or reference. Format depends on implementation (base64, URL, or image ID). */
|
|
1078
|
-
img?: string | null;
|
|
1079
|
-
}
|
|
1080
|
-
interface UpdateSeatingPlanThumbnailResponse {
|
|
1081
|
-
/** Updated thumbnail with confirmation of changes. */
|
|
1082
|
-
thumbnail?: SeatingPlanThumbnail;
|
|
1083
|
-
}
|
|
1084
|
-
interface GetSeatingPlanThumbnailRequest {
|
|
1085
|
-
/**
|
|
1086
|
-
* Seating plan ID to retrieve thumbnail for.
|
|
1087
|
-
* @format GUID
|
|
1088
|
-
* @readonly
|
|
1089
|
-
*/
|
|
1090
|
-
_id: string | null;
|
|
1091
|
-
}
|
|
1092
|
-
interface GetSeatingPlanThumbnailResponse {
|
|
1093
|
-
/** Retrieved thumbnail data, or empty if no thumbnail exists. */
|
|
1094
|
-
thumbnail?: SeatingPlanThumbnail;
|
|
1095
|
-
}
|
|
1096
1096
|
/** @docsIgnore */
|
|
1097
1097
|
type CreateSeatingPlanApplicationErrors = {
|
|
1098
1098
|
code?: 'PLAN_MAX_CAPACITY_EXCEEDED';
|
|
@@ -1159,8 +1159,6 @@ interface SeatingPlanCreatedEnvelope {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
/** @permissionScope Manage Events
|
|
1161
1161
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1162
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1163
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1164
1162
|
* @permissionId SEATING_PLANS.READ_SEATING_PLANS
|
|
1165
1163
|
* @webhook
|
|
1166
1164
|
* @eventType wix.seating.v1.seating_plan_created
|
|
@@ -1174,8 +1172,6 @@ interface SeatingPlanDeletedEnvelope {
|
|
|
1174
1172
|
}
|
|
1175
1173
|
/** @permissionScope Manage Events
|
|
1176
1174
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1177
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1178
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1179
1175
|
* @permissionId SEATING_PLANS.READ_SEATING_PLANS
|
|
1180
1176
|
* @webhook
|
|
1181
1177
|
* @eventType wix.seating.v1.seating_plan_deleted
|
|
@@ -1189,8 +1185,6 @@ interface SeatingPlanUpdatedEnvelope {
|
|
|
1189
1185
|
}
|
|
1190
1186
|
/** @permissionScope Manage Events
|
|
1191
1187
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1192
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1193
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1194
1188
|
* @permissionId SEATING_PLANS.READ_SEATING_PLANS
|
|
1195
1189
|
* @webhook
|
|
1196
1190
|
* @eventType wix.seating.v1.seating_plan_updated
|
|
@@ -1441,4 +1435,4 @@ declare function updateSeatingPlanThumbnail(thumbnail: NonNullablePaths<SeatingP
|
|
|
1441
1435
|
*/
|
|
1442
1436
|
declare function getSeatingPlanThumbnail(_id: string): Promise<GetSeatingPlanThumbnailResponse>;
|
|
1443
1437
|
|
|
1444
|
-
export { type
|
|
1438
|
+
export { type AccountInfo, type ActionEvent, type BaseEventMetadata, type CapacityExceededViolation, type Category, type CommonQueryWithEntityContext, type CopySeatingPlanOptions, type CopySeatingPlanRequest, type CopySeatingPlanResponse, type CreateSeatingPlanApplicationErrors, type CreateSeatingPlanRequest, type CreateSeatingPlanResponse, type CursorPaging, type Cursors, type DeleteSeatingPlanRequest, type DeleteSeatingPlanResponse, type DiscardSeatingPlanVersionsRequest, type DiscardSeatingPlanVersionsResponse, type DomainEvent, type DomainEventBodyOneOf, type Element, type ElementGroup, type ElementGroupUiProperties, type ElementUiProperties, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, Fieldset, type FieldsetWithLiterals, type FindSeatingPlanOptions, type FindSeatingPlanRequest, type FindSeatingPlanResponse, type GetSeatingPlanOptions, type GetSeatingPlanRequest, type GetSeatingPlanResponse, type GetSeatingPlanThumbnailRequest, type GetSeatingPlanThumbnailResponse, Icon, type IconWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, type Image, type MessageEnvelope, type MultiRowProperties, Numbering, type NumberingWithLiterals, type Paging, type PagingMetadataV2, type Place, PlaceTypeEnumType, type PlaceTypeEnumTypeWithLiterals, type PlansQueryBuilder, type PlansQueryResult, Position, type PositionWithLiterals, type QuerySeatingPlanOptions, type QuerySeatingPlanRequest, type QuerySeatingPlanResponse, type QuerySeatingPlanVersionsRequest, type QuerySeatingPlanVersionsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type ReservationOptions, type RestoreInfo, type RestoreSeatingPlanRequest, type RestoreSeatingPlanResponse, type RowElement, type RowElementUiProperties, type SaveSeatingPlanVersionRequest, type SaveSeatingPlanVersionResponse, type SeatingPlan, type SeatingPlanCreatedEnvelope, type SeatingPlanDeletedEnvelope, type SeatingPlanMask, type SeatingPlanQuery, type SeatingPlanQuerySpec, type SeatingPlanThumbnail, type SeatingPlanUiProperties, type SeatingPlanUpdatedEnvelope, type Section, type Sequencing, ShapeTypeEnumType, type ShapeTypeEnumTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Type, type TypeWithLiterals, type UpdateSeatingPlanApplicationErrors, type UpdateSeatingPlanOptions, type UpdateSeatingPlanRequest, type UpdateSeatingPlanResponse, type UpdateSeatingPlanThumbnailRequest, type UpdateSeatingPlanThumbnailResponse, type VerticalSequencing, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, copySeatingPlan, createSeatingPlan, deleteSeatingPlan, findSeatingPlan, getSeatingPlan, getSeatingPlanThumbnail, onSeatingPlanCreated, onSeatingPlanDeleted, onSeatingPlanUpdated, querySeatingPlan, typedQuerySeatingPlan, updateSeatingPlan, updateSeatingPlanThumbnail };
|