@wix/groups 1.0.108 → 1.0.109

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/groups",
3
- "version": "1.0.108",
3
+ "version": "1.0.109",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -22,14 +22,14 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "@wix/groups_create-requests": "1.0.40",
25
- "@wix/groups_group-requests": "1.0.27",
26
- "@wix/groups_groups": "1.0.38",
27
- "@wix/groups_join-group-requests": "1.0.38",
25
+ "@wix/groups_group-requests": "1.0.28",
26
+ "@wix/groups_groups": "1.0.39",
27
+ "@wix/groups_join-group-requests": "1.0.39",
28
28
  "@wix/groups_join-requests": "1.0.35",
29
- "@wix/groups_members": "1.0.38",
30
- "@wix/groups_membership-questions": "1.0.29",
31
- "@wix/groups_roles": "1.0.34",
32
- "@wix/groups_rules": "1.0.34"
29
+ "@wix/groups_members": "1.0.39",
30
+ "@wix/groups_membership-questions": "1.0.30",
31
+ "@wix/groups_roles": "1.0.35",
32
+ "@wix/groups_rules": "1.0.35"
33
33
  },
34
34
  "devDependencies": {
35
35
  "glob": "^10.4.1",
@@ -54,5 +54,5 @@
54
54
  "fqdn": ""
55
55
  }
56
56
  },
57
- "falconPackageHash": "815a66cc061469d41bcf10778e377f1d396b3bd68fb50173cfdb316b"
57
+ "falconPackageHash": "ec912924841d2575d29ce2e225c2c7a4f65474e7f7fe61f2dcb0c53b"
58
58
  }
@@ -742,6 +742,14 @@ interface GetGroupBySlugResponse {
742
742
  /** Retrieved group. */
743
743
  group?: Group$2;
744
744
  }
