@wix/groups 1.0.106 → 1.0.108

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,10 +1,13 @@
1
1
  {
2
2
  "name": "@wix/groups",
3
- "version": "1.0.106",
3
+ "version": "1.0.108",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
7
7
  },
8
+ "keywords": [
9
+ "wix-sdk-module=backend,page,public"
10
+ ],
8
11
  "sideEffects": false,
9
12
  "module": "build/es/index.js",
10
13
  "main": "build/cjs/index.js",
@@ -18,15 +21,15 @@
18
21
  "type-bundles"
19
22
  ],
20
23
  "dependencies": {
21
- "@wix/groups_create-requests": "1.0.38",
22
- "@wix/groups_group-requests": "1.0.25",
23
- "@wix/groups_groups": "1.0.36",
24
- "@wix/groups_join-group-requests": "1.0.36",
25
- "@wix/groups_join-requests": "1.0.33",
26
- "@wix/groups_members": "1.0.36",
27
- "@wix/groups_membership-questions": "1.0.27",
28
- "@wix/groups_roles": "1.0.32",
29
- "@wix/groups_rules": "1.0.32"
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",
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"
30
33
  },
31
34
  "devDependencies": {
32
35
  "glob": "^10.4.1",
@@ -51,5 +54,5 @@
51
54
  "fqdn": ""
52
55
  }
53
56
  },
54
- "falconPackageHash": "34eec1c7f3de45a01fd2bfc55da7b5c9763e18af4d0d1f8fbcbfb2c9"
57
+ "falconPackageHash": "815a66cc061469d41bcf10778e377f1d396b3bd68fb50173cfdb316b"
55
58
  }
@@ -490,12 +490,7 @@ interface Group$2 {
490
490
  * @deprecated
491
491
  */
492
492
  privacyLevel?: PrivacyStatus$2;
493
- /**
494
- * Group privacy status.
495
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
496
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
497
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
498
- */
493
+ /** Group privacy status. */
499
494
  privacyStatus?: PrivacyStatus$2;
500
495
  /**
501
496
  * @internal
@@ -615,12 +610,13 @@ declare enum StepKey$2 {
615
610
  INVITE_MEMBERS = "INVITE_MEMBERS"
616
611
  }
617
612
  declare enum PrivacyStatus$2 {
613
+ /** Undefined group privacy status. */
618
614
  UNKNOWN = "UNKNOWN",
619
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
615
+ /** Anyone can see the group and its content. Anyone can join the group. */
620
616
  PUBLIC = "PUBLIC",
621
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
617
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
622
618
  PRIVATE = "PRIVATE",
623
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
619
+ /** Only admins and members can see the group. New members can only be added by other members. */
624
620
  SECRET = "SECRET"
625
621
  }
