@wix/groups 1.0.27 → 1.0.28

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.
@@ -1,24 +1,45 @@
1
1
  import { RequestOptionsFactory } from '@wix/sdk-types';
2
2
  import { ApproveGroupRequestsRequest, ApproveGroupRequestsResponse, ListGroupRequestsRequest, ListGroupRequestsResponse, QueryGroupRequestsRequest, QueryGroupRequestsResponse, RejectGroupRequestsRequest, RejectGroupRequestsResponse } from './social-groups-v2-group-request.types';
3
3
  /**
4
- * Approves Group Requests.
5
- * Only admins can approve Group Requests.
4
+ * Approves requests to create a group.
5
+ *
6
+ * The `approveGroupRequests()` function returns a Promise that resolves when a site member's request to create a group is approved. Only site admins can approve requests to create a group. When the request is approved, the new group is added to the Groups List page of your site.
7
+ *
8
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
6
9
  */
7
10
  export declare function approveGroupRequests(payload: ApproveGroupRequestsRequest): RequestOptionsFactory<ApproveGroupRequestsResponse>;
8
11
  /**
9
- * Rejects Group Requests.
10
- * Only admins can reject Group Requests.
12
+ * Rejects a request to create a group.
13
+ *
14
+ * The `rejectGroupRequests()` function returns a Promise that resolves when a member's request to create a group is rejected. Only site admins can reject requests to create a group.
15
+ *
16
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
11
17
  */
12
18
  export declare function rejectGroupRequests(payload: RejectGroupRequestsRequest): RequestOptionsFactory<RejectGroupRequestsResponse>;
13
- /** Lists group requests across the site. */
19
+ /**
20
+ * Lists requests to create a group.
21
+ *
22
+ * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.
23
+ *
24
+ * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.
25
+ *
26
+ * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.
27
+ *
28
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
29
+ *
30
+ */
14
31
  export declare function listGroupRequests(payload: ListGroupRequestsRequest): RequestOptionsFactory<ListGroupRequestsResponse>;
15
32
  /**
16
- * Retrieves a list of groups requests across the site.
33
+ * Creates a query to retrieve a list of create requests.
34
+ *
35
+ * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a [`GroupRequestsQueryBuilder`](#grouprequestsquerybuilder) object.
36
+ *
37
+ * The returned object contains the query definition which is typically used to run the query using the [`find()`](#grouprequestsquerybuilder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.
17
38
  *
18
- * Supported fields for filtering:
19
- * - `status`
39
+ * `queryGorupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:
40
+ * - [`limit(1000)`](#grouprequestsquerybuilder/limit)
41
+ * - [`descending('_createdDate')`](#grouprequestsquerybuilder/descending)
20
42
  *
21
- * Supported fields for sorting:
22
- * - `createdDate`
43
+ * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](#grouprequestsqueryresult/items) property in [`GroupRequestsQueryResult`](#grouprequestsqueryresult).
23
44
  */
24
45
  export declare function queryGroupRequests(payload: QueryGroupRequestsRequest): RequestOptionsFactory<QueryGroupRequestsResponse>;
@@ -194,8 +194,11 @@ function resolveWixSocialGroupsApiV2GroupRequestsServiceUrl(opts) {
194
194
  return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
195
195
  }
196
196
  /**
197
- * Approves Group Requests.
198
- * Only admins can approve Group Requests.
197
+ * Approves requests to create a group.
198
+ *
199
+ * The `approveGroupRequests()` function returns a Promise that resolves when a site member's request to create a group is approved. Only site admins can approve requests to create a group. When the request is approved, the new group is added to the Groups List page of your site.
200
+ *
201
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
199
202
  */
200
203
  function approveGroupRequests(payload) {
201
204
  const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_approveGroupRequestsRequest, {});
@@ -228,8 +231,11 @@ function approveGroupRequests(payload) {
228
231
  }
229
232
  exports.approveGroupRequests = approveGroupRequests;
230
233
  /**
231
- * Rejects Group Requests.
232
- * Only admins can reject Group Requests.
234
+ * Rejects a request to create a group.
235
+ *
236
+ * The `rejectGroupRequests()` function returns a Promise that resolves when a member's request to create a group is rejected. Only site admins can reject requests to create a group.
237
+ *
238
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
233
239
  */
234
240
  function rejectGroupRequests(payload) {
235
241
  const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_rejectGroupRequestsRequest, {});
@@ -261,7 +267,18 @@ function rejectGroupRequests(payload) {
261
267
  return __rejectGroupRequests;
262
268
  }
263
269
  exports.rejectGroupRequests = rejectGroupRequests;
264
- /** Lists group requests across the site. */
270
+ /**
271
+ * Lists requests to create a group.
272
+ *
273
+ * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.
274
+ *
275
+ * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.
276
+ *
277
+ * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.
278
+ *
279
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
280
+ *
281
+ */
265
282
  function listGroupRequests(payload) {
266
283
  const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_listGroupRequestsRequest, {});