745
+ interface GetGroupIdBySlugRequest {
746
+ /** Unique part of the group's URL, for example `group-1` in `https:/example.com/groups/group-1`. Pass only the slug. Case-sensitive. */
747
+ slug?: string;
748
+ autoInviteId?: string | null;
749
+ }
750
+ interface GetGroupIdBySlugResponse {
751
+ groupId?: string;
752
+ }
745
753
  interface ListGroupsRequest {
746
754
  /** Number of items to load. Maximum `100`. */
747
755
  limit?: number | null;
@@ -1053,6 +1061,7 @@ interface GroupSettingsNonNullableFields$2 {
1053
1061
  allowedToCreatePosts: AllowPolicy$2;
1054
1062
  allowedToCommentPosts: AllowPolicy$2;
1055
1063
  onboardingStepsSettings: OnboardingStepSettingsNonNullableFields$2[];
1064
+ allowedToCreateEvents: AllowPolicy$2;
1056
1065
  }
1057
1066
  interface IdentityNonNullableFields$2 {
1058
1067
  identityType: IdentityType$2;
@@ -1137,8 +1146,7 @@ interface GroupCreatedEnvelope {
1137
1146
  entity: Group$2;
1138
1147
  metadata: EventMetadata$7;
1139
1148
  }
1140
- interface GroupUpdatedEnvelope {
1141
- entity: Group$2;
1149
+ interface GroupDeletedEnvelope {
1142
1150
  metadata: EventMetadata$7;
1143
1151
  }
1144
1152
  interface GroupCoverChangedEnvelope {
@@ -1149,7 +1157,8 @@ interface GroupDescriptionChangedEnvelope {
1149
1157
  data: GroupDescriptionChanged;
1150
1158
  metadata: EventMetadata$7;
1151
1159
  }
1152
- interface GroupDeletedEnvelope {
1160
+ interface GroupUpdatedEnvelope {
1161
+ entity: Group$2;
1153
1162
  metadata: EventMetadata$7;
1154
1163
  }
1155
1164
  interface CreateGroupOptions {
@@ -1404,10 +1413,10 @@ interface QueryGroupsSignature {
1404
1413
  (options?: QueryGroupsOptions | undefined): GroupsQueryBuilder;
1405
1414
  }
1406
1415
  declare const onGroupCreated$1: EventDefinition<GroupCreatedEnvelope, "wix.social_groups.v2.group_created">;
1407
- declare const onGroupUpdated$1: EventDefinition<GroupUpdatedEnvelope, "wix.social_groups.v2.group_updated">;
1416
+ declare const onGroupDeleted$1: EventDefinition<GroupDeletedEnvelope, "wix.social_groups.v2.group_deleted">;
1408
1417
  declare const onGroupCoverChanged$1: EventDefinition<GroupCoverChangedEnvelope, "wix.social_groups.v2.group_group_cover_changed">;
1409
1418
  declare const onGroupDescriptionChanged$1: EventDefinition<GroupDescriptionChangedEnvelope, "wix.social_groups.v2.group_group_description_changed">;
1410
- declare const onGroupDeleted$1: EventDefinition<GroupDeletedEnvelope, "wix.social_groups.v2.group_deleted">;
1419
+ declare const onGroupUpdated$1: EventDefinition<GroupUpdatedEnvelope, "wix.social_groups.v2.group_updated">;
1411
1420
 
1412
1421
  declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1413
1422
 
@@ -1425,11 +1434,11 @@ type _publicOnGroupCreatedType = typeof onGroupCreated$1;
1425
1434
  */
1426
1435
  declare const onGroupCreated: ReturnType<typeof createEventModule$7<_publicOnGroupCreatedType>>;
1427
1436
 
1428
- type _publicOnGroupUpdatedType = typeof onGroupUpdated$1;
1437
+ type _publicOnGroupDeletedType = typeof onGroupDeleted$1;
1429
1438
  /**
1430
- * Triggered when a group is updated. See payload for more information about the specific trigger.
1439
+ * Triggered when a group is deleted.
1431
1440
  */
1432
- declare const onGroupUpdated: ReturnType<typeof createEventModule$7<_publicOnGroupUpdatedType>>;
1441
+ declare const onGroupDeleted: ReturnType<typeof createEventModule$7<_publicOnGroupDeletedType>>;
1433
1442
 
1434
1443
  type _publicOnGroupCoverChangedType = typeof onGroupCoverChanged$1;
1435
1444
  /**
@@ -1443,11 +1452,11 @@ type _publicOnGroupDescriptionChangedType = typeof onGroupDescriptionChanged$1;
1443
1452
  */
1444
1453
  declare const onGroupDescriptionChanged: ReturnType<typeof createEventModule$7<_publicOnGroupDescriptionChangedType>>;
1445
1454
 
1446
- type _publicOnGroupDeletedType = typeof onGroupDeleted$1;
1455
+ type _publicOnGroupUpdatedType = typeof onGroupUpdated$1;
1447
1456
  /**
1448
- * Triggered when a group is deleted.
1457
+ * Triggered when a group is updated. See payload for more information about the specific trigger.
1449
1458
  */
1450
- declare const onGroupDeleted: ReturnType<typeof createEventModule$7<_publicOnGroupDeletedType>>;
1459
+ declare const onGroupUpdated: ReturnType<typeof createEventModule$7<_publicOnGroupUpdatedType>>;
1451
1460
 
1452
1461
  type context$8_BMFeatures = BMFeatures;
1453
1462
  type context$8_BMFeaturesBMFeatures = BMFeaturesBMFeatures;
@@ -1467,6 +1476,8 @@ type context$8_GetGroupBySlugOptions = GetGroupBySlugOptions;
1467
1476
  type context$8_GetGroupBySlugRequest = GetGroupBySlugRequest;
1468
1477
  type context$8_GetGroupBySlugResponse = GetGroupBySlugResponse;
1469
1478
  type context$8_GetGroupBySlugResponseNonNullableFields = GetGroupBySlugResponseNonNullableFields;
1479
+ type context$8_GetGroupIdBySlugRequest = GetGroupIdBySlugRequest;
1480
+ type context$8_GetGroupIdBySlugResponse = GetGroupIdBySlugResponse;
1470
1481
  type context$8_GetGroupMembersGroupIdsRequest = GetGroupMembersGroupIdsRequest;
1471
1482
  type context$8_GetGroupMembersGroupIdsResponse = GetGroupMembersGroupIdsResponse;
1472
1483
  type context$8_GetGroupOptions = GetGroupOptions;
@@ -1526,7 +1537,7 @@ declare const context$8_onGroupUpdated: typeof onGroupUpdated;
1526
1537
  declare const context$8_queryGroups: typeof queryGroups;
1527
1538
  declare const context$8_updateGroup: typeof updateGroup;
1528
1539
  declare namespace context$8 {
1529
- export { type AccessRestriction$2 as AccessRestriction, type AccessRestrictionDataOneOf$2 as AccessRestrictionDataOneOf, type ActionEvent$7 as ActionEvent, AllowPolicy$2 as AllowPolicy, type context$8_BMFeatures as BMFeatures, context$8_BMFeaturesBMFeatures as BMFeaturesBMFeatures, type BaseEventMetadata$7 as BaseEventMetadata, context$8_ContentType as ContentType, type CoverImage$2 as CoverImage, type context$8_CreateGroupOptions as CreateGroupOptions, type context$8_CreateGroupRequest as CreateGroupRequest, type context$8_CreateGroupResponse as CreateGroupResponse, type context$8_CreateGroupResponseNonNullableFields as CreateGroupResponseNonNullableFields, type context$8_DeleteGroupRequest as DeleteGroupRequest, type context$8_DeleteGroupResponse as DeleteGroupResponse, type context$8_DeleteGroupResponseNonNullableFields as DeleteGroupResponseNonNullableFields, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type Events$2 as Events, type context$8_GetGroupBMFeaturesRequest as GetGroupBMFeaturesRequest, type context$8_GetGroupBMFeaturesResponse as GetGroupBMFeaturesResponse, type context$8_GetGroupBySlugOptions as GetGroupBySlugOptions, type context$8_GetGroupBySlugRequest as GetGroupBySlugRequest, type context$8_GetGroupBySlugResponse as GetGroupBySlugResponse, type context$8_GetGroupBySlugResponseNonNullableFields as GetGroupBySlugResponseNonNullableFields, type context$8_GetGroupMembersGroupIdsRequest as GetGroupMembersGroupIdsRequest, type context$8_GetGroupMembersGroupIdsResponse as GetGroupMembersGroupIdsResponse, type context$8_GetGroupOptions as GetGroupOptions, type context$8_GetGroupRequest as GetGroupRequest, type context$8_GetGroupResponse as GetGroupResponse, type context$8_GetGroupResponseNonNullableFields as GetGroupResponseNonNullableFields, type Group$2 as Group, type context$8_GroupCoverChanged as GroupCoverChanged, type context$8_GroupCoverChangedEnvelope as GroupCoverChangedEnvelope, type context$8_GroupCreatedEnvelope as GroupCreatedEnvelope, type context$8_GroupDeletedEnvelope as GroupDeletedEnvelope, type context$8_GroupDescriptionChanged as GroupDescriptionChanged, type context$8_GroupDescriptionChangedEnvelope as GroupDescriptionChangedEnvelope, type GroupDetails$2 as GroupDetails, type GroupDetailsPosition$2 as GroupDetailsPosition, type context$8_GroupIntegrationsData as GroupIntegrationsData, type GroupNonNullableFields$2 as GroupNonNullableFields, type context$8_GroupPermissions as GroupPermissions, type GroupSettings$2 as GroupSettings, type context$8_GroupUpdatedEnvelope as GroupUpdatedEnvelope, type context$8_GroupWithMsId as GroupWithMsId, type context$8_GroupsQueryBuilder as GroupsQueryBuilder, type context$8_GroupsQueryResult as GroupsQueryResult, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, type Identity$2 as Identity, IdentityType$2 as IdentityType, type Image$2 as Image, type context$8_ListGroupIntegrationsDataRequest as ListGroupIntegrationsDataRequest, type context$8_ListGroupIntegrationsDataResponse as ListGroupIntegrationsDataResponse, type context$8_ListGroupsByUserIdRequest as ListGroupsByUserIdRequest, type context$8_ListGroupsByUserIdResponse as ListGroupsByUserIdResponse, type context$8_ListGroupsOptions as ListGroupsOptions, type context$8_ListGroupsRequest as ListGroupsRequest, type context$8_ListGroupsResponse as ListGroupsResponse, type context$8_ListGroupsResponseNonNullableFields as ListGroupsResponseNonNullableFields, type Logo$2 as Logo, MembershipStatus$1 as MembershipStatus, type MessageEnvelope$7 as MessageEnvelope, type OnboardingStepSettings$2 as OnboardingStepSettings, type Paging$6 as Paging, type PagingMetadata$6 as PagingMetadata, type Position$2 as Position, PrivacyStatus$2 as PrivacyStatus, type Query$5 as Query, type context$8_QueryGroupsByMembershipRequest as QueryGroupsByMembershipRequest, type context$8_QueryGroupsByMembershipResponse as QueryGroupsByMembershipResponse, type context$8_QueryGroupsOptions as QueryGroupsOptions, type context$8_QueryGroupsRequest as QueryGroupsRequest, type context$8_QueryGroupsResponse as QueryGroupsResponse, type context$8_QueryGroupsResponseNonNullableFields as QueryGroupsResponseNonNullableFields, type context$8_QueryJoinedGroupsRequest as QueryJoinedGroupsRequest, type context$8_QueryJoinedGroupsResponse as QueryJoinedGroupsResponse, type context$8_QueryJoinedGroupsWithMemberRequest as QueryJoinedGroupsWithMemberRequest, type context$8_QueryJoinedGroupsWithMemberResponse as QueryJoinedGroupsWithMemberResponse, type RestoreInfo$7 as RestoreInfo, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, StepKey$2 as StepKey, Type$2 as Type, type context$8_UpdateGroup as UpdateGroup, type context$8_UpdateGroupOptions as UpdateGroupOptions, type context$8_UpdateGroupRequest as UpdateGroupRequest, type context$8_UpdateGroupResponse as UpdateGroupResponse, type context$8_UpdateGroupResponseNonNullableFields as UpdateGroupResponseNonNullableFields, WebhookIdentityType$7 as WebhookIdentityType, type context$8__publicOnGroupCoverChangedType as _publicOnGroupCoverChangedType, type context$8__publicOnGroupCreatedType as _publicOnGroupCreatedType, type context$8__publicOnGroupDeletedType as _publicOnGroupDeletedType, type context$8__publicOnGroupDescriptionChangedType as _publicOnGroupDescriptionChangedType, type context$8__publicOnGroupUpdatedType as _publicOnGroupUpdatedType, context$8_createGroup as createGroup, context$8_deleteGroup as deleteGroup, context$8_getGroup as getGroup, context$8_getGroupBySlug as getGroupBySlug, context$8_listGroups as listGroups, context$8_onGroupCoverChanged as onGroupCoverChanged, context$8_onGroupCreated as onGroupCreated, context$8_onGroupDeleted as onGroupDeleted, context$8_onGroupDescriptionChanged as onGroupDescriptionChanged, context$8_onGroupUpdated as onGroupUpdated, onGroupCoverChanged$1 as publicOnGroupCoverChanged, onGroupCreated$1 as publicOnGroupCreated, onGroupDeleted$1 as publicOnGroupDeleted, onGroupDescriptionChanged$1 as publicOnGroupDescriptionChanged, onGroupUpdated$1 as publicOnGroupUpdated, context$8_queryGroups as queryGroups, context$8_updateGroup as updateGroup };
1540
+ export { type AccessRestriction$2 as AccessRestriction, type AccessRestrictionDataOneOf$2 as AccessRestrictionDataOneOf, type ActionEvent$7 as ActionEvent, AllowPolicy$2 as AllowPolicy, type context$8_BMFeatures as BMFeatures, context$8_BMFeaturesBMFeatures as BMFeaturesBMFeatures, type BaseEventMetadata$7 as BaseEventMetadata, context$8_ContentType as ContentType, type CoverImage$2 as CoverImage, type context$8_CreateGroupOptions as CreateGroupOptions, type context$8_CreateGroupRequest as CreateGroupRequest, type context$8_CreateGroupResponse as CreateGroupResponse, type context$8_CreateGroupResponseNonNullableFields as CreateGroupResponseNonNullableFields, type context$8_DeleteGroupRequest as DeleteGroupRequest, type context$8_DeleteGroupResponse as DeleteGroupResponse, type context$8_DeleteGroupResponseNonNullableFields as DeleteGroupResponseNonNullableFields, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type Events$2 as Events, type context$8_GetGroupBMFeaturesRequest as GetGroupBMFeaturesRequest, type context$8_GetGroupBMFeaturesResponse as GetGroupBMFeaturesResponse, type context$8_GetGroupBySlugOptions as GetGroupBySlugOptions, type context$8_GetGroupBySlugRequest as GetGroupBySlugRequest, type context$8_GetGroupBySlugResponse as GetGroupBySlugResponse, type context$8_GetGroupBySlugResponseNonNullableFields as GetGroupBySlugResponseNonNullableFields, type context$8_GetGroupIdBySlugRequest as GetGroupIdBySlugRequest, type context$8_GetGroupIdBySlugResponse as GetGroupIdBySlugResponse, type context$8_GetGroupMembersGroupIdsRequest as GetGroupMembersGroupIdsRequest, type context$8_GetGroupMembersGroupIdsResponse as GetGroupMembersGroupIdsResponse, type context$8_GetGroupOptions as GetGroupOptions, type context$8_GetGroupRequest as GetGroupRequest, type context$8_GetGroupResponse as GetGroupResponse, type context$8_GetGroupResponseNonNullableFields as GetGroupResponseNonNullableFields, type Group$2 as Group, type context$8_GroupCoverChanged as GroupCoverChanged, type context$8_GroupCoverChangedEnvelope as GroupCoverChangedEnvelope, type context$8_GroupCreatedEnvelope as GroupCreatedEnvelope, type context$8_GroupDeletedEnvelope as GroupDeletedEnvelope, type context$8_GroupDescriptionChanged as GroupDescriptionChanged, type context$8_GroupDescriptionChangedEnvelope as GroupDescriptionChangedEnvelope, type GroupDetails$2 as GroupDetails, type GroupDetailsPosition$2 as GroupDetailsPosition, type context$8_GroupIntegrationsData as GroupIntegrationsData, type GroupNonNullableFields$2 as GroupNonNullableFields, type context$8_GroupPermissions as GroupPermissions, type GroupSettings$2 as GroupSettings, type context$8_GroupUpdatedEnvelope as GroupUpdatedEnvelope, type context$8_GroupWithMsId as GroupWithMsId, type context$8_GroupsQueryBuilder as GroupsQueryBuilder, type context$8_GroupsQueryResult as GroupsQueryResult, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, type Identity$2 as Identity, IdentityType$2 as IdentityType, type Image$2 as Image, type context$8_ListGroupIntegrationsDataRequest as ListGroupIntegrationsDataRequest, type context$8_ListGroupIntegrationsDataResponse as ListGroupIntegrationsDataResponse, type context$8_ListGroupsByUserIdRequest as ListGroupsByUserIdRequest, type context$8_ListGroupsByUserIdResponse as ListGroupsByUserIdResponse, type context$8_ListGroupsOptions as ListGroupsOptions, type context$8_ListGroupsRequest as ListGroupsRequest, type context$8_ListGroupsResponse as ListGroupsResponse, type context$8_ListGroupsResponseNonNullableFields as ListGroupsResponseNonNullableFields, type Logo$2 as Logo, MembershipStatus$1 as MembershipStatus, type MessageEnvelope$7 as MessageEnvelope, type OnboardingStepSettings$2 as OnboardingStepSettings, type Paging$6 as Paging, type PagingMetadata$6 as PagingMetadata, type Position$2 as Position, PrivacyStatus$2 as PrivacyStatus, type Query$5 as Query, type context$8_QueryGroupsByMembershipRequest as QueryGroupsByMembershipRequest, type context$8_QueryGroupsByMembershipResponse as QueryGroupsByMembershipResponse, type context$8_QueryGroupsOptions as QueryGroupsOptions, type context$8_QueryGroupsRequest as QueryGroupsRequest, type context$8_QueryGroupsResponse as QueryGroupsResponse, type context$8_QueryGroupsResponseNonNullableFields as QueryGroupsResponseNonNullableFields, type context$8_QueryJoinedGroupsRequest as QueryJoinedGroupsRequest, type context$8_QueryJoinedGroupsResponse as QueryJoinedGroupsResponse, type context$8_QueryJoinedGroupsWithMemberRequest as QueryJoinedGroupsWithMemberRequest, type context$8_QueryJoinedGroupsWithMemberResponse as QueryJoinedGroupsWithMemberResponse, type RestoreInfo$7 as RestoreInfo, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, StepKey$2 as StepKey, Type$2 as Type, type context$8_UpdateGroup as UpdateGroup, type context$8_UpdateGroupOptions as UpdateGroupOptions, type context$8_UpdateGroupRequest as UpdateGroupRequest, type context$8_UpdateGroupResponse as UpdateGroupResponse, type context$8_UpdateGroupResponseNonNullableFields as UpdateGroupResponseNonNullableFields, WebhookIdentityType$7 as WebhookIdentityType, type context$8__publicOnGroupCoverChangedType as _publicOnGroupCoverChangedType, type context$8__publicOnGroupCreatedType as _publicOnGroupCreatedType, type context$8__publicOnGroupDeletedType as _publicOnGroupDeletedType, type context$8__publicOnGroupDescriptionChangedType as _publicOnGroupDescriptionChangedType, type context$8__publicOnGroupUpdatedType as _publicOnGroupUpdatedType, context$8_createGroup as createGroup, context$8_deleteGroup as deleteGroup, context$8_getGroup as getGroup, context$8_getGroupBySlug as getGroupBySlug, context$8_listGroups as listGroups, context$8_onGroupCoverChanged as onGroupCoverChanged, context$8_onGroupCreated as onGroupCreated, context$8_onGroupDeleted as onGroupDeleted, context$8_onGroupDescriptionChanged as onGroupDescriptionChanged, context$8_onGroupUpdated as onGroupUpdated, onGroupCoverChanged$1 as publicOnGroupCoverChanged, onGroupCreated$1 as publicOnGroupCreated, onGroupDeleted$1 as publicOnGroupDeleted, onGroupDescriptionChanged$1 as publicOnGroupDescriptionChanged, onGroupUpdated$1 as publicOnGroupUpdated, context$8_queryGroups as queryGroups, context$8_updateGroup as updateGroup };
1530
1541
  }
1531
1542
 
1532
1543
  interface GroupMember$1 {
@@ -2866,6 +2877,7 @@ interface GroupSettingsNonNullableFields$1 {
2866
2877
  allowedToCreatePosts: AllowPolicy$1;
2867
2878
  allowedToCommentPosts: AllowPolicy$1;
2868
2879
  onboardingStepsSettings: OnboardingStepSettingsNonNullableFields$1[];
2880
+ allowedToCreateEvents: AllowPolicy$1;
2869
2881
  }
2870
2882
  interface IdentityNonNullableFields$1 {
2871
2883
  identityType: IdentityType$1;
@@ -2941,14 +2953,14 @@ interface EventMetadata$5 extends BaseEventMetadata$5 {
2941
2953
  */
2942
2954
  entityEventSequence?: string | null;
2943
2955
  }
2944
- interface GroupRequestCreatedEnvelope {
2945
- entity: GroupRequest;
2946
- metadata: EventMetadata$5;
2947
- }
2948
2956
  interface GroupRequestApprovedEnvelope {
2949
2957
  data: GroupRequestApproved;
2950
2958
  metadata: EventMetadata$5;
2951
2959
  }
2960
+ interface GroupRequestCreatedEnvelope {
2961
+ entity: GroupRequest;
2962
+ metadata: EventMetadata$5;
2963
+ }
2952
2964
  interface GroupRequestRejectedEnvelope {
2953
2965
  data: GroupRequestRejected;
2954
2966
  metadata: EventMetadata$5;
@@ -3073,8 +3085,8 @@ interface QueryGroupRequestsSignature {
3073
3085
  */
3074
3086
  (options?: QueryGroupRequestsOptions | undefined): GroupRequestsQueryBuilder;
3075
3087
  }
3076
- declare const onGroupRequestCreated$1: EventDefinition<GroupRequestCreatedEnvelope, "wix.social_groups.v2.group_request_created">;
3077
3088
  declare const onGroupRequestApproved$1: EventDefinition<GroupRequestApprovedEnvelope, "wix.social_groups.v2.group_request_approved">;
3089
+ declare const onGroupRequestCreated$1: EventDefinition<GroupRequestCreatedEnvelope, "wix.social_groups.v2.group_request_created">;
3078
3090
  declare const onGroupRequestRejected$1: EventDefinition<GroupRequestRejectedEnvelope, "wix.social_groups.v2.group_request_rejected">;
3079
3091
 
3080
3092
  declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
@@ -3084,16 +3096,16 @@ declare const rejectGroupRequests: MaybeContext<BuildRESTFunction<typeof rejectG
3084
3096
  declare const listGroupRequests: MaybeContext<BuildRESTFunction<typeof listGroupRequests$1> & typeof listGroupRequests$1>;
3085
3097
  declare const queryGroupRequests: MaybeContext<BuildRESTFunction<typeof queryGroupRequests$1> & typeof queryGroupRequests$1>;
3086
3098
 
3087
- type _publicOnGroupRequestCreatedType = typeof onGroupRequestCreated$1;
3088
- /** */
3089
- declare const onGroupRequestCreated: ReturnType<typeof createEventModule$5<_publicOnGroupRequestCreatedType>>;
3090
-
3091
3099
  type _publicOnGroupRequestApprovedType = typeof onGroupRequestApproved$1;
3092
3100
  /**
3093
3101
  * Triggered when a Group Request is approved.
3094
3102
  */
3095
3103
  declare const onGroupRequestApproved: ReturnType<typeof createEventModule$5<_publicOnGroupRequestApprovedType>>;
3096
3104
 
3105
+ type _publicOnGroupRequestCreatedType = typeof onGroupRequestCreated$1;
3106
+ /** */
3107
+ declare const onGroupRequestCreated: ReturnType<typeof createEventModule$5<_publicOnGroupRequestCreatedType>>;
3108
+
3097
3109
  type _publicOnGroupRequestRejectedType = typeof onGroupRequestRejected$1;
3098
3110
  /**
3099
3111
  * Triggered when a Group Request is rejected.
@@ -4286,14 +4298,14 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
4286
4298
  */
4287
4299
  entityEventSequence?: string | null;
4288
4300
  }
4289
- interface JoinGroupRequestCreatedEnvelope {
4290
- entity: JoinGroupRequest;
4291
- metadata: EventMetadata$2;
4292
- }
4293
4301
  interface JoinGroupRequestApprovedEnvelope {
4294
4302
  data: JoinGroupRequestApproved;
4295
4303
  metadata: EventMetadata$2;
4296
4304
  }
4305
+ interface JoinGroupRequestCreatedEnvelope {
4306
+ entity: JoinGroupRequest;
4307
+ metadata: EventMetadata$2;
4308
+ }
4297
4309
  interface JoinGroupRequestRejectedEnvelope {
4298
4310
  data: JoinGroupRequestRejected;
4299
4311
  metadata: EventMetadata$2;
@@ -4428,8 +4440,8 @@ interface QueryJoinGroupRequestsSignature {
4428
4440
  */
4429
4441
  (groupId: string, options?: QueryJoinGroupRequestsOptions | undefined): JoinGroupRequestsQueryBuilder;
4430
4442
  }
4431
- declare const onJoinGroupRequestCreated$1: EventDefinition<JoinGroupRequestCreatedEnvelope, "wix.social_groups.v2.join_group_request_created">;
4432
4443
  declare const onJoinGroupRequestApproved$1: EventDefinition<JoinGroupRequestApprovedEnvelope, "wix.social_groups.v2.join_group_request_approved">;
4444
+ declare const onJoinGroupRequestCreated$1: EventDefinition<JoinGroupRequestCreatedEnvelope, "wix.social_groups.v2.join_group_request_created">;
4433
4445
  declare const onJoinGroupRequestRejected$1: EventDefinition<JoinGroupRequestRejectedEnvelope, "wix.social_groups.v2.join_group_request_rejected">;
4434
4446
 
4435
4447
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
@@ -4439,16 +4451,16 @@ declare const rejectJoinGroupRequests: MaybeContext<BuildRESTFunction<typeof rej
4439
4451
  declare const listJoinGroupRequests: MaybeContext<BuildRESTFunction<typeof listJoinGroupRequests$1> & typeof listJoinGroupRequests$1>;
4440
4452
  declare const queryJoinGroupRequests: MaybeContext<BuildRESTFunction<typeof queryJoinGroupRequests$1> & typeof queryJoinGroupRequests$1>;
4441
4453
 
4442
- type _publicOnJoinGroupRequestCreatedType = typeof onJoinGroupRequestCreated$1;
4443
- /** */
4444
- declare const onJoinGroupRequestCreated: ReturnType<typeof createEventModule$2<_publicOnJoinGroupRequestCreatedType>>;
4445
-
4446
4454
  type _publicOnJoinGroupRequestApprovedType = typeof onJoinGroupRequestApproved$1;
4447
4455
  /**
4448
4456
  * Triggered when a join group request is approved by a group admin or a groups manager.
4449
4457
  */
4450
4458
  declare const onJoinGroupRequestApproved: ReturnType<typeof createEventModule$2<_publicOnJoinGroupRequestApprovedType>>;
4451
4459
 
4460
+ type _publicOnJoinGroupRequestCreatedType = typeof onJoinGroupRequestCreated$1;
4461
+ /** */
4462
+ declare const onJoinGroupRequestCreated: ReturnType<typeof createEventModule$2<_publicOnJoinGroupRequestCreatedType>>;
4463
+
4452
4464
  type _publicOnJoinGroupRequestRejectedType = typeof onJoinGroupRequestRejected$1;
4453
4465
  /**
4454
4466
  * Triggered when a join group request is rejected by a group admin or a groups manager.
@@ -742,6 +742,14 @@ interface GetGroupBySlugResponse {
742
742
  /** Retrieved group. */
743
743
  group?: Group$2;
744
744
  }
745
+ interface GetGroupIdBySlugRequest {
746
+ /** Unique part of the group's URL, for example `group-1` in `https:/example.com/groups/group-1`. Pass only the slug. Case-sensitive. */
747
+ slug?: string;
748
+ autoInviteId?: string | null;
749
+ }
750
+ interface GetGroupIdBySlugResponse {
751
+ groupId?: string;
752
+ }
745
753
  interface ListGroupsRequest {
746
754
  /** Number of items to load. Maximum `100`. */
747
755
  limit?: number | null;
@@ -1053,6 +1061,7 @@ interface GroupSettingsNonNullableFields$2 {
1053
1061
  allowedToCreatePosts: AllowPolicy$2;
1054
1062
  allowedToCommentPosts: AllowPolicy$2;
1055
1063
  onboardingStepsSettings: OnboardingStepSettingsNonNullableFields$2[];
1064
+ allowedToCreateEvents: AllowPolicy$2;
1056
1065
  }
1057
1066
  interface IdentityNonNullableFields$2 {
1058
1067
  identityType: IdentityType$2;
@@ -1137,8 +1146,7 @@ interface GroupCreatedEnvelope {
1137
1146
  entity: Group$2;
1138
1147
  metadata: EventMetadata$7;
1139
1148
  }
1140
- interface GroupUpdatedEnvelope {
1141
- entity: Group$2;
1149
+ interface GroupDeletedEnvelope {
1142
1150
  metadata: EventMetadata$7;
1143
1151
  }
1144
1152
  interface GroupCoverChangedEnvelope {
@@ -1149,7 +1157,8 @@ interface GroupDescriptionChangedEnvelope {
1149
1157
  data: GroupDescriptionChanged;
1150
1158
  metadata: EventMetadata$7;
1151
1159
  }
1152
- interface GroupDeletedEnvelope {
1160
+ interface GroupUpdatedEnvelope {
1161
+ entity: Group$2;
1153
1162
  metadata: EventMetadata$7;
1154
1163
  }
1155
1164
  interface CreateGroupOptions {
@@ -1404,10 +1413,10 @@ interface QueryGroupsSignature {
1404
1413
  (options?: QueryGroupsOptions | undefined): GroupsQueryBuilder;
1405
1414
  }
1406
1415
  declare const onGroupCreated$1: EventDefinition<GroupCreatedEnvelope, "wix.social_groups.v2.group_created">;
1407
- declare const onGroupUpdated$1: EventDefinition<GroupUpdatedEnvelope, "wix.social_groups.v2.group_updated">;
1416
+ declare const onGroupDeleted$1: EventDefinition<GroupDeletedEnvelope, "wix.social_groups.v2.group_deleted">;
1408
1417
  declare const onGroupCoverChanged$1: EventDefinition<GroupCoverChangedEnvelope, "wix.social_groups.v2.group_group_cover_changed">;
1409
1418
  declare const onGroupDescriptionChanged$1: EventDefinition<GroupDescriptionChangedEnvelope, "wix.social_groups.v2.group_group_description_changed">;
1410
- declare const onGroupDeleted$1: EventDefinition<GroupDeletedEnvelope, "wix.social_groups.v2.group_deleted">;
1419
+ declare const onGroupUpdated$1: EventDefinition<GroupUpdatedEnvelope, "wix.social_groups.v2.group_updated">;
1411
1420
 
1412
1421
  declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1413
1422
 
@@ -1425,11 +1434,11 @@ type _publicOnGroupCreatedType = typeof onGroupCreated$1;
1425
1434
  */
1426
1435
  declare const onGroupCreated: ReturnType<typeof createEventModule$7<_publicOnGroupCreatedType>>;
1427
1436
 
1428
- type _publicOnGroupUpdatedType = typeof onGroupUpdated$1;
1437
+ type _publicOnGroupDeletedType = typeof onGroupDeleted$1;
1429
1438
  /**
1430
- * Triggered when a group is updated. See payload for more information about the specific trigger.
1439
+ * Triggered when a group is deleted.
1431
1440
  */
1432
- declare const onGroupUpdated: ReturnType<typeof createEventModule$7<_publicOnGroupUpdatedType>>;
1441
+ declare const onGroupDeleted: ReturnType<typeof createEventModule$7<_publicOnGroupDeletedType>>;
1433
1442
 
1434
1443
  type _publicOnGroupCoverChangedType = typeof onGroupCoverChanged$1;
1435
1444
  /**
@@ -1443,11 +1452,11 @@ type _publicOnGroupDescriptionChangedType = typeof onGroupDescriptionChanged$1;
1443
1452
  */
1444
1453
  declare const onGroupDescriptionChanged: ReturnType<typeof createEventModule$7<_publicOnGroupDescriptionChangedType>>;
1445
1454
 
1446
- type _publicOnGroupDeletedType = typeof onGroupDeleted$1;
1455
+ type _publicOnGroupUpdatedType = typeof onGroupUpdated$1;
1447
1456
  /**
1448
- * Triggered when a group is deleted.
1457
+ * Triggered when a group is updated. See payload for more information about the specific trigger.
1449
1458
  */
1450
- declare const onGroupDeleted: ReturnType<typeof createEventModule$7<_publicOnGroupDeletedType>>;
1459
+ declare const onGroupUpdated: ReturnType<typeof createEventModule$7<_publicOnGroupUpdatedType>>;
1451
1460
 
1452
1461
  type index_d$8_BMFeatures = BMFeatures;
1453
1462
  type index_d$8_BMFeaturesBMFeatures = BMFeaturesBMFeatures;
@@ -1467,6 +1476,8 @@ type index_d$8_GetGroupBySlugOptions = GetGroupBySlugOptions;
1467
1476
  type index_d$8_GetGroupBySlugRequest = GetGroupBySlugRequest;
1468
1477
  type index_d$8_GetGroupBySlugResponse = GetGroupBySlugResponse;
1469
1478
  type index_d$8_GetGroupBySlugResponseNonNullableFields = GetGroupBySlugResponseNonNullableFields;
1479
+ type index_d$8_GetGroupIdBySlugRequest = GetGroupIdBySlugRequest;
1480
+ type index_d$8_GetGroupIdBySlugResponse = GetGroupIdBySlugResponse;
1470
1481
  type index_d$8_GetGroupMembersGroupIdsRequest = GetGroupMembersGroupIdsRequest;
1471
1482
  type index_d$8_GetGroupMembersGroupIdsResponse = GetGroupMembersGroupIdsResponse;
1472
1483
  type index_d$8_GetGroupOptions = GetGroupOptions;
@@ -1526,7 +1537,7 @@ declare const index_d$8_onGroupUpdated: typeof onGroupUpdated;
1526
1537
  declare const index_d$8_queryGroups: typeof queryGroups;
1527
1538
  declare const index_d$8_updateGroup: typeof updateGroup;
1528
1539
  declare namespace index_d$8 {
1529
- export { type AccessRestriction$2 as AccessRestriction, type AccessRestrictionDataOneOf$2 as AccessRestrictionDataOneOf, type ActionEvent$7 as ActionEvent, AllowPolicy$2 as AllowPolicy, type index_d$8_BMFeatures as BMFeatures, index_d$8_BMFeaturesBMFeatures as BMFeaturesBMFeatures, type BaseEventMetadata$7 as BaseEventMetadata, index_d$8_ContentType as ContentType, type CoverImage$2 as CoverImage, type index_d$8_CreateGroupOptions as CreateGroupOptions, type index_d$8_CreateGroupRequest as CreateGroupRequest, type index_d$8_CreateGroupResponse as CreateGroupResponse, type index_d$8_CreateGroupResponseNonNullableFields as CreateGroupResponseNonNullableFields, type index_d$8_DeleteGroupRequest as DeleteGroupRequest, type index_d$8_DeleteGroupResponse as DeleteGroupResponse, type index_d$8_DeleteGroupResponseNonNullableFields as DeleteGroupResponseNonNullableFields, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type Events$2 as Events, type index_d$8_GetGroupBMFeaturesRequest as GetGroupBMFeaturesRequest, type index_d$8_GetGroupBMFeaturesResponse as GetGroupBMFeaturesResponse, type index_d$8_GetGroupBySlugOptions as GetGroupBySlugOptions, type index_d$8_GetGroupBySlugRequest as GetGroupBySlugRequest, type index_d$8_GetGroupBySlugResponse as GetGroupBySlugResponse, type index_d$8_GetGroupBySlugResponseNonNullableFields as GetGroupBySlugResponseNonNullableFields, type index_d$8_GetGroupMembersGroupIdsRequest as GetGroupMembersGroupIdsRequest, type index_d$8_GetGroupMembersGroupIdsResponse as GetGroupMembersGroupIdsResponse, type index_d$8_GetGroupOptions as GetGroupOptions, type index_d$8_GetGroupRequest as GetGroupRequest, type index_d$8_GetGroupResponse as GetGroupResponse, type index_d$8_GetGroupResponseNonNullableFields as GetGroupResponseNonNullableFields, type Group$2 as Group, type index_d$8_GroupCoverChanged as GroupCoverChanged, type index_d$8_GroupCoverChangedEnvelope as GroupCoverChangedEnvelope, type index_d$8_GroupCreatedEnvelope as GroupCreatedEnvelope, type index_d$8_GroupDeletedEnvelope as GroupDeletedEnvelope, type index_d$8_GroupDescriptionChanged as GroupDescriptionChanged, type index_d$8_GroupDescriptionChangedEnvelope as GroupDescriptionChangedEnvelope, type GroupDetails$2 as GroupDetails, type GroupDetailsPosition$2 as GroupDetailsPosition, type index_d$8_GroupIntegrationsData as GroupIntegrationsData, type GroupNonNullableFields$2 as GroupNonNullableFields, type index_d$8_GroupPermissions as GroupPermissions, type GroupSettings$2 as GroupSettings, type index_d$8_GroupUpdatedEnvelope as GroupUpdatedEnvelope, type index_d$8_GroupWithMsId as GroupWithMsId, type index_d$8_GroupsQueryBuilder as GroupsQueryBuilder, type index_d$8_GroupsQueryResult as GroupsQueryResult, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, type Identity$2 as Identity, IdentityType$2 as IdentityType, type Image$2 as Image, type index_d$8_ListGroupIntegrationsDataRequest as ListGroupIntegrationsDataRequest, type index_d$8_ListGroupIntegrationsDataResponse as ListGroupIntegrationsDataResponse, type index_d$8_ListGroupsByUserIdRequest as ListGroupsByUserIdRequest, type index_d$8_ListGroupsByUserIdResponse as ListGroupsByUserIdResponse, type index_d$8_ListGroupsOptions as ListGroupsOptions, type index_d$8_ListGroupsRequest as ListGroupsRequest, type index_d$8_ListGroupsResponse as ListGroupsResponse, type index_d$8_ListGroupsResponseNonNullableFields as ListGroupsResponseNonNullableFields, type Logo$2 as Logo, MembershipStatus$1 as MembershipStatus, type MessageEnvelope$7 as MessageEnvelope, type OnboardingStepSettings$2 as OnboardingStepSettings, type Paging$6 as Paging, type PagingMetadata$6 as PagingMetadata, type Position$2 as Position, PrivacyStatus$2 as PrivacyStatus, type Query$5 as Query, type index_d$8_QueryGroupsByMembershipRequest as QueryGroupsByMembershipRequest, type index_d$8_QueryGroupsByMembershipResponse as QueryGroupsByMembershipResponse, type index_d$8_QueryGroupsOptions as QueryGroupsOptions, type index_d$8_QueryGroupsRequest as QueryGroupsRequest, type index_d$8_QueryGroupsResponse as QueryGroupsResponse, type index_d$8_QueryGroupsResponseNonNullableFields as QueryGroupsResponseNonNullableFields, type index_d$8_QueryJoinedGroupsRequest as QueryJoinedGroupsRequest, type index_d$8_QueryJoinedGroupsResponse as QueryJoinedGroupsResponse, type index_d$8_QueryJoinedGroupsWithMemberRequest as QueryJoinedGroupsWithMemberRequest, type index_d$8_QueryJoinedGroupsWithMemberResponse as QueryJoinedGroupsWithMemberResponse, type RestoreInfo$7 as RestoreInfo, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, StepKey$2 as StepKey, Type$2 as Type, type index_d$8_UpdateGroup as UpdateGroup, type index_d$8_UpdateGroupOptions as UpdateGroupOptions, type index_d$8_UpdateGroupRequest as UpdateGroupRequest, type index_d$8_UpdateGroupResponse as UpdateGroupResponse, type index_d$8_UpdateGroupResponseNonNullableFields as UpdateGroupResponseNonNullableFields, WebhookIdentityType$7 as WebhookIdentityType, type index_d$8__publicOnGroupCoverChangedType as _publicOnGroupCoverChangedType, type index_d$8__publicOnGroupCreatedType as _publicOnGroupCreatedType, type index_d$8__publicOnGroupDeletedType as _publicOnGroupDeletedType, type index_d$8__publicOnGroupDescriptionChangedType as _publicOnGroupDescriptionChangedType, type index_d$8__publicOnGroupUpdatedType as _publicOnGroupUpdatedType, index_d$8_createGroup as createGroup, index_d$8_deleteGroup as deleteGroup, index_d$8_getGroup as getGroup, index_d$8_getGroupBySlug as getGroupBySlug, index_d$8_listGroups as listGroups, index_d$8_onGroupCoverChanged as onGroupCoverChanged, index_d$8_onGroupCreated as onGroupCreated, index_d$8_onGroupDeleted as onGroupDeleted, index_d$8_onGroupDescriptionChanged as onGroupDescriptionChanged, index_d$8_onGroupUpdated as onGroupUpdated, onGroupCoverChanged$1 as publicOnGroupCoverChanged, onGroupCreated$1 as publicOnGroupCreated, onGroupDeleted$1 as publicOnGroupDeleted, onGroupDescriptionChanged$1 as publicOnGroupDescriptionChanged, onGroupUpdated$1 as publicOnGroupUpdated, index_d$8_queryGroups as queryGroups, index_d$8_updateGroup as updateGroup };
1540
+ export { type AccessRestriction$2 as AccessRestriction, type AccessRestrictionDataOneOf$2 as AccessRestrictionDataOneOf, type ActionEvent$7 as ActionEvent, AllowPolicy$2 as AllowPolicy, type index_d$8_BMFeatures as BMFeatures, index_d$8_BMFeaturesBMFeatures as BMFeaturesBMFeatures, type BaseEventMetadata$7 as BaseEventMetadata, index_d$8_ContentType as ContentType, type CoverImage$2 as CoverImage, type index_d$8_CreateGroupOptions as CreateGroupOptions, type index_d$8_CreateGroupRequest as CreateGroupRequest, type index_d$8_CreateGroupResponse as CreateGroupResponse, type index_d$8_CreateGroupResponseNonNullableFields as CreateGroupResponseNonNullableFields, type index_d$8_DeleteGroupRequest as DeleteGroupRequest, type index_d$8_DeleteGroupResponse as DeleteGroupResponse, type index_d$8_DeleteGroupResponseNonNullableFields as DeleteGroupResponseNonNullableFields, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type Events$2 as Events, type index_d$8_GetGroupBMFeaturesRequest as GetGroupBMFeaturesRequest, type index_d$8_GetGroupBMFeaturesResponse as GetGroupBMFeaturesResponse, type index_d$8_GetGroupBySlugOptions as GetGroupBySlugOptions, type index_d$8_GetGroupBySlugRequest as GetGroupBySlugRequest, type index_d$8_GetGroupBySlugResponse as GetGroupBySlugResponse, type index_d$8_GetGroupBySlugResponseNonNullableFields as GetGroupBySlugResponseNonNullableFields, type index_d$8_GetGroupIdBySlugRequest as GetGroupIdBySlugRequest, type index_d$8_GetGroupIdBySlugResponse as GetGroupIdBySlugResponse, type index_d$8_GetGroupMembersGroupIdsRequest as GetGroupMembersGroupIdsRequest, type index_d$8_GetGroupMembersGroupIdsResponse as GetGroupMembersGroupIdsResponse, type index_d$8_GetGroupOptions as GetGroupOptions, type index_d$8_GetGroupRequest as GetGroupRequest, type index_d$8_GetGroupResponse as GetGroupResponse, type index_d$8_GetGroupResponseNonNullableFields as GetGroupResponseNonNullableFields, type Group$2 as Group, type index_d$8_GroupCoverChanged as GroupCoverChanged, type index_d$8_GroupCoverChangedEnvelope as GroupCoverChangedEnvelope, type index_d$8_GroupCreatedEnvelope as GroupCreatedEnvelope, type index_d$8_GroupDeletedEnvelope as GroupDeletedEnvelope, type index_d$8_GroupDescriptionChanged as GroupDescriptionChanged, type index_d$8_GroupDescriptionChangedEnvelope as GroupDescriptionChangedEnvelope, type GroupDetails$2 as GroupDetails, type GroupDetailsPosition$2 as GroupDetailsPosition, type index_d$8_GroupIntegrationsData as GroupIntegrationsData, type GroupNonNullableFields$2 as GroupNonNullableFields, type index_d$8_GroupPermissions as GroupPermissions, type GroupSettings$2 as GroupSettings, type index_d$8_GroupUpdatedEnvelope as GroupUpdatedEnvelope, type index_d$8_GroupWithMsId as GroupWithMsId, type index_d$8_GroupsQueryBuilder as GroupsQueryBuilder, type index_d$8_GroupsQueryResult as GroupsQueryResult, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, type Identity$2 as Identity, IdentityType$2 as IdentityType, type Image$2 as Image, type index_d$8_ListGroupIntegrationsDataRequest as ListGroupIntegrationsDataRequest, type index_d$8_ListGroupIntegrationsDataResponse as ListGroupIntegrationsDataResponse, type index_d$8_ListGroupsByUserIdRequest as ListGroupsByUserIdRequest, type index_d$8_ListGroupsByUserIdResponse as ListGroupsByUserIdResponse, type index_d$8_ListGroupsOptions as ListGroupsOptions, type index_d$8_ListGroupsRequest as ListGroupsRequest, type index_d$8_ListGroupsResponse as ListGroupsResponse, type index_d$8_ListGroupsResponseNonNullableFields as ListGroupsResponseNonNullableFields, type Logo$2 as Logo, MembershipStatus$1 as MembershipStatus, type MessageEnvelope$7 as MessageEnvelope, type OnboardingStepSettings$2 as OnboardingStepSettings, type Paging$6 as Paging, type PagingMetadata$6 as PagingMetadata, type Position$2 as Position, PrivacyStatus$2 as PrivacyStatus, type Query$5 as Query, type index_d$8_QueryGroupsByMembershipRequest as QueryGroupsByMembershipRequest, type index_d$8_QueryGroupsByMembershipResponse as QueryGroupsByMembershipResponse, type index_d$8_QueryGroupsOptions as QueryGroupsOptions, type index_d$8_QueryGroupsRequest as QueryGroupsRequest, type index_d$8_QueryGroupsResponse as QueryGroupsResponse, type index_d$8_QueryGroupsResponseNonNullableFields as QueryGroupsResponseNonNullableFields, type index_d$8_QueryJoinedGroupsRequest as QueryJoinedGroupsRequest, type index_d$8_QueryJoinedGroupsResponse as QueryJoinedGroupsResponse, type index_d$8_QueryJoinedGroupsWithMemberRequest as QueryJoinedGroupsWithMemberRequest, type index_d$8_QueryJoinedGroupsWithMemberResponse as QueryJoinedGroupsWithMemberResponse, type RestoreInfo$7 as RestoreInfo, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, StepKey$2 as StepKey, Type$2 as Type, type index_d$8_UpdateGroup as UpdateGroup, type index_d$8_UpdateGroupOptions as UpdateGroupOptions, type index_d$8_UpdateGroupRequest as UpdateGroupRequest, type index_d$8_UpdateGroupResponse as UpdateGroupResponse, type index_d$8_UpdateGroupResponseNonNullableFields as UpdateGroupResponseNonNullableFields, WebhookIdentityType$7 as WebhookIdentityType, type index_d$8__publicOnGroupCoverChangedType as _publicOnGroupCoverChangedType, type index_d$8__publicOnGroupCreatedType as _publicOnGroupCreatedType, type index_d$8__publicOnGroupDeletedType as _publicOnGroupDeletedType, type index_d$8__publicOnGroupDescriptionChangedType as _publicOnGroupDescriptionChangedType, type index_d$8__publicOnGroupUpdatedType as _publicOnGroupUpdatedType, index_d$8_createGroup as createGroup, index_d$8_deleteGroup as deleteGroup, index_d$8_getGroup as getGroup, index_d$8_getGroupBySlug as getGroupBySlug, index_d$8_listGroups as listGroups, index_d$8_onGroupCoverChanged as onGroupCoverChanged, index_d$8_onGroupCreated as onGroupCreated, index_d$8_onGroupDeleted as onGroupDeleted, index_d$8_onGroupDescriptionChanged as onGroupDescriptionChanged, index_d$8_onGroupUpdated as onGroupUpdated, onGroupCoverChanged$1 as publicOnGroupCoverChanged, onGroupCreated$1 as publicOnGroupCreated, onGroupDeleted$1 as publicOnGroupDeleted, onGroupDescriptionChanged$1 as publicOnGroupDescriptionChanged, onGroupUpdated$1 as publicOnGroupUpdated, index_d$8_queryGroups as queryGroups, index_d$8_updateGroup as updateGroup };
1530
1541
  }
1531
1542
 
1532
1543
  interface GroupMember$1 {
@@ -2866,6 +2877,7 @@ interface GroupSettingsNonNullableFields$1 {
2866
2877
  allowedToCreatePosts: AllowPolicy$1;
2867
2878
  allowedToCommentPosts: AllowPolicy$1;
2868
2879
  onboardingStepsSettings: OnboardingStepSettingsNonNullableFields$1[];
2880
+ allowedToCreateEvents: AllowPolicy$1;
2869
2881
  }
2870
2882
  interface IdentityNonNullableFields$1 {
2871
2883
  identityType: IdentityType$1;
@@ -2941,14 +2953,14 @@ interface EventMetadata$5 extends BaseEventMetadata$5 {
2941
2953
  */
2942
2954
  entityEventSequence?: string | null;
2943
2955
  }
2944
- interface GroupRequestCreatedEnvelope {
2945
- entity: GroupRequest;
2946
- metadata: EventMetadata$5;
2947
- }
2948
2956
  interface GroupRequestApprovedEnvelope {
2949
2957
  data: GroupRequestApproved;
2950
2958
  metadata: EventMetadata$5;
2951
2959
  }
2960
+ interface GroupRequestCreatedEnvelope {
2961
+ entity: GroupRequest;
2962
+ metadata: EventMetadata$5;
2963
+ }
2952
2964
  interface GroupRequestRejectedEnvelope {
2953
2965
  data: GroupRequestRejected;
2954
2966
  metadata: EventMetadata$5;
@@ -3073,8 +3085,8 @@ interface QueryGroupRequestsSignature {
3073
3085
  */
3074
3086
  (options?: QueryGroupRequestsOptions | undefined): GroupRequestsQueryBuilder;
3075
3087
  }
3076
- declare const onGroupRequestCreated$1: EventDefinition<GroupRequestCreatedEnvelope, "wix.social_groups.v2.group_request_created">;
3077
3088
  declare const onGroupRequestApproved$1: EventDefinition<GroupRequestApprovedEnvelope, "wix.social_groups.v2.group_request_approved">;
3089
+ declare const onGroupRequestCreated$1: EventDefinition<GroupRequestCreatedEnvelope, "wix.social_groups.v2.group_request_created">;
3078
3090
  declare const onGroupRequestRejected$1: EventDefinition<GroupRequestRejectedEnvelope, "wix.social_groups.v2.group_request_rejected">;
3079
3091
 
3080
3092
  declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
@@ -3084,16 +3096,16 @@ declare const rejectGroupRequests: MaybeContext<BuildRESTFunction<typeof rejectG
3084
3096
  declare const listGroupRequests: MaybeContext<BuildRESTFunction<typeof listGroupRequests$1> & typeof listGroupRequests$1>;
3085
3097
  declare const queryGroupRequests: MaybeContext<BuildRESTFunction<typeof queryGroupRequests$1> & typeof queryGroupRequests$1>;
3086
3098
 
3087
- type _publicOnGroupRequestCreatedType = typeof onGroupRequestCreated$1;
3088
- /** */
3089
- declare const onGroupRequestCreated: ReturnType<typeof createEventModule$5<_publicOnGroupRequestCreatedType>>;
3090
-
3091
3099
  type _publicOnGroupRequestApprovedType = typeof onGroupRequestApproved$1;
3092
3100
  /**
3093
3101
  * Triggered when a Group Request is approved.
3094
3102
  */
3095
3103
  declare const onGroupRequestApproved: ReturnType<typeof createEventModule$5<_publicOnGroupRequestApprovedType>>;
3096
3104
 
3105
+ type _publicOnGroupRequestCreatedType = typeof onGroupRequestCreated$1;
3106
+ /** */
3107
+ declare const onGroupRequestCreated: ReturnType<typeof createEventModule$5<_publicOnGroupRequestCreatedType>>;
3108
+
3097
3109
  type _publicOnGroupRequestRejectedType = typeof onGroupRequestRejected$1;
3098
3110
  /**
3099
3111
  * Triggered when a Group Request is rejected.
@@ -4286,14 +4298,14 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
4286
4298
  */
4287
4299
  entityEventSequence?: string | null;
4288
4300
  }
4289
- interface JoinGroupRequestCreatedEnvelope {
4290
- entity: JoinGroupRequest;
4291
- metadata: EventMetadata$2;
4292
- }
4293
4301
  interface JoinGroupRequestApprovedEnvelope {
4294
4302
  data: JoinGroupRequestApproved;
4295
4303
  metadata: EventMetadata$2;
4296
4304
  }
4305
+ interface JoinGroupRequestCreatedEnvelope {
4306
+ entity: JoinGroupRequest;
4307
+ metadata: EventMetadata$2;
4308
+ }
4297
4309
  interface JoinGroupRequestRejectedEnvelope {
4298
4310
  data: JoinGroupRequestRejected;
4299
4311
  metadata: EventMetadata$2;
@@ -4428,8 +4440,8 @@ interface QueryJoinGroupRequestsSignature {
4428
4440
  */
4429
4441
  (groupId: string, options?: QueryJoinGroupRequestsOptions | undefined): JoinGroupRequestsQueryBuilder;
4430
4442
  }
4431
- declare const onJoinGroupRequestCreated$1: EventDefinition<JoinGroupRequestCreatedEnvelope, "wix.social_groups.v2.join_group_request_created">;
4432
4443
  declare const onJoinGroupRequestApproved$1: EventDefinition<JoinGroupRequestApprovedEnvelope, "wix.social_groups.v2.join_group_request_approved">;
4444
+ declare const onJoinGroupRequestCreated$1: EventDefinition<JoinGroupRequestCreatedEnvelope, "wix.social_groups.v2.join_group_request_created">;
4433
4445
  declare const onJoinGroupRequestRejected$1: EventDefinition<JoinGroupRequestRejectedEnvelope, "wix.social_groups.v2.join_group_request_rejected">;
4434
4446
 
4435
4447
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
@@ -4439,16 +4451,16 @@ declare const rejectJoinGroupRequests: MaybeContext<BuildRESTFunction<typeof rej
4439
4451
  declare const listJoinGroupRequests: MaybeContext<BuildRESTFunction<typeof listJoinGroupRequests$1> & typeof listJoinGroupRequests$1>;
4440
4452
  declare const queryJoinGroupRequests: MaybeContext<BuildRESTFunction<typeof queryJoinGroupRequests$1> & typeof queryJoinGroupRequests$1>;
4441
4453
 
4442
- type _publicOnJoinGroupRequestCreatedType = typeof onJoinGroupRequestCreated$1;
4443
- /** */
4444
- declare const onJoinGroupRequestCreated: ReturnType<typeof createEventModule$2<_publicOnJoinGroupRequestCreatedType>>;
4445
-
4446
4454
  type _publicOnJoinGroupRequestApprovedType = typeof onJoinGroupRequestApproved$1;
4447
4455
  /**
4448
4456
  * Triggered when a join group request is approved by a group admin or a groups manager.
4449
4457
  */
4450
4458
  declare const onJoinGroupRequestApproved: ReturnType<typeof createEventModule$2<_publicOnJoinGroupRequestApprovedType>>;
4451
4459
 
4460
+ type _publicOnJoinGroupRequestCreatedType = typeof onJoinGroupRequestCreated$1;
4461
+ /** */
4462
+ declare const onJoinGroupRequestCreated: ReturnType<typeof createEventModule$2<_publicOnJoinGroupRequestCreatedType>>;
4463
+
4452
4464
  type _publicOnJoinGroupRequestRejectedType = typeof onJoinGroupRequestRejected$1;
4453
4465
  /**
4454
4466
  * Triggered when a join group request is rejected by a group admin or a groups manager.
@@ -342,6 +342,7 @@ interface GroupSettingsNonNullableFields$5 {
342
342
  allowedToCreatePosts: AllowPolicy$5;
343
343
  allowedToCommentPosts: AllowPolicy$5;
344
344
  onboardingStepsSettings: OnboardingStepSettingsNonNullableFields$5[];
345
+ allowedToCreateEvents: AllowPolicy$5;
345
346
  }
346
347
  interface IdentityNonNullableFields$5 {
347
348
  identityType: IdentityType$5;
@@ -719,6 +720,7 @@ interface GroupSettingsNonNullableFields$4 {
719
720
  allowedToCreatePosts: AllowPolicy$4;
720
721
  allowedToCommentPosts: AllowPolicy$4;
721
722
  onboardingStepsSettings: OnboardingStepSettingsNonNullableFields$4[];
723
+ allowedToCreateEvents: AllowPolicy$4;
722
724
  }
723
725
  interface IdentityNonNullableFields$4 {
724
726
  identityType: IdentityType$4;
@@ -1625,6 +1627,7 @@ interface GroupSettingsNonNullableFields$3 {
1625
1627
  allowedToCreatePosts: AllowPolicy$3;
1626
1628
  allowedToCommentPosts: AllowPolicy$3;
1627
1629
  onboardingStepsSettings: OnboardingStepSettingsNonNullableFields$3[];
1630
+ allowedToCreateEvents: AllowPolicy$3;
1628
1631
  }
1629
1632
  interface IdentityNonNullableFields$3 {
1630
1633
  identityType: IdentityType$3;
@@ -2053,6 +2056,7 @@ interface GroupSettingsNonNullableFields$2 {
2053
2056
  allowedToCreatePosts: AllowPolicy$2;
2054
2057
  allowedToCommentPosts: AllowPolicy$2;
2055
2058
  onboardingStepsSettings: OnboardingStepSettingsNonNullableFields$2[];
2059
+ allowedToCreateEvents: AllowPolicy$2;
2056
2060
  }
2057
2061
  interface IdentityNonNullableFields$2 {
2058
2062
  identityType: IdentityType$2;