@wix/auto_sdk_seatings_seating-plan 1.0.52 → 1.0.54

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,37 +974,6 @@ declare enum WebhookIdentityType {
974
974
  }
975
975
  /** @enumType */
976
976
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
977
- interface UpdateSeatingPlanThumbnailRequest {
978
- /** Thumbnail to update with new image data. */
979
- thumbnail: SeatingPlanThumbnail;
980
- }
981
- /** Thumbnail image data for a seating plan. */
982
- interface SeatingPlanThumbnail {
983
- /**
984
- * Seating plan ID that this thumbnail represents.
985
- * @format GUID
986
- * @readonly
987
- */
988
- _id?: string | null;
989
- /** Thumbnail image data or reference. Format depends on implementation (base64, URL, or image ID). */
990
- img?: string | null;
991
- }
992
- interface UpdateSeatingPlanThumbnailResponse {
993
- /** Updated thumbnail with confirmation of changes. */
994
- thumbnail?: SeatingPlanThumbnail;
995
- }
996
- interface GetSeatingPlanThumbnailRequest {
997
- /**
998
- * Seating plan ID to retrieve thumbnail for.
999
- * @format GUID
1000
- * @readonly
1001
- */
1002
- _id: string | null;
1003
- }
1004
- interface GetSeatingPlanThumbnailResponse {
1005
- /** Retrieved thumbnail data, or empty if no thumbnail exists. */
1006
- thumbnail?: SeatingPlanThumbnail;
1007
- }
1008
977
  interface SaveSeatingPlanVersionRequest {
1009
978
  /** Seating plan version to be saved as a draft. Must include plan ID for existing plans. */
1010
979
  plan?: SeatingPlan;
@@ -1076,6 +1045,37 @@ interface RestoreSeatingPlanResponse {
1076
1045
  /** Restored seating plan with the specified version as the new current version and incremented version number. */
1077
1046
  plan?: SeatingPlan;
1078
1047
  }
1048
+ interface UpdateSeatingPlanThumbnailRequest {
1049
+ /** Thumbnail to update with new image data. */
1050
+ thumbnail: SeatingPlanThumbnail;
1051
+ }
1052
+ /** Thumbnail image data for a seating plan. */
1053
+ interface SeatingPlanThumbnail {
1054
+ /**
1055
+ * Seating plan ID that this thumbnail represents.
1056
+ * @format GUID
1057
+ * @readonly
1058
+ */
1059
+ _id?: string | null;
1060
+ /** Thumbnail image data or reference. Format depends on implementation (base64, URL, or image ID). */
1061
+ img?: string | null;
1062
+ }
1063
+ interface UpdateSeatingPlanThumbnailResponse {
1064
+ /** Updated thumbnail with confirmation of changes. */
1065
+ thumbnail?: SeatingPlanThumbnail;
1066
+ }
1067
+ interface GetSeatingPlanThumbnailRequest {
1068
+ /**
1069
+ * Seating plan ID to retrieve thumbnail for.
1070
+ * @format GUID
1071
+ * @readonly
1072
+ */
1073
+ _id: string | null;
1074
+ }
1075
+ interface GetSeatingPlanThumbnailResponse {
1076
+ /** Retrieved thumbnail data, or empty if no thumbnail exists. */
1077
+ thumbnail?: SeatingPlanThumbnail;
1078
+ }
1079
1079
  /** @docsIgnore */
1080
1080
  type CreateSeatingPlanApplicationErrors = {
1081
1081
  code?: 'PLAN_MAX_CAPACITY_EXCEEDED';
@@ -1142,6 +1142,8 @@ interface SeatingPlanCreatedEnvelope {
1142
1142
  }
1143
1143
  /** @permissionScope Manage Events
1144
1144
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1145
+ * @permissionScope Manage Restaurants - all permissions
1146
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1145
1147
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1146
1148
  * @webhook
1147
1149
  * @eventType wix.seating.v1.seating_plan_created
@@ -1155,6 +1157,8 @@ interface SeatingPlanDeletedEnvelope {
1155
1157
  }
1156
1158
  /** @permissionScope Manage Events
1157
1159
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1160
+ * @permissionScope Manage Restaurants - all permissions
1161
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1158
1162
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1159
1163
  * @webhook
1160
1164
  * @eventType wix.seating.v1.seating_plan_deleted
@@ -1168,6 +1172,8 @@ interface SeatingPlanUpdatedEnvelope {
1168
1172
  }
1169
1173
  /** @permissionScope Manage Events
1170
1174
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1175
+ * @permissionScope Manage Restaurants - all permissions
1176
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1171
1177
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1172
1178
  * @webhook
1173
1179
  * @eventType wix.seating.v1.seating_plan_updated