626
622
  interface AccessRestriction$2 extends AccessRestrictionDataOneOf$2 {
@@ -1175,12 +1171,7 @@ interface UpdateGroup {
1175
1171
  * @deprecated
1176
1172
  */
1177
1173
  privacyLevel?: PrivacyStatus$2;
1178
- /**
1179
- * Group privacy status.
1180
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
1181
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
1182
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
1183
- */
1174
+ /** Group privacy status. */
1184
1175
  privacyStatus?: PrivacyStatus$2;
1185
1176
  /**
1186
1177
  * @internal
@@ -1572,6 +1563,7 @@ interface GroupRole$1 {
1572
1563
  value?: Role$1;
1573
1564
  }
1574
1565
  declare enum Role$1 {
1566
+ /** Undefined group member role. */
1575
1567
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
1576
1568
  /** Regular group member. */
1577
1569
  MEMBER = "MEMBER",
@@ -1815,10 +1807,11 @@ interface Membership {
1815
1807
  role?: GroupRole$1;
1816
1808
  }
1817
1809
  declare enum MembershipStatus {
1810
+ /** Undefined membership status. */
1818
1811
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
1819
1812
  /** Site member is a group member. */
1820
1813
  JOINED = "JOINED",
1821
- /** Site member has join group request with `PENDING` status for this group. */
1814
+ /** Site member has submitted a Join Request for this group that is still `PENDING`. */
1822
1815
  PENDING = "PENDING"
1823
1816
  }
1824
1817
  interface QueryMembershipsRequest {
@@ -2487,12 +2480,13 @@ declare enum StepKey$1 {
2487
2480
  INVITE_MEMBERS = "INVITE_MEMBERS"
2488
2481
  }
2489
2482
  declare enum PrivacyStatus$1 {
2483
+ /** Undefined group privacy status. */
2490
2484
  UNKNOWN = "UNKNOWN",
2491
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
2485
+ /** Anyone can see the group and its content. Anyone can join the group. */
2492
2486
  PUBLIC = "PUBLIC",
2493
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
2487
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
2494
2488
  PRIVATE = "PRIVATE",
2495
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
2489
+ /** Only admins and members can see the group. New members can only be added by other members. */
2496
2490
  SECRET = "SECRET"
2497
2491
  }
2498
2492
  interface AccessRestriction$1 extends AccessRestrictionDataOneOf$1 {
@@ -2567,16 +2561,17 @@ declare enum IdentityType$1 {
2567
2561
  MEMBER = "MEMBER"
2568
2562
  }
2569
2563
  declare enum RequestStatus$3 {
2564
+ /** Undefined request status. */
2570
2565
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
2571
- /** Pending request. */
2566
+ /** Pending group request. */
2572
2567
  PENDING = "PENDING",
2573
- /** Approved request. */
2568
+ /** Approved group request. */
2574
2569
  APPROVED = "APPROVED",
2575
- /** Rejected request. */
2570
+ /** Rejected group request. */
2576
2571
  REJECTED = "REJECTED",
2577
- /** Cancelled request. */
2572
+ /** Cancelled group request. */
2578
2573
  CANCELLED = "CANCELLED",
2579
- /** Canceled request. */
2574
+ /** Canceled group request. */
2580
2575
  CANCELED = "CANCELED"
2581
2576
  }
2582
2577
  interface RequestDetails$3 {
@@ -2600,7 +2595,7 @@ interface ApproveGroupRequestsRequest {
2600
2595
  groupRequestIds?: string[];
2601
2596
  }
2602
2597
  declare enum ItemsToUpdate$3 {
2603
- /** Take into account only items which are listed in request. */
2598
+ /** Take into account only items which are listed in the request. */
2604
2599
  BY_ID = "BY_ID",
2605
2600
  /** Update all items. */
2606
2601
  ALL_ITEMS = "ALL_ITEMS"
@@ -2655,7 +2650,7 @@ interface ListGroupRequestsRequest {
2655
2650
  declare enum OwnershipFilter$3 {
2656
2651
  /** All items. */
2657
2652
  ALL = "ALL",
2658
- /** Items for current site member. */
2653
+ /** Items for the current site member. */
2659
2654
  CURRENT_MEMBER = "CURRENT_MEMBER"
2660
2655
  }
2661
2656
  interface ListGroupRequestsResponse {
@@ -3150,14 +3145,11 @@ declare namespace context$6 {
3150
3145
  * Currently, only `MEMBER` and `ADMIN` roles are supported, but more roles may be available in the future.
3151
3146
  */
3152
3147
  interface GroupRole {
3153
- /**
3154
- * Member's role.
3155
- * - `MEMBER` - Regular group member.
3156
- * - `ADMIN` - Group administrator.
3157
- */
3148
+ /** Member's role. */
3158
3149
  value?: Role;
3159
3150
  }
3160
3151
  declare enum Role {
3152
+ /** Undefined group member role. */
3161
3153
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
3162
3154
  /** Regular group member. */
3163
3155
  MEMBER = "MEMBER",
@@ -3839,16 +3831,17 @@ interface JoinGroupRequest {
3839
3831
  requestDetails?: RequestDetails$2;
3840
3832
  }
3841
3833
  declare enum RequestStatus$2 {
3834
+ /** Undefined request status. */
3842
3835
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3843
- /** Pending request. */
3836
+ /** Pending group request. */
3844
3837
  PENDING = "PENDING",
3845
- /** Approved request. */
3838
+ /** Approved group request. */
3846
3839
  APPROVED = "APPROVED",
3847
- /** Rejected request. */
3840
+ /** Rejected group request. */
3848
3841
  REJECTED = "REJECTED",
3849
- /** Cancelled request. */
3842
+ /** Cancelled group request. */
3850
3843
  CANCELLED = "CANCELLED",
3851
- /** Canceled request. */
3844
+ /** Canceled group request. */
3852
3845
  CANCELED = "CANCELED"
3853
3846
  }
3854
3847
  interface RequestDetails$2 {
@@ -3988,7 +3981,7 @@ interface ApproveJoinGroupRequestsRequest {
3988
3981
  memberIds?: string[];
3989
3982
  }
3990
3983
  declare enum ItemsToUpdate$2 {
3991
- /** Take into account only items which are listed in request. */
3984
+ /** Take into account only items which are listed in the request. */
3992
3985
  BY_ID = "BY_ID",
3993
3986
  /** Update all items. */
3994
3987
  ALL_ITEMS = "ALL_ITEMS"
@@ -4034,7 +4027,7 @@ interface ListJoinGroupRequestsRequest {
4034
4027
  declare enum OwnershipFilter$2 {
4035
4028
  /** All items. */
4036
4029
  ALL = "ALL",
4037
- /** Items for current site member. */
4030
+ /** Items for the current site member. */
4038
4031
  CURRENT_MEMBER = "CURRENT_MEMBER"
4039
4032
  }
4040
4033
  interface ListJoinGroupRequestsResponse {
@@ -4748,12 +4741,7 @@ interface Group {
4748
4741
  * @deprecated
4749
4742
  */
4750
4743
  privacyLevel?: PrivacyStatus;
4751
- /**
4752
- * Group privacy status.
4753
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
4754
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
4755
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
4756
- */
4744
+ /** Group privacy status. */
4757
4745
  privacyStatus?: PrivacyStatus;
4758
4746
  /**
4759
4747
  * __Deprecated.__ Use `name` instead.
@@ -4875,12 +4863,13 @@ declare enum StepKey {
4875
4863
  INVITE_MEMBERS = "INVITE_MEMBERS"
4876
4864
  }
4877
4865
  declare enum PrivacyStatus {
4866
+ /** Undefined group privacy status. */
4878
4867
  UNKNOWN = "UNKNOWN",
4879
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
4868
+ /** Anyone can see the group and its content. Anyone can join the group. */
4880
4869
  PUBLIC = "PUBLIC",
4881
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
4870
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
4882
4871
  PRIVATE = "PRIVATE",
4883
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
4872
+ /** Only admins and members can see the group. New members can only be added by other members. */
4884
4873
  SECRET = "SECRET"
4885
4874
  }
4886
4875
  interface AccessRestriction extends AccessRestrictionDataOneOf {
@@ -4943,16 +4932,17 @@ declare enum IdentityType {
4943
4932
  MEMBER = "MEMBER"
4944
4933
  }
4945
4934
  declare enum RequestStatus$1 {
4935
+ /** Undefined request status. */
4946
4936
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
4947
- /** Pending request. */
4937
+ /** Pending group request. */
4948
4938
  PENDING = "PENDING",
4949
- /** Approved request. */
4939
+ /** Approved group request. */
4950
4940
  APPROVED = "APPROVED",
4951
- /** Rejected request. */
4941
+ /** Rejected group request. */
4952
4942
  REJECTED = "REJECTED",
4953
- /** Cancelled request. */
4943
+ /** Cancelled group request. */
4954
4944
  CANCELLED = "CANCELLED",
4955
- /** Canceled request. */
4945
+ /** Canceled group request. */
4956
4946
  CANCELED = "CANCELED"
4957
4947
  }
4958
4948
  interface RequestDetails$1 {
@@ -4972,7 +4962,7 @@ interface ApproveCreateRequestsRequest {
4972
4962
  createRequestIds?: string[];
4973
4963
  }
4974
4964
  declare enum ItemsToUpdate$1 {
4975
- /** Take into account only items which are listed in request. */
4965
+ /** Take into account only items which are listed in the request. */
4976
4966
  BY_ID = "BY_ID",
4977
4967
  /** Update all items. */
4978
4968
  ALL_ITEMS = "ALL_ITEMS"
@@ -5020,7 +5010,7 @@ interface ListCreateRequestsRequest {
5020
5010
  declare enum OwnershipFilter$1 {
5021
5011
  /** All items. */
5022
5012
  ALL = "ALL",
5023
- /** Items for current site member. */
5013
+ /** Items for the current site member. */
5024
5014
  CURRENT_MEMBER = "CURRENT_MEMBER"
5025
5015
  }
5026
5016
  interface ListCreateRequestsResponse {
@@ -5469,16 +5459,17 @@ interface JoinRequest {
5469
5459
  requestDetails?: RequestDetails;
5470
5460
  }
5471
5461
  declare enum RequestStatus {
5462
+ /** Undefined request status. */
5472
5463
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
5473
- /** Pending request. */
5464
+ /** Pending group request. */
5474
5465
  PENDING = "PENDING",
5475
- /** Approved request. */
5466
+ /** Approved group request. */
5476
5467
  APPROVED = "APPROVED",
5477
- /** Rejected request. */
5468
+ /** Rejected group request. */
5478
5469
  REJECTED = "REJECTED",
5479
- /** Cancelled request. */
5470
+ /** Cancelled group request. */
5480
5471
  CANCELLED = "CANCELLED",
5481
- /** Canceled request. */
5472
+ /** Canceled group request. */
5482
5473
  CANCELED = "CANCELED"
5483
5474
  }
5484
5475
  interface RequestDetails {
@@ -5523,7 +5514,7 @@ interface ApproveJoinRequestsRequest {
5523
5514
  memberIds: string[];
5524
5515
  }
5525
5516
  declare enum ItemsToUpdate {
5526
- /** Take into account only items which are listed in request. */
5517
+ /** Take into account only items which are listed in the request. */
5527
5518
  BY_ID = "BY_ID",
5528
5519
  /** Update all items. */
5529
5520
  ALL_ITEMS = "ALL_ITEMS"
@@ -5569,7 +5560,7 @@ interface ListJoinRequestsRequest {
5569
5560
  declare enum OwnershipFilter {
5570
5561
  /** All items. */
5571
5562
  ALL = "ALL",
5572
- /** Items for current site member. */
5563
+ /** Items for the current site member. */
5573
5564
  CURRENT_MEMBER = "CURRENT_MEMBER"
5574
5565
  }
5575
5566
  interface ListJoinRequestsResponse {
@@ -490,12 +490,7 @@ interface Group$2 {
490
490
  * @deprecated
491
491
  */
492
492
  privacyLevel?: PrivacyStatus$2;
493
- /**
494
- * Group privacy status.
495
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
496
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
497
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
498
- */
493
+ /** Group privacy status. */
499
494
  privacyStatus?: PrivacyStatus$2;
500
495
  /**
501
496
  * @internal
@@ -615,12 +610,13 @@ declare enum StepKey$2 {
615
610
  INVITE_MEMBERS = "INVITE_MEMBERS"
616
611
  }
617
612
  declare enum PrivacyStatus$2 {
613
+ /** Undefined group privacy status. */
618
614
  UNKNOWN = "UNKNOWN",
619
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
615
+ /** Anyone can see the group and its content. Anyone can join the group. */
620
616
  PUBLIC = "PUBLIC",
621
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
617
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
622
618
  PRIVATE = "PRIVATE",
623
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
619
+ /** Only admins and members can see the group. New members can only be added by other members. */
624
620
  SECRET = "SECRET"
625
621
  }
626
622
  interface AccessRestriction$2 extends AccessRestrictionDataOneOf$2 {
@@ -1175,12 +1171,7 @@ interface UpdateGroup {
1175
1171
  * @deprecated
1176
1172
  */
1177
1173
  privacyLevel?: PrivacyStatus$2;
1178
- /**
1179
- * Group privacy status.
1180
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
1181
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
1182
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
1183
- */
1174
+ /** Group privacy status. */
1184
1175
  privacyStatus?: PrivacyStatus$2;
1185
1176
  /**
1186
1177
  * @internal
@@ -1572,6 +1563,7 @@ interface GroupRole$1 {
1572
1563
  value?: Role$1;
1573
1564
  }
1574
1565
  declare enum Role$1 {
1566
+ /** Undefined group member role. */
1575
1567
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
1576
1568
  /** Regular group member. */
1577
1569
  MEMBER = "MEMBER",
@@ -1815,10 +1807,11 @@ interface Membership {
1815
1807
  role?: GroupRole$1;
1816
1808
  }
1817
1809
  declare enum MembershipStatus {
1810
+ /** Undefined membership status. */
1818
1811
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
1819
1812
  /** Site member is a group member. */
1820
1813
  JOINED = "JOINED",
1821
- /** Site member has join group request with `PENDING` status for this group. */
1814
+ /** Site member has submitted a Join Request for this group that is still `PENDING`. */
1822
1815
  PENDING = "PENDING"
1823
1816
  }
1824
1817
  interface QueryMembershipsRequest {
@@ -2487,12 +2480,13 @@ declare enum StepKey$1 {
2487
2480
  INVITE_MEMBERS = "INVITE_MEMBERS"
2488
2481
  }
2489
2482
  declare enum PrivacyStatus$1 {
2483
+ /** Undefined group privacy status. */
2490
2484
  UNKNOWN = "UNKNOWN",
2491
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
2485
+ /** Anyone can see the group and its content. Anyone can join the group. */
2492
2486
  PUBLIC = "PUBLIC",
2493
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
2487
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
2494
2488
  PRIVATE = "PRIVATE",
2495
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
2489
+ /** Only admins and members can see the group. New members can only be added by other members. */
2496
2490
  SECRET = "SECRET"
2497
2491
  }
2498
2492
  interface AccessRestriction$1 extends AccessRestrictionDataOneOf$1 {
@@ -2567,16 +2561,17 @@ declare enum IdentityType$1 {
2567
2561
  MEMBER = "MEMBER"
2568
2562
  }
2569
2563
  declare enum RequestStatus$3 {
2564
+ /** Undefined request status. */
2570
2565
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
2571
- /** Pending request. */
2566
+ /** Pending group request. */
2572
2567
  PENDING = "PENDING",
2573
- /** Approved request. */
2568
+ /** Approved group request. */
2574
2569
  APPROVED = "APPROVED",
2575
- /** Rejected request. */
2570
+ /** Rejected group request. */
2576
2571
  REJECTED = "REJECTED",
2577
- /** Cancelled request. */
2572
+ /** Cancelled group request. */
2578
2573
  CANCELLED = "CANCELLED",
2579
- /** Canceled request. */
2574
+ /** Canceled group request. */
2580
2575
  CANCELED = "CANCELED"
2581
2576
  }
2582
2577
  interface RequestDetails$3 {
@@ -2600,7 +2595,7 @@ interface ApproveGroupRequestsRequest {
2600
2595
  groupRequestIds?: string[];
2601
2596
  }
2602
2597
  declare enum ItemsToUpdate$3 {
2603
- /** Take into account only items which are listed in request. */
2598
+ /** Take into account only items which are listed in the request. */
2604
2599
  BY_ID = "BY_ID",
2605
2600
  /** Update all items. */
2606
2601
  ALL_ITEMS = "ALL_ITEMS"
@@ -2655,7 +2650,7 @@ interface ListGroupRequestsRequest {
2655
2650
  declare enum OwnershipFilter$3 {
2656
2651
  /** All items. */
2657
2652
  ALL = "ALL",
2658
- /** Items for current site member. */
2653
+ /** Items for the current site member. */
2659
2654
  CURRENT_MEMBER = "CURRENT_MEMBER"
2660
2655
  }
2661
2656
  interface ListGroupRequestsResponse {
@@ -3150,14 +3145,11 @@ declare namespace index_d$6 {
3150
3145
  * Currently, only `MEMBER` and `ADMIN` roles are supported, but more roles may be available in the future.
3151
3146
  */
3152
3147
  interface GroupRole {
3153
- /**
3154
- * Member's role.
3155
- * - `MEMBER` - Regular group member.
3156
- * - `ADMIN` - Group administrator.
3157
- */
3148
+ /** Member's role. */
3158
3149
  value?: Role;
3159
3150
  }
3160
3151
  declare enum Role {
3152
+ /** Undefined group member role. */
3161
3153
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
3162
3154
  /** Regular group member. */
3163
3155
  MEMBER = "MEMBER",
@@ -3839,16 +3831,17 @@ interface JoinGroupRequest {
3839
3831
  requestDetails?: RequestDetails$2;
3840
3832
  }
3841
3833
  declare enum RequestStatus$2 {
3834
+ /** Undefined request status. */
3842
3835
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3843
- /** Pending request. */
3836
+ /** Pending group request. */
3844
3837
  PENDING = "PENDING",
3845
- /** Approved request. */
3838
+ /** Approved group request. */
3846
3839
  APPROVED = "APPROVED",
3847
- /** Rejected request. */
3840
+ /** Rejected group request. */
3848
3841
  REJECTED = "REJECTED",
3849
- /** Cancelled request. */
3842
+ /** Cancelled group request. */
3850
3843
  CANCELLED = "CANCELLED",
3851
- /** Canceled request. */
3844
+ /** Canceled group request. */
3852
3845
  CANCELED = "CANCELED"
3853
3846
  }
3854
3847
  interface RequestDetails$2 {
@@ -3988,7 +3981,7 @@ interface ApproveJoinGroupRequestsRequest {
3988
3981
  memberIds?: string[];
3989
3982
  }
3990
3983
  declare enum ItemsToUpdate$2 {
3991
- /** Take into account only items which are listed in request. */
3984
+ /** Take into account only items which are listed in the request. */
3992
3985
  BY_ID = "BY_ID",
3993
3986
  /** Update all items. */
3994
3987
  ALL_ITEMS = "ALL_ITEMS"
@@ -4034,7 +4027,7 @@ interface ListJoinGroupRequestsRequest {
4034
4027
  declare enum OwnershipFilter$2 {
4035
4028
  /** All items. */
4036
4029
  ALL = "ALL",
4037
- /** Items for current site member. */
4030
+ /** Items for the current site member. */
4038
4031
  CURRENT_MEMBER = "CURRENT_MEMBER"
4039
4032
  }
4040
4033
  interface ListJoinGroupRequestsResponse {
@@ -4748,12 +4741,7 @@ interface Group {
4748
4741
  * @deprecated
4749
4742
  */
4750
4743
  privacyLevel?: PrivacyStatus;
4751
- /**
4752
- * Group privacy status.
4753
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
4754
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
4755
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
4756
- */
4744
+ /** Group privacy status. */
4757
4745
  privacyStatus?: PrivacyStatus;
4758
4746
  /**
4759
4747
  * __Deprecated.__ Use `name` instead.
@@ -4875,12 +4863,13 @@ declare enum StepKey {
4875
4863
  INVITE_MEMBERS = "INVITE_MEMBERS"
4876
4864
  }
4877
4865
  declare enum PrivacyStatus {
4866
+ /** Undefined group privacy status. */
4878
4867
  UNKNOWN = "UNKNOWN",
4879
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
4868
+ /** Anyone can see the group and its content. Anyone can join the group. */
4880
4869
  PUBLIC = "PUBLIC",
4881
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
4870
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
4882
4871
  PRIVATE = "PRIVATE",
4883
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
4872
+ /** Only admins and members can see the group. New members can only be added by other members. */
4884
4873
  SECRET = "SECRET"
4885
4874
  }
4886
4875
  interface AccessRestriction extends AccessRestrictionDataOneOf {
@@ -4943,16 +4932,17 @@ declare enum IdentityType {
4943
4932
  MEMBER = "MEMBER"
4944
4933
  }
4945
4934
  declare enum RequestStatus$1 {
4935
+ /** Undefined request status. */
4946
4936
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
4947
- /** Pending request. */
4937
+ /** Pending group request. */
4948
4938
  PENDING = "PENDING",
4949
- /** Approved request. */
4939
+ /** Approved group request. */
4950
4940
  APPROVED = "APPROVED",
4951
- /** Rejected request. */
4941
+ /** Rejected group request. */
4952
4942
  REJECTED = "REJECTED",
4953
- /** Cancelled request. */
4943
+ /** Cancelled group request. */
4954
4944
  CANCELLED = "CANCELLED",
4955
- /** Canceled request. */
4945
+ /** Canceled group request. */
4956
4946
  CANCELED = "CANCELED"
4957
4947
  }
4958
4948
  interface RequestDetails$1 {
@@ -4972,7 +4962,7 @@ interface ApproveCreateRequestsRequest {
4972
4962
  createRequestIds?: string[];
4973
4963
  }
4974
4964
  declare enum ItemsToUpdate$1 {
4975
- /** Take into account only items which are listed in request. */
4965
+ /** Take into account only items which are listed in the request. */
4976
4966
  BY_ID = "BY_ID",
4977
4967
  /** Update all items. */
4978
4968
  ALL_ITEMS = "ALL_ITEMS"
@@ -5020,7 +5010,7 @@ interface ListCreateRequestsRequest {
5020
5010
  declare enum OwnershipFilter$1 {
5021
5011
  /** All items. */
5022
5012
  ALL = "ALL",
5023
- /** Items for current site member. */
5013
+ /** Items for the current site member. */
5024
5014
  CURRENT_MEMBER = "CURRENT_MEMBER"
5025
5015
  }
5026
5016
  interface ListCreateRequestsResponse {
@@ -5469,16 +5459,17 @@ interface JoinRequest {
5469
5459
  requestDetails?: RequestDetails;
5470
5460
  }
5471
5461
  declare enum RequestStatus {
5462
+ /** Undefined request status. */
5472
5463
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
5473
- /** Pending request. */
5464
+ /** Pending group request. */
5474
5465
  PENDING = "PENDING",
5475
- /** Approved request. */
5466
+ /** Approved group request. */
5476
5467
  APPROVED = "APPROVED",
5477
- /** Rejected request. */
5468
+ /** Rejected group request. */
5478
5469
  REJECTED = "REJECTED",
5479
- /** Cancelled request. */
5470
+ /** Cancelled group request. */
5480
5471
  CANCELLED = "CANCELLED",
5481
- /** Canceled request. */
5472
+ /** Canceled group request. */
5482
5473
  CANCELED = "CANCELED"
5483
5474
  }
5484
5475
  interface RequestDetails {
@@ -5523,7 +5514,7 @@ interface ApproveJoinRequestsRequest {
5523
5514
  memberIds: string[];
5524
5515
  }
5525
5516
  declare enum ItemsToUpdate {
5526
- /** Take into account only items which are listed in request. */
5517
+ /** Take into account only items which are listed in the request. */
5527
5518
  BY_ID = "BY_ID",
5528
5519
  /** Update all items. */
5529
5520
  ALL_ITEMS = "ALL_ITEMS"
@@ -5569,7 +5560,7 @@ interface ListJoinRequestsRequest {
5569
5560
  declare enum OwnershipFilter {
5570
5561
  /** All items. */
5571
5562
  ALL = "ALL",
5572
- /** Items for current site member. */
5563
+ /** Items for the current site member. */
5573
5564
  CURRENT_MEMBER = "CURRENT_MEMBER"
5574
5565
  }
5575
5566
  interface ListJoinRequestsResponse {
@@ -12,12 +12,7 @@ interface Group$5 {
12
12
  * @deprecated
13
13
  */
14
14
  privacyLevel?: PrivacyStatus$5;
15
- /**
16
- * Group privacy status.
17
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
18
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
19
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
20
- */
15
+ /** Group privacy status. */
21
16
  privacyStatus?: PrivacyStatus$5;
22
17
  /**
23
18
  * __Deprecated.__ Use `name` instead.
@@ -126,12 +121,13 @@ declare enum StepKey$5 {
126
121
  INVITE_MEMBERS = "INVITE_MEMBERS"
127
122
  }
128
123
  declare enum PrivacyStatus$5 {
124
+ /** Undefined group privacy status. */
129
125
  UNKNOWN = "UNKNOWN",
130
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
126
+ /** Anyone can see the group and its content. Anyone can join the group. */
131
127
  PUBLIC = "PUBLIC",
132
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
128
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
133
129
  PRIVATE = "PRIVATE",
134
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
130
+ /** Only admins and members can see the group. New members can only be added by other members. */
135
131
  SECRET = "SECRET"
136
132
  }
137
133
  interface GroupDetails$5 {
@@ -395,12 +391,7 @@ interface Group$4 {
395
391
  * @deprecated
396
392
  */
397
393
  privacyLevel?: PrivacyStatus$4;
398
- /**
399
- * Group privacy status.
400
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
401
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
402
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
403
- */
394
+ /** Group privacy status. */
404
395
  privacyStatus?: PrivacyStatus$4;
405
396
  /**
406
397
  * @internal
@@ -507,12 +498,13 @@ declare enum StepKey$4 {
507
498
  INVITE_MEMBERS = "INVITE_MEMBERS"
508
499
  }
509
500
  declare enum PrivacyStatus$4 {
501
+ /** Undefined group privacy status. */
510
502
  UNKNOWN = "UNKNOWN",
511
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
503
+ /** Anyone can see the group and its content. Anyone can join the group. */
512
504
  PUBLIC = "PUBLIC",
513
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
505
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
514
506
  PRIVATE = "PRIVATE",
515
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
507
+ /** Only admins and members can see the group. New members can only be added by other members. */
516
508
  SECRET = "SECRET"
517
509
  }
518
510
  interface GroupDetails$4 {
@@ -825,14 +817,11 @@ interface GroupMember$1 {
825
817
  * Currently, only `MEMBER` and `ADMIN` roles are supported, but more roles may be available in the future.
826
818
  */
827
819
  interface GroupRole$3 {
828
- /**
829
- * Member's role.
830
- * - `MEMBER` - Regular group member.
831
- * - `ADMIN` - Group administrator.
832
- */
820
+ /** Member's role. */
833
821
  value?: Role$3;
834
822
  }
835
823
  declare enum Role$3 {
824
+ /** Undefined group member role. */
836
825
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
837
826
  /** Regular group member. */
838
827
  MEMBER = "MEMBER",
@@ -962,20 +951,17 @@ interface Membership$1 {
962
951
  * @readonly
963
952
  */
964
953
  groupId?: string;
965
- /**
966
- * Membership status with Group
967
- * - `JOINED` - Site member is a group member.
968
- * - `PENDING` - Site member has submitted a Join Request for this group that is still `PENDING`.
969
- */
954
+ /** Membership status with group. */
970
955
  status?: MembershipStatus$1;
971
956
  /** Group member role. When membership status is not `JOINED`, this is empty. */
972
957
  role?: GroupRole$3;
973
958
  }
974
959
  declare enum MembershipStatus$1 {
960
+ /** Undefined membership status. */
975
961
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
976
962
  /** Site member is a group member. */
977
963
  JOINED = "JOINED",
978
- /** Site member has join group request with `PENDING` status for this group. */
964
+ /** Site member has submitted a Join Request for this group that is still `PENDING`. */
979
965
  PENDING = "PENDING"
980
966
  }
981
967
  interface QueryMembershipsRequest$1 {
@@ -1058,6 +1044,7 @@ interface GroupRole$2 {
1058
1044
  value?: Role$2;
1059
1045
  }
1060
1046
  declare enum Role$2 {
1047
+ /** Undefined group member role. */
1061
1048
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
1062
1049
  /** Regular group member. */
1063
1050
  MEMBER = "MEMBER",
@@ -1201,10 +1188,11 @@ interface Membership {
1201
1188
  role?: GroupRole$2;
1202
1189
  }
1203
1190
  declare enum MembershipStatus {
1191
+ /** Undefined membership status. */
1204
1192
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
1205
1193
  /** Site member is a group member. */
1206
1194
  JOINED = "JOINED",
1207
- /** Site member has join group request with `PENDING` status for this group. */
1195
+ /** Site member has submitted a Join Request for this group that is still `PENDING`. */
1208
1196
  PENDING = "PENDING"
1209
1197
  }
1210
1198
  interface QueryMembershipsRequest {
@@ -1308,13 +1296,7 @@ interface GroupRequest$1 {
1308
1296
  id?: string | null;
1309
1297
  /** Group requested for creation. */
1310
1298
  group?: Group$3;
1311
- /**
1312
- * Status of group request.
1313
- * - `PENDING` - Pending group request.
1314
- * - `APPROVED` - Approved group request.
1315
- * - `REJECTED` - Rejected group request.
1316
- * - `CANCELED` - Canceled group request.
1317
- */
1299
+ /** Status of group request. */
1318
1300
  status?: RequestStatus$7;
1319
1301
  /** Group request details. */
1320
1302
  requestDetails?: RequestDetails$7;
@@ -1333,12 +1315,7 @@ interface Group$3 {
1333
1315
  * @deprecated
1334
1316
  */
1335
1317
  privacyLevel?: PrivacyStatus$3;
1336
- /**
1337
- * Group privacy status.
1338
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
1339
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
1340
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
1341
- */
1318
+ /** Group privacy status. */
1342
1319
  privacyStatus?: PrivacyStatus$3;
1343
1320
  /**
1344
1321
  * __Deprecated.__ Use `name` instead.
@@ -1447,12 +1424,13 @@ declare enum StepKey$3 {
1447
1424
  INVITE_MEMBERS = "INVITE_MEMBERS"
1448
1425
  }
1449
1426
  declare enum PrivacyStatus$3 {
1427
+ /** Undefined group privacy status. */
1450
1428
  UNKNOWN = "UNKNOWN",
1451
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
1429
+ /** Anyone can see the group and its content. Anyone can join the group. */
1452
1430
  PUBLIC = "PUBLIC",
1453
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
1431
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
1454
1432
  PRIVATE = "PRIVATE",
1455
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
1433
+ /** Only admins and members can see the group. New members can only be added by other members. */
1456
1434
  SECRET = "SECRET"
1457
1435
  }
1458
1436
  interface GroupDetails$3 {
@@ -1507,16 +1485,17 @@ declare enum IdentityType$3 {
1507
1485
  MEMBER = "MEMBER"
1508
1486
  }
1509
1487
  declare enum RequestStatus$7 {
1488
+ /** Undefined request status. */
1510
1489
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
1511
- /** Pending request. */
1490
+ /** Pending group request. */
1512
1491
  PENDING = "PENDING",
1513
- /** Approved request. */
1492
+ /** Approved group request. */
1514
1493
  APPROVED = "APPROVED",
1515
- /** Rejected request. */
1494
+ /** Rejected group request. */
1516
1495
  REJECTED = "REJECTED",
1517
- /** Cancelled request. */
1496
+ /** Cancelled group request. */
1518
1497
  CANCELLED = "CANCELLED",
1519
- /** Canceled request. */
1498
+ /** Canceled group request. */
1520
1499
  CANCELED = "CANCELED"
1521
1500
  }
1522
1501
  interface RequestDetails$7 {
@@ -1842,12 +1821,13 @@ declare enum StepKey$2 {
1842
1821
  INVITE_MEMBERS = "INVITE_MEMBERS"
1843
1822
  }
1844
1823
  declare enum PrivacyStatus$2 {
1824
+ /** Undefined group privacy status. */
1845
1825
  UNKNOWN = "UNKNOWN",
1846
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
1826
+ /** Anyone can see the group and its content. Anyone can join the group. */
1847
1827
  PUBLIC = "PUBLIC",
1848
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
1828
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
1849
1829
  PRIVATE = "PRIVATE",
1850
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
1830
+ /** Only admins and members can see the group. New members can only be added by other members. */
1851
1831
  SECRET = "SECRET"
1852
1832
  }
1853
1833
  interface GroupDetails$2 {
@@ -1914,16 +1894,17 @@ declare enum IdentityType$2 {
1914
1894
  MEMBER = "MEMBER"
1915
1895
  }
1916
1896
  declare enum RequestStatus$6 {
1897
+ /** Undefined request status. */
1917
1898
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
1918
- /** Pending request. */
1899
+ /** Pending group request. */
1919
1900
  PENDING = "PENDING",
1920
- /** Approved request. */
1901
+ /** Approved group request. */
1921
1902
  APPROVED = "APPROVED",
1922
- /** Rejected request. */
1903
+ /** Rejected group request. */
1923
1904
  REJECTED = "REJECTED",
1924
- /** Cancelled request. */
1905
+ /** Cancelled group request. */
1925
1906
  CANCELLED = "CANCELLED",
1926
- /** Canceled request. */
1907
+ /** Canceled group request. */
1927
1908
  CANCELED = "CANCELED"
1928
1909
  }
1929
1910
  interface RequestDetails$6 {
@@ -2130,14 +2111,11 @@ declare namespace meta$6 {
2130
2111
  * Currently, only `MEMBER` and `ADMIN` roles are supported, but more roles may be available in the future.
2131
2112
  */
2132
2113
  interface GroupRole$1 {
2133
- /**
2134
- * Member's role.
2135
- * - `MEMBER` - Regular group member.
2136
- * - `ADMIN` - Group administrator.
2137
- */
2114
+ /** Member's role. */
2138
2115
  value?: Role$1;
2139
2116
  }
2140
2117
  declare enum Role$1 {
2118
+ /** Undefined group member role. */
2141
2119
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
2142
2120
  /** Regular group member. */
2143
2121
  MEMBER = "MEMBER",
@@ -2220,14 +2198,11 @@ interface UnassignRoleResponseNonNullableFields$1 {
2220
2198
  * Currently, only `MEMBER` and `ADMIN` roles are supported, but more roles may be available in the future.
2221
2199
  */
2222
2200
  interface GroupRole {
2223
- /**
2224
- * Member's role.
2225
- * - `MEMBER` - Regular group member.
2226
- * - `ADMIN` - Group administrator.
2227
- */
2201
+ /** Member's role. */
2228
2202
  value?: Role;
2229
2203
  }
2230
2204
  declare enum Role {
2205
+ /** Undefined group member role. */
2231
2206
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
2232
2207
  /** Regular group member. */
2233
2208
  MEMBER = "MEMBER",
@@ -2448,28 +2423,23 @@ interface JoinGroupRequest$1 {
2448
2423
  siteMemberId?: string;
2449
2424
  /** @readonly */
2450
2425
  contactId?: string;
2451
- /**
2452
- * Join group request status.
2453
- * - `PENDING` - Pending join group request.
2454
- * - `APPROVED` - Approved join group request.
2455
- * - `REJECTED` - Rejected join group request.
2456
- * - `CANCELED` - Canceled join group request.
2457
- */
2426
+ /** Join group request status. */
2458
2427
  status?: RequestStatus$5;
2459
2428
  /** Join group request details. */
2460
2429
  requestDetails?: RequestDetails$5;
2461
2430
  }
2462
2431
  declare enum RequestStatus$5 {
2432
+ /** Undefined request status. */
2463
2433
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
2464
- /** Pending request. */
2434
+ /** Pending group request. */
2465
2435
  PENDING = "PENDING",
2466
- /** Approved request. */
2436
+ /** Approved group request. */
2467
2437
  APPROVED = "APPROVED",
2468
- /** Rejected request. */
2438
+ /** Rejected group request. */
2469
2439
  REJECTED = "REJECTED",
2470
- /** Cancelled request. */
2440
+ /** Cancelled group request. */
2471
2441
  CANCELLED = "CANCELLED",
2472
- /** Canceled request. */
2442
+ /** Canceled group request. */
2473
2443
  CANCELED = "CANCELED"
2474
2444
  }
2475
2445
  interface RequestDetails$5 {
@@ -2632,16 +2602,17 @@ interface JoinGroupRequest {
2632
2602
  requestDetails?: RequestDetails$4;
2633
2603
  }
2634
2604
  declare enum RequestStatus$4 {
2605
+ /** Undefined request status. */
2635
2606
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
2636
- /** Pending request. */
2607
+ /** Pending group request. */
2637
2608
  PENDING = "PENDING",
2638
- /** Approved request. */
2609
+ /** Approved group request. */
2639
2610
  APPROVED = "APPROVED",
2640
- /** Rejected request. */
2611
+ /** Rejected group request. */
2641
2612
  REJECTED = "REJECTED",
2642
- /** Cancelled request. */
2613
+ /** Cancelled group request. */
2643
2614
  CANCELLED = "CANCELLED",
2644
- /** Canceled request. */
2615
+ /** Canceled group request. */
2645
2616
  CANCELED = "CANCELED"
2646
2617
  }
2647
2618
  interface RequestDetails$4 {
@@ -3060,12 +3031,7 @@ interface Group$1 {
3060
3031
  * @deprecated
3061
3032
  */
3062
3033
  privacyLevel?: PrivacyStatus$1;
3063
- /**
3064
- * Group privacy status.
3065
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
3066
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
3067
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
3068
- */
3034
+ /** Group privacy status. */
3069
3035
  privacyStatus?: PrivacyStatus$1;
3070
3036
  /**
3071
3037
  * __Deprecated.__ Use `name` instead.
@@ -3174,12 +3140,13 @@ declare enum StepKey$1 {
3174
3140
  INVITE_MEMBERS = "INVITE_MEMBERS"
3175
3141
  }
3176
3142
  declare enum PrivacyStatus$1 {
3143
+ /** Undefined group privacy status. */
3177
3144
  UNKNOWN = "UNKNOWN",
3178
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
3145
+ /** Anyone can see the group and its content. Anyone can join the group. */
3179
3146
  PUBLIC = "PUBLIC",
3180
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
3147
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
3181
3148
  PRIVATE = "PRIVATE",
3182
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
3149
+ /** Only admins and members can see the group. New members can only be added by other members. */
3183
3150
  SECRET = "SECRET"
3184
3151
  }
3185
3152
  interface GroupDetails$1 {
@@ -3234,16 +3201,17 @@ declare enum IdentityType$1 {
3234
3201
  MEMBER = "MEMBER"
3235
3202
  }
3236
3203
  declare enum RequestStatus$3 {
3204
+ /** Undefined request status. */
3237
3205
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3238
- /** Pending request. */
3206
+ /** Pending group request. */
3239
3207
  PENDING = "PENDING",
3240
- /** Approved request. */
3208
+ /** Approved group request. */
3241
3209
  APPROVED = "APPROVED",
3242
- /** Rejected request. */
3210
+ /** Rejected group request. */
3243
3211
  REJECTED = "REJECTED",
3244
- /** Cancelled request. */
3212
+ /** Cancelled group request. */
3245
3213
  CANCELLED = "CANCELLED",
3246
- /** Canceled request. */
3214
+ /** Canceled group request. */
3247
3215
  CANCELED = "CANCELED"
3248
3216
  }
3249
3217
  interface RequestDetails$3 {
@@ -3444,12 +3412,7 @@ interface Group {
3444
3412
  * @deprecated
3445
3413
  */
3446
3414
  privacyLevel?: PrivacyStatus;
3447
- /**
3448
- * Group privacy status.
3449
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
3450
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
3451
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
3452
- */
3415
+ /** Group privacy status. */
3453
3416
  privacyStatus?: PrivacyStatus;
3454
3417
  /**
3455
3418
  * __Deprecated.__ Use `name` instead.
@@ -3558,12 +3521,13 @@ declare enum StepKey {
3558
3521
  INVITE_MEMBERS = "INVITE_MEMBERS"
3559
3522
  }
3560
3523
  declare enum PrivacyStatus {
3524
+ /** Undefined group privacy status. */
3561
3525
  UNKNOWN = "UNKNOWN",
3562
- /** Anyone can see the group in the group list and view its content. Anyone can join. */
3526
+ /** Anyone can see the group and its content. Anyone can join the group. */
3563
3527
  PUBLIC = "PUBLIC",
3564
- /** Anyone can see the group in the group list, but only group members can see its content. In order to join a group, a group join request must be submitted. */
3528
+ /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */
3565
3529
  PRIVATE = "PRIVATE",
3566
- /** Only group members and admins can see the group in the group list. New group members can only be added by existing group members. */
3530
+ /** Only admins and members can see the group. New members can only be added by other members. */
3567
3531
  SECRET = "SECRET"
3568
3532
  }
3569
3533
  interface GroupDetails {
@@ -3618,16 +3582,17 @@ declare enum IdentityType {
3618
3582
  MEMBER = "MEMBER"
3619
3583
  }
3620
3584
  declare enum RequestStatus$2 {
3585
+ /** Undefined request status. */
3621
3586
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3622
- /** Pending request. */
3587
+ /** Pending group request. */
3623
3588
  PENDING = "PENDING",
3624
- /** Approved request. */
3589
+ /** Approved group request. */
3625
3590
  APPROVED = "APPROVED",
3626
- /** Rejected request. */
3591
+ /** Rejected group request. */
3627
3592
  REJECTED = "REJECTED",
3628
- /** Cancelled request. */
3593
+ /** Cancelled group request. */
3629
3594
  CANCELLED = "CANCELLED",
3630
- /** Canceled request. */
3595
+ /** Canceled group request. */
3631
3596
  CANCELED = "CANCELED"
3632
3597
  }
3633
3598
  interface RequestDetails$2 {
@@ -3832,16 +3797,17 @@ interface JoinRequest$1 {
3832
3797
  requestDetails?: RequestDetails$1;
3833
3798
  }
3834
3799
  declare enum RequestStatus$1 {
3800
+ /** Undefined request status. */
3835
3801
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3836
- /** Pending request. */
3802
+ /** Pending group request. */
3837
3803
  PENDING = "PENDING",
3838
- /** Approved request. */
3804
+ /** Approved group request. */
3839
3805
  APPROVED = "APPROVED",
3840
- /** Rejected request. */
3806
+ /** Rejected group request. */
3841
3807
  REJECTED = "REJECTED",
3842
- /** Cancelled request. */
3808
+ /** Cancelled group request. */
3843
3809
  CANCELLED = "CANCELLED",
3844
- /** Canceled request. */
3810
+ /** Canceled group request. */
3845
3811
  CANCELED = "CANCELED"
3846
3812
  }
3847
3813
  interface RequestDetails$1 {
@@ -3982,16 +3948,17 @@ interface JoinRequest {
3982
3948
  requestDetails?: RequestDetails;
3983
3949
  }
3984
3950
  declare enum RequestStatus {
3951
+ /** Undefined request status. */
3985
3952
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3986
- /** Pending request. */
3953
+ /** Pending group request. */
3987
3954
  PENDING = "PENDING",
3988
- /** Approved request. */
3955
+ /** Approved group request. */
3989
3956
  APPROVED = "APPROVED",
3990
- /** Rejected request. */
3957
+ /** Rejected group request. */
3991
3958
  REJECTED = "REJECTED",
3992
- /** Cancelled request. */
3959
+ /** Cancelled group request. */
3993
3960
  CANCELLED = "CANCELLED",
3994
- /** Canceled request. */
3961
+ /** Canceled group request. */
3995
3962
  CANCELED = "CANCELED"
3996
3963
  }
3997
3964
  interface RequestDetails {