267
284
  const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_listGroupRequestsResponse, {
@@ -293,13 +310,17 @@ function listGroupRequests(payload) {
293
310
  }
294
311
  exports.listGroupRequests = listGroupRequests;
295
312
  /**
296
- * Retrieves a list of groups requests across the site.
313
+ * Creates a query to retrieve a list of create requests.
314
+ *
315
+ * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a [`GroupRequestsQueryBuilder`](#grouprequestsquerybuilder) object.
316
+ *
317
+ * The returned object contains the query definition which is typically used to run the query using the [`find()`](#grouprequestsquerybuilder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.
297
318
  *
298
- * Supported fields for filtering:
299
- * - `status`
319
+ * `queryGorupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:
320
+ * - [`limit(1000)`](#grouprequestsquerybuilder/limit)
321
+ * - [`descending('_createdDate')`](#grouprequestsquerybuilder/descending)
300
322
  *
301
- * Supported fields for sorting:
302
- * - `createdDate`
323
+ * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](#grouprequestsqueryresult/items) property in [`GroupRequestsQueryResult`](#grouprequestsqueryresult).
303
324
  */
304
325
  function queryGroupRequests(payload) {
305
326
  const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_queryGroupRequestsRequest, {});
@@ -1 +1 @@
1
- {"version":3,"file":"social-groups-v2-group-request.http.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-request.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAchD,MAAM,4BAA4B,GAAG,EAAE,CAAC;AACxC,MAAM,6BAA6B,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AACxE,MAAM,WAAW,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AAC3E,MAAM,MAAM,GAAG;IACb,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,kBAAkB,EAAE,2BAA2B;IAC/C,gBAAgB,EAAE,2BAA2B;IAC7C,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,aAAa;CAC1B,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,YAAY,EAAE,uBAAuB;IACrC,kBAAkB,EAAE,uBAAuB;CAC5C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,EAAE,IAAI,EAAO;QACzC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,oCAAoC;YAChD,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,kEAAkE;YACpE,GAAG,EAAE,kDAAkD,CAAC;gBACtD,SAAS,EAAE,0BAA0B;gBACrC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,oBAAoB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEvC,OAAO,oBAAoB,CAAC;AAC9B,CAAC;AAtCD,gDAsCC"}
1
+ {"version":3,"file":"social-groups-v2-group-request.http.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-request.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAchD,MAAM,4BAA4B,GAAG,EAAE,CAAC;AACxC,MAAM,6BAA6B,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AACxE,MAAM,WAAW,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AAC3E,MAAM,MAAM,GAAG;IACb,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,kBAAkB,EAAE,2BAA2B;IAC/C,gBAAgB,EAAE,2BAA2B;IAC7C,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,aAAa;CAC1B,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,YAAY,EAAE,uBAAuB;IACrC,kBAAkB,EAAE,uBAAuB;CAC5C,CAAC;AACF,MAAM,qBAAqB,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC;AACzD,MAAM,aAAa,GAAG,EAAE,KAAK,EAAE,QAA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AoC;YAChD,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,kEAAkE;YACpE,GAAG,EAAE,kDAAkD,CAAC;gBACtD,SAAS,EAAE,0BAA0B;gBACrC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,oBAAoB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEvC,OAAO,oBAAoB,CAAC;AAC9B,CAAC;AAtCD,gDAsCC"}
@@ -14,21 +14,21 @@ export declare const __debug: {
14
14
  */
15
15
  export interface GroupRequest {
16
16
  /**
17
- * Group request ID
17
+ * ID of the request to create a group. Same as group ID.
18
18
  * @readonly
19
19
  */
20
20
  _id?: string | null;
21
- /** Group requested for creation. */
21
+ /** Group requested to create. */
22
22
  group?: Group;
23
23
  /**
24
- * Status of group request.
25
- * - `PENDING` - Pending group request.
26
- * - `APPROVED` - Approved group request.
27
- * - `REJECTED` - Rejected group request.
28
- * - `CANCELED` - Canceled group request.
24
+ * Status of the request to create a group. One of:
25
+ * - `"PENDING"` - Pending group request.
26
+ * - `"APPROVED"` - Approved group request.
27
+ * - `"REJECTED"` - Rejected group request.
28
+ * - `"CANCELED"` - Canceled group request.
29
29
  */
30
30
  status?: RequestStatus;
31
- /** Group request details. */
31
+ /** Details of request to create a group. */
32
32
  requestDetails?: RequestDetails;
33
33
  }
34
34
  export interface Group {
@@ -37,78 +37,86 @@ export interface Group {
37
37
  * @readonly
38
38
  */
39
39
  _id?: string | null;
40
- /** A unique part of a group's URL, for example `https:/example.com/groups/slug`. */
41
- slug?: string | null;
42
40
  /**
43
- * __Deprecated.__ Use `privacyStatus` instead.
44
- * This property will be removed on June 30, 2022.
41
+ * Part of a group's URL.
42
+ *
43
+ * For example, `'https:/example.com/groups/{my-group-slug}'`. Generally based on the group name, but for secret groups it is an autogenerated string of characters, for example, `'https:/example.com/groups/{5D3yTX}'`. It is case-sensitive.
45
44
  */
45
+ slug?: string | null;
46
+ /**
47
+ * @internal
48
+ * @internal */
46
49
  privacyLevel?: PrivacyStatus;
47
50
  /**
48
51
  * Group privacy status.
49
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
50
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
51
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
52
+ * - `"PUBLIC"` - Site visitors can see the group and its content in the list of groups. Members can join the group.
53
+ * - `"PRIVATE"` - Site visitors can see the group in the list of groups, but only site members can see its content. Members can request to join the group.
54
+ * - `"SECRET"` - Only admins and group members can see the group and its content in the list of groups. Members can only join a group if invited by group admins, or other group members.
52
55
  */
53
56
  privacyStatus?: PrivacyStatus;
54
57
  /**
55
- * __Deprecated.__ Use `name` instead.
56
- * This property will be removed on June 30, 2022.
57
- */
58
+ * @interal
59
+ * @interal */
58
60
  title?: string | null;
59
61
  /** Group name. */
60
62
  name?: string | null;
61
- /** Group description in DraftJS format. */
63
+ /** Group Description. */
62
64
  description?: string | null;
63
65
  /** Group teaser. */
64
66
  teaser?: string | null;
65
67
  /**
66
- * __Deprecated.__
67
- * For `details.logo`, use `coverImage` instead.
68
- * For `details.membersTitle`, `memberTitle` instead.
69
- * This property will be removed on June 30, 2022.
70
- */
68
+ * @internal
69
+ * @internal */
71
70
  details?: GroupDetails;
72
- /** What group members are called, for example `Coworkers`, `Friends`, or `Students`. */
71
+ /**
72
+ * What group members are called.
73
+ *
74
+ * For example, 'Coworkers', 'Friends', or 'Students'.
75
+ */
73
76
  memberTitle?: string | null;
74
- /** Cover image. You cannot upload your own cover image. */
77
+ /**
78
+ * Group cover image. You cannot upload your own cover image.
79
+ *
80
+ */
75
81
  coverImage?: CoverImage;
76
- /** Group specific settings. Available to the site owners under `Admin Tools` in the Business Manager. */
82
+ /** Group settings. */
77
83
  settings?: GroupSettings;
78
84
  /**
79
- * Total count of current group members.
85
+ * Total number of members in the group.
80
86
  * @readonly
81
87
  */
82
88
  membersCount?: number | null;
83
89
  /**
84
- * __Deprecated.__ Use `ownerId` instead.
85
- * This property will be removed on June 30, 2022.
90
+ * @internal
91
+ * @internal
86
92
  * @readonly
87
93
  */
88
94
  createdBy?: Identity;
89
95
  /**
90
- * Group owner.
96
+ * Member ID of the group creator.
91
97
  * @readonly
92
98
  */
93
99
  ownerId?: string | null;
94
100
  /**
95
- * Group creation date and time.
101
+ * Date and time the group was created.
96
102
  * @readonly
97
103
  */
98
104
  _createdDate?: Date;
99
105
  /**
100
- * Date and time of the latest group update.
106
+ * Date and time the group was last updated.
101
107
  * @readonly
102
108
  */
103
109
  _updatedDate?: Date;
104
110
  /**
105
- * __Deprecated.__ Use `lastActivityDate` instead.
106
- * This property will be removed on June 30, 2022.
111
+ * @internal
112
+ * @internal
107
113
  * @readonly
108
114
  */
109
115
  recentActivityDate?: Date;
110
116
  /**
111
- * Date and time of the most recent group activity, for example a post or comment.
117
+ * Date and time the group was last active.
118
+ *
119
+ * For example, a post or comment made in the group.
112
120
  * @readonly
113
121
  */
114
122
  lastActivityDate?: Date;
@@ -189,25 +197,38 @@ export interface CoverImage {
189
197
  }
190
198
  export interface GroupSettings {
191
199
  /**
192
- * Whether regular members are permitted to invite new members.
193
- * If `false`, only admins can invite members. Defaults to `true`.
200
+ * Whether group members can send an email inviting others to join the group. When `false`, only site admins and group admins can invite others to join the group.
201
+ *
202
+ * Default: `false`
194
203
  */
195
204
  membersCanInvite?: boolean | null;
196
205
  /**
197
- * Whether all group members are permitted to approve join group requests.
198
- * If `false`, member approval is limited to the admins.
206
+ * Whether group members can approve or reject requests to join a group. When `false`, only site admins and group admins can approve or reject requests to join a group.
207
+ *
208
+ * Default: `false`
199
209
  */
200
210
  membersCanApprove?: boolean | null;
201
211
  /**
202
- * __Deprecated.__ Use `welcomeMemberPostEnabled` instead.
203
- * This property will be removed on June 30, 2022.
204
- */
212
+ * @internal
213
+ * @internal */
205
214
  memberWelcomePostEnabled?: boolean | null;
206
- /** Whether a daily post about new members is enabled. */
215
+ /**
216
+ * Whether to create a daily group post welcoming new members.
217
+ *
218
+ * Default: `true`
219
+ */
207
220
  welcomeMemberPostEnabled?: boolean | null;
208
- /** Whether an automatic post about changing the group details is enabled. */
221
+ /**
222
+ * Whether to create an automatic group post when group details are changed.
223
+ *
224
+ * Default: `true`
225
+ */
209
226
  groupDetailsChangedPostEnabled?: boolean | null;
210
- /** Whether all members can see the full member list. */
227
+ /**
228
+ * Whether all group members can view the full list of group members.
229
+ *
230
+ * Default: `true`
231
+ */
211
232
  showMemberList?: boolean | null;
212
233
  }
213
234
  export interface Identity {
@@ -233,7 +254,7 @@ export declare enum RequestStatus {
233
254
  CANCELED = "CANCELED"
234
255
  }
235
256
  export interface RequestDetails {
236
- /** Reason the request has been rejected. */
257
+ /** Reason the request to create a group is rejected. */
237
258
  rejectionReason?: string | null;
238
259
  }
239
260
  export interface SubmitGroupRequestRequest {
@@ -245,7 +266,11 @@ export interface SubmitGroupRequestResponse {
245
266
  groupRequest?: GroupRequest;
246
267
  }
247
268
  export interface ApproveGroupRequestsRequest {
248
- /** Group Request IDs to approve. Limited to `100`. */
269
+ /**
270
+ * IDs of the requests create groups to approve.
271
+ *
272
+ * Max: 100 create group request IDs
273
+ */
249
274
  groupRequestIds?: string[];
250
275
  }
251
276
  export declare enum ItemsToUpdate {
@@ -255,7 +280,7 @@ export declare enum ItemsToUpdate {
255
280
  ALL_ITEMS = "ALL_ITEMS"
256
281
  }
257
282
  export interface ApproveGroupRequestsResponse {
258
- /** Approved Group Requests. */
283
+ /** Approved request to create a group. */
259
284
  groupRequest?: GroupRequest[];
260
285
  }
261
286
  export interface GroupRequestApproved {
@@ -267,9 +292,16 @@ export interface RejectGroupRequestsRequest {
267
292
  rejections?: Rejection[];
268
293
  }
269
294
  export interface Rejection {
270
- /** ID of the Group Request to reject. */
295
+ /**
296
+ * ID of the requests to create groups to reject.
297
+ *
298
+ */
271
299
  groupRequestId?: string;
272
- /** Rejection reason. Free text displayed to the creator of the rejected Group Request. Limited to 1,000 characters. */
300
+ /**
301
+ * Reason the request to create a group is rejected. This text is displayed to the creator of the rejected request.
302
+ *
303
+ * Max: 1,000 characters.
304
+ */
273
305
  reason?: string | null;
274
306
  }
275
307
  export interface RejectGroupRequestsResponse {
@@ -301,8 +333,9 @@ export declare enum OwnershipFilter {
301
333
  CURRENT_MEMBER = "CURRENT_MEMBER"
302
334
  }
303
335
  export interface ListGroupRequestsResponse {
304
- /** Group Requests. */
336
+ /** List of requests to create a group. */
305
337
  groupRequests?: GroupRequest[];
338
+ /** Paging information. */
306
339
  metadata?: PagingMetadata;
307
340
  }
308
341
  export interface PagingMetadata {
@@ -351,9 +384,16 @@ export declare enum SortOrder {
351
384
  DESC = "DESC"
352
385
  }
353
386
  export interface Paging {
354
- /** Number of items to load. */
387
+ /**
388
+ * Number of items to load.
389
+ *
390
+ * Max: `100`
391
+ */
355
392
  limit?: number | null;
356
- /** Number of items to skip in the current sort order. */
393
+ /**
394
+ * Number of items to skip in the current sort order.
395
+ *
396
+ */
357
397
  offset?: number | null;
358
398
  }
359
399
  export interface QueryGroupRequestsResponse {
@@ -362,9 +402,14 @@ export interface QueryGroupRequestsResponse {
362
402
  metadata?: PagingMetadata;
363
403
  }
364
404
  /**
365
- * Approves Group Requests.
366
- * Only admins can approve Group Requests.
367
- * @param groupRequestIds - Group Request IDs to approve. Limited to `100`.
405
+ * Approves requests to create a group.
406
+ *
407
+ * The `approveGroupRequests()` function returns a Promise that resolves when a site member's request to create a group is approved. Only site admins can approve requests to create a group. When the request is approved, the new group is added to the Groups List page of your site.
408
+ *
409
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
410
+ * @param groupRequestIds - IDs of the requests create groups to approve.
411
+ *
412
+ * Max: 100 create group request IDs
368
413
  * @public
369
414
  * @documentationMaturity preview
370
415
  * @requiredField groupRequestIds
@@ -373,8 +418,11 @@ export interface QueryGroupRequestsResponse {
373
418
  */
374
419
  export declare function approveGroupRequests(groupRequestIds: string[]): Promise<ApproveGroupRequestsResponse>;
375
420
  /**
376
- * Rejects Group Requests.
377
- * Only admins can reject Group Requests.
421
+ * Rejects a request to create a group.
422
+ *
423
+ * The `rejectGroupRequests()` function returns a Promise that resolves when a member's request to create a group is rejected. Only site admins can reject requests to create a group.
424
+ *
425
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
378
426
  * @param rejections - Rejection data.
379
427
  * @public
380
428
  * @documentationMaturity preview
@@ -384,27 +432,46 @@ export declare function approveGroupRequests(groupRequestIds: string[]): Promise
384
432
  */
385
433
  export declare function rejectGroupRequests(rejections: Rejection[]): Promise<RejectGroupRequestsResponse>;
386
434
  /**
387
- * Lists group requests across the site.
435
+ * Lists requests to create a group.
436
+ *
437
+ * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.
438
+ *
439
+ * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.
440
+ *
441
+ * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.
442
+ *
443
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
444
+ *
388
445
  * @public
389
446
  * @documentationMaturity preview
447
+ * @param options - Paging options.
390
448
  * @permissionScope Manage Social Groups
391
449
  * @applicableIdentity APP
392
450
  */
393
451
  export declare function listGroupRequests(options?: ListGroupRequestsOptions): Promise<ListGroupRequestsResponse>;
394
452
  export interface ListGroupRequestsOptions {
395
- /** Number of items to load. Maximum `100`. */
453
+ /**
454
+ * Number of items to load.
455
+ *
456
+ * Max: `100`
457
+ *
458
+ */
396
459
  limit?: number | null;
397
460
  /** Number of items to skip in the current sort order. */
398
461
  offset?: number | null;
399
462
  }
400
463
  /**
401
- * Retrieves a list of groups requests across the site.
464
+ * Creates a query to retrieve a list of create requests.
465
+ *
466
+ * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a [`GroupRequestsQueryBuilder`](#grouprequestsquerybuilder) object.
467
+ *
468
+ * The returned object contains the query definition which is typically used to run the query using the [`find()`](#grouprequestsquerybuilder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.
402
469
  *
403
- * Supported fields for filtering:
404
- * - `status`
470
+ * `queryGorupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:
471
+ * - [`limit(1000)`](#grouprequestsquerybuilder/limit)
472
+ * - [`descending('_createdDate')`](#grouprequestsquerybuilder/descending)
405
473
  *
406
- * Supported fields for sorting:
407
- * - `createdDate`
474
+ * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](#grouprequestsqueryresult/items) property in [`GroupRequestsQueryResult`](#grouprequestsqueryresult).
408
475
  * @public
409
476
  * @documentationMaturity preview
410
477
  * @permissionScope Manage Social Groups
@@ -119,9 +119,14 @@ const _queryGroupRequestsResponse = {};
119
119
  const _rejectGroupRequestsRequest = {};
120
120
  const _rejectGroupRequestsResponse = {};
121
121
  /**
122
- * Approves Group Requests.
123
- * Only admins can approve Group Requests.
124
- * @param groupRequestIds - Group Request IDs to approve. Limited to `100`.
122
+ * Approves requests to create a group.
123
+ *
124
+ * The `approveGroupRequests()` function returns a Promise that resolves when a site member's request to create a group is approved. Only site admins can approve requests to create a group. When the request is approved, the new group is added to the Groups List page of your site.
125
+ *
126
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
127
+ * @param groupRequestIds - IDs of the requests create groups to approve.
128
+ *
129
+ * Max: 100 create group request IDs
125
130
  * @public
126
131
  * @documentationMaturity preview
127
132
  * @requiredField groupRequestIds
@@ -173,8 +178,11 @@ function approveGroupRequests(groupRequestIds) {
173
178
  }
174
179
  exports.approveGroupRequests = approveGroupRequests;
175
180
  /**
176
- * Rejects Group Requests.
177
- * Only admins can reject Group Requests.
181
+ * Rejects a request to create a group.
182
+ *
183
+ * The `rejectGroupRequests()` function returns a Promise that resolves when a member's request to create a group is rejected. Only site admins can reject requests to create a group.
184
+ *
185
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
178
186
  * @param rejections - Rejection data.
179
187
  * @public
180
188
  * @documentationMaturity preview
@@ -227,9 +235,19 @@ function rejectGroupRequests(rejections) {
227
235
  }
228
236
  exports.rejectGroupRequests = rejectGroupRequests;
229
237
  /**
230
- * Lists group requests across the site.
238
+ * Lists requests to create a group.
239
+ *
240
+ * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.
241
+ *
242
+ * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.
243
+ *
244
+ * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.
245
+ *
246
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
247
+ *
231
248
  * @public
232
249
  * @documentationMaturity preview
250
+ * @param options - Paging options.
233
251
  * @permissionScope Manage Social Groups
234
252
  * @applicableIdentity APP
235
253
  */
@@ -278,13 +296,17 @@ function listGroupRequests(options) {
278
296
  }
279
297
  exports.listGroupRequests = listGroupRequests;
280
298
  /**
281
- * Retrieves a list of groups requests across the site.
299
+ * Creates a query to retrieve a list of create requests.
300
+ *
301
+ * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a [`GroupRequestsQueryBuilder`](#grouprequestsquerybuilder) object.
302
+ *
303
+ * The returned object contains the query definition which is typically used to run the query using the [`find()`](#grouprequestsquerybuilder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.
282
304
  *
283
- * Supported fields for filtering:
284
- * - `status`
305
+ * `queryGorupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:
306
+ * - [`limit(1000)`](#grouprequestsquerybuilder/limit)
307
+ * - [`descending('_createdDate')`](#grouprequestsquerybuilder/descending)
285
308
  *
286
- * Supported fields for sorting:
287
- * - `createdDate`
309
+ * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](#grouprequestsqueryresult/items) property in [`GroupRequestsQueryResult`](#grouprequestsqueryresult).
288
310
  * @public
289
311
  * @documentationMaturity preview
290
312
  * @permissionScope Manage Social Groups
@@ -1 +1 @@
1
- {"version":3,"file":"social-groups-v2-group-request.universal.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-request.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,+GAAiG;AACjG,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,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAiH5B,IAAY,IAKX;AALD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,yCAAiC,CAAA;IACjC,iCAAyB,CAAA;IACzB,yBAAiB,CAAA;AACnB,CAAC,EALW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAKf;AAsCD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,oDAAqC,CAAA;IACrC,8BAAe,CAAA;IACf,0CAA2B,CAAA;AAC7B,CAAC,EALW,WAAW,GAAX,mBAAW,KA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,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AA/DD,gDA+DC"}
1
+ {"version":3,"file":"social-groups-v2-group-request.universal.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-request.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,+GAAiG;AACjG,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,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAA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} from '@wix/sdk-types';
2
2
  import { ApproveGroupRequestsRequest, ApproveGroupRequestsResponse, ListGroupRequestsRequest, ListGroupRequestsResponse, QueryGroupRequestsRequest, QueryGroupRequestsResponse, RejectGroupRequestsRequest, RejectGroupRequestsResponse } from './social-groups-v2-group-request.types';
3
3
  /**
4
- * Approves Group Requests.
5
- * Only admins can approve Group Requests.
4
+ * Approves requests to create a group.
5
+ *
6
+ * The `approveGroupRequests()` function returns a Promise that resolves when a site member's request to create a group is approved. Only site admins can approve requests to create a group. When the request is approved, the new group is added to the Groups List page of your site.
7
+ *
8
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
6
9
  */
7
10
  export declare function approveGroupRequests(payload: ApproveGroupRequestsRequest): RequestOptionsFactory<ApproveGroupRequestsResponse>;
8
11
  /**
9
- * Rejects Group Requests.
10
- * Only admins can reject Group Requests.
12
+ * Rejects a request to create a group.
13
+ *
14
+ * The `rejectGroupRequests()` function returns a Promise that resolves when a member's request to create a group is rejected. Only site admins can reject requests to create a group.
15
+ *
16
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
11
17
  */
12
18
  export declare function rejectGroupRequests(payload: RejectGroupRequestsRequest): RequestOptionsFactory<RejectGroupRequestsResponse>;
13
- /** Lists group requests across the site. */
19
+ /**
20
+ * Lists requests to create a group.
21
+ *
22
+ * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.
23
+ *
24
+ * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.
25
+ *
26
+ * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.
27
+ *
28
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
29
+ *
30
+ */
14
31
  export declare function listGroupRequests(payload: ListGroupRequestsRequest): RequestOptionsFactory<ListGroupRequestsResponse>;
15
32
  /**
16
- * Retrieves a list of groups requests across the site.
33
+ * Creates a query to retrieve a list of create requests.
34
+ *
35
+ * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a [`GroupRequestsQueryBuilder`](#grouprequestsquerybuilder) object.
36
+ *
37
+ * The returned object contains the query definition which is typically used to run the query using the [`find()`](#grouprequestsquerybuilder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.
17
38
  *
18
- * Supported fields for filtering:
19
- * - `status`
39
+ * `queryGorupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:
40
+ * - [`limit(1000)`](#grouprequestsquerybuilder/limit)
41
+ * - [`descending('_createdDate')`](#grouprequestsquerybuilder/descending)
20
42
  *
21
- * Supported fields for sorting:
22
- * - `createdDate`
43
+ * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](#grouprequestsqueryresult/items) property in [`GroupRequestsQueryResult`](#grouprequestsqueryresult).
23
44
  */
24
45
  export declare function queryGroupRequests(payload: QueryGroupRequestsRequest): RequestOptionsFactory<QueryGroupRequestsResponse>;
@@ -191,8 +191,11 @@ function resolveWixSocialGroupsApiV2GroupRequestsServiceUrl(opts) {
191
191
  return resolveUrl(Object.assign(opts, { domainToMappings }));
192
192
  }
193
193
  /**
194
- * Approves Group Requests.
195
- * Only admins can approve Group Requests.
194
+ * Approves requests to create a group.
195
+ *
196
+ * The `approveGroupRequests()` function returns a Promise that resolves when a site member's request to create a group is approved. Only site admins can approve requests to create a group. When the request is approved, the new group is added to the Groups List page of your site.
197
+ *
198
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
196
199
  */
197
200
  export function approveGroupRequests(payload) {
198
201
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_approveGroupRequestsRequest, {});
@@ -224,8 +227,11 @@ export function approveGroupRequests(payload) {
224
227
  return __approveGroupRequests;
225
228
  }
226
229
  /**
227
- * Rejects Group Requests.
228
- * Only admins can reject Group Requests.
230
+ * Rejects a request to create a group.
231
+ *
232
+ * The `rejectGroupRequests()` function returns a Promise that resolves when a member's request to create a group is rejected. Only site admins can reject requests to create a group.
233
+ *
234
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
229
235
  */
230
236
  export function rejectGroupRequests(payload) {
231
237
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_rejectGroupRequestsRequest, {});
@@ -256,7 +262,18 @@ export function rejectGroupRequests(payload) {
256
262
  __rejectGroupRequests.fromReq = fromReq;
257
263
  return __rejectGroupRequests;
258
264
  }
259
- /** Lists group requests across the site. */
265
+ /**
266
+ * Lists requests to create a group.
267
+ *
268
+ * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.
269
+ *
270
+ * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.
271
+ *
272
+ * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.
273
+ *
274
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
275
+ *
276
+ */
260
277
  export function listGroupRequests(payload) {
261
278
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_listGroupRequestsRequest, {});
262
279
  const { fromJSON: fromRes } = serializer(_listGroupRequestsResponse, {
@@ -287,13 +304,17 @@ export function listGroupRequests(payload) {
287
304
  return __listGroupRequests;
288
305
  }
289
306
  /**
290
- * Retrieves a list of groups requests across the site.
307
+ * Creates a query to retrieve a list of create requests.
308
+ *
309
+ * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a [`GroupRequestsQueryBuilder`](#grouprequestsquerybuilder) object.
310
+ *
311
+ * The returned object contains the query definition which is typically used to run the query using the [`find()`](#grouprequestsquerybuilder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.
291
312
  *
292
- * Supported fields for filtering:
293
- * - `status`
313
+ * `queryGorupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:
314
+ * - [`limit(1000)`](#grouprequestsquerybuilder/limit)
315
+ * - [`descending('_createdDate')`](#grouprequestsquerybuilder/descending)
294
316
  *
295
- * Supported fields for sorting:
296
- * - `createdDate`
317
+ * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](#grouprequestsqueryresult/items) property in [`GroupRequestsQueryResult`](#grouprequestsqueryresult).
297
318
  */
298
319
  export function queryGroupRequests(payload) {
299
320
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_queryGroupRequestsRequest, {});
@@ -1 +1 @@
1
- {"version":3,"file":"social-groups-v2-group-request.http.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-request.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAchD,MAAM,4BAA4B,GAAG,EAAE,CAAC;AACxC,MAAM,6BAA6B,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AACxE,MAAM,WAAW,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AAC3E,MAAM,MAAM,GAAG;IACb,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,kBAAkB,EAAE,2BAA2B;IAC/C,gBAAgB,EAAE,2BAA2B;IAC7C,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,aAAa;CAC1B,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,YAAY,EAAE,uBAAuB;IACrC,kBAAkB,EAAE,uBAAuB;CAC5C,CAAC;AACF,MAAM,qBAAqB,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC;AACzD,MAAM,aAAa,GAAG,EAAE,KAAK,EAAE,QAA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rC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,oBAAoB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEvC,OAAO,oBAAoB,CAAC;AAC9B,CAAC"}
1
+ {"version":3,"file":"social-groups-v2-group-request.http.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-request.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAchD,MAAM,4BAA4B,GAAG,EAAE,CAAC;AACxC,MAAM,6BAA6B,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AACxE,MAAM,WAAW,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AAC3E,MAAM,MAAM,GAAG;IACb,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,kBAAkB,EAAE,2BAA2B;IAC/C,gBAAgB,EAAE,2BAA2B;IAC7C,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,aAAa;CAC1B,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,YAAY,EAAE,uBAAuB;IACrC,kBAAkB,EAAE,uBAAuB;CAC5C,CAAC;AACF,MAAM,qBAAqB,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC;AACzD,MAAM,aAAa,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AAC1C,MAAM,yBAAyB,GAAG,EAAE,CAAC;AACrC,MAAM,0BAA0B,GAAG,EAAE,aAAa,EAAE,eAAe,EAAE,CAAC;AACtE,MAAM,SAAS,GAAG,EA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,CAAC;IAClB,CAAC;IAED,oBAAoB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEvC,OAAO,oBAAoB,CAAC;AAC9B,CAAC"}
@@ -14,21 +14,21 @@ export declare const __debug: {
14
14
  */
15
15
  export interface GroupRequest {
16
16
  /**
17
- * Group request ID
17
+ * ID of the request to create a group. Same as group ID.
18
18
  * @readonly
19
19
  */
20
20
  _id?: string | null;
21
- /** Group requested for creation. */
21
+ /** Group requested to create. */
22
22
  group?: Group;
23
23
  /**
24
- * Status of group request.
25
- * - `PENDING` - Pending group request.
26
- * - `APPROVED` - Approved group request.
27
- * - `REJECTED` - Rejected group request.
28
- * - `CANCELED` - Canceled group request.
24
+ * Status of the request to create a group. One of:
25
+ * - `"PENDING"` - Pending group request.
26
+ * - `"APPROVED"` - Approved group request.
27
+ * - `"REJECTED"` - Rejected group request.
28
+ * - `"CANCELED"` - Canceled group request.
29
29
  */
30
30
  status?: RequestStatus;
31
- /** Group request details. */
31
+ /** Details of request to create a group. */
32
32
  requestDetails?: RequestDetails;
33
33
  }
34
34
  export interface Group {
@@ -37,78 +37,86 @@ export interface Group {
37
37
  * @readonly
38
38
  */
39
39
  _id?: string | null;
40
- /** A unique part of a group's URL, for example `https:/example.com/groups/slug`. */
41
- slug?: string | null;
42
40
  /**
43
- * __Deprecated.__ Use `privacyStatus` instead.
44
- * This property will be removed on June 30, 2022.
41
+ * Part of a group's URL.
42
+ *
43
+ * For example, `'https:/example.com/groups/{my-group-slug}'`. Generally based on the group name, but for secret groups it is an autogenerated string of characters, for example, `'https:/example.com/groups/{5D3yTX}'`. It is case-sensitive.
45
44
  */
45
+ slug?: string | null;
46
+ /**
47
+ * @internal
48
+ * @internal */
46
49
  privacyLevel?: PrivacyStatus;
47
50
  /**
48
51
  * Group privacy status.
49
- * - `PUBLIC` - Anyone can see the group and its content. Anyone can join the group.
50
- * - `PRIVATE` - Anyone can see the group, but only members can see its content. New member must submit a `Join Group Request`.
51
- * - `SECRET` - Only admins and members can see the group. New members can only be added by other members.
52
+ * - `"PUBLIC"` - Site visitors can see the group and its content in the list of groups. Members can join the group.
53
+ * - `"PRIVATE"` - Site visitors can see the group in the list of groups, but only site members can see its content. Members can request to join the group.
54
+ * - `"SECRET"` - Only admins and group members can see the group and its content in the list of groups. Members can only join a group if invited by group admins, or other group members.
52
55
  */
53
56
  privacyStatus?: PrivacyStatus;
54
57
  /**
55
- * __Deprecated.__ Use `name` instead.
56
- * This property will be removed on June 30, 2022.
57
- */
58
+ * @interal
59
+ * @interal */
58
60
  title?: string | null;
59
61
  /** Group name. */
60
62
  name?: string | null;
61
- /** Group description in DraftJS format. */
63
+ /** Group Description. */
62
64
  description?: string | null;
63
65
  /** Group teaser. */
64
66
  teaser?: string | null;
65
67
  /**
66
- * __Deprecated.__
67
- * For `details.logo`, use `coverImage` instead.
68
- * For `details.membersTitle`, `memberTitle` instead.
69
- * This property will be removed on June 30, 2022.
70
- */
68
+ * @internal
69
+ * @internal */
71
70
  details?: GroupDetails;
72
- /** What group members are called, for example `Coworkers`, `Friends`, or `Students`. */
71
+ /**
72
+ * What group members are called.
73
+ *
74
+ * For example, 'Coworkers', 'Friends', or 'Students'.
75
+ */
73
76
  memberTitle?: string | null;
74
- /** Cover image. You cannot upload your own cover image. */
77
+ /**
78
+ * Group cover image. You cannot upload your own cover image.
79
+ *
80
+ */
75
81
  coverImage?: CoverImage;
76
- /** Group specific settings. Available to the site owners under `Admin Tools` in the Business Manager. */
82
+ /** Group settings. */
77
83
  settings?: GroupSettings;
78
84
  /**
79
- * Total count of current group members.
85
+ * Total number of members in the group.
80
86
  * @readonly
81
87
  */
82
88
  membersCount?: number | null;
83
89
  /**
84
- * __Deprecated.__ Use `ownerId` instead.
85
- * This property will be removed on June 30, 2022.
90
+ * @internal
91
+ * @internal
86
92
  * @readonly
87
93
  */
88
94
  createdBy?: Identity;
89
95
  /**
90
- * Group owner.
96
+ * Member ID of the group creator.
91
97
  * @readonly
92
98
  */
93
99
  ownerId?: string | null;
94
100
  /**
95
- * Group creation date and time.
101
+ * Date and time the group was created.
96
102
  * @readonly
97
103
  */
98
104
  _createdDate?: Date;
99
105
  /**
100
- * Date and time of the latest group update.
106
+ * Date and time the group was last updated.
101
107
  * @readonly
102
108
  */
103
109
  _updatedDate?: Date;
104
110
  /**
105
- * __Deprecated.__ Use `lastActivityDate` instead.
106
- * This property will be removed on June 30, 2022.
111
+ * @internal
112
+ * @internal
107
113
  * @readonly
108
114
  */
109
115
  recentActivityDate?: Date;
110
116
  /**
111
- * Date and time of the most recent group activity, for example a post or comment.
117
+ * Date and time the group was last active.
118
+ *
119
+ * For example, a post or comment made in the group.
112
120
  * @readonly
113
121
  */
114
122
  lastActivityDate?: Date;
@@ -189,25 +197,38 @@ export interface CoverImage {
189
197
  }
190
198
  export interface GroupSettings {
191
199
  /**
192
- * Whether regular members are permitted to invite new members.
193
- * If `false`, only admins can invite members. Defaults to `true`.
200
+ * Whether group members can send an email inviting others to join the group. When `false`, only site admins and group admins can invite others to join the group.
201
+ *
202
+ * Default: `false`
194
203
  */
195
204
  membersCanInvite?: boolean | null;
196
205
  /**
197
- * Whether all group members are permitted to approve join group requests.
198
- * If `false`, member approval is limited to the admins.
206
+ * Whether group members can approve or reject requests to join a group. When `false`, only site admins and group admins can approve or reject requests to join a group.
207
+ *
208
+ * Default: `false`
199
209
  */
200
210
  membersCanApprove?: boolean | null;
201
211
  /**
202
- * __Deprecated.__ Use `welcomeMemberPostEnabled` instead.
203
- * This property will be removed on June 30, 2022.
204
- */
212
+ * @internal
213
+ * @internal */
205
214
  memberWelcomePostEnabled?: boolean | null;
206
- /** Whether a daily post about new members is enabled. */
215
+ /**
216
+ * Whether to create a daily group post welcoming new members.
217
+ *
218
+ * Default: `true`
219
+ */
207
220
  welcomeMemberPostEnabled?: boolean | null;
208
- /** Whether an automatic post about changing the group details is enabled. */
221
+ /**
222
+ * Whether to create an automatic group post when group details are changed.
223
+ *
224
+ * Default: `true`
225
+ */
209
226
  groupDetailsChangedPostEnabled?: boolean | null;
210
- /** Whether all members can see the full member list. */
227
+ /**
228
+ * Whether all group members can view the full list of group members.
229
+ *
230
+ * Default: `true`
231
+ */
211
232
  showMemberList?: boolean | null;
212
233
  }
213
234
  export interface Identity {
@@ -233,7 +254,7 @@ export declare enum RequestStatus {
233
254
  CANCELED = "CANCELED"
234
255
  }
235
256
  export interface RequestDetails {
236
- /** Reason the request has been rejected. */
257
+ /** Reason the request to create a group is rejected. */
237
258
  rejectionReason?: string | null;
238
259
  }
239
260
  export interface SubmitGroupRequestRequest {
@@ -245,7 +266,11 @@ export interface SubmitGroupRequestResponse {
245
266
  groupRequest?: GroupRequest;
246
267
  }
247
268
  export interface ApproveGroupRequestsRequest {
248
- /** Group Request IDs to approve. Limited to `100`. */
269
+ /**
270
+ * IDs of the requests create groups to approve.
271
+ *
272
+ * Max: 100 create group request IDs
273
+ */
249
274
  groupRequestIds?: string[];
250
275
  }
251
276
  export declare enum ItemsToUpdate {
@@ -255,7 +280,7 @@ export declare enum ItemsToUpdate {
255
280
  ALL_ITEMS = "ALL_ITEMS"
256
281
  }
257
282
  export interface ApproveGroupRequestsResponse {
258
- /** Approved Group Requests. */
283
+ /** Approved request to create a group. */
259
284
  groupRequest?: GroupRequest[];
260
285
  }
261
286
  export interface GroupRequestApproved {
@@ -267,9 +292,16 @@ export interface RejectGroupRequestsRequest {
267
292
  rejections?: Rejection[];
268
293
  }
269
294
  export interface Rejection {
270
- /** ID of the Group Request to reject. */
295
+ /**
296
+ * ID of the requests to create groups to reject.
297
+ *
298
+ */
271
299
  groupRequestId?: string;
272
- /** Rejection reason. Free text displayed to the creator of the rejected Group Request. Limited to 1,000 characters. */
300
+ /**
301
+ * Reason the request to create a group is rejected. This text is displayed to the creator of the rejected request.
302
+ *
303
+ * Max: 1,000 characters.
304
+ */
273
305
  reason?: string | null;
274
306
  }
275
307
  export interface RejectGroupRequestsResponse {
@@ -301,8 +333,9 @@ export declare enum OwnershipFilter {
301
333
  CURRENT_MEMBER = "CURRENT_MEMBER"
302
334
  }
303
335
  export interface ListGroupRequestsResponse {
304
- /** Group Requests. */
336
+ /** List of requests to create a group. */
305
337
  groupRequests?: GroupRequest[];
338
+ /** Paging information. */
306
339
  metadata?: PagingMetadata;
307
340
  }
308
341
  export interface PagingMetadata {
@@ -351,9 +384,16 @@ export declare enum SortOrder {
351
384
  DESC = "DESC"
352
385
  }
353
386
  export interface Paging {
354
- /** Number of items to load. */
387
+ /**
388
+ * Number of items to load.
389
+ *
390
+ * Max: `100`
391
+ */
355
392
  limit?: number | null;
356
- /** Number of items to skip in the current sort order. */
393
+ /**
394
+ * Number of items to skip in the current sort order.
395
+ *
396
+ */
357
397
  offset?: number | null;
358
398
  }
359
399
  export interface QueryGroupRequestsResponse {
@@ -362,9 +402,14 @@ export interface QueryGroupRequestsResponse {
362
402
  metadata?: PagingMetadata;
363
403
  }
364
404
  /**
365
- * Approves Group Requests.
366
- * Only admins can approve Group Requests.
367
- * @param groupRequestIds - Group Request IDs to approve. Limited to `100`.
405
+ * Approves requests to create a group.
406
+ *
407
+ * The `approveGroupRequests()` function returns a Promise that resolves when a site member's request to create a group is approved. Only site admins can approve requests to create a group. When the request is approved, the new group is added to the Groups List page of your site.
408
+ *
409
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
410
+ * @param groupRequestIds - IDs of the requests create groups to approve.
411
+ *
412
+ * Max: 100 create group request IDs
368
413
  * @public
369
414
  * @documentationMaturity preview
370
415
  * @requiredField groupRequestIds
@@ -373,8 +418,11 @@ export interface QueryGroupRequestsResponse {
373
418
  */
374
419
  export declare function approveGroupRequests(groupRequestIds: string[]): Promise<ApproveGroupRequestsResponse>;
375
420
  /**
376
- * Rejects Group Requests.
377
- * Only admins can reject Group Requests.
421
+ * Rejects a request to create a group.
422
+ *
423
+ * The `rejectGroupRequests()` function returns a Promise that resolves when a member's request to create a group is rejected. Only site admins can reject requests to create a group.
424
+ *
425
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
378
426
  * @param rejections - Rejection data.
379
427
  * @public
380
428
  * @documentationMaturity preview
@@ -384,27 +432,46 @@ export declare function approveGroupRequests(groupRequestIds: string[]): Promise
384
432
  */
385
433
  export declare function rejectGroupRequests(rejections: Rejection[]): Promise<RejectGroupRequestsResponse>;
386
434
  /**
387
- * Lists group requests across the site.
435
+ * Lists requests to create a group.
436
+ *
437
+ * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.
438
+ *
439
+ * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.
440
+ *
441
+ * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.
442
+ *
443
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
444
+ *
388
445
  * @public
389
446
  * @documentationMaturity preview
447
+ * @param options - Paging options.
390
448
  * @permissionScope Manage Social Groups
391
449
  * @applicableIdentity APP
392
450
  */
393
451
  export declare function listGroupRequests(options?: ListGroupRequestsOptions): Promise<ListGroupRequestsResponse>;
394
452
  export interface ListGroupRequestsOptions {
395
- /** Number of items to load. Maximum `100`. */
453
+ /**
454
+ * Number of items to load.
455
+ *
456
+ * Max: `100`
457
+ *
458
+ */
396
459
  limit?: number | null;
397
460
  /** Number of items to skip in the current sort order. */
398
461
  offset?: number | null;
399
462
  }
400
463
  /**
401
- * Retrieves a list of groups requests across the site.
464
+ * Creates a query to retrieve a list of create requests.
465
+ *
466
+ * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a [`GroupRequestsQueryBuilder`](#grouprequestsquerybuilder) object.
467
+ *
468
+ * The returned object contains the query definition which is typically used to run the query using the [`find()`](#grouprequestsquerybuilder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.
402
469
  *
403
- * Supported fields for filtering:
404
- * - `status`
470
+ * `queryGorupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:
471
+ * - [`limit(1000)`](#grouprequestsquerybuilder/limit)
472
+ * - [`descending('_createdDate')`](#grouprequestsquerybuilder/descending)
405
473
  *
406
- * Supported fields for sorting:
407
- * - `createdDate`
474
+ * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](#grouprequestsqueryresult/items) property in [`GroupRequestsQueryResult`](#grouprequestsqueryresult).
408
475
  * @public
409
476
  * @documentationMaturity preview
410
477
  * @permissionScope Manage Social Groups
@@ -97,9 +97,14 @@ const _queryGroupRequestsResponse = {};
97
97
  const _rejectGroupRequestsRequest = {};
98
98
  const _rejectGroupRequestsResponse = {};
99
99
  /**
100
- * Approves Group Requests.
101
- * Only admins can approve Group Requests.
102
- * @param groupRequestIds - Group Request IDs to approve. Limited to `100`.
100
+ * Approves requests to create a group.
101
+ *
102
+ * The `approveGroupRequests()` function returns a Promise that resolves when a site member's request to create a group is approved. Only site admins can approve requests to create a group. When the request is approved, the new group is added to the Groups List page of your site.
103
+ *
104
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
105
+ * @param groupRequestIds - IDs of the requests create groups to approve.
106
+ *
107
+ * Max: 100 create group request IDs
103
108
  * @public
104
109
  * @documentationMaturity preview
105
110
  * @requiredField groupRequestIds
@@ -150,8 +155,11 @@ export function approveGroupRequests(groupRequestIds) {
150
155
  });
151
156
  }
152
157
  /**
153
- * Rejects Group Requests.
154
- * Only admins can reject Group Requests.
158
+ * Rejects a request to create a group.
159
+ *
160
+ * The `rejectGroupRequests()` function returns a Promise that resolves when a member's request to create a group is rejected. Only site admins can reject requests to create a group.
161
+ *
162
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
155
163
  * @param rejections - Rejection data.
156
164
  * @public
157
165
  * @documentationMaturity preview
@@ -203,9 +211,19 @@ export function rejectGroupRequests(rejections) {
203
211
  });
204
212
  }
205
213
  /**
206
- * Lists group requests across the site.
214
+ * Lists requests to create a group.
215
+ *
216
+ * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.
217
+ *
218
+ * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.
219
+ *
220
+ * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.
221
+ *
222
+ * >**Note:** This function is only relevant if admin approval is required for creating a group.
223
+ *
207
224
  * @public
208
225
  * @documentationMaturity preview
226
+ * @param options - Paging options.
209
227
  * @permissionScope Manage Social Groups
210
228
  * @applicableIdentity APP
211
229
  */
@@ -253,13 +271,17 @@ export function listGroupRequests(options) {
253
271
  });
254
272
  }
255
273
  /**
256
- * Retrieves a list of groups requests across the site.
274
+ * Creates a query to retrieve a list of create requests.
275
+ *
276
+ * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a [`GroupRequestsQueryBuilder`](#grouprequestsquerybuilder) object.
277
+ *
278
+ * The returned object contains the query definition which is typically used to run the query using the [`find()`](#grouprequestsquerybuilder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.
257
279
  *
258
- * Supported fields for filtering:
259
- * - `status`
280
+ * `queryGorupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:
281
+ * - [`limit(1000)`](#grouprequestsquerybuilder/limit)
282
+ * - [`descending('_createdDate')`](#grouprequestsquerybuilder/descending)
260
283
  *
261
- * Supported fields for sorting:
262
- * - `createdDate`
284
+ * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](#grouprequestsqueryresult/items) property in [`GroupRequestsQueryResult`](#grouprequestsqueryresult).
263
285
  * @public
264
286
  * @documentationMaturity preview
265
287
  * @permissionScope Manage Social Groups
@@ -1 +1 @@
1
- {"version":3,"file":"social-groups-v2-group-request.universal.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-request.universal.ts"],"names":[],"mappings":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Q,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
1
+ {"version":3,"file":"social-groups-v2-group-request.universal.js","sourceRoot":"","sources":["../../../src/social-groups-v2-group-request.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,uCAAuC,MAAM,uCAAuC,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;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,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAyH5B,MAAM,CAAN,IAAY,IAKX;AALD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,yCAAiC,CAAA;IACjC,iCAAyB,CAAA;IACzB,yB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AAO,CAAC,CAAC;gBACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/groups",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "4a1b1d65e93669bbb3b80453c384803b2eac406be8f03dd6d077e31f"
36
+ "falconPackageHash": "7c41ba672de59f34c8d8fc8e0af8cf569aa4b620e3c5b3c94ab1846b"
37
37
  }