@wix/auto_sdk_seatings_seating-plan 1.0.60 → 1.0.61

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.
@@ -917,6 +917,8 @@ interface MessageEnvelope {
917
917
  identity?: IdentificationData;
918
918
  /** Stringify payload. */
919
919
  data?: string;
920
+ /** Details related to the account */
921
+ accountInfo?: AccountInfo;
920
922
  }
921
923
  interface IdentificationData extends IdentificationDataIdOneOf {
922
924
  /**
@@ -1122,6 +1124,8 @@ interface BaseEventMetadata {
1122
1124
  eventType?: string;
1123
1125
  /** The identification type and identity data. */
1124
1126
  identity?: IdentificationData;
1127
+ /** Details related to the account */
1128
+ accountInfo?: AccountInfo;
1125
1129
  }
1126
1130
  interface EventMetadata extends BaseEventMetadata {
1127
1131
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -1152,6 +1156,15 @@ interface EventMetadata extends BaseEventMetadata {
1152
1156
  * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1153
1157
  */
1154
1158
  entityEventSequence?: string | null;
1159
+ accountInfo?: AccountInfoMetadata;
1160
+ }
1161
+ interface AccountInfoMetadata {
1162
+ /** ID of the Wix account associated with the event */
1163
+ accountId: string;
1164
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
1165
+ siteId?: string;
1166
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
1167
+ parentAccountId?: string;
1155
1168
  }
1156
1169
  interface SeatingPlanCreatedEnvelope {
1157
1170
  entity: SeatingPlan;
@@ -1159,8 +1172,6 @@ interface SeatingPlanCreatedEnvelope {
1159
1172
  }
1160
1173
  /** @permissionScope Manage Events
1161
1174
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1162
- * @permissionScope Manage Restaurants - all permissions
1163
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1164
1175
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1165
1176
  * @webhook
1166
1177
  * @eventType wix.seating.v1.seating_plan_created
@@ -1174,8 +1185,6 @@ interface SeatingPlanDeletedEnvelope {
1174
1185
  }
1175
1186
  /** @permissionScope Manage Events
1176
1187
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1177
- * @permissionScope Manage Restaurants - all permissions
1178
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1179
1188
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1180
1189
  * @webhook
1181
1190
  * @eventType wix.seating.v1.seating_plan_deleted
@@ -1189,8 +1198,6 @@ interface SeatingPlanUpdatedEnvelope {
1189
1198
  }
1190
1199
  /** @permissionScope Manage Events
1191
1200
  * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
1192
- * @permissionScope Manage Restaurants - all permissions
1193
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1194
1201
  * @permissionId SEATING_PLANS.READ_SEATING_PLANS
1195
1202
  * @webhook
1196
1203
  * @eventType wix.seating.v1.seating_plan_updated