@wix/auto_sdk_seatings_seating-plan 1.0.45 → 1.0.46

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,37 @@ 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
+ }
977
1008
  interface SaveSeatingPlanVersionRequest {
978
1009
  /** Seating plan version to be saved as a draft. Must include plan ID for existing plans. */
979
1010
  plan?: SeatingPlan;
@@ -1045,37 +1076,6 @@ interface RestoreSeatingPlanResponse {
1045
1076
  /** Restored seating plan with the specified version as the new current version and incremented version number. */
1046
1077
  plan?: SeatingPlan;
1047
1078
  }
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,8 +1142,6 @@ 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
1147
1145
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1148
1146
  * @webhook
1149
1147
  * @eventType wix.seating.v1.seating_plan_created
@@ -1157,8 +1155,6 @@ interface SeatingPlanDeletedEnvelope {
1157
1155
  }
1158
1156
  /** @permissionScope Manage Events
1159
1157
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1160
- * @permissionScope Manage Restaurants - all permissions
1161
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1162
1158
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1163
1159
  * @webhook
1164
1160
  * @eventType wix.seating.v1.seating_plan_deleted
@@ -1172,8 +1168,6 @@ interface SeatingPlanUpdatedEnvelope {
1172
1168
  }
1173
1169
  /** @permissionScope Manage Events
1174
1170
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1175
- * @permissionScope Manage Restaurants - all permissions
1176
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1177
1171
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1178
1172
  * @webhook
1179
1173
  * @eventType wix.seating.v1.seating_plan_updated