@wix/auto_sdk_seatings_seating-plan 1.0.58 → 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.
@@ -991,6 +991,37 @@ interface AccountInfo {
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