@wix/auto_sdk_seatings_seating-plan 1.0.55 → 1.0.57

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.
@@ -974,6 +974,23 @@ declare enum WebhookIdentityType {
974
974
  }
975
975
  /** @enumType */
976
976
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
977
+ interface AccountDetails {
978
+ /**
979
+ * ID of the account.
980
+ * @format GUID
981
+ */
982
+ accountId?: string | null;
983
+ /**
984
+ * ID of the parent account.
985
+ * @format GUID
986
+ */
987
+ parentAccountId?: string | null;
988
+ /**
989
+ * ID of the site, if applicable.
990
+ * @format GUID
991
+ */
992
+ siteId?: string | null;
993
+ }
977
994
  interface SaveSeatingPlanVersionRequest {
978
995
  /** Seating plan version to be saved as a draft. Must include plan ID for existing plans. */
979
996
  plan?: SeatingPlan;
@@ -1142,6 +1159,8 @@ interface SeatingPlanCreatedEnvelope {
1142
1159
  }
1143
1160
  /** @permissionScope Manage Events
1144
1161
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1162
+ * @permissionScope Manage Restaurants - all permissions
1163
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1145
1164
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1146
1165
  * @webhook
1147
1166
  * @eventType wix.seating.v1.seating_plan_created
@@ -1155,6 +1174,8 @@ interface SeatingPlanDeletedEnvelope {
1155
1174
  }
1156
1175
  /** @permissionScope Manage Events
1157
1176
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1177
+ * @permissionScope Manage Restaurants - all permissions
1178
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1158
1179
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1159
1180
  * @webhook
1160
1181
  * @eventType wix.seating.v1.seating_plan_deleted
@@ -1168,6 +1189,8 @@ interface SeatingPlanUpdatedEnvelope {
1168
1189
  }
1169
1190
  /** @permissionScope Manage Events
1170
1191
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1192
+ * @permissionScope Manage Restaurants - all permissions
1193
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1171
1194
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1172
1195
  * @webhook
1173
1196
  * @eventType wix.seating.v1.seating_plan_updated
@@ -1418,4 +1441,4 @@ declare function updateSeatingPlanThumbnail(thumbnail: NonNullablePaths<SeatingP
1418
1441
  */
1419
1442
  declare function getSeatingPlanThumbnail(_id: string): Promise<GetSeatingPlanThumbnailResponse>;
1420
1443
 
1421
- export { 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 };
1444
+ export { type AccountDetails, 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 };