@wix/groups 1.0.16 → 1.0.17
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/build/cjs/src/social-groups-v2-group-member.http.d.ts +15 -15
- package/build/cjs/src/social-groups-v2-group-member.http.js +15 -15
- package/build/cjs/src/social-groups-v2-group-member.universal.d.ts +19 -39
- package/build/cjs/src/social-groups-v2-group-member.universal.js +15 -21
- package/build/cjs/src/social-groups-v2-group-member.universal.js.map +1 -1
- package/build/cjs/src/social-groups-v2-join-group-request.http.d.ts +11 -9
- package/build/cjs/src/social-groups-v2-join-group-request.http.js +11 -9
- package/build/cjs/src/social-groups-v2-join-group-request.http.js.map +1 -1
- package/build/cjs/src/social-groups-v2-join-group-request.universal.d.ts +15 -31
- package/build/cjs/src/social-groups-v2-join-group-request.universal.js +11 -13
- package/build/cjs/src/social-groups-v2-join-group-request.universal.js.map +1 -1
- package/build/es/src/social-groups-v2-group-member.http.d.ts +15 -15
- package/build/es/src/social-groups-v2-group-member.http.js +15 -15
- package/build/es/src/social-groups-v2-group-member.universal.d.ts +19 -39
- package/build/es/src/social-groups-v2-group-member.universal.js +15 -21
- package/build/es/src/social-groups-v2-group-member.universal.js.map +1 -1
- package/build/es/src/social-groups-v2-join-group-request.http.d.ts +11 -9
- package/build/es/src/social-groups-v2-join-group-request.http.js +11 -9
- package/build/es/src/social-groups-v2-join-group-request.http.js.map +1 -1
- package/build/es/src/social-groups-v2-join-group-request.universal.d.ts +15 -31
- package/build/es/src/social-groups-v2-join-group-request.universal.js +11 -13
- package/build/es/src/social-groups-v2-join-group-request.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -45,24 +45,24 @@ export declare function listGroupMembers(payload: ListGroupMembersRequest): Requ
|
|
|
45
45
|
*
|
|
46
46
|
* Creates a query to retrieve a list of group members.
|
|
47
47
|
*
|
|
48
|
-
* > **Note:** For `SECRET` groups, only site admins, group admins, and group members can query group members. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query group members.
|
|
48
|
+
* > **Note:** For `SECRET` groups, only site admins, group admins, and group members can query group members. <!-- However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query group members. -->
|
|
49
49
|
*
|
|
50
|
-
* The `queryGroupMembers()` function builds a query to retrieve a list of all group members, and returns a [GroupMembersQueryBuilder](
|
|
50
|
+
* The `queryGroupMembers()` function builds a query to retrieve a list of all group members, and returns a [GroupMembersQueryBuilder](#/membersquerybuilder) object.
|
|
51
51
|
*
|
|
52
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
52
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/membersquerybuilder/find) function.
|
|
53
53
|
*
|
|
54
54
|
* You can refine the query by chaining `GroupMembersQueryBuilder` functions onto the query. `GroupMembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryMembers()` returns.
|
|
55
55
|
*
|
|
56
56
|
* `queryGroupMembers()` runs with these `GroupMembersQueryBuilder` defaults, which you can override:
|
|
57
|
-
* + [`limit(100)`](
|
|
58
|
-
* + [`descending("joinedDate")`](
|
|
57
|
+
* + [`limit(100)`](#/membersquerybuilder/limit)
|
|
58
|
+
* + [`descending("joinedDate")`](#/membersquerybuilder/descending)
|
|
59
59
|
*
|
|
60
|
-
* The following `GroupMembersQueryBuilder` functions are supported for `queryGroupMembers()`. For a full description of the Members object, see the object returned for the [`items`](
|
|
60
|
+
* The following `GroupMembersQueryBuilder` functions are supported for `queryGroupMembers()`. For a full description of the Members object, see the object returned for the [`items`](#/membersqueryresult/items) property in [`GroupMembersQueryResult`](#/membersqueryresult).
|
|
61
61
|
*
|
|
62
62
|
* | Property | Supported Filters & Sorting |
|
|
63
63
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
64
|
-
* | `role` | [`eq()`](
|
|
65
|
-
* | `joinedDate` | [`ascending()`](
|
|
64
|
+
* | `role` | [`eq()`](#/membersquerybuilder/eq), [`ne()`](#/membersquerybuilder/ne) |
|
|
65
|
+
* | `joinedDate` | [`ascending()`](#/membersquerybuilder/ascending), [`descending()`](#/membersquerybuilder/descending) |
|
|
66
66
|
*
|
|
67
67
|
*
|
|
68
68
|
*/
|
|
@@ -86,25 +86,25 @@ export declare function listMemberships(payload: ListMembershipsRequest): Reques
|
|
|
86
86
|
*
|
|
87
87
|
* Creates a query to retrieve a list of memberships.
|
|
88
88
|
*
|
|
89
|
-
* > **Note:** Only site admins can query a site member's memberships. Site members can query their memberships. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query a site member's memberships.
|
|
89
|
+
* > **Note:** Only site admins can query a site member's memberships. Site members can query their memberships. <!--However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query a site member's memberships. -->
|
|
90
90
|
*
|
|
91
|
-
* The `queryMemberships()` function builds a query to retrieve a list of all memberships, and returns a [MembershipsQueryBuilder](
|
|
91
|
+
* The `queryMemberships()` function builds a query to retrieve a list of all memberships, and returns a [MembershipsQueryBuilder](#/membershipsquerybuilder) object.
|
|
92
92
|
*
|
|
93
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
93
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/membershipsquerybuilder/find) function.
|
|
94
94
|
*
|
|
95
95
|
* You can refine the query by chaining `GroupMembersQueryBuilder` functions onto the query. `GroupMembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryMemberships()` returns.
|
|
96
96
|
*
|
|
97
97
|
* The results of the `queryMemberships()` function are sorted by `groupId` in descending order.
|
|
98
98
|
*
|
|
99
99
|
* `queryMemberships()` runs with this `GroupMembersQueryBuilder` default, which you can override:
|
|
100
|
-
* + [`limit(100)`](
|
|
100
|
+
* + [`limit(100)`](#/membershipsquerybuilder/limit)
|
|
101
101
|
*
|
|
102
|
-
* The following `GroupMembersQueryBuilder` functions are supported for `queryMemberships()`. For a full description of the Memberships object, see the object returned for the [`items`](
|
|
102
|
+
* The following `GroupMembersQueryBuilder` functions are supported for `queryMemberships()`. For a full description of the Memberships object, see the object returned for the [`items`](#/membershipsqueryresult/items) property in [`MembershipsQueryResult`](#/membershipsqueryresult).
|
|
103
103
|
*
|
|
104
104
|
* | Property | Supported Filters & Sorting |
|
|
105
105
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
106
|
-
* | `status` | [`eq()`](
|
|
107
|
-
* | `role` | [`eq()`](
|
|
106
|
+
* | `status` | [`eq()`](#/membershipsquerybuilder/eq), [`ne()`](#/membershipsquerybuilder/ne) |
|
|
107
|
+
* | `role` | [`eq()`](#/membershipsquerybuilder/eq), [`ne()`](#/membershipsquerybuilder/ne) |
|
|
108
108
|
*
|
|
109
109
|
*/
|
|
110
110
|
export declare function queryMemberships(payload: QueryMembershipsRequest): RequestOptionsFactory<QueryMembershipsResponse>;
|
|
@@ -297,24 +297,24 @@ exports.listGroupMembers = listGroupMembers;
|
|
|
297
297
|
*
|
|
298
298
|
* Creates a query to retrieve a list of group members.
|
|
299
299
|
*
|
|
300
|
-
* > **Note:** For `SECRET` groups, only site admins, group admins, and group members can query group members. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query group members.
|
|
300
|
+
* > **Note:** For `SECRET` groups, only site admins, group admins, and group members can query group members. <!-- However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query group members. -->
|
|
301
301
|
*
|
|
302
|
-
* The `queryGroupMembers()` function builds a query to retrieve a list of all group members, and returns a [GroupMembersQueryBuilder](
|
|
302
|
+
* The `queryGroupMembers()` function builds a query to retrieve a list of all group members, and returns a [GroupMembersQueryBuilder](#/membersquerybuilder) object.
|
|
303
303
|
*
|
|
304
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
304
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/membersquerybuilder/find) function.
|
|
305
305
|
*
|
|
306
306
|
* You can refine the query by chaining `GroupMembersQueryBuilder` functions onto the query. `GroupMembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryMembers()` returns.
|
|
307
307
|
*
|
|
308
308
|
* `queryGroupMembers()` runs with these `GroupMembersQueryBuilder` defaults, which you can override:
|
|
309
|
-
* + [`limit(100)`](
|
|
310
|
-
* + [`descending("joinedDate")`](
|
|
309
|
+
* + [`limit(100)`](#/membersquerybuilder/limit)
|
|
310
|
+
* + [`descending("joinedDate")`](#/membersquerybuilder/descending)
|
|
311
311
|
*
|
|
312
|
-
* The following `GroupMembersQueryBuilder` functions are supported for `queryGroupMembers()`. For a full description of the Members object, see the object returned for the [`items`](
|
|
312
|
+
* The following `GroupMembersQueryBuilder` functions are supported for `queryGroupMembers()`. For a full description of the Members object, see the object returned for the [`items`](#/membersqueryresult/items) property in [`GroupMembersQueryResult`](#/membersqueryresult).
|
|
313
313
|
*
|
|
314
314
|
* | Property | Supported Filters & Sorting |
|
|
315
315
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
316
|
-
* | `role` | [`eq()`](
|
|
317
|
-
* | `joinedDate` | [`ascending()`](
|
|
316
|
+
* | `role` | [`eq()`](#/membersquerybuilder/eq), [`ne()`](#/membersquerybuilder/ne) |
|
|
317
|
+
* | `joinedDate` | [`ascending()`](#/membersquerybuilder/ascending), [`descending()`](#/membersquerybuilder/descending) |
|
|
318
318
|
*
|
|
319
319
|
*
|
|
320
320
|
*/
|
|
@@ -384,25 +384,25 @@ exports.listMemberships = listMemberships;
|
|
|
384
384
|
*
|
|
385
385
|
* Creates a query to retrieve a list of memberships.
|
|
386
386
|
*
|
|
387
|
-
* > **Note:** Only site admins can query a site member's memberships. Site members can query their memberships. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query a site member's memberships.
|
|
387
|
+
* > **Note:** Only site admins can query a site member's memberships. Site members can query their memberships. <!--However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query a site member's memberships. -->
|
|
388
388
|
*
|
|
389
|
-
* The `queryMemberships()` function builds a query to retrieve a list of all memberships, and returns a [MembershipsQueryBuilder](
|
|
389
|
+
* The `queryMemberships()` function builds a query to retrieve a list of all memberships, and returns a [MembershipsQueryBuilder](#/membershipsquerybuilder) object.
|
|
390
390
|
*
|
|
391
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
391
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/membershipsquerybuilder/find) function.
|
|
392
392
|
*
|
|
393
393
|
* You can refine the query by chaining `GroupMembersQueryBuilder` functions onto the query. `GroupMembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryMemberships()` returns.
|
|
394
394
|
*
|
|
395
395
|
* The results of the `queryMemberships()` function are sorted by `groupId` in descending order.
|
|
396
396
|
*
|
|
397
397
|
* `queryMemberships()` runs with this `GroupMembersQueryBuilder` default, which you can override:
|
|
398
|
-
* + [`limit(100)`](
|
|
398
|
+
* + [`limit(100)`](#/membershipsquerybuilder/limit)
|
|
399
399
|
*
|
|
400
|
-
* The following `GroupMembersQueryBuilder` functions are supported for `queryMemberships()`. For a full description of the Memberships object, see the object returned for the [`items`](
|
|
400
|
+
* The following `GroupMembersQueryBuilder` functions are supported for `queryMemberships()`. For a full description of the Memberships object, see the object returned for the [`items`](#/membershipsqueryresult/items) property in [`MembershipsQueryResult`](#/membershipsqueryresult).
|
|
401
401
|
*
|
|
402
402
|
* | Property | Supported Filters & Sorting |
|
|
403
403
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
404
|
-
* | `status` | [`eq()`](
|
|
405
|
-
* | `role` | [`eq()`](
|
|
404
|
+
* | `status` | [`eq()`](#/membershipsquerybuilder/eq), [`ne()`](#/membershipsquerybuilder/ne) |
|
|
405
|
+
* | `role` | [`eq()`](#/membershipsquerybuilder/eq), [`ne()`](#/membershipsquerybuilder/ne) |
|
|
406
406
|
*
|
|
407
407
|
*/
|
|
408
408
|
function queryMemberships(payload) {
|
|
@@ -276,7 +276,6 @@ export interface QueryMembershipsResponse {
|
|
|
276
276
|
* @param groupId - Group ID.
|
|
277
277
|
* @param memberIds - IDs of the site members to add to the group.
|
|
278
278
|
* @public
|
|
279
|
-
* @documentationMaturity preview
|
|
280
279
|
* @requiredField groupId
|
|
281
280
|
* @requiredField memberIds
|
|
282
281
|
*/
|
|
@@ -298,7 +297,6 @@ export interface AddGroupMembersOptions {
|
|
|
298
297
|
* @param groupId - Group ID.
|
|
299
298
|
* @param memberIds - IDs of the site members to remove from the group.
|
|
300
299
|
* @public
|
|
301
|
-
* @documentationMaturity preview
|
|
302
300
|
* @requiredField groupId
|
|
303
301
|
* @requiredField memberIds
|
|
304
302
|
*/
|
|
@@ -322,7 +320,6 @@ export interface RemoveGroupMembersOptions {
|
|
|
322
320
|
*
|
|
323
321
|
* @param groupId - Group ID.
|
|
324
322
|
* @public
|
|
325
|
-
* @documentationMaturity preview
|
|
326
323
|
* @requiredField groupId
|
|
327
324
|
* @param options - Paging options.
|
|
328
325
|
*/
|
|
@@ -339,28 +336,27 @@ export interface ListGroupMembersOptions {
|
|
|
339
336
|
*
|
|
340
337
|
* Creates a query to retrieve a list of group members.
|
|
341
338
|
*
|
|
342
|
-
* > **Note:** For `SECRET` groups, only site admins, group admins, and group members can query group members. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query group members.
|
|
339
|
+
* > **Note:** For `SECRET` groups, only site admins, group admins, and group members can query group members. <!-- However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query group members. -->
|
|
343
340
|
*
|
|
344
|
-
* The `queryGroupMembers()` function builds a query to retrieve a list of all group members, and returns a [GroupMembersQueryBuilder](
|
|
341
|
+
* The `queryGroupMembers()` function builds a query to retrieve a list of all group members, and returns a [GroupMembersQueryBuilder](#/membersquerybuilder) object.
|
|
345
342
|
*
|
|
346
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
343
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/membersquerybuilder/find) function.
|
|
347
344
|
*
|
|
348
345
|
* You can refine the query by chaining `GroupMembersQueryBuilder` functions onto the query. `GroupMembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryMembers()` returns.
|
|
349
346
|
*
|
|
350
347
|
* `queryGroupMembers()` runs with these `GroupMembersQueryBuilder` defaults, which you can override:
|
|
351
|
-
* + [`limit(100)`](
|
|
352
|
-
* + [`descending("joinedDate")`](
|
|
348
|
+
* + [`limit(100)`](#/membersquerybuilder/limit)
|
|
349
|
+
* + [`descending("joinedDate")`](#/membersquerybuilder/descending)
|
|
353
350
|
*
|
|
354
|
-
* The following `GroupMembersQueryBuilder` functions are supported for `queryGroupMembers()`. For a full description of the Members object, see the object returned for the [`items`](
|
|
351
|
+
* The following `GroupMembersQueryBuilder` functions are supported for `queryGroupMembers()`. For a full description of the Members object, see the object returned for the [`items`](#/membersqueryresult/items) property in [`GroupMembersQueryResult`](#/membersqueryresult).
|
|
355
352
|
*
|
|
356
353
|
* | Property | Supported Filters & Sorting |
|
|
357
354
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
358
|
-
* | `role` | [`eq()`](
|
|
359
|
-
* | `joinedDate` | [`ascending()`](
|
|
355
|
+
* | `role` | [`eq()`](#/membersquerybuilder/eq), [`ne()`](#/membersquerybuilder/ne) |
|
|
356
|
+
* | `joinedDate` | [`ascending()`](#/membersquerybuilder/ascending), [`descending()`](#/membersquerybuilder/descending) |
|
|
360
357
|
*
|
|
361
358
|
*
|
|
362
359
|
* @public
|
|
363
|
-
* @documentationMaturity preview
|
|
364
360
|
* @requiredField groupId
|
|
365
361
|
* @param groupId - Group ID.
|
|
366
362
|
*/
|
|
@@ -383,40 +379,26 @@ export interface MembersQueryResult extends QueryOffsetResult {
|
|
|
383
379
|
export interface MembersQueryBuilder {
|
|
384
380
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
385
381
|
* @param value - Value to compare against.
|
|
386
|
-
* @documentationMaturity preview
|
|
387
382
|
*/
|
|
388
383
|
eq: (propertyName: 'role', value: any) => MembersQueryBuilder;
|
|
389
384
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
390
385
|
* @param value - Value to compare against.
|
|
391
|
-
* @documentationMaturity preview
|
|
392
386
|
*/
|
|
393
387
|
ne: (propertyName: 'role', value: any) => MembersQueryBuilder;
|
|
394
388
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
395
389
|
* @param values - List of values to compare against.
|
|
396
|
-
* @documentationMaturity preview
|
|
397
390
|
*/
|
|
398
391
|
hasSome: (propertyName: 'role', value: any[]) => MembersQueryBuilder;
|
|
399
|
-
/** @documentationMaturity preview */
|
|
400
392
|
in: (propertyName: 'role', value: any) => MembersQueryBuilder;
|
|
401
|
-
/** @documentationMaturity preview */
|
|
402
393
|
exists: (propertyName: 'role', value: boolean) => MembersQueryBuilder;
|
|
403
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
404
|
-
* @documentationMaturity preview
|
|
405
|
-
*/
|
|
394
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
406
395
|
ascending: (...propertyNames: Array<'role' | 'joinedDate'>) => MembersQueryBuilder;
|
|
407
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
408
|
-
* @documentationMaturity preview
|
|
409
|
-
*/
|
|
396
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
410
397
|
descending: (...propertyNames: Array<'role' | 'joinedDate'>) => MembersQueryBuilder;
|
|
411
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
412
|
-
* @documentationMaturity preview
|
|
413
|
-
*/
|
|
398
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
414
399
|
limit: (limit: number) => MembersQueryBuilder;
|
|
415
|
-
/** @param skip - Number of items to skip in the query results before returning the results.
|
|
416
|
-
* @documentationMaturity preview
|
|
417
|
-
*/
|
|
400
|
+
/** @param skip - Number of items to skip in the query results before returning the results. */
|
|
418
401
|
skip: (skip: number) => MembersQueryBuilder;
|
|
419
|
-
/** @documentationMaturity preview */
|
|
420
402
|
find: () => Promise<MembersQueryResult>;
|
|
421
403
|
}
|
|
422
404
|
/**
|
|
@@ -431,7 +413,6 @@ export interface MembersQueryBuilder {
|
|
|
431
413
|
* > + This function's parameters are positional, and must be specified in the sequence shown in the syntax below. When specifying a parameter, use `null` as a placeholder for any unspecified parameters. For example, to specify `limit` only, call `listMemberships(memberId, paging, null)`. To specify `supressAuth` only, call `listMemberships(memberId, null, options)`.
|
|
432
414
|
*
|
|
433
415
|
* @public
|
|
434
|
-
* @documentationMaturity preview
|
|
435
416
|
* @requiredField memberId
|
|
436
417
|
* @param memberId - Site member ID.
|
|
437
418
|
* @param options - Paging options.
|
|
@@ -449,28 +430,27 @@ export interface ListMembershipsOptions {
|
|
|
449
430
|
*
|
|
450
431
|
* Creates a query to retrieve a list of memberships.
|
|
451
432
|
*
|
|
452
|
-
* > **Note:** Only site admins can query a site member's memberships. Site members can query their memberships. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query a site member's memberships.
|
|
433
|
+
* > **Note:** Only site admins can query a site member's memberships. Site members can query their memberships. <!--However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query a site member's memberships. -->
|
|
453
434
|
*
|
|
454
|
-
* The `queryMemberships()` function builds a query to retrieve a list of all memberships, and returns a [MembershipsQueryBuilder](
|
|
435
|
+
* The `queryMemberships()` function builds a query to retrieve a list of all memberships, and returns a [MembershipsQueryBuilder](#/membershipsquerybuilder) object.
|
|
455
436
|
*
|
|
456
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
437
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/membershipsquerybuilder/find) function.
|
|
457
438
|
*
|
|
458
439
|
* You can refine the query by chaining `GroupMembersQueryBuilder` functions onto the query. `GroupMembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryMemberships()` returns.
|
|
459
440
|
*
|
|
460
441
|
* The results of the `queryMemberships()` function are sorted by `groupId` in descending order.
|
|
461
442
|
*
|
|
462
443
|
* `queryMemberships()` runs with this `GroupMembersQueryBuilder` default, which you can override:
|
|
463
|
-
* + [`limit(100)`](
|
|
444
|
+
* + [`limit(100)`](#/membershipsquerybuilder/limit)
|
|
464
445
|
*
|
|
465
|
-
* The following `GroupMembersQueryBuilder` functions are supported for `queryMemberships()`. For a full description of the Memberships object, see the object returned for the [`items`](
|
|
446
|
+
* The following `GroupMembersQueryBuilder` functions are supported for `queryMemberships()`. For a full description of the Memberships object, see the object returned for the [`items`](#/membershipsqueryresult/items) property in [`MembershipsQueryResult`](#/membershipsqueryresult).
|
|
466
447
|
*
|
|
467
448
|
* | Property | Supported Filters & Sorting |
|
|
468
449
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
469
|
-
* | `status` | [`eq()`](
|
|
470
|
-
* | `role` | [`eq()`](
|
|
450
|
+
* | `status` | [`eq()`](#/membershipsquerybuilder/eq), [`ne()`](#/membershipsquerybuilder/ne) |
|
|
451
|
+
* | `role` | [`eq()`](#/membershipsquerybuilder/eq), [`ne()`](#/membershipsquerybuilder/ne) |
|
|
471
452
|
*
|
|
472
453
|
* @public
|
|
473
|
-
* @documentationMaturity preview
|
|
474
454
|
* @requiredField memberId
|
|
475
455
|
* @param memberId - Site member ID.
|
|
476
456
|
*/
|
|
@@ -104,7 +104,6 @@ const _removeGroupMembersResponse = {};
|
|
|
104
104
|
* @param groupId - Group ID.
|
|
105
105
|
* @param memberIds - IDs of the site members to add to the group.
|
|
106
106
|
* @public
|
|
107
|
-
* @documentationMaturity preview
|
|
108
107
|
* @requiredField groupId
|
|
109
108
|
* @requiredField memberIds
|
|
110
109
|
*/
|
|
@@ -169,7 +168,6 @@ exports.addGroupMembers = addGroupMembers;
|
|
|
169
168
|
* @param groupId - Group ID.
|
|
170
169
|
* @param memberIds - IDs of the site members to remove from the group.
|
|
171
170
|
* @public
|
|
172
|
-
* @documentationMaturity preview
|
|
173
171
|
* @requiredField groupId
|
|
174
172
|
* @requiredField memberIds
|
|
175
173
|
*/
|
|
@@ -236,7 +234,6 @@ exports.removeGroupMembers = removeGroupMembers;
|
|
|
236
234
|
*
|
|
237
235
|
* @param groupId - Group ID.
|
|
238
236
|
* @public
|
|
239
|
-
* @documentationMaturity preview
|
|
240
237
|
* @requiredField groupId
|
|
241
238
|
* @param options - Paging options.
|
|
242
239
|
*/
|
|
@@ -295,28 +292,27 @@ exports.listGroupMembers = listGroupMembers;
|
|
|
295
292
|
*
|
|
296
293
|
* Creates a query to retrieve a list of group members.
|
|
297
294
|
*
|
|
298
|
-
* > **Note:** For `SECRET` groups, only site admins, group admins, and group members can query group members. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query group members.
|
|
295
|
+
* > **Note:** For `SECRET` groups, only site admins, group admins, and group members can query group members. <!-- However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query group members. -->
|
|
299
296
|
*
|
|
300
|
-
* The `queryGroupMembers()` function builds a query to retrieve a list of all group members, and returns a [GroupMembersQueryBuilder](
|
|
297
|
+
* The `queryGroupMembers()` function builds a query to retrieve a list of all group members, and returns a [GroupMembersQueryBuilder](#/membersquerybuilder) object.
|
|
301
298
|
*
|
|
302
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
299
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/membersquerybuilder/find) function.
|
|
303
300
|
*
|
|
304
301
|
* You can refine the query by chaining `GroupMembersQueryBuilder` functions onto the query. `GroupMembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryMembers()` returns.
|
|
305
302
|
*
|
|
306
303
|
* `queryGroupMembers()` runs with these `GroupMembersQueryBuilder` defaults, which you can override:
|
|
307
|
-
* + [`limit(100)`](
|
|
308
|
-
* + [`descending("joinedDate")`](
|
|
304
|
+
* + [`limit(100)`](#/membersquerybuilder/limit)
|
|
305
|
+
* + [`descending("joinedDate")`](#/membersquerybuilder/descending)
|
|
309
306
|
*
|
|
310
|
-
* The following `GroupMembersQueryBuilder` functions are supported for `queryGroupMembers()`. For a full description of the Members object, see the object returned for the [`items`](
|
|
307
|
+
* The following `GroupMembersQueryBuilder` functions are supported for `queryGroupMembers()`. For a full description of the Members object, see the object returned for the [`items`](#/membersqueryresult/items) property in [`GroupMembersQueryResult`](#/membersqueryresult).
|
|
311
308
|
*
|
|
312
309
|
* | Property | Supported Filters & Sorting |
|
|
313
310
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
314
|
-
* | `role` | [`eq()`](
|
|
315
|
-
* | `joinedDate` | [`ascending()`](
|
|
311
|
+
* | `role` | [`eq()`](#/membersquerybuilder/eq), [`ne()`](#/membersquerybuilder/ne) |
|
|
312
|
+
* | `joinedDate` | [`ascending()`](#/membersquerybuilder/ascending), [`descending()`](#/membersquerybuilder/descending) |
|
|
316
313
|
*
|
|
317
314
|
*
|
|
318
315
|
* @public
|
|
319
|
-
* @documentationMaturity preview
|
|
320
316
|
* @requiredField groupId
|
|
321
317
|
* @param groupId - Group ID.
|
|
322
318
|
*/
|
|
@@ -384,7 +380,6 @@ exports.queryGroupMembers = queryGroupMembers;
|
|
|
384
380
|
* > + This function's parameters are positional, and must be specified in the sequence shown in the syntax below. When specifying a parameter, use `null` as a placeholder for any unspecified parameters. For example, to specify `limit` only, call `listMemberships(memberId, paging, null)`. To specify `supressAuth` only, call `listMemberships(memberId, null, options)`.
|
|
385
381
|
*
|
|
386
382
|
* @public
|
|
387
|
-
* @documentationMaturity preview
|
|
388
383
|
* @requiredField memberId
|
|
389
384
|
* @param memberId - Site member ID.
|
|
390
385
|
* @param options - Paging options.
|
|
@@ -444,28 +439,27 @@ exports.listMemberships = listMemberships;
|
|
|
444
439
|
*
|
|
445
440
|
* Creates a query to retrieve a list of memberships.
|
|
446
441
|
*
|
|
447
|
-
* > **Note:** Only site admins can query a site member's memberships. Site members can query their memberships. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query a site member's memberships.
|
|
442
|
+
* > **Note:** Only site admins can query a site member's memberships. Site members can query their memberships. <!--However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query a site member's memberships. -->
|
|
448
443
|
*
|
|
449
|
-
* The `queryMemberships()` function builds a query to retrieve a list of all memberships, and returns a [MembershipsQueryBuilder](
|
|
444
|
+
* The `queryMemberships()` function builds a query to retrieve a list of all memberships, and returns a [MembershipsQueryBuilder](#/membershipsquerybuilder) object.
|
|
450
445
|
*
|
|
451
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
446
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/membershipsquerybuilder/find) function.
|
|
452
447
|
*
|
|
453
448
|
* You can refine the query by chaining `GroupMembersQueryBuilder` functions onto the query. `GroupMembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryMemberships()` returns.
|
|
454
449
|
*
|
|
455
450
|
* The results of the `queryMemberships()` function are sorted by `groupId` in descending order.
|
|
456
451
|
*
|
|
457
452
|
* `queryMemberships()` runs with this `GroupMembersQueryBuilder` default, which you can override:
|
|
458
|
-
* + [`limit(100)`](
|
|
453
|
+
* + [`limit(100)`](#/membershipsquerybuilder/limit)
|
|
459
454
|
*
|
|
460
|
-
* The following `GroupMembersQueryBuilder` functions are supported for `queryMemberships()`. For a full description of the Memberships object, see the object returned for the [`items`](
|
|
455
|
+
* The following `GroupMembersQueryBuilder` functions are supported for `queryMemberships()`. For a full description of the Memberships object, see the object returned for the [`items`](#/membershipsqueryresult/items) property in [`MembershipsQueryResult`](#/membershipsqueryresult).
|
|
461
456
|
*
|
|
462
457
|
* | Property | Supported Filters & Sorting |
|
|
463
458
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
464
|
-
* | `status` | [`eq()`](
|
|
465
|
-
* | `role` | [`eq()`](
|
|
459
|
+
* | `status` | [`eq()`](#/membershipsquerybuilder/eq), [`ne()`](#/membershipsquerybuilder/ne) |
|
|
460
|
+
* | `role` | [`eq()`](#/membershipsquerybuilder/eq), [`ne()`](#/membershipsquerybuilder/ne) |
|
|
466
461
|
*
|
|
467
462
|
* @public
|
|
468
|
-
* @documentationMaturity preview
|
|
469
463
|
* @requiredField memberId
|
|
470
464
|
* @param memberId - Site member ID.
|
|
471
465
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social-groups-v2-group-member.universal.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-member.universal.ts"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AEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;QAEzD,MAAM,OAAO,GACX,sCAAsC,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAEnE,KAAK,CAAC,4CAA4C,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAExE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,UAAU;gBACV,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AA3DD,4CA2DC"}
|
|
1
|
+
{"version":3,"file":"social-groups-v2-group-member.universal.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-member.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,6GAA+F;AAC/F,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,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ACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,UAAU;gBACV,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AA3DD,4CA2DC"}
|
|
@@ -3,7 +3,7 @@ import { ApproveJoinGroupRequestsRequest, ApproveJoinGroupRequestsResponse, List
|
|
|
3
3
|
/**
|
|
4
4
|
* Approves requests to join a group.
|
|
5
5
|
*
|
|
6
|
-
* > **Note
|
|
6
|
+
* > **Note:** This function is only relevant for private groups.
|
|
7
7
|
*
|
|
8
8
|
* The `approveJoinRequests()` function returns a Promise that resolves when a site member's request to join a group is approved.
|
|
9
9
|
* Only site admins and group admins can approve site member requests to join a group, unless the group setting, `membersCanApprove` is set to `true`.
|
|
@@ -15,7 +15,8 @@ import { ApproveJoinGroupRequestsRequest, ApproveJoinGroupRequestsResponse, List
|
|
|
15
15
|
export declare function approveJoinGroupRequests(payload: ApproveJoinGroupRequestsRequest): RequestOptionsFactory<ApproveJoinGroupRequestsResponse>;
|
|
16
16
|
/**
|
|
17
17
|
* Rejects requests to join a group.
|
|
18
|
-
*
|
|
18
|
+
*
|
|
19
|
+
* > **Note:** This function is only relevant for private groups.
|
|
19
20
|
*
|
|
20
21
|
* The `rejectJoinRequests()` function returns a Promise that resolves when the site member's request to join a group is rejected.
|
|
21
22
|
* Only site admins or group admins can reject site member requests to join the group, unless the group setting, `membersCanApprove` is set to `true`.
|
|
@@ -28,7 +29,8 @@ export declare function approveJoinGroupRequests(payload: ApproveJoinGroupReques
|
|
|
28
29
|
export declare function rejectJoinGroupRequests(payload: RejectJoinGroupRequestsRequest): RequestOptionsFactory<RejectJoinGroupRequestsResponse>;
|
|
29
30
|
/**
|
|
30
31
|
* Lists requests to join a group.
|
|
31
|
-
*
|
|
32
|
+
*
|
|
33
|
+
* > **Note:** This function is only relevant for private groups.
|
|
32
34
|
*
|
|
33
35
|
* The `listJoinRequests()` function returns a Promise that resolves to a list of up to 100 requests to join a group. Sorts by default to `_createdDate` in descending order.
|
|
34
36
|
* Only site admins and group admins can see requests to join their group. Site members can access their own join requests in their site.
|
|
@@ -42,24 +44,24 @@ export declare function listJoinGroupRequests(payload: ListJoinGroupRequestsRequ
|
|
|
42
44
|
*
|
|
43
45
|
* > **Notes:**
|
|
44
46
|
* + This function is only relevant for private groups.
|
|
45
|
-
* + For `SECRET` groups, only site admins and group admins can query requests to join their group. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query requests to join a group.
|
|
47
|
+
* + For `SECRET` groups, only site admins and group admins can query requests to join their group. <!-- However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query requests to join a group. -->
|
|
46
48
|
*
|
|
47
|
-
* The `queryJoinRequests()` function builds a query to retrieve a list of all requests to join a group, and returns a [JoinRequestsQueryBuilder](
|
|
49
|
+
* The `queryJoinRequests()` function builds a query to retrieve a list of all requests to join a group, and returns a [JoinRequestsQueryBuilder](#/joinrequestsquerybuilder) object.
|
|
48
50
|
*
|
|
49
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
51
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/joinrequestsquerybuilder/find) function.
|
|
50
52
|
*
|
|
51
53
|
* You can refine the query by chaining `JoinRequestsQueryBuilder` functions onto the query. `JoinRequestsQueryBuilder` functions enable you to sort, filter, and control the results that `queryJoinRequests()` returns.
|
|
52
54
|
*
|
|
53
55
|
* The results of the `queryJoinRequests()` function are sorted by `_createdDate` in descending order.
|
|
54
56
|
*
|
|
55
57
|
* `queryJoinRequests()` runs with this `JoinRequestsQueryBuilder` default, which you can override:
|
|
56
|
-
* + [`limit(100)`](
|
|
58
|
+
* + [`limit(100)`](#/joinrequestsquerybuilder/limit)
|
|
57
59
|
*
|
|
58
|
-
* The following `JoinRequestsQueryBuilder` functions are supported for `queryJoinRequests()`. For a full description of the JoinRequests object, see the object returned for the [`items`](
|
|
60
|
+
* The following `JoinRequestsQueryBuilder` functions are supported for `queryJoinRequests()`. For a full description of the JoinRequests object, see the object returned for the [`items`](#/joinrequestsqueryresult/items) property in [`JoinRequestsQueryResult`](#/joinrequestsqueryresult).
|
|
59
61
|
*
|
|
60
62
|
* | Property | Supported Filters & Sorting |
|
|
61
63
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
62
|
-
* | `status` | [`eq()`](
|
|
64
|
+
* | `status` | [`eq()`](#/joinrequestsquerybuilder/eq), [`ne()`](#/joinrequestsquerybuilder/ne), [`hasSome()`](#/joinrequestsquerybuilder/hasSome), [`or()`](#/joinrequestsquerybuilder/or) |
|
|
63
65
|
*
|
|
64
66
|
*/
|
|
65
67
|
export declare function queryJoinGroupRequests(payload: QueryJoinGroupRequestsRequest): RequestOptionsFactory<QueryJoinGroupRequestsResponse>;
|
|
@@ -189,7 +189,7 @@ function resolveWixSocialGroupsApiV2JoinGroupRequestsServiceUrl(opts) {
|
|
|
189
189
|
/**
|
|
190
190
|
* Approves requests to join a group.
|
|
191
191
|
*
|
|
192
|
-
* > **Note
|
|
192
|
+
* > **Note:** This function is only relevant for private groups.
|
|
193
193
|
*
|
|
194
194
|
* The `approveJoinRequests()` function returns a Promise that resolves when a site member's request to join a group is approved.
|
|
195
195
|
* Only site admins and group admins can approve site member requests to join a group, unless the group setting, `membersCanApprove` is set to `true`.
|
|
@@ -225,7 +225,8 @@ function approveJoinGroupRequests(payload) {
|
|
|
225
225
|
exports.approveJoinGroupRequests = approveJoinGroupRequests;
|
|
226
226
|
/**
|
|
227
227
|
* Rejects requests to join a group.
|
|
228
|
-
*
|
|
228
|
+
*
|
|
229
|
+
* > **Note:** This function is only relevant for private groups.
|
|
229
230
|
*
|
|
230
231
|
* The `rejectJoinRequests()` function returns a Promise that resolves when the site member's request to join a group is rejected.
|
|
231
232
|
* Only site admins or group admins can reject site member requests to join the group, unless the group setting, `membersCanApprove` is set to `true`.
|
|
@@ -262,7 +263,8 @@ function rejectJoinGroupRequests(payload) {
|
|
|
262
263
|
exports.rejectJoinGroupRequests = rejectJoinGroupRequests;
|
|
263
264
|
/**
|
|
264
265
|
* Lists requests to join a group.
|
|
265
|
-
*
|
|
266
|
+
*
|
|
267
|
+
* > **Note:** This function is only relevant for private groups.
|
|
266
268
|
*
|
|
267
269
|
* The `listJoinRequests()` function returns a Promise that resolves to a list of up to 100 requests to join a group. Sorts by default to `_createdDate` in descending order.
|
|
268
270
|
* Only site admins and group admins can see requests to join their group. Site members can access their own join requests in their site.
|
|
@@ -300,24 +302,24 @@ exports.listJoinGroupRequests = listJoinGroupRequests;
|
|
|
300
302
|
*
|
|
301
303
|
* > **Notes:**
|
|
302
304
|
* + This function is only relevant for private groups.
|
|
303
|
-
* + For `SECRET` groups, only site admins and group admins can query requests to join their group. However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query requests to join a group.
|
|
305
|
+
* + For `SECRET` groups, only site admins and group admins can query requests to join their group. <!-- However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query requests to join a group. -->
|
|
304
306
|
*
|
|
305
|
-
* The `queryJoinRequests()` function builds a query to retrieve a list of all requests to join a group, and returns a [JoinRequestsQueryBuilder](
|
|
307
|
+
* The `queryJoinRequests()` function builds a query to retrieve a list of all requests to join a group, and returns a [JoinRequestsQueryBuilder](#/joinrequestsquerybuilder) object.
|
|
306
308
|
*
|
|
307
|
-
* The returned object contains the query definition which is typically used to run the query using the [`find()`](
|
|
309
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](#/joinrequestsquerybuilder/find) function.
|
|
308
310
|
*
|
|
309
311
|
* You can refine the query by chaining `JoinRequestsQueryBuilder` functions onto the query. `JoinRequestsQueryBuilder` functions enable you to sort, filter, and control the results that `queryJoinRequests()` returns.
|
|
310
312
|
*
|
|
311
313
|
* The results of the `queryJoinRequests()` function are sorted by `_createdDate` in descending order.
|
|
312
314
|
*
|
|
313
315
|
* `queryJoinRequests()` runs with this `JoinRequestsQueryBuilder` default, which you can override:
|
|
314
|
-
* + [`limit(100)`](
|
|
316
|
+
* + [`limit(100)`](#/joinrequestsquerybuilder/limit)
|
|
315
317
|
*
|
|
316
|
-
* The following `JoinRequestsQueryBuilder` functions are supported for `queryJoinRequests()`. For a full description of the JoinRequests object, see the object returned for the [`items`](
|
|
318
|
+
* The following `JoinRequestsQueryBuilder` functions are supported for `queryJoinRequests()`. For a full description of the JoinRequests object, see the object returned for the [`items`](#/joinrequestsqueryresult/items) property in [`JoinRequestsQueryResult`](#/joinrequestsqueryresult).
|
|
317
319
|
*
|
|
318
320
|
* | Property | Supported Filters & Sorting |
|
|
319
321
|
* | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
320
|
-
* | `status` | [`eq()`](
|
|
322
|
+
* | `status` | [`eq()`](#/joinrequestsquerybuilder/eq), [`ne()`](#/joinrequestsquerybuilder/ne), [`hasSome()`](#/joinrequestsquerybuilder/hasSome), [`or()`](#/joinrequestsquerybuilder/or) |
|
|
321
323
|
*
|
|
322
324
|
*/
|
|
323
325
|
function queryJoinGroupRequests(payload) {
|