@wix/members 1.0.89 → 1.0.91
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/context.d.ts +6 -0
- package/build/cjs/context.js +7 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +6 -0
- package/build/cjs/index.js +7 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +6 -0
- package/build/cjs/meta.js +7 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +6 -0
- package/build/es/context.js +6 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +6 -0
- package/build/es/index.js +6 -0
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +6 -0
- package/build/es/meta.js +6 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +11 -6
- package/type-bundles/context.bundle.d.ts +4268 -626
- package/type-bundles/index.bundle.d.ts +3776 -1886
- package/type-bundles/meta.bundle.d.ts +2382 -1134
|
@@ -72,9 +72,9 @@ interface ListBadgesRequest$1 {
|
|
|
72
72
|
* Pagination options. For more information, see
|
|
73
73
|
* [API Query Language: The Paging Section](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-paging-section).
|
|
74
74
|
*/
|
|
75
|
-
paging?: Paging$
|
|
75
|
+
paging?: Paging$7;
|
|
76
76
|
}
|
|
77
|
-
interface Paging$
|
|
77
|
+
interface Paging$7 {
|
|
78
78
|
/** Number of items to load. */
|
|
79
79
|
limit?: number | null;
|
|
80
80
|
/** Number of items to skip in the current sort order. */
|
|
@@ -84,9 +84,9 @@ interface ListBadgesResponse$1 {
|
|
|
84
84
|
/** List of badges. */
|
|
85
85
|
badges?: Badge$1[];
|
|
86
86
|
/** Metadata for the paginated results. */
|
|
87
|
-
metadata?: PagingMetadata$
|
|
87
|
+
metadata?: PagingMetadata$7;
|
|
88
88
|
}
|
|
89
|
-
interface PagingMetadata$
|
|
89
|
+
interface PagingMetadata$7 {
|
|
90
90
|
/** Number of items returned in the response. */
|
|
91
91
|
count?: number | null;
|
|
92
92
|
/** Offset that was requested. */
|
|
@@ -135,13 +135,13 @@ interface ListMembersRequest$3 {
|
|
|
135
135
|
* Pagination options. For more information, see
|
|
136
136
|
* [API Query Language: The Paging Section](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-paging-section).
|
|
137
137
|
*/
|
|
138
|
-
paging?: Paging$
|
|
138
|
+
paging?: Paging$7;
|
|
139
139
|
}
|
|
140
140
|
interface ListMembersResponse$3 {
|
|
141
141
|
/** Member IDs assigned to the badge. */
|
|
142
142
|
memberIds?: string[];
|
|
143
143
|
/** Metadata for the paginated results. */
|
|
144
|
-
metadata?: PagingMetadata$
|
|
144
|
+
metadata?: PagingMetadata$7;
|
|
145
145
|
}
|
|
146
146
|
interface ListMembersBadgeIdsRequest$1 {
|
|
147
147
|
/** List of members. */
|
|
@@ -177,25 +177,20 @@ interface UpdateBadgesDisplayOrderResponse$1 {
|
|
|
177
177
|
/** Reordered badges list. */
|
|
178
178
|
badges?: Badge$1[];
|
|
179
179
|
}
|
|
180
|
+
interface BadgeNonNullableFields$1 {
|
|
181
|
+
id: string;
|
|
182
|
+
}
|
|
180
183
|
interface CreateBadgeResponseNonNullableFields$1 {
|
|
181
|
-
badge?:
|
|
182
|
-
id: string;
|
|
183
|
-
};
|
|
184
|
+
badge?: BadgeNonNullableFields$1;
|
|
184
185
|
}
|
|
185
186
|
interface UpdateBadgeResponseNonNullableFields$1 {
|
|
186
|
-
badge?:
|
|
187
|
-
id: string;
|
|
188
|
-
};
|
|
187
|
+
badge?: BadgeNonNullableFields$1;
|
|
189
188
|
}
|
|
190
189
|
interface ListBadgesResponseNonNullableFields$1 {
|
|
191
|
-
badges:
|
|
192
|
-
id: string;
|
|
193
|
-
}[];
|
|
190
|
+
badges: BadgeNonNullableFields$1[];
|
|
194
191
|
}
|
|
195
192
|
interface GetBadgeResponseNonNullableFields$1 {
|
|
196
|
-
badge?:
|
|
197
|
-
id: string;
|
|
198
|
-
};
|
|
193
|
+
badge?: BadgeNonNullableFields$1;
|
|
199
194
|
}
|
|
200
195
|
interface AssignBadgeResponseNonNullableFields$1 {
|
|
201
196
|
memberIds: string[];
|
|
@@ -203,22 +198,22 @@ interface AssignBadgeResponseNonNullableFields$1 {
|
|
|
203
198
|
interface ListMembersResponseNonNullableFields$3 {
|
|
204
199
|
memberIds: string[];
|
|
205
200
|
}
|
|
201
|
+
interface MemberBadgeIdsNonNullableFields$1 {
|
|
202
|
+
memberId: string;
|
|
203
|
+
badgeIds: string[];
|
|
204
|
+
}
|
|
206
205
|
interface ListMembersBadgeIdsResponseNonNullableFields$1 {
|
|
207
|
-
memberBadgeIds:
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
206
|
+
memberBadgeIds: MemberBadgeIdsNonNullableFields$1[];
|
|
207
|
+
}
|
|
208
|
+
interface BadgeMemberCountNonNullableFields$1 {
|
|
209
|
+
badgeId: string;
|
|
210
|
+
memberCount: number;
|
|
211
211
|
}
|
|
212
212
|
interface GetMemberCountsPerBadgeResponseNonNullableFields$1 {
|
|
213
|
-
badgeMemberCounts:
|
|
214
|
-
badgeId: string;
|
|
215
|
-
memberCount: number;
|
|
216
|
-
}[];
|
|
213
|
+
badgeMemberCounts: BadgeMemberCountNonNullableFields$1[];
|
|
217
214
|
}
|
|
218
215
|
interface UpdateBadgesDisplayOrderResponseNonNullableFields$1 {
|
|
219
|
-
badges:
|
|
220
|
-
id: string;
|
|
221
|
-
}[];
|
|
216
|
+
badges: BadgeNonNullableFields$1[];
|
|
222
217
|
}
|
|
223
218
|
|
|
224
219
|
interface Badge {
|
|
@@ -294,9 +289,9 @@ interface UpdateBadgeResponse {
|
|
|
294
289
|
}
|
|
295
290
|
interface ListBadgesRequest {
|
|
296
291
|
/** Pagination options. */
|
|
297
|
-
paging?: Paging$
|
|
292
|
+
paging?: Paging$6;
|
|
298
293
|
}
|
|
299
|
-
interface Paging$
|
|
294
|
+
interface Paging$6 {
|
|
300
295
|
/** Number of items to load. */
|
|
301
296
|
limit?: number | null;
|
|
302
297
|
/** Number of items to skip in the current sort order. */
|
|
@@ -306,9 +301,9 @@ interface ListBadgesResponse {
|
|
|
306
301
|
/** List of badges. */
|
|
307
302
|
badges?: Badge[];
|
|
308
303
|
/** Metadata for the paginated results. */
|
|
309
|
-
metadata?: PagingMetadata$
|
|
304
|
+
metadata?: PagingMetadata$6;
|
|
310
305
|
}
|
|
311
|
-
interface PagingMetadata$
|
|
306
|
+
interface PagingMetadata$6 {
|
|
312
307
|
/** Number of items returned in the response. */
|
|
313
308
|
count?: number | null;
|
|
314
309
|
/** Offset that was requested. */
|
|
@@ -354,13 +349,13 @@ interface ListMembersRequest$2 {
|
|
|
354
349
|
/** Badge ID. */
|
|
355
350
|
_id: string;
|
|
356
351
|
/** Pagination options. */
|
|
357
|
-
paging?: Paging$
|
|
352
|
+
paging?: Paging$6;
|
|
358
353
|
}
|
|
359
354
|
interface ListMembersResponse$2 {
|
|
360
355
|
/** Member IDs assigned to the badge. */
|
|
361
356
|
memberIds?: string[];
|
|
362
357
|
/** Metadata for the paginated results. */
|
|
363
|
-
metadata?: PagingMetadata$
|
|
358
|
+
metadata?: PagingMetadata$6;
|
|
364
359
|
}
|
|
365
360
|
interface ListMembersBadgeIdsRequest {
|
|
366
361
|
/** List of members. */
|
|
@@ -396,25 +391,20 @@ interface UpdateBadgesDisplayOrderResponse {
|
|
|
396
391
|
/** Reordered badges list. */
|
|
397
392
|
badges?: Badge[];
|
|
398
393
|
}
|
|
394
|
+
interface BadgeNonNullableFields {
|
|
395
|
+
_id: string;
|
|
396
|
+
}
|
|
399
397
|
interface CreateBadgeResponseNonNullableFields {
|
|
400
|
-
badge?:
|
|
401
|
-
_id: string;
|
|
402
|
-
};
|
|
398
|
+
badge?: BadgeNonNullableFields;
|
|
403
399
|
}
|
|
404
400
|
interface UpdateBadgeResponseNonNullableFields {
|
|
405
|
-
badge?:
|
|
406
|
-
_id: string;
|
|
407
|
-
};
|
|
401
|
+
badge?: BadgeNonNullableFields;
|
|
408
402
|
}
|
|
409
403
|
interface ListBadgesResponseNonNullableFields {
|
|
410
|
-
badges:
|
|
411
|
-
_id: string;
|
|
412
|
-
}[];
|
|
404
|
+
badges: BadgeNonNullableFields[];
|
|
413
405
|
}
|
|
414
406
|
interface GetBadgeResponseNonNullableFields {
|
|
415
|
-
badge?:
|
|
416
|
-
_id: string;
|
|
417
|
-
};
|
|
407
|
+
badge?: BadgeNonNullableFields;
|
|
418
408
|
}
|
|
419
409
|
interface AssignBadgeResponseNonNullableFields {
|
|
420
410
|
memberIds: string[];
|
|
@@ -422,25 +412,25 @@ interface AssignBadgeResponseNonNullableFields {
|
|
|
422
412
|
interface ListMembersResponseNonNullableFields$2 {
|
|
423
413
|
memberIds: string[];
|
|
424
414
|
}
|
|
415
|
+
interface MemberBadgeIdsNonNullableFields {
|
|
416
|
+
memberId: string;
|
|
417
|
+
badgeIds: string[];
|
|
418
|
+
}
|
|
425
419
|
interface ListMembersBadgeIdsResponseNonNullableFields {
|
|
426
|
-
memberBadgeIds:
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
420
|
+
memberBadgeIds: MemberBadgeIdsNonNullableFields[];
|
|
421
|
+
}
|
|
422
|
+
interface BadgeMemberCountNonNullableFields {
|
|
423
|
+
badgeId: string;
|
|
424
|
+
memberCount: number;
|
|
430
425
|
}
|
|
431
426
|
interface GetMemberCountsPerBadgeResponseNonNullableFields {
|
|
432
|
-
badgeMemberCounts:
|
|
433
|
-
badgeId: string;
|
|
434
|
-
memberCount: number;
|
|
435
|
-
}[];
|
|
427
|
+
badgeMemberCounts: BadgeMemberCountNonNullableFields[];
|
|
436
428
|
}
|
|
437
429
|
interface UpdateBadgesDisplayOrderResponseNonNullableFields {
|
|
438
|
-
badges:
|
|
439
|
-
_id: string;
|
|
440
|
-
}[];
|
|
430
|
+
badges: BadgeNonNullableFields[];
|
|
441
431
|
}
|
|
442
432
|
|
|
443
|
-
type __PublicMethodMetaInfo$
|
|
433
|
+
type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
444
434
|
getUrl: (context: any) => string;
|
|
445
435
|
httpMethod: K;
|
|
446
436
|
path: string;
|
|
@@ -450,43 +440,43 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
450
440
|
__responseType: Q;
|
|
451
441
|
__originalResponseType: R;
|
|
452
442
|
};
|
|
453
|
-
declare function createBadge(): __PublicMethodMetaInfo$
|
|
454
|
-
declare function updateBadge(): __PublicMethodMetaInfo$
|
|
443
|
+
declare function createBadge(): __PublicMethodMetaInfo$8<'POST', {}, CreateBadgeRequest, CreateBadgeRequest$1, CreateBadgeResponse & CreateBadgeResponseNonNullableFields, CreateBadgeResponse$1 & CreateBadgeResponseNonNullableFields$1>;
|
|
444
|
+
declare function updateBadge(): __PublicMethodMetaInfo$8<'PATCH', {
|
|
455
445
|
badgeId: string;
|
|
456
446
|
}, UpdateBadgeRequest, UpdateBadgeRequest$1, UpdateBadgeResponse & UpdateBadgeResponseNonNullableFields, UpdateBadgeResponse$1 & UpdateBadgeResponseNonNullableFields$1>;
|
|
457
|
-
declare function listBadges(): __PublicMethodMetaInfo$
|
|
458
|
-
declare function getBadge(): __PublicMethodMetaInfo$
|
|
447
|
+
declare function listBadges(): __PublicMethodMetaInfo$8<'GET', {}, ListBadgesRequest, ListBadgesRequest$1, ListBadgesResponse & ListBadgesResponseNonNullableFields, ListBadgesResponse$1 & ListBadgesResponseNonNullableFields$1>;
|
|
448
|
+
declare function getBadge(): __PublicMethodMetaInfo$8<'GET', {
|
|
459
449
|
id: string;
|
|
460
450
|
}, GetBadgeRequest, GetBadgeRequest$1, GetBadgeResponse & GetBadgeResponseNonNullableFields, GetBadgeResponse$1 & GetBadgeResponseNonNullableFields$1>;
|
|
461
|
-
declare function deleteBadge(): __PublicMethodMetaInfo$
|
|
451
|
+
declare function deleteBadge(): __PublicMethodMetaInfo$8<'DELETE', {
|
|
462
452
|
id: string;
|
|
463
453
|
}, DeleteBadgeRequest, DeleteBadgeRequest$1, DeleteBadgeResponse, DeleteBadgeResponse$1>;
|
|
464
|
-
declare function assignBadge(): __PublicMethodMetaInfo$
|
|
454
|
+
declare function assignBadge(): __PublicMethodMetaInfo$8<'POST', {
|
|
465
455
|
id: string;
|
|
466
456
|
}, AssignBadgeRequest, AssignBadgeRequest$1, AssignBadgeResponse & AssignBadgeResponseNonNullableFields, AssignBadgeResponse$1 & AssignBadgeResponseNonNullableFields$1>;
|
|
467
|
-
declare function unassignBadge(): __PublicMethodMetaInfo$
|
|
457
|
+
declare function unassignBadge(): __PublicMethodMetaInfo$8<'DELETE', {
|
|
468
458
|
id: string;
|
|
469
459
|
}, UnassignBadgeRequest, UnassignBadgeRequest$1, UnassignBadgeResponse, UnassignBadgeResponse$1>;
|
|
470
|
-
declare function listMembersByBadge(): __PublicMethodMetaInfo$
|
|
460
|
+
declare function listMembersByBadge(): __PublicMethodMetaInfo$8<'GET', {
|
|
471
461
|
id: string;
|
|
472
462
|
}, ListMembersRequest$2, ListMembersRequest$3, ListMembersResponse$2 & ListMembersResponseNonNullableFields$2, ListMembersResponse$3 & ListMembersResponseNonNullableFields$3>;
|
|
473
|
-
declare function listBadgesPerMember(): __PublicMethodMetaInfo$
|
|
474
|
-
declare function getMemberCountsPerBadge(): __PublicMethodMetaInfo$
|
|
475
|
-
declare function updateBadgesDisplayOrder(): __PublicMethodMetaInfo$
|
|
463
|
+
declare function listBadgesPerMember(): __PublicMethodMetaInfo$8<'POST', {}, ListMembersBadgeIdsRequest, ListMembersBadgeIdsRequest$1, ListMembersBadgeIdsResponse & ListMembersBadgeIdsResponseNonNullableFields, ListMembersBadgeIdsResponse$1 & ListMembersBadgeIdsResponseNonNullableFields$1>;
|
|
464
|
+
declare function getMemberCountsPerBadge(): __PublicMethodMetaInfo$8<'GET', {}, GetMemberCountsPerBadgeRequest, GetMemberCountsPerBadgeRequest$1, GetMemberCountsPerBadgeResponse & GetMemberCountsPerBadgeResponseNonNullableFields, GetMemberCountsPerBadgeResponse$1 & GetMemberCountsPerBadgeResponseNonNullableFields$1>;
|
|
465
|
+
declare function updateBadgesDisplayOrder(): __PublicMethodMetaInfo$8<'PATCH', {}, UpdateBadgesDisplayOrderRequest, UpdateBadgesDisplayOrderRequest$1, UpdateBadgesDisplayOrderResponse & UpdateBadgesDisplayOrderResponseNonNullableFields, UpdateBadgesDisplayOrderResponse$1 & UpdateBadgesDisplayOrderResponseNonNullableFields$1>;
|
|
476
466
|
|
|
477
|
-
declare const meta$
|
|
478
|
-
declare const meta$
|
|
479
|
-
declare const meta$
|
|
480
|
-
declare const meta$
|
|
481
|
-
declare const meta$
|
|
482
|
-
declare const meta$
|
|
483
|
-
declare const meta$
|
|
484
|
-
declare const meta$
|
|
485
|
-
declare const meta$
|
|
486
|
-
declare const meta$
|
|
487
|
-
declare const meta$
|
|
488
|
-
declare namespace meta$
|
|
489
|
-
export { type __PublicMethodMetaInfo$
|
|
467
|
+
declare const meta$8_assignBadge: typeof assignBadge;
|
|
468
|
+
declare const meta$8_createBadge: typeof createBadge;
|
|
469
|
+
declare const meta$8_deleteBadge: typeof deleteBadge;
|
|
470
|
+
declare const meta$8_getBadge: typeof getBadge;
|
|
471
|
+
declare const meta$8_getMemberCountsPerBadge: typeof getMemberCountsPerBadge;
|
|
472
|
+
declare const meta$8_listBadges: typeof listBadges;
|
|
473
|
+
declare const meta$8_listBadgesPerMember: typeof listBadgesPerMember;
|
|
474
|
+
declare const meta$8_listMembersByBadge: typeof listMembersByBadge;
|
|
475
|
+
declare const meta$8_unassignBadge: typeof unassignBadge;
|
|
476
|
+
declare const meta$8_updateBadge: typeof updateBadge;
|
|
477
|
+
declare const meta$8_updateBadgesDisplayOrder: typeof updateBadgesDisplayOrder;
|
|
478
|
+
declare namespace meta$8 {
|
|
479
|
+
export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_assignBadge as assignBadge, meta$8_createBadge as createBadge, meta$8_deleteBadge as deleteBadge, meta$8_getBadge as getBadge, meta$8_getMemberCountsPerBadge as getMemberCountsPerBadge, meta$8_listBadges as listBadges, meta$8_listBadgesPerMember as listBadgesPerMember, meta$8_listMembersByBadge as listMembersByBadge, meta$8_unassignBadge as unassignBadge, meta$8_updateBadge as updateBadge, meta$8_updateBadgesDisplayOrder as updateBadgesDisplayOrder };
|
|
490
480
|
}
|
|
491
481
|
|
|
492
482
|
interface Member$3 {
|
|
@@ -507,7 +497,7 @@ interface Member$3 {
|
|
|
507
497
|
* `CONTRIBUTOR` - member that belongs to a contributor in site
|
|
508
498
|
* `MEMBER` - other members that registered to site
|
|
509
499
|
*/
|
|
510
|
-
role?: Role$
|
|
500
|
+
role?: Role$3;
|
|
511
501
|
/** email to be used when logging in */
|
|
512
502
|
loginEmail?: string | null;
|
|
513
503
|
/** member's full name */
|
|
@@ -578,12 +568,12 @@ interface Member$3 {
|
|
|
578
568
|
* custom fields set for the member by the owner (in contacts dashboard)
|
|
579
569
|
* (returned when `include_contact_details` is set to `true`)
|
|
580
570
|
*/
|
|
581
|
-
customFields?: CustomField$
|
|
571
|
+
customFields?: CustomField$5[];
|
|
582
572
|
/**
|
|
583
573
|
* member's profile picture
|
|
584
574
|
* supports both media-items and external urls
|
|
585
575
|
*/
|
|
586
|
-
picture?: Image$
|
|
576
|
+
picture?: Image$4;
|
|
587
577
|
/** member's user id */
|
|
588
578
|
userId?: string | null;
|
|
589
579
|
/** Groups the the member is registered to */
|
|
@@ -594,7 +584,7 @@ interface Member$3 {
|
|
|
594
584
|
*/
|
|
595
585
|
contactId?: string | null;
|
|
596
586
|
}
|
|
597
|
-
declare enum Role$
|
|
587
|
+
declare enum Role$3 {
|
|
598
588
|
UNDEFINED_ROLE = "UNDEFINED_ROLE",
|
|
599
589
|
MEMBER = "MEMBER",
|
|
600
590
|
OWNER = "OWNER",
|
|
@@ -626,7 +616,7 @@ interface Address$3 {
|
|
|
626
616
|
/** member's postal code */
|
|
627
617
|
postalCode?: string | null;
|
|
628
618
|
}
|
|
629
|
-
interface CustomField$
|
|
619
|
+
interface CustomField$5 extends CustomFieldValueOneOf$1 {
|
|
630
620
|
strValue?: string | null;
|
|
631
621
|
numValue?: number;
|
|
632
622
|
dateValue?: Date;
|
|
@@ -638,7 +628,7 @@ interface CustomFieldValueOneOf$1 {
|
|
|
638
628
|
numValue?: number;
|
|
639
629
|
dateValue?: Date;
|
|
640
630
|
}
|
|
641
|
-
interface Image$
|
|
631
|
+
interface Image$4 {
|
|
642
632
|
/** WixMedia image ID. */
|
|
643
633
|
id?: string;
|
|
644
634
|
/** Image URL. */
|
|
@@ -678,7 +668,7 @@ interface ChangeLoginEmailResponse$1 {
|
|
|
678
668
|
/** Member with the updated login email address. */
|
|
679
669
|
member?: Member$3;
|
|
680
670
|
}
|
|
681
|
-
interface ApproveMemberRequest$
|
|
671
|
+
interface ApproveMemberRequest$3 extends ApproveMemberRequestMemberIdentifierOneOf$1 {
|
|
682
672
|
/** ID of the member to approve. */
|
|
683
673
|
id?: string;
|
|
684
674
|
/** Login email address of the member to approve. */
|
|
@@ -703,13 +693,13 @@ interface ApproveMemberRequestMemberIdentifierOneOf$1 {
|
|
|
703
693
|
*/
|
|
704
694
|
token?: string;
|
|
705
695
|
}
|
|
706
|
-
interface ApproveMemberResponse$
|
|
696
|
+
interface ApproveMemberResponse$3 {
|
|
707
697
|
session?: Session$1;
|
|
708
698
|
}
|
|
709
699
|
interface Session$1 {
|
|
710
700
|
token?: string | null;
|
|
711
701
|
}
|
|
712
|
-
interface BlockMemberRequest$
|
|
702
|
+
interface BlockMemberRequest$5 extends BlockMemberRequestMemberIdentifierOneOf$1 {
|
|
713
703
|
id?: string;
|
|
714
704
|
/** Login email address of the member to block. */
|
|
715
705
|
email?: string;
|
|
@@ -726,7 +716,7 @@ declare enum Source$1 {
|
|
|
726
716
|
UNKNOWN = "UNKNOWN",
|
|
727
717
|
HANDLING_SPAM = "HANDLING_SPAM"
|
|
728
718
|
}
|
|
729
|
-
interface BlockMemberResponse$
|
|
719
|
+
interface BlockMemberResponse$5 {
|
|
730
720
|
}
|
|
731
721
|
/** Registration options. */
|
|
732
722
|
interface RegisterRequest$1 {
|
|
@@ -794,7 +784,7 @@ interface MemberContactInfo$1 {
|
|
|
794
784
|
* [Contact List](https://support.wix.com/en/article/accessing-your-contact-list).
|
|
795
785
|
* You can only set values for custom fields that already exist in the Contacts application.
|
|
796
786
|
*/
|
|
797
|
-
customFields?: CustomField$
|
|
787
|
+
customFields?: CustomField$5[];
|
|
798
788
|
}
|
|
799
789
|
interface DialogData$1 {
|
|
800
790
|
visitorId?: string | null;
|
|
@@ -880,89 +870,42 @@ interface SendSetPasswordEmailResponse$1 {
|
|
|
880
870
|
/** Indicates if the request was successfully received. */
|
|
881
871
|
accepted?: boolean;
|
|
882
872
|
}
|
|
873
|
+
interface CustomFieldNonNullableFields$3 {
|
|
874
|
+
numValue: number;
|
|
875
|
+
name: string;
|
|
876
|
+
}
|
|
877
|
+
interface ImageNonNullableFields$4 {
|
|
878
|
+
id: string;
|
|
879
|
+
url: string;
|
|
880
|
+
height: number;
|
|
881
|
+
width: number;
|
|
882
|
+
}
|
|
883
|
+
interface GroupNonNullableFields$1 {
|
|
884
|
+
id: string;
|
|
885
|
+
name: string;
|
|
886
|
+
type: string;
|
|
887
|
+
}
|
|
888
|
+
interface MemberNonNullableFields$3 {
|
|
889
|
+
id: string;
|
|
890
|
+
emailVerified: boolean;
|
|
891
|
+
role: Role$3;
|
|
892
|
+
profilePrivacyStatus: SiteMemberPrivacyStatus$1;
|
|
893
|
+
status: SiteMemberStatus$1;
|
|
894
|
+
emails: string[];
|
|
895
|
+
phones: string[];
|
|
896
|
+
labels: string[];
|
|
897
|
+
customFields: CustomFieldNonNullableFields$3[];
|
|
898
|
+
picture?: ImageNonNullableFields$4;
|
|
899
|
+
groups: GroupNonNullableFields$1[];
|
|
900
|
+
}
|
|
883
901
|
interface ChangeLoginEmailResponseNonNullableFields$1 {
|
|
884
|
-
member?:
|
|
885
|
-
id: string;
|
|
886
|
-
emailVerified: boolean;
|
|
887
|
-
role: Role$1;
|
|
888
|
-
profilePrivacyStatus: SiteMemberPrivacyStatus$1;
|
|
889
|
-
status: SiteMemberStatus$1;
|
|
890
|
-
emails: string[];
|
|
891
|
-
phones: string[];
|
|
892
|
-
addresses: Address$3[];
|
|
893
|
-
labels: string[];
|
|
894
|
-
customFields: {
|
|
895
|
-
numValue: number;
|
|
896
|
-
name: string;
|
|
897
|
-
}[];
|
|
898
|
-
picture?: {
|
|
899
|
-
id: string;
|
|
900
|
-
url: string;
|
|
901
|
-
height: number;
|
|
902
|
-
width: number;
|
|
903
|
-
};
|
|
904
|
-
groups: {
|
|
905
|
-
id: string;
|
|
906
|
-
name: string;
|
|
907
|
-
type: string;
|
|
908
|
-
}[];
|
|
909
|
-
};
|
|
902
|
+
member?: MemberNonNullableFields$3;
|
|
910
903
|
}
|
|
911
904
|
interface RegisterResponseNonNullableFields$1 {
|
|
912
|
-
member?:
|
|
913
|
-
id: string;
|
|
914
|
-
emailVerified: boolean;
|
|
915
|
-
role: Role$1;
|
|
916
|
-
profilePrivacyStatus: SiteMemberPrivacyStatus$1;
|
|
917
|
-
status: SiteMemberStatus$1;
|
|
918
|
-
emails: string[];
|
|
919
|
-
phones: string[];
|
|
920
|
-
addresses: Address$3[];
|
|
921
|
-
labels: string[];
|
|
922
|
-
customFields: {
|
|
923
|
-
numValue: number;
|
|
924
|
-
name: string;
|
|
925
|
-
}[];
|
|
926
|
-
picture?: {
|
|
927
|
-
id: string;
|
|
928
|
-
url: string;
|
|
929
|
-
height: number;
|
|
930
|
-
width: number;
|
|
931
|
-
};
|
|
932
|
-
groups: {
|
|
933
|
-
id: string;
|
|
934
|
-
name: string;
|
|
935
|
-
type: string;
|
|
936
|
-
}[];
|
|
937
|
-
};
|
|
905
|
+
member?: MemberNonNullableFields$3;
|
|
938
906
|
}
|
|
939
907
|
interface LoginResponseNonNullableFields$1 {
|
|
940
|
-
member?:
|
|
941
|
-
id: string;
|
|
942
|
-
emailVerified: boolean;
|
|
943
|
-
role: Role$1;
|
|
944
|
-
profilePrivacyStatus: SiteMemberPrivacyStatus$1;
|
|
945
|
-
status: SiteMemberStatus$1;
|
|
946
|
-
emails: string[];
|
|
947
|
-
phones: string[];
|
|
948
|
-
addresses: Address$3[];
|
|
949
|
-
labels: string[];
|
|
950
|
-
customFields: {
|
|
951
|
-
numValue: number;
|
|
952
|
-
name: string;
|
|
953
|
-
}[];
|
|
954
|
-
picture?: {
|
|
955
|
-
id: string;
|
|
956
|
-
url: string;
|
|
957
|
-
height: number;
|
|
958
|
-
width: number;
|
|
959
|
-
};
|
|
960
|
-
groups: {
|
|
961
|
-
id: string;
|
|
962
|
-
name: string;
|
|
963
|
-
type: string;
|
|
964
|
-
}[];
|
|
965
|
-
};
|
|
908
|
+
member?: MemberNonNullableFields$3;
|
|
966
909
|
}
|
|
967
910
|
interface SendSetPasswordEmailResponseNonNullableFields$1 {
|
|
968
911
|
accepted: boolean;
|
|
@@ -983,7 +926,7 @@ interface Member$2 {
|
|
|
983
926
|
/**
|
|
984
927
|
* @internal
|
|
985
928
|
* @internal */
|
|
986
|
-
role?: Role;
|
|
929
|
+
role?: Role$2;
|
|
987
930
|
/**
|
|
988
931
|
* Email used by the member to log in to the site.
|
|
989
932
|
*
|
|
@@ -1071,7 +1014,7 @@ interface Member$2 {
|
|
|
1071
1014
|
*
|
|
1072
1015
|
* When updating a member, `name` is ignored.
|
|
1073
1016
|
*/
|
|
1074
|
-
customFields?: CustomField$
|
|
1017
|
+
customFields?: CustomField$4[];
|
|
1075
1018
|
/** Member's profile picture URL. */
|
|
1076
1019
|
picture?: string;
|
|
1077
1020
|
/**
|
|
@@ -1088,7 +1031,7 @@ interface Member$2 {
|
|
|
1088
1031
|
*/
|
|
1089
1032
|
contactId?: string | null;
|
|
1090
1033
|
}
|
|
1091
|
-
declare enum Role {
|
|
1034
|
+
declare enum Role$2 {
|
|
1092
1035
|
UNDEFINED_ROLE = "UNDEFINED_ROLE",
|
|
1093
1036
|
MEMBER = "MEMBER",
|
|
1094
1037
|
OWNER = "OWNER",
|
|
@@ -1120,7 +1063,7 @@ interface Address$2 {
|
|
|
1120
1063
|
/** Postal code. */
|
|
1121
1064
|
postalCode?: string | null;
|
|
1122
1065
|
}
|
|
1123
|
-
interface CustomField$
|
|
1066
|
+
interface CustomField$4 extends CustomFieldValueOneOf {
|
|
1124
1067
|
/** String value. */
|
|
1125
1068
|
strValue?: string | null;
|
|
1126
1069
|
/** Number value. */
|
|
@@ -1155,7 +1098,7 @@ interface ChangeLoginEmailResponse {
|
|
|
1155
1098
|
/** Member with the updated login email address. */
|
|
1156
1099
|
member?: Member$2;
|
|
1157
1100
|
}
|
|
1158
|
-
interface ApproveMemberRequest extends ApproveMemberRequestMemberIdentifierOneOf {
|
|
1101
|
+
interface ApproveMemberRequest$2 extends ApproveMemberRequestMemberIdentifierOneOf {
|
|
1159
1102
|
/** ID of the member to approve. */
|
|
1160
1103
|
_id?: string;
|
|
1161
1104
|
/** Login email address of the member to approve. */
|
|
@@ -1176,7 +1119,7 @@ interface ApproveMemberRequestMemberIdentifierOneOf {
|
|
|
1176
1119
|
*/
|
|
1177
1120
|
token?: string;
|
|
1178
1121
|
}
|
|
1179
|
-
interface ApproveMemberResponse {
|
|
1122
|
+
interface ApproveMemberResponse$2 {
|
|
1180
1123
|
/** Approval session token. */
|
|
1181
1124
|
session?: Session;
|
|
1182
1125
|
}
|
|
@@ -1184,7 +1127,7 @@ interface Session {
|
|
|
1184
1127
|
/** Session token when the current member is logged into the site. */
|
|
1185
1128
|
token?: string | null;
|
|
1186
1129
|
}
|
|
1187
|
-
interface BlockMemberRequest extends BlockMemberRequestMemberIdentifierOneOf {
|
|
1130
|
+
interface BlockMemberRequest$4 extends BlockMemberRequestMemberIdentifierOneOf {
|
|
1188
1131
|
/** ID of the member to block. */
|
|
1189
1132
|
_id?: string;
|
|
1190
1133
|
/** Login email address of the member to block. */
|
|
@@ -1204,7 +1147,7 @@ declare enum Source {
|
|
|
1204
1147
|
UNKNOWN = "UNKNOWN",
|
|
1205
1148
|
HANDLING_SPAM = "HANDLING_SPAM"
|
|
1206
1149
|
}
|
|
1207
|
-
interface BlockMemberResponse {
|
|
1150
|
+
interface BlockMemberResponse$4 {
|
|
1208
1151
|
}
|
|
1209
1152
|
/** Registration options. */
|
|
1210
1153
|
interface RegisterRequest {
|
|
@@ -1277,7 +1220,7 @@ interface MemberContactInfo {
|
|
|
1277
1220
|
* [Contact List](https://support.wix.com/en/article/accessing-your-contact-list).
|
|
1278
1221
|
* You can only set values for custom fields that already exist in the Contacts application.
|
|
1279
1222
|
*/
|
|
1280
|
-
customFields?: CustomField$
|
|
1223
|
+
customFields?: CustomField$4[];
|
|
1281
1224
|
}
|
|
1282
1225
|
interface DialogData {
|
|
1283
1226
|
visitorId?: string | null;
|
|
@@ -1361,80 +1304,42 @@ interface SendSetPasswordEmailResponse {
|
|
|
1361
1304
|
/** Indicates if the request was successfully received. */
|
|
1362
1305
|
accepted?: boolean;
|
|
1363
1306
|
}
|
|
1307
|
+
interface CustomFieldNonNullableFields$2 {
|
|
1308
|
+
numValue: number;
|
|
1309
|
+
name: string;
|
|
1310
|
+
}
|
|
1311
|
+
interface GroupNonNullableFields {
|
|
1312
|
+
_id: string;
|
|
1313
|
+
name: string;
|
|
1314
|
+
type: string;
|
|
1315
|
+
}
|
|
1316
|
+
interface MemberNonNullableFields$2 {
|
|
1317
|
+
_id: string;
|
|
1318
|
+
emailVerified: boolean;
|
|
1319
|
+
role: Role$2;
|
|
1320
|
+
profilePrivacyStatus: SiteMemberPrivacyStatus;
|
|
1321
|
+
status: SiteMemberStatus;
|
|
1322
|
+
emails: string[];
|
|
1323
|
+
phones: string[];
|
|
1324
|
+
labels: string[];
|
|
1325
|
+
customFields: CustomFieldNonNullableFields$2[];
|
|
1326
|
+
picture: string;
|
|
1327
|
+
groups: GroupNonNullableFields[];
|
|
1328
|
+
}
|
|
1364
1329
|
interface ChangeLoginEmailResponseNonNullableFields {
|
|
1365
|
-
member?:
|
|
1366
|
-
_id: string;
|
|
1367
|
-
emailVerified: boolean;
|
|
1368
|
-
role: Role;
|
|
1369
|
-
profilePrivacyStatus: SiteMemberPrivacyStatus;
|
|
1370
|
-
status: SiteMemberStatus;
|
|
1371
|
-
emails: string[];
|
|
1372
|
-
phones: string[];
|
|
1373
|
-
addresses: Address$2[];
|
|
1374
|
-
labels: string[];
|
|
1375
|
-
customFields: {
|
|
1376
|
-
numValue: number;
|
|
1377
|
-
name: string;
|
|
1378
|
-
}[];
|
|
1379
|
-
picture: string;
|
|
1380
|
-
groups: {
|
|
1381
|
-
_id: string;
|
|
1382
|
-
name: string;
|
|
1383
|
-
type: string;
|
|
1384
|
-
}[];
|
|
1385
|
-
};
|
|
1330
|
+
member?: MemberNonNullableFields$2;
|
|
1386
1331
|
}
|
|
1387
1332
|
interface RegisterResponseNonNullableFields {
|
|
1388
|
-
member?:
|
|
1389
|
-
_id: string;
|
|
1390
|
-
emailVerified: boolean;
|
|
1391
|
-
role: Role;
|
|
1392
|
-
profilePrivacyStatus: SiteMemberPrivacyStatus;
|
|
1393
|
-
status: SiteMemberStatus;
|
|
1394
|
-
emails: string[];
|
|
1395
|
-
phones: string[];
|
|
1396
|
-
addresses: Address$2[];
|
|
1397
|
-
labels: string[];
|
|
1398
|
-
customFields: {
|
|
1399
|
-
numValue: number;
|
|
1400
|
-
name: string;
|
|
1401
|
-
}[];
|
|
1402
|
-
picture: string;
|
|
1403
|
-
groups: {
|
|
1404
|
-
_id: string;
|
|
1405
|
-
name: string;
|
|
1406
|
-
type: string;
|
|
1407
|
-
}[];
|
|
1408
|
-
};
|
|
1333
|
+
member?: MemberNonNullableFields$2;
|
|
1409
1334
|
}
|
|
1410
1335
|
interface LoginResponseNonNullableFields {
|
|
1411
|
-
member?:
|
|
1412
|
-
_id: string;
|
|
1413
|
-
emailVerified: boolean;
|
|
1414
|
-
role: Role;
|
|
1415
|
-
profilePrivacyStatus: SiteMemberPrivacyStatus;
|
|
1416
|
-
status: SiteMemberStatus;
|
|
1417
|
-
emails: string[];
|
|
1418
|
-
phones: string[];
|
|
1419
|
-
addresses: Address$2[];
|
|
1420
|
-
labels: string[];
|
|
1421
|
-
customFields: {
|
|
1422
|
-
numValue: number;
|
|
1423
|
-
name: string;
|
|
1424
|
-
}[];
|
|
1425
|
-
picture: string;
|
|
1426
|
-
groups: {
|
|
1427
|
-
_id: string;
|
|
1428
|
-
name: string;
|
|
1429
|
-
type: string;
|
|
1430
|
-
}[];
|
|
1431
|
-
};
|
|
1336
|
+
member?: MemberNonNullableFields$2;
|
|
1432
1337
|
}
|
|
1433
1338
|
interface SendSetPasswordEmailResponseNonNullableFields {
|
|
1434
1339
|
accepted: boolean;
|
|
1435
1340
|
}
|
|
1436
1341
|
|
|
1437
|
-
type __PublicMethodMetaInfo$
|
|
1342
|
+
type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1438
1343
|
getUrl: (context: any) => string;
|
|
1439
1344
|
httpMethod: K;
|
|
1440
1345
|
path: string;
|
|
@@ -1444,224 +1349,85 @@ type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1444
1349
|
__responseType: Q;
|
|
1445
1350
|
__originalResponseType: R;
|
|
1446
1351
|
};
|
|
1447
|
-
declare function changeLoginEmail(): __PublicMethodMetaInfo$
|
|
1352
|
+
declare function changeLoginEmail(): __PublicMethodMetaInfo$7<'PATCH', {
|
|
1448
1353
|
id: string;
|
|
1449
1354
|
}, ChangeLoginEmailRequest, ChangeLoginEmailRequest$1, ChangeLoginEmailResponse & ChangeLoginEmailResponseNonNullableFields, ChangeLoginEmailResponse$1 & ChangeLoginEmailResponseNonNullableFields$1>;
|
|
1450
|
-
declare function approve(): __PublicMethodMetaInfo$
|
|
1451
|
-
declare function block(): __PublicMethodMetaInfo$
|
|
1452
|
-
declare function register(): __PublicMethodMetaInfo$
|
|
1453
|
-
declare function login(): __PublicMethodMetaInfo$
|
|
1454
|
-
declare function sendSetPasswordEmail(): __PublicMethodMetaInfo$
|
|
1355
|
+
declare function approve(): __PublicMethodMetaInfo$7<'POST', {}, ApproveMemberRequest$2, ApproveMemberRequest$3, ApproveMemberResponse$2, ApproveMemberResponse$3>;
|
|
1356
|
+
declare function block(): __PublicMethodMetaInfo$7<'POST', {}, BlockMemberRequest$4, BlockMemberRequest$5, BlockMemberResponse$4, BlockMemberResponse$5>;
|
|
1357
|
+
declare function register(): __PublicMethodMetaInfo$7<'POST', {}, RegisterRequest, RegisterRequest$1, RegisterResponse & RegisterResponseNonNullableFields, RegisterResponse$1 & RegisterResponseNonNullableFields$1>;
|
|
1358
|
+
declare function login(): __PublicMethodMetaInfo$7<'POST', {}, LoginRequest, LoginRequest$1, LoginResponse & LoginResponseNonNullableFields, LoginResponse$1 & LoginResponseNonNullableFields$1>;
|
|
1359
|
+
declare function sendSetPasswordEmail(): __PublicMethodMetaInfo$7<'POST', {}, SendSetPasswordEmailRequest, SendSetPasswordEmailRequest$1, SendSetPasswordEmailResponse & SendSetPasswordEmailResponseNonNullableFields, SendSetPasswordEmailResponse$1 & SendSetPasswordEmailResponseNonNullableFields$1>;
|
|
1455
1360
|
|
|
1456
|
-
declare const meta$
|
|
1457
|
-
declare const meta$
|
|
1458
|
-
declare const meta$
|
|
1459
|
-
declare const meta$
|
|
1460
|
-
declare const meta$
|
|
1461
|
-
declare const meta$
|
|
1462
|
-
declare namespace meta$
|
|
1463
|
-
export { type __PublicMethodMetaInfo$
|
|
1361
|
+
declare const meta$7_approve: typeof approve;
|
|
1362
|
+
declare const meta$7_block: typeof block;
|
|
1363
|
+
declare const meta$7_changeLoginEmail: typeof changeLoginEmail;
|
|
1364
|
+
declare const meta$7_login: typeof login;
|
|
1365
|
+
declare const meta$7_register: typeof register;
|
|
1366
|
+
declare const meta$7_sendSetPasswordEmail: typeof sendSetPasswordEmail;
|
|
1367
|
+
declare namespace meta$7 {
|
|
1368
|
+
export { type __PublicMethodMetaInfo$7 as __PublicMethodMetaInfo, meta$7_approve as approve, meta$7_block as block, meta$7_changeLoginEmail as changeLoginEmail, meta$7_login as login, meta$7_register as register, meta$7_sendSetPasswordEmail as sendSetPasswordEmail };
|
|
1464
1369
|
}
|
|
1465
1370
|
|
|
1466
|
-
interface
|
|
1371
|
+
interface UserMember$1 {
|
|
1467
1372
|
/**
|
|
1468
|
-
*
|
|
1469
|
-
* @readonly
|
|
1470
|
-
*/
|
|
1471
|
-
id?: string | null;
|
|
1472
|
-
/** Email used by the member to log in to the site. */
|
|
1473
|
-
loginEmail?: string | null;
|
|
1474
|
-
/**
|
|
1475
|
-
* Whether the email used by the member has been verified.
|
|
1373
|
+
* Profile id.
|
|
1476
1374
|
* @readonly
|
|
1477
1375
|
*/
|
|
1478
|
-
|
|
1376
|
+
memberId?: string | null;
|
|
1479
1377
|
/**
|
|
1480
|
-
*
|
|
1481
|
-
*
|
|
1482
|
-
* - `PENDING`: Member created and is waiting for approval by site owner.
|
|
1483
|
-
* - `APPROVED`: Member can log in to the site.
|
|
1484
|
-
* - `OFFLINE`: Member is a [guest author](https://support.wix.com/en/article/wix-blog-adding-guest-authors-to-your-blog) for the site blog and cannot log in to the site.
|
|
1485
|
-
* - `BLOCKED`: Member is blocked and cannot log in to the site.
|
|
1486
|
-
* - `UNKNOWN`: Insufficient permissions to get the status.
|
|
1378
|
+
* User id.
|
|
1487
1379
|
* @readonly
|
|
1488
1380
|
*/
|
|
1489
|
-
|
|
1381
|
+
userId?: string | null;
|
|
1490
1382
|
/**
|
|
1491
|
-
* Contact
|
|
1383
|
+
* Contact id.
|
|
1492
1384
|
* @readonly
|
|
1493
1385
|
*/
|
|
1494
1386
|
contactId?: string | null;
|
|
1495
1387
|
/**
|
|
1496
|
-
*
|
|
1497
|
-
* [Contact List](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fcontacts).
|
|
1498
|
-
*
|
|
1499
|
-
* The full set of contact data can be accessed and managed with the
|
|
1500
|
-
* [Contacts API](https://dev.wix.com/api/rest/contacts/contacts).
|
|
1501
|
-
*/
|
|
1502
|
-
contact?: Contact$1;
|
|
1503
|
-
/** Profile display info. */
|
|
1504
|
-
profile?: Profile$1;
|
|
1505
|
-
/**
|
|
1506
|
-
* Member privacy status.
|
|
1507
|
-
*
|
|
1508
|
-
* - `PUBLIC`: Member is visible to everyone.
|
|
1509
|
-
* - `PRIVATE`: Member is hidden from site visitors and other site members. Member is returned only to site contributors and apps with the appropriate permissions.
|
|
1510
|
-
* - `UNKNOWN`: Insufficient permissions to get the status.
|
|
1511
|
-
*/
|
|
1512
|
-
privacyStatus?: PrivacyStatusStatus$1;
|
|
1513
|
-
/**
|
|
1514
|
-
* Member activity status.
|
|
1515
|
-
*
|
|
1516
|
-
* - `ACTIVE`: Member can write forum posts and blog comments.
|
|
1517
|
-
* - `MUTED`: Member cannot write forum posts or blog comments.
|
|
1518
|
-
* - `UNKNOWN`: Insufficient permissions to get the status.
|
|
1388
|
+
* The instance id of the 'SiteMembers' app.
|
|
1519
1389
|
* @readonly
|
|
1520
1390
|
*/
|
|
1521
|
-
|
|
1391
|
+
siteMembersInstanceId?: string | null;
|
|
1522
1392
|
/**
|
|
1523
|
-
*
|
|
1393
|
+
* The id of the meta site
|
|
1524
1394
|
* @readonly
|
|
1525
1395
|
*/
|
|
1526
|
-
|
|
1396
|
+
metaSiteId?: string | null;
|
|
1397
|
+
/** Photo picture, which is used as a profile picture. */
|
|
1398
|
+
photo?: Image$3;
|
|
1527
1399
|
/**
|
|
1528
|
-
*
|
|
1400
|
+
* Nickname.
|
|
1529
1401
|
* @readonly
|
|
1530
1402
|
*/
|
|
1531
|
-
|
|
1403
|
+
nickname?: string | null;
|
|
1532
1404
|
/**
|
|
1533
|
-
*
|
|
1405
|
+
* Member profile privacy status.
|
|
1534
1406
|
* @readonly
|
|
1535
1407
|
*/
|
|
1536
|
-
|
|
1537
|
-
}
|
|
1538
|
-
declare enum Status$1 {
|
|
1539
|
-
UNKNOWN = "UNKNOWN",
|
|
1540
|
-
PENDING = "PENDING",
|
|
1541
|
-
APPROVED = "APPROVED",
|
|
1542
|
-
BLOCKED = "BLOCKED",
|
|
1543
|
-
OFFLINE = "OFFLINE"
|
|
1544
|
-
}
|
|
1545
|
-
/** Contact info associated with the member. */
|
|
1546
|
-
interface Contact$1 {
|
|
1408
|
+
privacyStatus?: PrivacyStatusStatus$3;
|
|
1547
1409
|
/**
|
|
1548
|
-
*
|
|
1549
|
-
*
|
|
1550
|
-
* > **Deprecation notice:**
|
|
1551
|
-
* > This property has been replaced with `member.contactId`
|
|
1552
|
-
* > and will be removed on June 11, 2021.
|
|
1410
|
+
* Member created timestamp.
|
|
1553
1411
|
* @readonly
|
|
1554
|
-
* @deprecated
|
|
1555
|
-
*/
|
|
1556
|
-
contactId?: string | null;
|
|
1557
|
-
/** Contact's first name. */
|
|
1558
|
-
firstName?: string | null;
|
|
1559
|
-
/** Contact's last name. */
|
|
1560
|
-
lastName?: string | null;
|
|
1561
|
-
/** List of phone numbers. */
|
|
1562
|
-
phones?: string[] | null;
|
|
1563
|
-
/** List of email addresses. */
|
|
1564
|
-
emails?: string[] | null;
|
|
1565
|
-
/** List of street addresses. */
|
|
1566
|
-
addresses?: Address$1[];
|
|
1567
|
-
/**
|
|
1568
|
-
* Contact's birthdate, formatted as `"YYYY-MM-DD"`.
|
|
1569
|
-
*
|
|
1570
|
-
* Example: `"2020-03-15"` for March 15, 2020.
|
|
1571
|
-
*/
|
|
1572
|
-
birthdate?: string | null;
|
|
1573
|
-
/** Contact's company name. */
|
|
1574
|
-
company?: string | null;
|
|
1575
|
-
/** Contact's job title. */
|
|
1576
|
-
jobTitle?: string | null;
|
|
1577
|
-
/**
|
|
1578
|
-
* Custom fields,
|
|
1579
|
-
* where each key is the field key,
|
|
1580
|
-
* and each value is the field's value for the member.
|
|
1581
1412
|
*/
|
|
1582
|
-
|
|
1583
|
-
}
|
|
1584
|
-
/** Street address. */
|
|
1585
|
-
interface Address$1 extends AddressStreetOneOf$1 {
|
|
1586
|
-
/** Street address object, with number and name in separate fields. */
|
|
1587
|
-
streetAddress?: StreetAddress$1;
|
|
1588
|
-
/** Main address line, usually street and number, as free text. */
|
|
1589
|
-
addressLine?: string | null;
|
|
1413
|
+
createdDate?: Date;
|
|
1590
1414
|
/**
|
|
1591
|
-
*
|
|
1415
|
+
* Last member updated timestamp.
|
|
1592
1416
|
* @readonly
|
|
1593
1417
|
*/
|
|
1594
|
-
|
|
1595
|
-
/**
|
|
1596
|
-
* Free text providing more detailed address information,
|
|
1597
|
-
* such as apartment, suite, or floor.
|
|
1598
|
-
*/
|
|
1599
|
-
addressLine2?: string | null;
|
|
1600
|
-
/** City name. */
|
|
1601
|
-
city?: string | null;
|
|
1602
|
-
/**
|
|
1603
|
-
* Code for a subdivision (such as state, prefecture, or province) in an
|
|
1604
|
-
* [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format.
|
|
1605
|
-
*/
|
|
1606
|
-
subdivision?: string | null;
|
|
1607
|
-
/**
|
|
1608
|
-
* 2-letter country code in an
|
|
1609
|
-
* [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
1610
|
-
*/
|
|
1611
|
-
country?: string | null;
|
|
1612
|
-
/** Postal code. */
|
|
1613
|
-
postalCode?: string | null;
|
|
1614
|
-
}
|
|
1615
|
-
/** @oneof */
|
|
1616
|
-
interface AddressStreetOneOf$1 {
|
|
1617
|
-
/** Street address object, with number and name in separate fields. */
|
|
1618
|
-
streetAddress?: StreetAddress$1;
|
|
1619
|
-
/** Main address line, usually street and number, as free text. */
|
|
1620
|
-
addressLine?: string | null;
|
|
1621
|
-
}
|
|
1622
|
-
interface StreetAddress$1 {
|
|
1623
|
-
/** Street number. */
|
|
1624
|
-
number?: string;
|
|
1625
|
-
/** Street name. */
|
|
1626
|
-
name?: string;
|
|
1627
|
-
}
|
|
1628
|
-
interface CustomField$1 {
|
|
1629
|
-
/** Custom field name. */
|
|
1630
|
-
name?: string | null;
|
|
1631
|
-
/** Custom field value. */
|
|
1632
|
-
value?: any;
|
|
1633
|
-
}
|
|
1634
|
-
/** Member Profile */
|
|
1635
|
-
interface Profile$1 {
|
|
1636
|
-
/**
|
|
1637
|
-
* Name that identifies the member to other members.
|
|
1638
|
-
* Displayed on the member's profile page
|
|
1639
|
-
* and interactions in the forum or blog.
|
|
1640
|
-
*/
|
|
1641
|
-
nickname?: string | null;
|
|
1418
|
+
updatedDate?: Date;
|
|
1642
1419
|
/**
|
|
1643
|
-
*
|
|
1420
|
+
* Status, e.g. approved/blocked/...
|
|
1644
1421
|
* @readonly
|
|
1645
1422
|
*/
|
|
1646
|
-
|
|
1647
|
-
/** Member's profile photo. */
|
|
1648
|
-
photo?: Image$1;
|
|
1649
|
-
/**
|
|
1650
|
-
* Member's cover photo,
|
|
1651
|
-
* used as a background picture in members profile page.
|
|
1652
|
-
*
|
|
1653
|
-
* Cover positioning can be altered with `cover.offsetX` and `cover.offsetY`.
|
|
1654
|
-
* When left empty, the values default to `0`.
|
|
1655
|
-
*/
|
|
1656
|
-
cover?: Image$1;
|
|
1423
|
+
status?: Status$3;
|
|
1657
1424
|
/**
|
|
1658
|
-
* Member
|
|
1659
|
-
*
|
|
1660
|
-
* Currently available through the API only.
|
|
1425
|
+
* Member activity status.
|
|
1426
|
+
* @readonly
|
|
1661
1427
|
*/
|
|
1662
|
-
|
|
1428
|
+
activityStatus?: ActivityStatusStatus$3;
|
|
1663
1429
|
}
|
|
1664
|
-
interface Image$
|
|
1430
|
+
interface Image$3 {
|
|
1665
1431
|
/**
|
|
1666
1432
|
* Wix Media image ID,
|
|
1667
1433
|
* set when the member selects an image from Wix Media.
|
|
@@ -1686,39 +1452,1253 @@ interface Image$1 {
|
|
|
1686
1452
|
*/
|
|
1687
1453
|
offsetY?: number | null;
|
|
1688
1454
|
}
|
|
1689
|
-
declare enum PrivacyStatusStatus$
|
|
1455
|
+
declare enum PrivacyStatusStatus$3 {
|
|
1690
1456
|
UNKNOWN = "UNKNOWN",
|
|
1691
1457
|
PRIVATE = "PRIVATE",
|
|
1692
1458
|
PUBLIC = "PUBLIC"
|
|
1693
1459
|
}
|
|
1694
|
-
declare enum
|
|
1460
|
+
declare enum Status$3 {
|
|
1461
|
+
UNKNOWN = "UNKNOWN",
|
|
1462
|
+
PENDING = "PENDING",
|
|
1463
|
+
APPROVED = "APPROVED",
|
|
1464
|
+
BLOCKED = "BLOCKED",
|
|
1465
|
+
OFFLINE = "OFFLINE"
|
|
1466
|
+
}
|
|
1467
|
+
declare enum ActivityStatusStatus$3 {
|
|
1695
1468
|
UNKNOWN = "UNKNOWN",
|
|
1696
1469
|
ACTIVE = "ACTIVE",
|
|
1697
1470
|
MUTED = "MUTED"
|
|
1698
1471
|
}
|
|
1699
|
-
interface
|
|
1700
|
-
|
|
1701
|
-
slug: string;
|
|
1702
|
-
}
|
|
1703
|
-
interface UpdateMySlugResponse$1 {
|
|
1704
|
-
/** Updated member. */
|
|
1705
|
-
member?: Member$1;
|
|
1472
|
+
interface QueryUserMembersRequest$1 {
|
|
1473
|
+
query?: CursorQuery$1;
|
|
1706
1474
|
}
|
|
1707
|
-
interface
|
|
1475
|
+
interface CursorQuery$1 extends CursorQueryPagingMethodOneOf$1 {
|
|
1476
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1477
|
+
cursorPaging?: CursorPaging$3;
|
|
1478
|
+
/**
|
|
1479
|
+
* Filter object in the following format:
|
|
1480
|
+
* `"filter" : {
|
|
1481
|
+
* "fieldName1": "value1",
|
|
1482
|
+
* "fieldName2":{"$operator":"value2"}
|
|
1483
|
+
* }`
|
|
1484
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
1485
|
+
*/
|
|
1486
|
+
filter?: Record<string, any> | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* Sort object in the following format:
|
|
1489
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
1490
|
+
*/
|
|
1491
|
+
sort?: Sorting$5[];
|
|
1708
1492
|
}
|
|
1709
|
-
/**
|
|
1710
|
-
interface
|
|
1711
|
-
/**
|
|
1712
|
-
|
|
1493
|
+
/** @oneof */
|
|
1494
|
+
interface CursorQueryPagingMethodOneOf$1 {
|
|
1495
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1496
|
+
cursorPaging?: CursorPaging$3;
|
|
1713
1497
|
}
|
|
1714
|
-
interface
|
|
1498
|
+
interface Sorting$5 {
|
|
1499
|
+
/** Name of the field to sort by. */
|
|
1500
|
+
fieldName?: string;
|
|
1501
|
+
/** Sort order. */
|
|
1502
|
+
order?: SortOrder$5;
|
|
1715
1503
|
}
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
member?: Member$1;
|
|
1504
|
+
declare enum SortOrder$5 {
|
|
1505
|
+
ASC = "ASC",
|
|
1506
|
+
DESC = "DESC"
|
|
1720
1507
|
}
|
|
1721
|
-
interface
|
|
1508
|
+
interface CursorPaging$3 {
|
|
1509
|
+
/** Number of items to load. */
|
|
1510
|
+
limit?: number | null;
|
|
1511
|
+
/**
|
|
1512
|
+
* Pointer to the next or previous page in the list of results.
|
|
1513
|
+
*
|
|
1514
|
+
* You can get the relevant cursor token
|
|
1515
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
1516
|
+
* Not relevant for the first request.
|
|
1517
|
+
*/
|
|
1518
|
+
cursor?: string | null;
|
|
1519
|
+
}
|
|
1520
|
+
interface QueryUserMembersResponse$1 {
|
|
1521
|
+
userMembers?: UserMember$1[];
|
|
1522
|
+
metadata?: CursorPagingMetadata$1;
|
|
1523
|
+
}
|
|
1524
|
+
interface CursorPagingMetadata$1 {
|
|
1525
|
+
/** Number of items returned in the response. */
|
|
1526
|
+
count?: number | null;
|
|
1527
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
1528
|
+
cursors?: Cursors$3;
|
|
1529
|
+
/**
|
|
1530
|
+
* Whether there are more pages to retrieve following the current page.
|
|
1531
|
+
*
|
|
1532
|
+
* + `true`: Another page of results can be retrieved.
|
|
1533
|
+
* + `false`: This is the last page.
|
|
1534
|
+
*/
|
|
1535
|
+
hasNext?: boolean | null;
|
|
1536
|
+
}
|
|
1537
|
+
interface Cursors$3 {
|
|
1538
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
1539
|
+
next?: string | null;
|
|
1540
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
1541
|
+
prev?: string | null;
|
|
1542
|
+
}
|
|
1543
|
+
interface ImageNonNullableFields$3 {
|
|
1544
|
+
id: string;
|
|
1545
|
+
url: string;
|
|
1546
|
+
height: number;
|
|
1547
|
+
width: number;
|
|
1548
|
+
}
|
|
1549
|
+
interface UserMemberNonNullableFields$1 {
|
|
1550
|
+
photo?: ImageNonNullableFields$3;
|
|
1551
|
+
privacyStatus: PrivacyStatusStatus$3;
|
|
1552
|
+
status: Status$3;
|
|
1553
|
+
activityStatus: ActivityStatusStatus$3;
|
|
1554
|
+
}
|
|
1555
|
+
interface QueryUserMembersResponseNonNullableFields$1 {
|
|
1556
|
+
userMembers: UserMemberNonNullableFields$1[];
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
interface UserMember {
|
|
1560
|
+
/**
|
|
1561
|
+
* Profile id.
|
|
1562
|
+
* @readonly
|
|
1563
|
+
*/
|
|
1564
|
+
memberId?: string | null;
|
|
1565
|
+
/**
|
|
1566
|
+
* User id.
|
|
1567
|
+
* @readonly
|
|
1568
|
+
*/
|
|
1569
|
+
userId?: string | null;
|
|
1570
|
+
/**
|
|
1571
|
+
* Contact id.
|
|
1572
|
+
* @readonly
|
|
1573
|
+
*/
|
|
1574
|
+
contactId?: string | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* The instance id of the 'SiteMembers' app.
|
|
1577
|
+
* @readonly
|
|
1578
|
+
*/
|
|
1579
|
+
siteMembersInstanceId?: string | null;
|
|
1580
|
+
/**
|
|
1581
|
+
* The id of the meta site
|
|
1582
|
+
* @readonly
|
|
1583
|
+
*/
|
|
1584
|
+
metaSiteId?: string | null;
|
|
1585
|
+
/** Photo picture, which is used as a profile picture. */
|
|
1586
|
+
photo?: Image$2;
|
|
1587
|
+
/**
|
|
1588
|
+
* Nickname.
|
|
1589
|
+
* @readonly
|
|
1590
|
+
*/
|
|
1591
|
+
nickname?: string | null;
|
|
1592
|
+
/**
|
|
1593
|
+
* Member profile privacy status.
|
|
1594
|
+
* @readonly
|
|
1595
|
+
*/
|
|
1596
|
+
privacyStatus?: PrivacyStatusStatus$2;
|
|
1597
|
+
/**
|
|
1598
|
+
* Member created timestamp.
|
|
1599
|
+
* @readonly
|
|
1600
|
+
*/
|
|
1601
|
+
_createdDate?: Date;
|
|
1602
|
+
/**
|
|
1603
|
+
* Last member updated timestamp.
|
|
1604
|
+
* @readonly
|
|
1605
|
+
*/
|
|
1606
|
+
_updatedDate?: Date;
|
|
1607
|
+
/**
|
|
1608
|
+
* Status, e.g. approved/blocked/...
|
|
1609
|
+
* @readonly
|
|
1610
|
+
*/
|
|
1611
|
+
status?: Status$2;
|
|
1612
|
+
/**
|
|
1613
|
+
* Member activity status.
|
|
1614
|
+
* @readonly
|
|
1615
|
+
*/
|
|
1616
|
+
activityStatus?: ActivityStatusStatus$2;
|
|
1617
|
+
}
|
|
1618
|
+
interface Image$2 {
|
|
1619
|
+
/**
|
|
1620
|
+
* Wix Media image ID,
|
|
1621
|
+
* set when the member selects an image from Wix Media.
|
|
1622
|
+
*/
|
|
1623
|
+
_id?: string;
|
|
1624
|
+
/** Image URL. */
|
|
1625
|
+
url?: string;
|
|
1626
|
+
/** Original image width. */
|
|
1627
|
+
height?: number;
|
|
1628
|
+
/** Original image height. */
|
|
1629
|
+
width?: number;
|
|
1630
|
+
/**
|
|
1631
|
+
* X-axis offset.
|
|
1632
|
+
*
|
|
1633
|
+
* Default: `0`.
|
|
1634
|
+
*/
|
|
1635
|
+
offsetX?: number | null;
|
|
1636
|
+
/**
|
|
1637
|
+
* Y-axis offset.
|
|
1638
|
+
*
|
|
1639
|
+
* Default: `0`.
|
|
1640
|
+
*/
|
|
1641
|
+
offsetY?: number | null;
|
|
1642
|
+
}
|
|
1643
|
+
declare enum PrivacyStatusStatus$2 {
|
|
1644
|
+
UNKNOWN = "UNKNOWN",
|
|
1645
|
+
PRIVATE = "PRIVATE",
|
|
1646
|
+
PUBLIC = "PUBLIC"
|
|
1647
|
+
}
|
|
1648
|
+
declare enum Status$2 {
|
|
1649
|
+
UNKNOWN = "UNKNOWN",
|
|
1650
|
+
PENDING = "PENDING",
|
|
1651
|
+
APPROVED = "APPROVED",
|
|
1652
|
+
BLOCKED = "BLOCKED",
|
|
1653
|
+
OFFLINE = "OFFLINE"
|
|
1654
|
+
}
|
|
1655
|
+
declare enum ActivityStatusStatus$2 {
|
|
1656
|
+
UNKNOWN = "UNKNOWN",
|
|
1657
|
+
ACTIVE = "ACTIVE",
|
|
1658
|
+
MUTED = "MUTED"
|
|
1659
|
+
}
|
|
1660
|
+
interface QueryUserMembersRequest {
|
|
1661
|
+
query?: CursorQuery;
|
|
1662
|
+
}
|
|
1663
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1664
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1665
|
+
cursorPaging?: CursorPaging$2;
|
|
1666
|
+
/**
|
|
1667
|
+
* Filter object in the following format:
|
|
1668
|
+
* `"filter" : {
|
|
1669
|
+
* "fieldName1": "value1",
|
|
1670
|
+
* "fieldName2":{"$operator":"value2"}
|
|
1671
|
+
* }`
|
|
1672
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
1673
|
+
*/
|
|
1674
|
+
filter?: Record<string, any> | null;
|
|
1675
|
+
/**
|
|
1676
|
+
* Sort object in the following format:
|
|
1677
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
1678
|
+
*/
|
|
1679
|
+
sort?: Sorting$4[];
|
|
1680
|
+
}
|
|
1681
|
+
/** @oneof */
|
|
1682
|
+
interface CursorQueryPagingMethodOneOf {
|
|
1683
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1684
|
+
cursorPaging?: CursorPaging$2;
|
|
1685
|
+
}
|
|
1686
|
+
interface Sorting$4 {
|
|
1687
|
+
/** Name of the field to sort by. */
|
|
1688
|
+
fieldName?: string;
|
|
1689
|
+
/** Sort order. */
|
|
1690
|
+
order?: SortOrder$4;
|
|
1691
|
+
}
|
|
1692
|
+
declare enum SortOrder$4 {
|
|
1693
|
+
ASC = "ASC",
|
|
1694
|
+
DESC = "DESC"
|
|
1695
|
+
}
|
|
1696
|
+
interface CursorPaging$2 {
|
|
1697
|
+
/** Number of items to load. */
|
|
1698
|
+
limit?: number | null;
|
|
1699
|
+
/**
|
|
1700
|
+
* Pointer to the next or previous page in the list of results.
|
|
1701
|
+
*
|
|
1702
|
+
* You can get the relevant cursor token
|
|
1703
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
1704
|
+
* Not relevant for the first request.
|
|
1705
|
+
*/
|
|
1706
|
+
cursor?: string | null;
|
|
1707
|
+
}
|
|
1708
|
+
interface QueryUserMembersResponse {
|
|
1709
|
+
userMembers?: UserMember[];
|
|
1710
|
+
metadata?: CursorPagingMetadata;
|
|
1711
|
+
}
|
|
1712
|
+
interface CursorPagingMetadata {
|
|
1713
|
+
/** Number of items returned in the response. */
|
|
1714
|
+
count?: number | null;
|
|
1715
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
1716
|
+
cursors?: Cursors$2;
|
|
1717
|
+
/**
|
|
1718
|
+
* Whether there are more pages to retrieve following the current page.
|
|
1719
|
+
*
|
|
1720
|
+
* + `true`: Another page of results can be retrieved.
|
|
1721
|
+
* + `false`: This is the last page.
|
|
1722
|
+
*/
|
|
1723
|
+
hasNext?: boolean | null;
|
|
1724
|
+
}
|
|
1725
|
+
interface Cursors$2 {
|
|
1726
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
1727
|
+
next?: string | null;
|
|
1728
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
1729
|
+
prev?: string | null;
|
|
1730
|
+
}
|
|
1731
|
+
interface ImageNonNullableFields$2 {
|
|
1732
|
+
_id: string;
|
|
1733
|
+
url: string;
|
|
1734
|
+
height: number;
|
|
1735
|
+
width: number;
|
|
1736
|
+
}
|
|
1737
|
+
interface UserMemberNonNullableFields {
|
|
1738
|
+
photo?: ImageNonNullableFields$2;
|
|
1739
|
+
privacyStatus: PrivacyStatusStatus$2;
|
|
1740
|
+
status: Status$2;
|
|
1741
|
+
activityStatus: ActivityStatusStatus$2;
|
|
1742
|
+
}
|
|
1743
|
+
interface QueryUserMembersResponseNonNullableFields {
|
|
1744
|
+
userMembers: UserMemberNonNullableFields[];
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
type __PublicMethodMetaInfo$6<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1748
|
+
getUrl: (context: any) => string;
|
|
1749
|
+
httpMethod: K;
|
|
1750
|
+
path: string;
|
|
1751
|
+
pathParams: M;
|
|
1752
|
+
__requestType: T;
|
|
1753
|
+
__originalRequestType: S;
|
|
1754
|
+
__responseType: Q;
|
|
1755
|
+
__originalResponseType: R;
|
|
1756
|
+
};
|
|
1757
|
+
declare function queryUserMembers(): __PublicMethodMetaInfo$6<'POST', {}, QueryUserMembersRequest, QueryUserMembersRequest$1, QueryUserMembersResponse & QueryUserMembersResponseNonNullableFields, QueryUserMembersResponse$1 & QueryUserMembersResponseNonNullableFields$1>;
|
|
1758
|
+
|
|
1759
|
+
declare const meta$6_queryUserMembers: typeof queryUserMembers;
|
|
1760
|
+
declare namespace meta$6 {
|
|
1761
|
+
export { type __PublicMethodMetaInfo$6 as __PublicMethodMetaInfo, meta$6_queryUserMembers as queryUserMembers };
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
/** Custom field */
|
|
1765
|
+
interface CustomField$3 {
|
|
1766
|
+
/**
|
|
1767
|
+
* Field ID.
|
|
1768
|
+
* @readonly
|
|
1769
|
+
*/
|
|
1770
|
+
id?: string | null;
|
|
1771
|
+
/** Human-readable name shown in the business manager and live site. */
|
|
1772
|
+
name?: string | null;
|
|
1773
|
+
/**
|
|
1774
|
+
* Field key.
|
|
1775
|
+
* @readonly
|
|
1776
|
+
*/
|
|
1777
|
+
key?: string | null;
|
|
1778
|
+
/** Default privacy of custom field. */
|
|
1779
|
+
defaultPrivacy?: Privacy$3;
|
|
1780
|
+
/** Type of data the field holds. */
|
|
1781
|
+
fieldType?: Type$3;
|
|
1782
|
+
/** Social field type. */
|
|
1783
|
+
socialType?: SocialTypeType$3;
|
|
1784
|
+
/**
|
|
1785
|
+
* Field origin.
|
|
1786
|
+
* @readonly
|
|
1787
|
+
*/
|
|
1788
|
+
fieldOrigin?: Origin$3;
|
|
1789
|
+
/**
|
|
1790
|
+
* Describes whom the custom field applies to.
|
|
1791
|
+
* @readonly
|
|
1792
|
+
*/
|
|
1793
|
+
appliesTo?: AppliesTo$1;
|
|
1794
|
+
/**
|
|
1795
|
+
* The section the field belongs to.
|
|
1796
|
+
* @readonly
|
|
1797
|
+
*/
|
|
1798
|
+
section?: Section$1;
|
|
1799
|
+
/**
|
|
1800
|
+
* Date and time when the field was created.
|
|
1801
|
+
* @readonly
|
|
1802
|
+
*/
|
|
1803
|
+
createdDate?: Date;
|
|
1804
|
+
/**
|
|
1805
|
+
* Date and time when the field was updated.
|
|
1806
|
+
* @readonly
|
|
1807
|
+
*/
|
|
1808
|
+
updatedDate?: Date;
|
|
1809
|
+
/** Revision number, used for checking the optimistic lock condition. */
|
|
1810
|
+
revision?: string | null;
|
|
1811
|
+
}
|
|
1812
|
+
declare enum Privacy$3 {
|
|
1813
|
+
UNKNOWN = "UNKNOWN",
|
|
1814
|
+
PUBLIC = "PUBLIC",
|
|
1815
|
+
PRIVATE = "PRIVATE"
|
|
1816
|
+
}
|
|
1817
|
+
declare enum Type$3 {
|
|
1818
|
+
UNKNOWN = "UNKNOWN",
|
|
1819
|
+
TEXT = "TEXT",
|
|
1820
|
+
NUMBER = "NUMBER",
|
|
1821
|
+
DATE = "DATE",
|
|
1822
|
+
URL = "URL",
|
|
1823
|
+
SOCIAL = "SOCIAL"
|
|
1824
|
+
}
|
|
1825
|
+
declare enum SocialTypeType$3 {
|
|
1826
|
+
UNKNOWN = "UNKNOWN",
|
|
1827
|
+
FACEBOOK = "FACEBOOK",
|
|
1828
|
+
INSTAGRAM = "INSTAGRAM",
|
|
1829
|
+
LINKEDIN = "LINKEDIN",
|
|
1830
|
+
TWITTER = "TWITTER",
|
|
1831
|
+
YOUTUBE = "YOUTUBE",
|
|
1832
|
+
PINTEREST = "PINTEREST",
|
|
1833
|
+
TIKTOK = "TIKTOK",
|
|
1834
|
+
DEVIANTART = "DEVIANTART",
|
|
1835
|
+
SOUNDCLOUD = "SOUNDCLOUD",
|
|
1836
|
+
TUMBLR = "TUMBLR",
|
|
1837
|
+
VIMEO = "VIMEO",
|
|
1838
|
+
VKONTAKTE = "VKONTAKTE",
|
|
1839
|
+
ODNOKLASSNIKI = "ODNOKLASSNIKI",
|
|
1840
|
+
OTHER = "OTHER"
|
|
1841
|
+
}
|
|
1842
|
+
declare enum Origin$3 {
|
|
1843
|
+
UNKNOWN = "UNKNOWN",
|
|
1844
|
+
CUSTOM = "CUSTOM",
|
|
1845
|
+
CONTACT = "CONTACT",
|
|
1846
|
+
SYSTEM = "SYSTEM"
|
|
1847
|
+
}
|
|
1848
|
+
declare enum AppliesTo$1 {
|
|
1849
|
+
ALL_MEMBERS = "ALL_MEMBERS",
|
|
1850
|
+
SELECTED_MEMBERS = "SELECTED_MEMBERS"
|
|
1851
|
+
}
|
|
1852
|
+
declare enum Section$1 {
|
|
1853
|
+
GENERAL = "GENERAL",
|
|
1854
|
+
SOCIAL = "SOCIAL",
|
|
1855
|
+
DISPLAY_INFO = "DISPLAY_INFO",
|
|
1856
|
+
ADDRESS = "ADDRESS"
|
|
1857
|
+
}
|
|
1858
|
+
interface CreateCustomFieldRequest$1 {
|
|
1859
|
+
/** Custom field to create. */
|
|
1860
|
+
field: CustomField$3;
|
|
1861
|
+
}
|
|
1862
|
+
interface CreateCustomFieldResponse$1 {
|
|
1863
|
+
/** Newly created custom field. */
|
|
1864
|
+
field?: CustomField$3;
|
|
1865
|
+
}
|
|
1866
|
+
interface GetCustomFieldRequest$1 {
|
|
1867
|
+
/** Custom field ID. */
|
|
1868
|
+
id: string | null;
|
|
1869
|
+
}
|
|
1870
|
+
interface GetCustomFieldResponse$1 {
|
|
1871
|
+
/** The requested custom field. */
|
|
1872
|
+
field?: CustomField$3;
|
|
1873
|
+
}
|
|
1874
|
+
interface ListCustomFieldsRequest$1 {
|
|
1875
|
+
paging?: Paging$5;
|
|
1876
|
+
}
|
|
1877
|
+
interface Paging$5 {
|
|
1878
|
+
/** Number of items to load. */
|
|
1879
|
+
limit?: number | null;
|
|
1880
|
+
/** Number of items to skip in the current sort order. */
|
|
1881
|
+
offset?: number | null;
|
|
1882
|
+
}
|
|
1883
|
+
interface ListCustomFieldsResponse$1 {
|
|
1884
|
+
fields?: CustomField$3[];
|
|
1885
|
+
metadata?: PagingMetadata$5;
|
|
1886
|
+
}
|
|
1887
|
+
interface PagingMetadata$5 {
|
|
1888
|
+
/** Number of items returned in the response. */
|
|
1889
|
+
count?: number | null;
|
|
1890
|
+
/** Offset that was requested. */
|
|
1891
|
+
offset?: number | null;
|
|
1892
|
+
/** Total number of items that match the query. */
|
|
1893
|
+
total?: number | null;
|
|
1894
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
1895
|
+
tooManyToCount?: boolean | null;
|
|
1896
|
+
}
|
|
1897
|
+
interface UpdateCustomFieldRequest$1 {
|
|
1898
|
+
/** Custom field details to update. */
|
|
1899
|
+
field: CustomField$3;
|
|
1900
|
+
}
|
|
1901
|
+
interface UpdateCustomFieldResponse$1 {
|
|
1902
|
+
/** Updated custom field. */
|
|
1903
|
+
field?: CustomField$3;
|
|
1904
|
+
}
|
|
1905
|
+
interface DeleteCustomFieldRequest$1 {
|
|
1906
|
+
/** ID of the custom field to delete. */
|
|
1907
|
+
id: string | null;
|
|
1908
|
+
/** Revision number. */
|
|
1909
|
+
revision: string | null;
|
|
1910
|
+
}
|
|
1911
|
+
interface DeleteCustomFieldResponse$1 {
|
|
1912
|
+
}
|
|
1913
|
+
interface HideCustomFieldRequest$1 {
|
|
1914
|
+
/** ID of the custom field to hide. */
|
|
1915
|
+
id: string | null;
|
|
1916
|
+
/** Revision number. */
|
|
1917
|
+
revision: string | null;
|
|
1918
|
+
}
|
|
1919
|
+
interface HideCustomFieldResponse$1 {
|
|
1920
|
+
}
|
|
1921
|
+
interface UpdateCustomFieldsOrderRequest$1 {
|
|
1922
|
+
/** Ordered custom field ids. */
|
|
1923
|
+
fieldIds: string[];
|
|
1924
|
+
/** The section given fields belong to. */
|
|
1925
|
+
section?: Section$1;
|
|
1926
|
+
}
|
|
1927
|
+
interface UpdateCustomFieldsOrderResponse$1 {
|
|
1928
|
+
/** Reordered custom fields. */
|
|
1929
|
+
fields?: CustomField$3[];
|
|
1930
|
+
/** The section given fields belong to. */
|
|
1931
|
+
section?: Section$1;
|
|
1932
|
+
}
|
|
1933
|
+
interface CustomFieldNonNullableFields$1 {
|
|
1934
|
+
defaultPrivacy: Privacy$3;
|
|
1935
|
+
fieldType: Type$3;
|
|
1936
|
+
socialType: SocialTypeType$3;
|
|
1937
|
+
fieldOrigin: Origin$3;
|
|
1938
|
+
appliesTo: AppliesTo$1;
|
|
1939
|
+
section: Section$1;
|
|
1940
|
+
}
|
|
1941
|
+
interface CreateCustomFieldResponseNonNullableFields$1 {
|
|
1942
|
+
field?: CustomFieldNonNullableFields$1;
|
|
1943
|
+
}
|
|
1944
|
+
interface GetCustomFieldResponseNonNullableFields$1 {
|
|
1945
|
+
field?: CustomFieldNonNullableFields$1;
|
|
1946
|
+
}
|
|
1947
|
+
interface ListCustomFieldsResponseNonNullableFields$1 {
|
|
1948
|
+
fields: CustomFieldNonNullableFields$1[];
|
|
1949
|
+
}
|
|
1950
|
+
interface UpdateCustomFieldResponseNonNullableFields$1 {
|
|
1951
|
+
field?: CustomFieldNonNullableFields$1;
|
|
1952
|
+
}
|
|
1953
|
+
interface UpdateCustomFieldsOrderResponseNonNullableFields$1 {
|
|
1954
|
+
fields: CustomFieldNonNullableFields$1[];
|
|
1955
|
+
section: Section$1;
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
/** Custom field */
|
|
1959
|
+
interface CustomField$2 {
|
|
1960
|
+
/**
|
|
1961
|
+
* Field ID.
|
|
1962
|
+
* @readonly
|
|
1963
|
+
*/
|
|
1964
|
+
_id?: string | null;
|
|
1965
|
+
/** Human-readable name shown in the business manager and live site. */
|
|
1966
|
+
name?: string | null;
|
|
1967
|
+
/**
|
|
1968
|
+
* Field key.
|
|
1969
|
+
* @readonly
|
|
1970
|
+
*/
|
|
1971
|
+
key?: string | null;
|
|
1972
|
+
/** Default privacy of custom field. */
|
|
1973
|
+
defaultPrivacy?: Privacy$2;
|
|
1974
|
+
/** Type of data the field holds. */
|
|
1975
|
+
fieldType?: Type$2;
|
|
1976
|
+
/** Social field type. */
|
|
1977
|
+
socialType?: SocialTypeType$2;
|
|
1978
|
+
/**
|
|
1979
|
+
* Field origin.
|
|
1980
|
+
* @readonly
|
|
1981
|
+
*/
|
|
1982
|
+
fieldOrigin?: Origin$2;
|
|
1983
|
+
/**
|
|
1984
|
+
* Describes whom the custom field applies to.
|
|
1985
|
+
* @readonly
|
|
1986
|
+
*/
|
|
1987
|
+
appliesTo?: AppliesTo;
|
|
1988
|
+
/**
|
|
1989
|
+
* The section the field belongs to.
|
|
1990
|
+
* @readonly
|
|
1991
|
+
*/
|
|
1992
|
+
section?: Section;
|
|
1993
|
+
/**
|
|
1994
|
+
* Date and time when the field was created.
|
|
1995
|
+
* @readonly
|
|
1996
|
+
*/
|
|
1997
|
+
_createdDate?: Date;
|
|
1998
|
+
/**
|
|
1999
|
+
* Date and time when the field was updated.
|
|
2000
|
+
* @readonly
|
|
2001
|
+
*/
|
|
2002
|
+
_updatedDate?: Date;
|
|
2003
|
+
/** Revision number, used for checking the optimistic lock condition. */
|
|
2004
|
+
revision?: string | null;
|
|
2005
|
+
}
|
|
2006
|
+
declare enum Privacy$2 {
|
|
2007
|
+
UNKNOWN = "UNKNOWN",
|
|
2008
|
+
PUBLIC = "PUBLIC",
|
|
2009
|
+
PRIVATE = "PRIVATE"
|
|
2010
|
+
}
|
|
2011
|
+
declare enum Type$2 {
|
|
2012
|
+
UNKNOWN = "UNKNOWN",
|
|
2013
|
+
TEXT = "TEXT",
|
|
2014
|
+
NUMBER = "NUMBER",
|
|
2015
|
+
DATE = "DATE",
|
|
2016
|
+
URL = "URL",
|
|
2017
|
+
SOCIAL = "SOCIAL"
|
|
2018
|
+
}
|
|
2019
|
+
declare enum SocialTypeType$2 {
|
|
2020
|
+
UNKNOWN = "UNKNOWN",
|
|
2021
|
+
FACEBOOK = "FACEBOOK",
|
|
2022
|
+
INSTAGRAM = "INSTAGRAM",
|
|
2023
|
+
LINKEDIN = "LINKEDIN",
|
|
2024
|
+
TWITTER = "TWITTER",
|
|
2025
|
+
YOUTUBE = "YOUTUBE",
|
|
2026
|
+
PINTEREST = "PINTEREST",
|
|
2027
|
+
TIKTOK = "TIKTOK",
|
|
2028
|
+
DEVIANTART = "DEVIANTART",
|
|
2029
|
+
SOUNDCLOUD = "SOUNDCLOUD",
|
|
2030
|
+
TUMBLR = "TUMBLR",
|
|
2031
|
+
VIMEO = "VIMEO",
|
|
2032
|
+
VKONTAKTE = "VKONTAKTE",
|
|
2033
|
+
ODNOKLASSNIKI = "ODNOKLASSNIKI",
|
|
2034
|
+
OTHER = "OTHER"
|
|
2035
|
+
}
|
|
2036
|
+
declare enum Origin$2 {
|
|
2037
|
+
UNKNOWN = "UNKNOWN",
|
|
2038
|
+
CUSTOM = "CUSTOM",
|
|
2039
|
+
CONTACT = "CONTACT",
|
|
2040
|
+
SYSTEM = "SYSTEM"
|
|
2041
|
+
}
|
|
2042
|
+
declare enum AppliesTo {
|
|
2043
|
+
ALL_MEMBERS = "ALL_MEMBERS",
|
|
2044
|
+
SELECTED_MEMBERS = "SELECTED_MEMBERS"
|
|
2045
|
+
}
|
|
2046
|
+
declare enum Section {
|
|
2047
|
+
GENERAL = "GENERAL",
|
|
2048
|
+
SOCIAL = "SOCIAL",
|
|
2049
|
+
DISPLAY_INFO = "DISPLAY_INFO",
|
|
2050
|
+
ADDRESS = "ADDRESS"
|
|
2051
|
+
}
|
|
2052
|
+
interface CreateCustomFieldRequest {
|
|
2053
|
+
/** Custom field to create. */
|
|
2054
|
+
field: CustomField$2;
|
|
2055
|
+
}
|
|
2056
|
+
interface CreateCustomFieldResponse {
|
|
2057
|
+
/** Newly created custom field. */
|
|
2058
|
+
field?: CustomField$2;
|
|
2059
|
+
}
|
|
2060
|
+
interface GetCustomFieldRequest {
|
|
2061
|
+
/** Custom field ID. */
|
|
2062
|
+
_id: string | null;
|
|
2063
|
+
}
|
|
2064
|
+
interface GetCustomFieldResponse {
|
|
2065
|
+
/** The requested custom field. */
|
|
2066
|
+
field?: CustomField$2;
|
|
2067
|
+
}
|
|
2068
|
+
interface ListCustomFieldsRequest {
|
|
2069
|
+
paging?: Paging$4;
|
|
2070
|
+
}
|
|
2071
|
+
interface Paging$4 {
|
|
2072
|
+
/** Number of items to load. */
|
|
2073
|
+
limit?: number | null;
|
|
2074
|
+
/** Number of items to skip in the current sort order. */
|
|
2075
|
+
offset?: number | null;
|
|
2076
|
+
}
|
|
2077
|
+
interface ListCustomFieldsResponse {
|
|
2078
|
+
fields?: CustomField$2[];
|
|
2079
|
+
metadata?: PagingMetadata$4;
|
|
2080
|
+
}
|
|
2081
|
+
interface PagingMetadata$4 {
|
|
2082
|
+
/** Number of items returned in the response. */
|
|
2083
|
+
count?: number | null;
|
|
2084
|
+
/** Offset that was requested. */
|
|
2085
|
+
offset?: number | null;
|
|
2086
|
+
/** Total number of items that match the query. */
|
|
2087
|
+
total?: number | null;
|
|
2088
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2089
|
+
tooManyToCount?: boolean | null;
|
|
2090
|
+
}
|
|
2091
|
+
interface UpdateCustomFieldRequest {
|
|
2092
|
+
/** Custom field details to update. */
|
|
2093
|
+
field: CustomField$2;
|
|
2094
|
+
}
|
|
2095
|
+
interface UpdateCustomFieldResponse {
|
|
2096
|
+
/** Updated custom field. */
|
|
2097
|
+
field?: CustomField$2;
|
|
2098
|
+
}
|
|
2099
|
+
interface DeleteCustomFieldRequest {
|
|
2100
|
+
/** ID of the custom field to delete. */
|
|
2101
|
+
_id: string | null;
|
|
2102
|
+
/** Revision number. */
|
|
2103
|
+
revision: string | null;
|
|
2104
|
+
}
|
|
2105
|
+
interface DeleteCustomFieldResponse {
|
|
2106
|
+
}
|
|
2107
|
+
interface HideCustomFieldRequest {
|
|
2108
|
+
/** ID of the custom field to hide. */
|
|
2109
|
+
_id: string | null;
|
|
2110
|
+
/** Revision number. */
|
|
2111
|
+
revision: string | null;
|
|
2112
|
+
}
|
|
2113
|
+
interface HideCustomFieldResponse {
|
|
2114
|
+
}
|
|
2115
|
+
interface UpdateCustomFieldsOrderRequest {
|
|
2116
|
+
/** Ordered custom field ids. */
|
|
2117
|
+
fieldIds: string[];
|
|
2118
|
+
/** The section given fields belong to. */
|
|
2119
|
+
section?: Section;
|
|
2120
|
+
}
|
|
2121
|
+
interface UpdateCustomFieldsOrderResponse {
|
|
2122
|
+
/** Reordered custom fields. */
|
|
2123
|
+
fields?: CustomField$2[];
|
|
2124
|
+
/** The section given fields belong to. */
|
|
2125
|
+
section?: Section;
|
|
2126
|
+
}
|
|
2127
|
+
interface CustomFieldNonNullableFields {
|
|
2128
|
+
defaultPrivacy: Privacy$2;
|
|
2129
|
+
fieldType: Type$2;
|
|
2130
|
+
socialType: SocialTypeType$2;
|
|
2131
|
+
fieldOrigin: Origin$2;
|
|
2132
|
+
appliesTo: AppliesTo;
|
|
2133
|
+
section: Section;
|
|
2134
|
+
}
|
|
2135
|
+
interface CreateCustomFieldResponseNonNullableFields {
|
|
2136
|
+
field?: CustomFieldNonNullableFields;
|
|
2137
|
+
}
|
|
2138
|
+
interface GetCustomFieldResponseNonNullableFields {
|
|
2139
|
+
field?: CustomFieldNonNullableFields;
|
|
2140
|
+
}
|
|
2141
|
+
interface ListCustomFieldsResponseNonNullableFields {
|
|
2142
|
+
fields: CustomFieldNonNullableFields[];
|
|
2143
|
+
}
|
|
2144
|
+
interface UpdateCustomFieldResponseNonNullableFields {
|
|
2145
|
+
field?: CustomFieldNonNullableFields;
|
|
2146
|
+
}
|
|
2147
|
+
interface UpdateCustomFieldsOrderResponseNonNullableFields {
|
|
2148
|
+
fields: CustomFieldNonNullableFields[];
|
|
2149
|
+
section: Section;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2153
|
+
getUrl: (context: any) => string;
|
|
2154
|
+
httpMethod: K;
|
|
2155
|
+
path: string;
|
|
2156
|
+
pathParams: M;
|
|
2157
|
+
__requestType: T;
|
|
2158
|
+
__originalRequestType: S;
|
|
2159
|
+
__responseType: Q;
|
|
2160
|
+
__originalResponseType: R;
|
|
2161
|
+
};
|
|
2162
|
+
declare function createCustomField(): __PublicMethodMetaInfo$5<'POST', {}, CreateCustomFieldRequest, CreateCustomFieldRequest$1, CreateCustomFieldResponse & CreateCustomFieldResponseNonNullableFields, CreateCustomFieldResponse$1 & CreateCustomFieldResponseNonNullableFields$1>;
|
|
2163
|
+
declare function getCustomField(): __PublicMethodMetaInfo$5<'GET', {
|
|
2164
|
+
id: string;
|
|
2165
|
+
}, GetCustomFieldRequest, GetCustomFieldRequest$1, GetCustomFieldResponse & GetCustomFieldResponseNonNullableFields, GetCustomFieldResponse$1 & GetCustomFieldResponseNonNullableFields$1>;
|
|
2166
|
+
declare function listCustomFields(): __PublicMethodMetaInfo$5<'GET', {}, ListCustomFieldsRequest, ListCustomFieldsRequest$1, ListCustomFieldsResponse & ListCustomFieldsResponseNonNullableFields, ListCustomFieldsResponse$1 & ListCustomFieldsResponseNonNullableFields$1>;
|
|
2167
|
+
declare function updateCustomField(): __PublicMethodMetaInfo$5<'PATCH', {
|
|
2168
|
+
fieldId: string;
|
|
2169
|
+
}, UpdateCustomFieldRequest, UpdateCustomFieldRequest$1, UpdateCustomFieldResponse & UpdateCustomFieldResponseNonNullableFields, UpdateCustomFieldResponse$1 & UpdateCustomFieldResponseNonNullableFields$1>;
|
|
2170
|
+
declare function deleteCustomField(): __PublicMethodMetaInfo$5<'DELETE', {
|
|
2171
|
+
id: string;
|
|
2172
|
+
}, DeleteCustomFieldRequest, DeleteCustomFieldRequest$1, DeleteCustomFieldResponse, DeleteCustomFieldResponse$1>;
|
|
2173
|
+
declare function hideCustomField(): __PublicMethodMetaInfo$5<'POST', {
|
|
2174
|
+
id: string;
|
|
2175
|
+
}, HideCustomFieldRequest, HideCustomFieldRequest$1, HideCustomFieldResponse, HideCustomFieldResponse$1>;
|
|
2176
|
+
declare function updateCustomFieldsOrder(): __PublicMethodMetaInfo$5<'POST', {}, UpdateCustomFieldsOrderRequest, UpdateCustomFieldsOrderRequest$1, UpdateCustomFieldsOrderResponse & UpdateCustomFieldsOrderResponseNonNullableFields, UpdateCustomFieldsOrderResponse$1 & UpdateCustomFieldsOrderResponseNonNullableFields$1>;
|
|
2177
|
+
|
|
2178
|
+
declare const meta$5_createCustomField: typeof createCustomField;
|
|
2179
|
+
declare const meta$5_deleteCustomField: typeof deleteCustomField;
|
|
2180
|
+
declare const meta$5_getCustomField: typeof getCustomField;
|
|
2181
|
+
declare const meta$5_hideCustomField: typeof hideCustomField;
|
|
2182
|
+
declare const meta$5_listCustomFields: typeof listCustomFields;
|
|
2183
|
+
declare const meta$5_updateCustomField: typeof updateCustomField;
|
|
2184
|
+
declare const meta$5_updateCustomFieldsOrder: typeof updateCustomFieldsOrder;
|
|
2185
|
+
declare namespace meta$5 {
|
|
2186
|
+
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_createCustomField as createCustomField, meta$5_deleteCustomField as deleteCustomField, meta$5_getCustomField as getCustomField, meta$5_hideCustomField as hideCustomField, meta$5_listCustomFields as listCustomFields, meta$5_updateCustomField as updateCustomField, meta$5_updateCustomFieldsOrder as updateCustomFieldsOrder };
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
interface CustomFieldSuggestion$1 {
|
|
2190
|
+
/** Human-readable name shown in the business manager and live site. */
|
|
2191
|
+
name?: string | null;
|
|
2192
|
+
/** Default privacy of custom field. */
|
|
2193
|
+
defaultPrivacy?: Privacy$1;
|
|
2194
|
+
/** Type of data the field holds. */
|
|
2195
|
+
fieldType?: Type$1;
|
|
2196
|
+
/** Social field type. */
|
|
2197
|
+
socialType?: SocialTypeType$1;
|
|
2198
|
+
/** Field origin. */
|
|
2199
|
+
fieldOrigin?: Origin$1;
|
|
2200
|
+
/** Custom field ID. */
|
|
2201
|
+
customFieldId?: string | null;
|
|
2202
|
+
}
|
|
2203
|
+
declare enum Privacy$1 {
|
|
2204
|
+
UNKNOWN = "UNKNOWN",
|
|
2205
|
+
PUBLIC = "PUBLIC",
|
|
2206
|
+
PRIVATE = "PRIVATE"
|
|
2207
|
+
}
|
|
2208
|
+
declare enum Type$1 {
|
|
2209
|
+
UNKNOWN = "UNKNOWN",
|
|
2210
|
+
TEXT = "TEXT",
|
|
2211
|
+
NUMBER = "NUMBER",
|
|
2212
|
+
DATE = "DATE",
|
|
2213
|
+
URL = "URL",
|
|
2214
|
+
SOCIAL = "SOCIAL"
|
|
2215
|
+
}
|
|
2216
|
+
declare enum SocialTypeType$1 {
|
|
2217
|
+
UNKNOWN = "UNKNOWN",
|
|
2218
|
+
FACEBOOK = "FACEBOOK",
|
|
2219
|
+
INSTAGRAM = "INSTAGRAM",
|
|
2220
|
+
LINKEDIN = "LINKEDIN",
|
|
2221
|
+
TWITTER = "TWITTER",
|
|
2222
|
+
YOUTUBE = "YOUTUBE",
|
|
2223
|
+
PINTEREST = "PINTEREST",
|
|
2224
|
+
TIKTOK = "TIKTOK",
|
|
2225
|
+
DEVIANTART = "DEVIANTART",
|
|
2226
|
+
SOUNDCLOUD = "SOUNDCLOUD",
|
|
2227
|
+
TUMBLR = "TUMBLR",
|
|
2228
|
+
VIMEO = "VIMEO",
|
|
2229
|
+
VKONTAKTE = "VKONTAKTE",
|
|
2230
|
+
ODNOKLASSNIKI = "ODNOKLASSNIKI",
|
|
2231
|
+
OTHER = "OTHER"
|
|
2232
|
+
}
|
|
2233
|
+
declare enum Origin$1 {
|
|
2234
|
+
UNKNOWN = "UNKNOWN",
|
|
2235
|
+
CUSTOM = "CUSTOM",
|
|
2236
|
+
CONTACT = "CONTACT",
|
|
2237
|
+
SYSTEM = "SYSTEM"
|
|
2238
|
+
}
|
|
2239
|
+
interface ListCustomFieldSuggestionsRequest$1 {
|
|
2240
|
+
paging?: Paging$3;
|
|
2241
|
+
sorting?: Sorting$3[];
|
|
2242
|
+
}
|
|
2243
|
+
interface Paging$3 {
|
|
2244
|
+
/** Number of items to load. */
|
|
2245
|
+
limit?: number | null;
|
|
2246
|
+
/** Number of items to skip in the current sort order. */
|
|
2247
|
+
offset?: number | null;
|
|
2248
|
+
}
|
|
2249
|
+
interface Sorting$3 {
|
|
2250
|
+
/** Name of the field to sort by. */
|
|
2251
|
+
fieldName?: string;
|
|
2252
|
+
/** Sort order. */
|
|
2253
|
+
order?: SortOrder$3;
|
|
2254
|
+
}
|
|
2255
|
+
declare enum SortOrder$3 {
|
|
2256
|
+
ASC = "ASC",
|
|
2257
|
+
DESC = "DESC"
|
|
2258
|
+
}
|
|
2259
|
+
interface ListCustomFieldSuggestionsResponse$1 {
|
|
2260
|
+
/** Custom field suggestion. */
|
|
2261
|
+
suggestions?: CustomFieldSuggestion$1[];
|
|
2262
|
+
metadata?: PagingMetadata$3;
|
|
2263
|
+
}
|
|
2264
|
+
interface PagingMetadata$3 {
|
|
2265
|
+
/** Number of items returned in the response. */
|
|
2266
|
+
count?: number | null;
|
|
2267
|
+
/** Offset that was requested. */
|
|
2268
|
+
offset?: number | null;
|
|
2269
|
+
/** Total number of items that match the query. */
|
|
2270
|
+
total?: number | null;
|
|
2271
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2272
|
+
tooManyToCount?: boolean | null;
|
|
2273
|
+
}
|
|
2274
|
+
interface QueryCustomFieldSuggestionsRequest$1 {
|
|
2275
|
+
query?: Query$5;
|
|
2276
|
+
}
|
|
2277
|
+
interface Query$5 {
|
|
2278
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
2279
|
+
filter?: any;
|
|
2280
|
+
/** Limit number of results */
|
|
2281
|
+
paging?: Paging$3;
|
|
2282
|
+
/** Sort the results */
|
|
2283
|
+
sorting?: Sorting$3[];
|
|
2284
|
+
}
|
|
2285
|
+
interface QueryCustomFieldSuggestionsResponse$1 {
|
|
2286
|
+
/** Custom field suggestion. */
|
|
2287
|
+
suggestions?: CustomFieldSuggestion$1[];
|
|
2288
|
+
metadata?: PagingMetadata$3;
|
|
2289
|
+
}
|
|
2290
|
+
interface CustomFieldSuggestionNonNullableFields$1 {
|
|
2291
|
+
defaultPrivacy: Privacy$1;
|
|
2292
|
+
fieldType: Type$1;
|
|
2293
|
+
socialType: SocialTypeType$1;
|
|
2294
|
+
fieldOrigin: Origin$1;
|
|
2295
|
+
}
|
|
2296
|
+
interface ListCustomFieldSuggestionsResponseNonNullableFields$1 {
|
|
2297
|
+
suggestions: CustomFieldSuggestionNonNullableFields$1[];
|
|
2298
|
+
}
|
|
2299
|
+
interface QueryCustomFieldSuggestionsResponseNonNullableFields$1 {
|
|
2300
|
+
suggestions: CustomFieldSuggestionNonNullableFields$1[];
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
interface CustomFieldSuggestion {
|
|
2304
|
+
/** Human-readable name shown in the business manager and live site. */
|
|
2305
|
+
name?: string | null;
|
|
2306
|
+
/** Default privacy of custom field. */
|
|
2307
|
+
defaultPrivacy?: Privacy;
|
|
2308
|
+
/** Type of data the field holds. */
|
|
2309
|
+
fieldType?: Type;
|
|
2310
|
+
/** Social field type. */
|
|
2311
|
+
socialType?: SocialTypeType;
|
|
2312
|
+
/** Field origin. */
|
|
2313
|
+
fieldOrigin?: Origin;
|
|
2314
|
+
/** Custom field ID. */
|
|
2315
|
+
customFieldId?: string | null;
|
|
2316
|
+
}
|
|
2317
|
+
declare enum Privacy {
|
|
2318
|
+
UNKNOWN = "UNKNOWN",
|
|
2319
|
+
PUBLIC = "PUBLIC",
|
|
2320
|
+
PRIVATE = "PRIVATE"
|
|
2321
|
+
}
|
|
2322
|
+
declare enum Type {
|
|
2323
|
+
UNKNOWN = "UNKNOWN",
|
|
2324
|
+
TEXT = "TEXT",
|
|
2325
|
+
NUMBER = "NUMBER",
|
|
2326
|
+
DATE = "DATE",
|
|
2327
|
+
URL = "URL",
|
|
2328
|
+
SOCIAL = "SOCIAL"
|
|
2329
|
+
}
|
|
2330
|
+
declare enum SocialTypeType {
|
|
2331
|
+
UNKNOWN = "UNKNOWN",
|
|
2332
|
+
FACEBOOK = "FACEBOOK",
|
|
2333
|
+
INSTAGRAM = "INSTAGRAM",
|
|
2334
|
+
LINKEDIN = "LINKEDIN",
|
|
2335
|
+
TWITTER = "TWITTER",
|
|
2336
|
+
YOUTUBE = "YOUTUBE",
|
|
2337
|
+
PINTEREST = "PINTEREST",
|
|
2338
|
+
TIKTOK = "TIKTOK",
|
|
2339
|
+
DEVIANTART = "DEVIANTART",
|
|
2340
|
+
SOUNDCLOUD = "SOUNDCLOUD",
|
|
2341
|
+
TUMBLR = "TUMBLR",
|
|
2342
|
+
VIMEO = "VIMEO",
|
|
2343
|
+
VKONTAKTE = "VKONTAKTE",
|
|
2344
|
+
ODNOKLASSNIKI = "ODNOKLASSNIKI",
|
|
2345
|
+
OTHER = "OTHER"
|
|
2346
|
+
}
|
|
2347
|
+
declare enum Origin {
|
|
2348
|
+
UNKNOWN = "UNKNOWN",
|
|
2349
|
+
CUSTOM = "CUSTOM",
|
|
2350
|
+
CONTACT = "CONTACT",
|
|
2351
|
+
SYSTEM = "SYSTEM"
|
|
2352
|
+
}
|
|
2353
|
+
interface ListCustomFieldSuggestionsRequest {
|
|
2354
|
+
paging?: Paging$2;
|
|
2355
|
+
sorting?: Sorting$2[];
|
|
2356
|
+
}
|
|
2357
|
+
interface Paging$2 {
|
|
2358
|
+
/** Number of items to load. */
|
|
2359
|
+
limit?: number | null;
|
|
2360
|
+
/** Number of items to skip in the current sort order. */
|
|
2361
|
+
offset?: number | null;
|
|
2362
|
+
}
|
|
2363
|
+
interface Sorting$2 {
|
|
2364
|
+
/** Name of the field to sort by. */
|
|
2365
|
+
fieldName?: string;
|
|
2366
|
+
/** Sort order. */
|
|
2367
|
+
order?: SortOrder$2;
|
|
2368
|
+
}
|
|
2369
|
+
declare enum SortOrder$2 {
|
|
2370
|
+
ASC = "ASC",
|
|
2371
|
+
DESC = "DESC"
|
|
2372
|
+
}
|
|
2373
|
+
interface ListCustomFieldSuggestionsResponse {
|
|
2374
|
+
/** Custom field suggestion. */
|
|
2375
|
+
suggestions?: CustomFieldSuggestion[];
|
|
2376
|
+
metadata?: PagingMetadata$2;
|
|
2377
|
+
}
|
|
2378
|
+
interface PagingMetadata$2 {
|
|
2379
|
+
/** Number of items returned in the response. */
|
|
2380
|
+
count?: number | null;
|
|
2381
|
+
/** Offset that was requested. */
|
|
2382
|
+
offset?: number | null;
|
|
2383
|
+
/** Total number of items that match the query. */
|
|
2384
|
+
total?: number | null;
|
|
2385
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2386
|
+
tooManyToCount?: boolean | null;
|
|
2387
|
+
}
|
|
2388
|
+
interface QueryCustomFieldSuggestionsRequest {
|
|
2389
|
+
query?: Query$4;
|
|
2390
|
+
}
|
|
2391
|
+
interface Query$4 {
|
|
2392
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
2393
|
+
filter?: any;
|
|
2394
|
+
/** Limit number of results */
|
|
2395
|
+
paging?: Paging$2;
|
|
2396
|
+
/** Sort the results */
|
|
2397
|
+
sorting?: Sorting$2[];
|
|
2398
|
+
}
|
|
2399
|
+
interface QueryCustomFieldSuggestionsResponse {
|
|
2400
|
+
/** Custom field suggestion. */
|
|
2401
|
+
suggestions?: CustomFieldSuggestion[];
|
|
2402
|
+
metadata?: PagingMetadata$2;
|
|
2403
|
+
}
|
|
2404
|
+
interface CustomFieldSuggestionNonNullableFields {
|
|
2405
|
+
defaultPrivacy: Privacy;
|
|
2406
|
+
fieldType: Type;
|
|
2407
|
+
socialType: SocialTypeType;
|
|
2408
|
+
fieldOrigin: Origin;
|
|
2409
|
+
}
|
|
2410
|
+
interface ListCustomFieldSuggestionsResponseNonNullableFields {
|
|
2411
|
+
suggestions: CustomFieldSuggestionNonNullableFields[];
|
|
2412
|
+
}
|
|
2413
|
+
interface QueryCustomFieldSuggestionsResponseNonNullableFields {
|
|
2414
|
+
suggestions: CustomFieldSuggestionNonNullableFields[];
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2418
|
+
getUrl: (context: any) => string;
|
|
2419
|
+
httpMethod: K;
|
|
2420
|
+
path: string;
|
|
2421
|
+
pathParams: M;
|
|
2422
|
+
__requestType: T;
|
|
2423
|
+
__originalRequestType: S;
|
|
2424
|
+
__responseType: Q;
|
|
2425
|
+
__originalResponseType: R;
|
|
2426
|
+
};
|
|
2427
|
+
declare function listCustomFieldSuggestions(): __PublicMethodMetaInfo$4<'GET', {}, ListCustomFieldSuggestionsRequest, ListCustomFieldSuggestionsRequest$1, ListCustomFieldSuggestionsResponse & ListCustomFieldSuggestionsResponseNonNullableFields, ListCustomFieldSuggestionsResponse$1 & ListCustomFieldSuggestionsResponseNonNullableFields$1>;
|
|
2428
|
+
declare function queryCustomFieldSuggestions(): __PublicMethodMetaInfo$4<'POST', {}, QueryCustomFieldSuggestionsRequest, QueryCustomFieldSuggestionsRequest$1, QueryCustomFieldSuggestionsResponse & QueryCustomFieldSuggestionsResponseNonNullableFields, QueryCustomFieldSuggestionsResponse$1 & QueryCustomFieldSuggestionsResponseNonNullableFields$1>;
|
|
2429
|
+
|
|
2430
|
+
declare const meta$4_listCustomFieldSuggestions: typeof listCustomFieldSuggestions;
|
|
2431
|
+
declare const meta$4_queryCustomFieldSuggestions: typeof queryCustomFieldSuggestions;
|
|
2432
|
+
declare namespace meta$4 {
|
|
2433
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_listCustomFieldSuggestions as listCustomFieldSuggestions, meta$4_queryCustomFieldSuggestions as queryCustomFieldSuggestions };
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
interface Member$1 {
|
|
2437
|
+
/**
|
|
2438
|
+
* Member ID.
|
|
2439
|
+
* @readonly
|
|
2440
|
+
*/
|
|
2441
|
+
id?: string | null;
|
|
2442
|
+
/** Email used by the member to log in to the site. */
|
|
2443
|
+
loginEmail?: string | null;
|
|
2444
|
+
/**
|
|
2445
|
+
* Whether the email used by the member has been verified.
|
|
2446
|
+
* @readonly
|
|
2447
|
+
*/
|
|
2448
|
+
loginEmailVerified?: boolean | null;
|
|
2449
|
+
/**
|
|
2450
|
+
* Member site access status.
|
|
2451
|
+
*
|
|
2452
|
+
* - `PENDING`: Member created and is waiting for approval by site owner.
|
|
2453
|
+
* - `APPROVED`: Member can log in to the site.
|
|
2454
|
+
* - `OFFLINE`: Member is a [guest author](https://support.wix.com/en/article/wix-blog-adding-guest-authors-to-your-blog) for the site blog and cannot log in to the site.
|
|
2455
|
+
* - `BLOCKED`: Member is blocked and cannot log in to the site.
|
|
2456
|
+
* - `UNKNOWN`: Insufficient permissions to get the status.
|
|
2457
|
+
* @readonly
|
|
2458
|
+
*/
|
|
2459
|
+
status?: Status$1;
|
|
2460
|
+
/**
|
|
2461
|
+
* Contact ID.
|
|
2462
|
+
* @readonly
|
|
2463
|
+
*/
|
|
2464
|
+
contactId?: string | null;
|
|
2465
|
+
/**
|
|
2466
|
+
* Member's contact information. Contact information is stored in the
|
|
2467
|
+
* [Contact List](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fcontacts).
|
|
2468
|
+
*
|
|
2469
|
+
* The full set of contact data can be accessed and managed with the
|
|
2470
|
+
* [Contacts API](https://dev.wix.com/api/rest/contacts/contacts).
|
|
2471
|
+
*/
|
|
2472
|
+
contact?: Contact$1;
|
|
2473
|
+
/** Profile display info. */
|
|
2474
|
+
profile?: Profile$1;
|
|
2475
|
+
/**
|
|
2476
|
+
* Member privacy status.
|
|
2477
|
+
*
|
|
2478
|
+
* - `PUBLIC`: Member is visible to everyone.
|
|
2479
|
+
* - `PRIVATE`: Member is hidden from site visitors and other site members. Member is returned only to site contributors and apps with the appropriate permissions.
|
|
2480
|
+
* - `UNKNOWN`: Insufficient permissions to get the status.
|
|
2481
|
+
*/
|
|
2482
|
+
privacyStatus?: PrivacyStatusStatus$1;
|
|
2483
|
+
/**
|
|
2484
|
+
* Member activity status.
|
|
2485
|
+
*
|
|
2486
|
+
* - `ACTIVE`: Member can write forum posts and blog comments.
|
|
2487
|
+
* - `MUTED`: Member cannot write forum posts or blog comments.
|
|
2488
|
+
* - `UNKNOWN`: Insufficient permissions to get the status.
|
|
2489
|
+
* @readonly
|
|
2490
|
+
*/
|
|
2491
|
+
activityStatus?: ActivityStatusStatus$1;
|
|
2492
|
+
/**
|
|
2493
|
+
* Date and time when the member was created.
|
|
2494
|
+
* @readonly
|
|
2495
|
+
*/
|
|
2496
|
+
createdDate?: Date;
|
|
2497
|
+
/**
|
|
2498
|
+
* Date and time when the member was updated.
|
|
2499
|
+
* @readonly
|
|
2500
|
+
*/
|
|
2501
|
+
updatedDate?: Date;
|
|
2502
|
+
/**
|
|
2503
|
+
* Date and time when the member last logged in to the site.
|
|
2504
|
+
* @readonly
|
|
2505
|
+
*/
|
|
2506
|
+
lastLoginDate?: Date;
|
|
2507
|
+
}
|
|
2508
|
+
declare enum Status$1 {
|
|
2509
|
+
UNKNOWN = "UNKNOWN",
|
|
2510
|
+
PENDING = "PENDING",
|
|
2511
|
+
APPROVED = "APPROVED",
|
|
2512
|
+
BLOCKED = "BLOCKED",
|
|
2513
|
+
OFFLINE = "OFFLINE"
|
|
2514
|
+
}
|
|
2515
|
+
/** Contact info associated with the member. */
|
|
2516
|
+
interface Contact$1 {
|
|
2517
|
+
/**
|
|
2518
|
+
* Contact ID.
|
|
2519
|
+
*
|
|
2520
|
+
* > **Deprecation notice:**
|
|
2521
|
+
* > This property has been replaced with `member.contactId`
|
|
2522
|
+
* > and will be removed on June 11, 2021.
|
|
2523
|
+
* @readonly
|
|
2524
|
+
* @deprecated
|
|
2525
|
+
*/
|
|
2526
|
+
contactId?: string | null;
|
|
2527
|
+
/** Contact's first name. */
|
|
2528
|
+
firstName?: string | null;
|
|
2529
|
+
/** Contact's last name. */
|
|
2530
|
+
lastName?: string | null;
|
|
2531
|
+
/** List of phone numbers. */
|
|
2532
|
+
phones?: string[] | null;
|
|
2533
|
+
/** List of email addresses. */
|
|
2534
|
+
emails?: string[] | null;
|
|
2535
|
+
/** List of street addresses. */
|
|
2536
|
+
addresses?: Address$1[];
|
|
2537
|
+
/**
|
|
2538
|
+
* Contact's birthdate, formatted as `"YYYY-MM-DD"`.
|
|
2539
|
+
*
|
|
2540
|
+
* Example: `"2020-03-15"` for March 15, 2020.
|
|
2541
|
+
*/
|
|
2542
|
+
birthdate?: string | null;
|
|
2543
|
+
/** Contact's company name. */
|
|
2544
|
+
company?: string | null;
|
|
2545
|
+
/** Contact's job title. */
|
|
2546
|
+
jobTitle?: string | null;
|
|
2547
|
+
/**
|
|
2548
|
+
* Custom fields,
|
|
2549
|
+
* where each key is the field key,
|
|
2550
|
+
* and each value is the field's value for the member.
|
|
2551
|
+
*/
|
|
2552
|
+
customFields?: Record<string, CustomField$1>;
|
|
2553
|
+
}
|
|
2554
|
+
/** Street address. */
|
|
2555
|
+
interface Address$1 extends AddressStreetOneOf$1 {
|
|
2556
|
+
/** Street address object, with number and name in separate fields. */
|
|
2557
|
+
streetAddress?: StreetAddress$1;
|
|
2558
|
+
/** Main address line, usually street and number, as free text. */
|
|
2559
|
+
addressLine?: string | null;
|
|
2560
|
+
/**
|
|
2561
|
+
* Street address ID.
|
|
2562
|
+
* @readonly
|
|
2563
|
+
*/
|
|
2564
|
+
id?: string | null;
|
|
2565
|
+
/**
|
|
2566
|
+
* Free text providing more detailed address information,
|
|
2567
|
+
* such as apartment, suite, or floor.
|
|
2568
|
+
*/
|
|
2569
|
+
addressLine2?: string | null;
|
|
2570
|
+
/** City name. */
|
|
2571
|
+
city?: string | null;
|
|
2572
|
+
/**
|
|
2573
|
+
* Code for a subdivision (such as state, prefecture, or province) in an
|
|
2574
|
+
* [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format.
|
|
2575
|
+
*/
|
|
2576
|
+
subdivision?: string | null;
|
|
2577
|
+
/**
|
|
2578
|
+
* 2-letter country code in an
|
|
2579
|
+
* [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
2580
|
+
*/
|
|
2581
|
+
country?: string | null;
|
|
2582
|
+
/** Postal code. */
|
|
2583
|
+
postalCode?: string | null;
|
|
2584
|
+
}
|
|
2585
|
+
/** @oneof */
|
|
2586
|
+
interface AddressStreetOneOf$1 {
|
|
2587
|
+
/** Street address object, with number and name in separate fields. */
|
|
2588
|
+
streetAddress?: StreetAddress$1;
|
|
2589
|
+
/** Main address line, usually street and number, as free text. */
|
|
2590
|
+
addressLine?: string | null;
|
|
2591
|
+
}
|
|
2592
|
+
interface StreetAddress$1 {
|
|
2593
|
+
/** Street number. */
|
|
2594
|
+
number?: string;
|
|
2595
|
+
/** Street name. */
|
|
2596
|
+
name?: string;
|
|
2597
|
+
}
|
|
2598
|
+
interface CustomField$1 {
|
|
2599
|
+
/** Custom field name. */
|
|
2600
|
+
name?: string | null;
|
|
2601
|
+
/** Custom field value. */
|
|
2602
|
+
value?: any;
|
|
2603
|
+
}
|
|
2604
|
+
/** Member Profile */
|
|
2605
|
+
interface Profile$1 {
|
|
2606
|
+
/**
|
|
2607
|
+
* Name that identifies the member to other members.
|
|
2608
|
+
* Displayed on the member's profile page
|
|
2609
|
+
* and interactions in the forum or blog.
|
|
2610
|
+
*/
|
|
2611
|
+
nickname?: string | null;
|
|
2612
|
+
/**
|
|
2613
|
+
* Slug that determines the member's profile page URL.
|
|
2614
|
+
* @readonly
|
|
2615
|
+
*/
|
|
2616
|
+
slug?: string | null;
|
|
2617
|
+
/** Member's profile photo. */
|
|
2618
|
+
photo?: Image$1;
|
|
2619
|
+
/**
|
|
2620
|
+
* Member's cover photo,
|
|
2621
|
+
* used as a background picture in members profile page.
|
|
2622
|
+
*
|
|
2623
|
+
* Cover positioning can be altered with `cover.offsetX` and `cover.offsetY`.
|
|
2624
|
+
* When left empty, the values default to `0`.
|
|
2625
|
+
*/
|
|
2626
|
+
cover?: Image$1;
|
|
2627
|
+
/**
|
|
2628
|
+
* Member title.
|
|
2629
|
+
*
|
|
2630
|
+
* Currently available through the API only.
|
|
2631
|
+
*/
|
|
2632
|
+
title?: string | null;
|
|
2633
|
+
}
|
|
2634
|
+
interface Image$1 {
|
|
2635
|
+
/**
|
|
2636
|
+
* Wix Media image ID,
|
|
2637
|
+
* set when the member selects an image from Wix Media.
|
|
2638
|
+
*/
|
|
2639
|
+
id?: string;
|
|
2640
|
+
/** Image URL. */
|
|
2641
|
+
url?: string;
|
|
2642
|
+
/** Original image width. */
|
|
2643
|
+
height?: number;
|
|
2644
|
+
/** Original image height. */
|
|
2645
|
+
width?: number;
|
|
2646
|
+
/**
|
|
2647
|
+
* X-axis offset.
|
|
2648
|
+
*
|
|
2649
|
+
* Default: `0`.
|
|
2650
|
+
*/
|
|
2651
|
+
offsetX?: number | null;
|
|
2652
|
+
/**
|
|
2653
|
+
* Y-axis offset.
|
|
2654
|
+
*
|
|
2655
|
+
* Default: `0`.
|
|
2656
|
+
*/
|
|
2657
|
+
offsetY?: number | null;
|
|
2658
|
+
}
|
|
2659
|
+
declare enum PrivacyStatusStatus$1 {
|
|
2660
|
+
UNKNOWN = "UNKNOWN",
|
|
2661
|
+
PRIVATE = "PRIVATE",
|
|
2662
|
+
PUBLIC = "PUBLIC"
|
|
2663
|
+
}
|
|
2664
|
+
declare enum ActivityStatusStatus$1 {
|
|
2665
|
+
UNKNOWN = "UNKNOWN",
|
|
2666
|
+
ACTIVE = "ACTIVE",
|
|
2667
|
+
MUTED = "MUTED"
|
|
2668
|
+
}
|
|
2669
|
+
interface UpdateMySlugRequest$1 {
|
|
2670
|
+
/** New slug. */
|
|
2671
|
+
slug: string;
|
|
2672
|
+
}
|
|
2673
|
+
interface UpdateMySlugResponse$1 {
|
|
2674
|
+
/** Updated member. */
|
|
2675
|
+
member?: Member$1;
|
|
2676
|
+
}
|
|
2677
|
+
interface UpdateMemberSlugRequest$1 {
|
|
2678
|
+
/** ID of the member whose slug will be updated. */
|
|
2679
|
+
id: string;
|
|
2680
|
+
/** New slug. */
|
|
2681
|
+
slug: string;
|
|
2682
|
+
}
|
|
2683
|
+
interface UpdateMemberSlugResponse$1 {
|
|
2684
|
+
/** Updated member. */
|
|
2685
|
+
member?: Member$1;
|
|
2686
|
+
}
|
|
2687
|
+
interface JoinCommunityRequest$1 {
|
|
2688
|
+
}
|
|
2689
|
+
/** Member profile. */
|
|
2690
|
+
interface JoinCommunityResponse$1 {
|
|
2691
|
+
/** The updated member. */
|
|
2692
|
+
member?: Member$1;
|
|
2693
|
+
}
|
|
2694
|
+
interface LeaveCommunityRequest$1 {
|
|
2695
|
+
}
|
|
2696
|
+
/** Member profile. */
|
|
2697
|
+
interface LeaveCommunityResponse$1 {
|
|
2698
|
+
/** The updated member. */
|
|
2699
|
+
member?: Member$1;
|
|
2700
|
+
}
|
|
2701
|
+
interface GetMyMemberRequest$1 {
|
|
1722
2702
|
/**
|
|
1723
2703
|
* Predefined set of fields to return.
|
|
1724
2704
|
*
|
|
@@ -1814,7 +2794,7 @@ interface PagingMetadata$1 {
|
|
|
1814
2794
|
}
|
|
1815
2795
|
interface QueryMembersRequest$1 {
|
|
1816
2796
|
/** Query options. */
|
|
1817
|
-
query?: Query$
|
|
2797
|
+
query?: Query$3;
|
|
1818
2798
|
/**
|
|
1819
2799
|
* Predefined sets of fields to return.
|
|
1820
2800
|
*
|
|
@@ -1824,7 +2804,7 @@ interface QueryMembersRequest$1 {
|
|
|
1824
2804
|
/** Plain text search. */
|
|
1825
2805
|
search?: Search$1;
|
|
1826
2806
|
}
|
|
1827
|
-
interface Query$
|
|
2807
|
+
interface Query$3 {
|
|
1828
2808
|
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
1829
2809
|
filter?: any;
|
|
1830
2810
|
/** Limit number of results */
|
|
@@ -1856,12 +2836,115 @@ interface QueryMembersResponse$1 {
|
|
|
1856
2836
|
/** Metadata for the paginated results. */
|
|
1857
2837
|
metadata?: PagingMetadata$1;
|
|
1858
2838
|
}
|
|
2839
|
+
interface MuteMemberRequest$1 {
|
|
2840
|
+
id: string;
|
|
2841
|
+
}
|
|
2842
|
+
interface MuteMemberResponse$1 {
|
|
2843
|
+
member?: Member$1;
|
|
2844
|
+
}
|
|
2845
|
+
interface UnmuteMemberRequest$1 {
|
|
2846
|
+
id: string;
|
|
2847
|
+
}
|
|
2848
|
+
interface UnmuteMemberResponse$1 {
|
|
2849
|
+
member?: Member$1;
|
|
2850
|
+
}
|
|
2851
|
+
interface ApproveMemberRequest$1 {
|
|
2852
|
+
id: string;
|
|
2853
|
+
}
|
|
2854
|
+
interface ApproveMemberResponse$1 {
|
|
2855
|
+
member?: Member$1;
|
|
2856
|
+
}
|
|
2857
|
+
interface BlockMemberRequest$3 {
|
|
2858
|
+
id: string;
|
|
2859
|
+
}
|
|
2860
|
+
interface BlockMemberResponse$3 {
|
|
2861
|
+
member?: Member$1;
|
|
2862
|
+
}
|
|
2863
|
+
interface DisconnectMemberRequest$1 {
|
|
2864
|
+
id: string;
|
|
2865
|
+
}
|
|
2866
|
+
interface DisconnectMemberResponse$1 {
|
|
2867
|
+
member?: Member$1;
|
|
2868
|
+
}
|
|
1859
2869
|
interface DeleteMemberRequest$1 {
|
|
1860
2870
|
/** ID of the member to delete. */
|
|
1861
2871
|
id: string;
|
|
1862
2872
|
}
|
|
1863
2873
|
interface DeleteMemberResponse$1 {
|
|
1864
2874
|
}
|
|
2875
|
+
interface DeleteMyMemberRequest$1 {
|
|
2876
|
+
/** ID of a member receiving deleted member's content */
|
|
2877
|
+
contentAssigneeId?: string | null;
|
|
2878
|
+
}
|
|
2879
|
+
interface DeleteMyMemberResponse$1 {
|
|
2880
|
+
}
|
|
2881
|
+
interface BulkDeleteMembersRequest$1 {
|
|
2882
|
+
/** Member ids to be deleted */
|
|
2883
|
+
memberIds: string[];
|
|
2884
|
+
}
|
|
2885
|
+
interface BulkDeleteMembersResponse$1 {
|
|
2886
|
+
/** Results. */
|
|
2887
|
+
results?: BulkMemberResult$1[];
|
|
2888
|
+
/** Bulk action result metadata */
|
|
2889
|
+
bulkActionMetadata?: BulkActionMetadata$1;
|
|
2890
|
+
}
|
|
2891
|
+
interface ItemMetadata$1 {
|
|
2892
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
2893
|
+
id?: string | null;
|
|
2894
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
2895
|
+
originalIndex?: number;
|
|
2896
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
2897
|
+
success?: boolean;
|
|
2898
|
+
/** Details about the error in case of failure. */
|
|
2899
|
+
error?: ApplicationError$1;
|
|
2900
|
+
}
|
|
2901
|
+
interface ApplicationError$1 {
|
|
2902
|
+
/** Error code. */
|
|
2903
|
+
code?: string;
|
|
2904
|
+
/** Description of the error. */
|
|
2905
|
+
description?: string;
|
|
2906
|
+
/** Data related to the error. */
|
|
2907
|
+
data?: Record<string, any> | null;
|
|
2908
|
+
}
|
|
2909
|
+
interface BulkMemberResult$1 {
|
|
2910
|
+
itemMetadata?: ItemMetadata$1;
|
|
2911
|
+
}
|
|
2912
|
+
interface BulkActionMetadata$1 {
|
|
2913
|
+
/** Number of items that were successfully processed. */
|
|
2914
|
+
totalSuccesses?: number;
|
|
2915
|
+
/** Number of items that couldn't be processed. */
|
|
2916
|
+
totalFailures?: number;
|
|
2917
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
2918
|
+
undetailedFailures?: number;
|
|
2919
|
+
}
|
|
2920
|
+
interface BulkDeleteMembersByFilterRequest$1 {
|
|
2921
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
2922
|
+
filter: any;
|
|
2923
|
+
/** ID of a member receiving deleted members' content. */
|
|
2924
|
+
contentAssigneeId?: string | null;
|
|
2925
|
+
/** Plain text search. */
|
|
2926
|
+
search?: Search$1;
|
|
2927
|
+
}
|
|
2928
|
+
interface BulkDeleteMembersByFilterResponse$1 {
|
|
2929
|
+
/** Token to be used to query an "async jobs service" */
|
|
2930
|
+
jobId?: string;
|
|
2931
|
+
}
|
|
2932
|
+
interface BulkApproveMembersRequest$1 {
|
|
2933
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
2934
|
+
filter: any;
|
|
2935
|
+
}
|
|
2936
|
+
interface BulkApproveMembersResponse$1 {
|
|
2937
|
+
/** Token to be used to query an "async jobs service" */
|
|
2938
|
+
jobId?: string;
|
|
2939
|
+
}
|
|
2940
|
+
interface BulkBlockMembersRequest$1 {
|
|
2941
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
2942
|
+
filter: any;
|
|
2943
|
+
}
|
|
2944
|
+
interface BulkBlockMembersResponse$1 {
|
|
2945
|
+
/** Token to be used to query an "async jobs service" */
|
|
2946
|
+
jobId?: string;
|
|
2947
|
+
}
|
|
1865
2948
|
interface CreateMemberRequest$1 {
|
|
1866
2949
|
/** Member to create. */
|
|
1867
2950
|
member?: Member$1;
|
|
@@ -1901,353 +2984,116 @@ interface DeleteMemberAddressesResponse$1 {
|
|
|
1901
2984
|
/** Updated member. */
|
|
1902
2985
|
member?: Member$1;
|
|
1903
2986
|
}
|
|
2987
|
+
interface StreetAddressNonNullableFields$1 {
|
|
2988
|
+
number: string;
|
|
2989
|
+
name: string;
|
|
2990
|
+
}
|
|
2991
|
+
interface AddressNonNullableFields$1 {
|
|
2992
|
+
streetAddress?: StreetAddressNonNullableFields$1;
|
|
2993
|
+
}
|
|
2994
|
+
interface ContactNonNullableFields$1 {
|
|
2995
|
+
addresses: AddressNonNullableFields$1[];
|
|
2996
|
+
}
|
|
2997
|
+
interface ImageNonNullableFields$1 {
|
|
2998
|
+
id: string;
|
|
2999
|
+
url: string;
|
|
3000
|
+
height: number;
|
|
3001
|
+
width: number;
|
|
3002
|
+
}
|
|
3003
|
+
interface ProfileNonNullableFields$1 {
|
|
3004
|
+
photo?: ImageNonNullableFields$1;
|
|
3005
|
+
cover?: ImageNonNullableFields$1;
|
|
3006
|
+
}
|
|
3007
|
+
interface MemberNonNullableFields$1 {
|
|
3008
|
+
status: Status$1;
|
|
3009
|
+
contact?: ContactNonNullableFields$1;
|
|
3010
|
+
profile?: ProfileNonNullableFields$1;
|
|
3011
|
+
privacyStatus: PrivacyStatusStatus$1;
|
|
3012
|
+
activityStatus: ActivityStatusStatus$1;
|
|
3013
|
+
}
|
|
1904
3014
|
interface UpdateMySlugResponseNonNullableFields$1 {
|
|
1905
|
-
member?:
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
streetAddress?: {
|
|
1910
|
-
number: string;
|
|
1911
|
-
name: string;
|
|
1912
|
-
};
|
|
1913
|
-
}[];
|
|
1914
|
-
};
|
|
1915
|
-
profile?: {
|
|
1916
|
-
photo?: {
|
|
1917
|
-
id: string;
|
|
1918
|
-
url: string;
|
|
1919
|
-
height: number;
|
|
1920
|
-
width: number;
|
|
1921
|
-
};
|
|
1922
|
-
cover?: {
|
|
1923
|
-
id: string;
|
|
1924
|
-
url: string;
|
|
1925
|
-
height: number;
|
|
1926
|
-
width: number;
|
|
1927
|
-
};
|
|
1928
|
-
};
|
|
1929
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
1930
|
-
activityStatus: ActivityStatusStatus$1;
|
|
1931
|
-
};
|
|
3015
|
+
member?: MemberNonNullableFields$1;
|
|
3016
|
+
}
|
|
3017
|
+
interface UpdateMemberSlugResponseNonNullableFields$1 {
|
|
3018
|
+
member?: MemberNonNullableFields$1;
|
|
1932
3019
|
}
|
|
1933
3020
|
interface JoinCommunityResponseNonNullableFields$1 {
|
|
1934
|
-
member?:
|
|
1935
|
-
status: Status$1;
|
|
1936
|
-
contact?: {
|
|
1937
|
-
addresses: {
|
|
1938
|
-
streetAddress?: {
|
|
1939
|
-
number: string;
|
|
1940
|
-
name: string;
|
|
1941
|
-
};
|
|
1942
|
-
}[];
|
|
1943
|
-
};
|
|
1944
|
-
profile?: {
|
|
1945
|
-
photo?: {
|
|
1946
|
-
id: string;
|
|
1947
|
-
url: string;
|
|
1948
|
-
height: number;
|
|
1949
|
-
width: number;
|
|
1950
|
-
};
|
|
1951
|
-
cover?: {
|
|
1952
|
-
id: string;
|
|
1953
|
-
url: string;
|
|
1954
|
-
height: number;
|
|
1955
|
-
width: number;
|
|
1956
|
-
};
|
|
1957
|
-
};
|
|
1958
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
1959
|
-
activityStatus: ActivityStatusStatus$1;
|
|
1960
|
-
};
|
|
3021
|
+
member?: MemberNonNullableFields$1;
|
|
1961
3022
|
}
|
|
1962
3023
|
interface LeaveCommunityResponseNonNullableFields$1 {
|
|
1963
|
-
member?:
|
|
1964
|
-
status: Status$1;
|
|
1965
|
-
contact?: {
|
|
1966
|
-
addresses: {
|
|
1967
|
-
streetAddress?: {
|
|
1968
|
-
number: string;
|
|
1969
|
-
name: string;
|
|
1970
|
-
};
|
|
1971
|
-
}[];
|
|
1972
|
-
};
|
|
1973
|
-
profile?: {
|
|
1974
|
-
photo?: {
|
|
1975
|
-
id: string;
|
|
1976
|
-
url: string;
|
|
1977
|
-
height: number;
|
|
1978
|
-
width: number;
|
|
1979
|
-
};
|
|
1980
|
-
cover?: {
|
|
1981
|
-
id: string;
|
|
1982
|
-
url: string;
|
|
1983
|
-
height: number;
|
|
1984
|
-
width: number;
|
|
1985
|
-
};
|
|
1986
|
-
};
|
|
1987
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
1988
|
-
activityStatus: ActivityStatusStatus$1;
|
|
1989
|
-
};
|
|
3024
|
+
member?: MemberNonNullableFields$1;
|
|
1990
3025
|
}
|
|
1991
3026
|
interface GetMyMemberResponseNonNullableFields$1 {
|
|
1992
|
-
member?:
|
|
1993
|
-
status: Status$1;
|
|
1994
|
-
contact?: {
|
|
1995
|
-
addresses: {
|
|
1996
|
-
streetAddress?: {
|
|
1997
|
-
number: string;
|
|
1998
|
-
name: string;
|
|
1999
|
-
};
|
|
2000
|
-
}[];
|
|
2001
|
-
};
|
|
2002
|
-
profile?: {
|
|
2003
|
-
photo?: {
|
|
2004
|
-
id: string;
|
|
2005
|
-
url: string;
|
|
2006
|
-
height: number;
|
|
2007
|
-
width: number;
|
|
2008
|
-
};
|
|
2009
|
-
cover?: {
|
|
2010
|
-
id: string;
|
|
2011
|
-
url: string;
|
|
2012
|
-
height: number;
|
|
2013
|
-
width: number;
|
|
2014
|
-
};
|
|
2015
|
-
};
|
|
2016
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
2017
|
-
activityStatus: ActivityStatusStatus$1;
|
|
2018
|
-
};
|
|
3027
|
+
member?: MemberNonNullableFields$1;
|
|
2019
3028
|
}
|
|
2020
3029
|
interface GetMemberResponseNonNullableFields$1 {
|
|
2021
|
-
member?:
|
|
2022
|
-
status: Status$1;
|
|
2023
|
-
contact?: {
|
|
2024
|
-
addresses: {
|
|
2025
|
-
streetAddress?: {
|
|
2026
|
-
number: string;
|
|
2027
|
-
name: string;
|
|
2028
|
-
};
|
|
2029
|
-
}[];
|
|
2030
|
-
};
|
|
2031
|
-
profile?: {
|
|
2032
|
-
photo?: {
|
|
2033
|
-
id: string;
|
|
2034
|
-
url: string;
|
|
2035
|
-
height: number;
|
|
2036
|
-
width: number;
|
|
2037
|
-
};
|
|
2038
|
-
cover?: {
|
|
2039
|
-
id: string;
|
|
2040
|
-
url: string;
|
|
2041
|
-
height: number;
|
|
2042
|
-
width: number;
|
|
2043
|
-
};
|
|
2044
|
-
};
|
|
2045
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
2046
|
-
activityStatus: ActivityStatusStatus$1;
|
|
2047
|
-
};
|
|
3030
|
+
member?: MemberNonNullableFields$1;
|
|
2048
3031
|
}
|
|
2049
3032
|
interface ListMembersResponseNonNullableFields$1 {
|
|
2050
|
-
members:
|
|
2051
|
-
status: Status$1;
|
|
2052
|
-
contact?: {
|
|
2053
|
-
addresses: {
|
|
2054
|
-
streetAddress?: {
|
|
2055
|
-
number: string;
|
|
2056
|
-
name: string;
|
|
2057
|
-
};
|
|
2058
|
-
}[];
|
|
2059
|
-
};
|
|
2060
|
-
profile?: {
|
|
2061
|
-
photo?: {
|
|
2062
|
-
id: string;
|
|
2063
|
-
url: string;
|
|
2064
|
-
height: number;
|
|
2065
|
-
width: number;
|
|
2066
|
-
};
|
|
2067
|
-
cover?: {
|
|
2068
|
-
id: string;
|
|
2069
|
-
url: string;
|
|
2070
|
-
height: number;
|
|
2071
|
-
width: number;
|
|
2072
|
-
};
|
|
2073
|
-
};
|
|
2074
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
2075
|
-
activityStatus: ActivityStatusStatus$1;
|
|
2076
|
-
}[];
|
|
3033
|
+
members: MemberNonNullableFields$1[];
|
|
2077
3034
|
}
|
|
2078
3035
|
interface QueryMembersResponseNonNullableFields$1 {
|
|
2079
|
-
members:
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
3036
|
+
members: MemberNonNullableFields$1[];
|
|
3037
|
+
}
|
|
3038
|
+
interface MuteMemberResponseNonNullableFields$1 {
|
|
3039
|
+
member?: MemberNonNullableFields$1;
|
|
3040
|
+
}
|
|
3041
|
+
interface UnmuteMemberResponseNonNullableFields$1 {
|
|
3042
|
+
member?: MemberNonNullableFields$1;
|
|
3043
|
+
}
|
|
3044
|
+
interface ApproveMemberResponseNonNullableFields$1 {
|
|
3045
|
+
member?: MemberNonNullableFields$1;
|
|
3046
|
+
}
|
|
3047
|
+
interface BlockMemberResponseNonNullableFields$1 {
|
|
3048
|
+
member?: MemberNonNullableFields$1;
|
|
3049
|
+
}
|
|
3050
|
+
interface DisconnectMemberResponseNonNullableFields$1 {
|
|
3051
|
+
member?: MemberNonNullableFields$1;
|
|
3052
|
+
}
|
|
3053
|
+
interface ApplicationErrorNonNullableFields$1 {
|
|
3054
|
+
code: string;
|
|
3055
|
+
description: string;
|
|
3056
|
+
}
|
|
3057
|
+
interface ItemMetadataNonNullableFields$1 {
|
|
3058
|
+
originalIndex: number;
|
|
3059
|
+
success: boolean;
|
|
3060
|
+
error?: ApplicationErrorNonNullableFields$1;
|
|
3061
|
+
}
|
|
3062
|
+
interface BulkMemberResultNonNullableFields$1 {
|
|
3063
|
+
itemMetadata?: ItemMetadataNonNullableFields$1;
|
|
3064
|
+
}
|
|
3065
|
+
interface BulkActionMetadataNonNullableFields$1 {
|
|
3066
|
+
totalSuccesses: number;
|
|
3067
|
+
totalFailures: number;
|
|
3068
|
+
undetailedFailures: number;
|
|
3069
|
+
}
|
|
3070
|
+
interface BulkDeleteMembersResponseNonNullableFields$1 {
|
|
3071
|
+
results: BulkMemberResultNonNullableFields$1[];
|
|
3072
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
|
|
3073
|
+
}
|
|
3074
|
+
interface BulkDeleteMembersByFilterResponseNonNullableFields$1 {
|
|
3075
|
+
jobId: string;
|
|
3076
|
+
}
|
|
3077
|
+
interface BulkApproveMembersResponseNonNullableFields$1 {
|
|
3078
|
+
jobId: string;
|
|
3079
|
+
}
|
|
3080
|
+
interface BulkBlockMembersResponseNonNullableFields$1 {
|
|
3081
|
+
jobId: string;
|
|
2106
3082
|
}
|
|
2107
3083
|
interface CreateMemberResponseNonNullableFields$1 {
|
|
2108
|
-
member?:
|
|
2109
|
-
status: Status$1;
|
|
2110
|
-
contact?: {
|
|
2111
|
-
addresses: {
|
|
2112
|
-
streetAddress?: {
|
|
2113
|
-
number: string;
|
|
2114
|
-
name: string;
|
|
2115
|
-
};
|
|
2116
|
-
}[];
|
|
2117
|
-
};
|
|
2118
|
-
profile?: {
|
|
2119
|
-
photo?: {
|
|
2120
|
-
id: string;
|
|
2121
|
-
url: string;
|
|
2122
|
-
height: number;
|
|
2123
|
-
width: number;
|
|
2124
|
-
};
|
|
2125
|
-
cover?: {
|
|
2126
|
-
id: string;
|
|
2127
|
-
url: string;
|
|
2128
|
-
height: number;
|
|
2129
|
-
width: number;
|
|
2130
|
-
};
|
|
2131
|
-
};
|
|
2132
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
2133
|
-
activityStatus: ActivityStatusStatus$1;
|
|
2134
|
-
};
|
|
3084
|
+
member?: MemberNonNullableFields$1;
|
|
2135
3085
|
}
|
|
2136
3086
|
interface UpdateMemberResponseNonNullableFields$1 {
|
|
2137
|
-
member?:
|
|
2138
|
-
status: Status$1;
|
|
2139
|
-
contact?: {
|
|
2140
|
-
addresses: {
|
|
2141
|
-
streetAddress?: {
|
|
2142
|
-
number: string;
|
|
2143
|
-
name: string;
|
|
2144
|
-
};
|
|
2145
|
-
}[];
|
|
2146
|
-
};
|
|
2147
|
-
profile?: {
|
|
2148
|
-
photo?: {
|
|
2149
|
-
id: string;
|
|
2150
|
-
url: string;
|
|
2151
|
-
height: number;
|
|
2152
|
-
width: number;
|
|
2153
|
-
};
|
|
2154
|
-
cover?: {
|
|
2155
|
-
id: string;
|
|
2156
|
-
url: string;
|
|
2157
|
-
height: number;
|
|
2158
|
-
width: number;
|
|
2159
|
-
};
|
|
2160
|
-
};
|
|
2161
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
2162
|
-
activityStatus: ActivityStatusStatus$1;
|
|
2163
|
-
};
|
|
3087
|
+
member?: MemberNonNullableFields$1;
|
|
2164
3088
|
}
|
|
2165
3089
|
interface DeleteMemberPhonesResponseNonNullableFields$1 {
|
|
2166
|
-
member?:
|
|
2167
|
-
status: Status$1;
|
|
2168
|
-
contact?: {
|
|
2169
|
-
addresses: {
|
|
2170
|
-
streetAddress?: {
|
|
2171
|
-
number: string;
|
|
2172
|
-
name: string;
|
|
2173
|
-
};
|
|
2174
|
-
}[];
|
|
2175
|
-
};
|
|
2176
|
-
profile?: {
|
|
2177
|
-
photo?: {
|
|
2178
|
-
id: string;
|
|
2179
|
-
url: string;
|
|
2180
|
-
height: number;
|
|
2181
|
-
width: number;
|
|
2182
|
-
};
|
|
2183
|
-
cover?: {
|
|
2184
|
-
id: string;
|
|
2185
|
-
url: string;
|
|
2186
|
-
height: number;
|
|
2187
|
-
width: number;
|
|
2188
|
-
};
|
|
2189
|
-
};
|
|
2190
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
2191
|
-
activityStatus: ActivityStatusStatus$1;
|
|
2192
|
-
};
|
|
3090
|
+
member?: MemberNonNullableFields$1;
|
|
2193
3091
|
}
|
|
2194
3092
|
interface DeleteMemberEmailsResponseNonNullableFields$1 {
|
|
2195
|
-
member?:
|
|
2196
|
-
status: Status$1;
|
|
2197
|
-
contact?: {
|
|
2198
|
-
addresses: {
|
|
2199
|
-
streetAddress?: {
|
|
2200
|
-
number: string;
|
|
2201
|
-
name: string;
|
|
2202
|
-
};
|
|
2203
|
-
}[];
|
|
2204
|
-
};
|
|
2205
|
-
profile?: {
|
|
2206
|
-
photo?: {
|
|
2207
|
-
id: string;
|
|
2208
|
-
url: string;
|
|
2209
|
-
height: number;
|
|
2210
|
-
width: number;
|
|
2211
|
-
};
|
|
2212
|
-
cover?: {
|
|
2213
|
-
id: string;
|
|
2214
|
-
url: string;
|
|
2215
|
-
height: number;
|
|
2216
|
-
width: number;
|
|
2217
|
-
};
|
|
2218
|
-
};
|
|
2219
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
2220
|
-
activityStatus: ActivityStatusStatus$1;
|
|
2221
|
-
};
|
|
3093
|
+
member?: MemberNonNullableFields$1;
|
|
2222
3094
|
}
|
|
2223
3095
|
interface DeleteMemberAddressesResponseNonNullableFields$1 {
|
|
2224
|
-
member?:
|
|
2225
|
-
status: Status$1;
|
|
2226
|
-
contact?: {
|
|
2227
|
-
addresses: {
|
|
2228
|
-
streetAddress?: {
|
|
2229
|
-
number: string;
|
|
2230
|
-
name: string;
|
|
2231
|
-
};
|
|
2232
|
-
}[];
|
|
2233
|
-
};
|
|
2234
|
-
profile?: {
|
|
2235
|
-
photo?: {
|
|
2236
|
-
id: string;
|
|
2237
|
-
url: string;
|
|
2238
|
-
height: number;
|
|
2239
|
-
width: number;
|
|
2240
|
-
};
|
|
2241
|
-
cover?: {
|
|
2242
|
-
id: string;
|
|
2243
|
-
url: string;
|
|
2244
|
-
height: number;
|
|
2245
|
-
width: number;
|
|
2246
|
-
};
|
|
2247
|
-
};
|
|
2248
|
-
privacyStatus: PrivacyStatusStatus$1;
|
|
2249
|
-
activityStatus: ActivityStatusStatus$1;
|
|
2250
|
-
};
|
|
3096
|
+
member?: MemberNonNullableFields$1;
|
|
2251
3097
|
}
|
|
2252
3098
|
|
|
2253
3099
|
interface Member {
|
|
@@ -2487,6 +3333,16 @@ interface UpdateMySlugResponse {
|
|
|
2487
3333
|
/** Updated member. */
|
|
2488
3334
|
member?: Member;
|
|
2489
3335
|
}
|
|
3336
|
+
interface UpdateMemberSlugRequest {
|
|
3337
|
+
/** ID of the member whose slug will be updated. */
|
|
3338
|
+
_id: string;
|
|
3339
|
+
/** New slug. */
|
|
3340
|
+
slug: string;
|
|
3341
|
+
}
|
|
3342
|
+
interface UpdateMemberSlugResponse {
|
|
3343
|
+
/** Updated member. */
|
|
3344
|
+
member?: Member;
|
|
3345
|
+
}
|
|
2490
3346
|
interface JoinCommunityRequest {
|
|
2491
3347
|
}
|
|
2492
3348
|
/** Member profile. */
|
|
@@ -2603,7 +3459,7 @@ interface PagingMetadata {
|
|
|
2603
3459
|
}
|
|
2604
3460
|
interface QueryMembersRequest {
|
|
2605
3461
|
/** Query options. */
|
|
2606
|
-
query?: Query;
|
|
3462
|
+
query?: Query$2;
|
|
2607
3463
|
/**
|
|
2608
3464
|
* Predefined sets of fields to return.
|
|
2609
3465
|
*
|
|
@@ -2613,7 +3469,7 @@ interface QueryMembersRequest {
|
|
|
2613
3469
|
/** Plain text search. */
|
|
2614
3470
|
search?: Search;
|
|
2615
3471
|
}
|
|
2616
|
-
interface Query {
|
|
3472
|
+
interface Query$2 {
|
|
2617
3473
|
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
2618
3474
|
filter?: any;
|
|
2619
3475
|
/** Limit number of results */
|
|
@@ -2639,17 +3495,120 @@ interface Search {
|
|
|
2639
3495
|
*/
|
|
2640
3496
|
fields?: string[];
|
|
2641
3497
|
}
|
|
2642
|
-
interface QueryMembersResponse {
|
|
2643
|
-
/** List of members that met the query filter criteria. */
|
|
2644
|
-
members?: Member[];
|
|
2645
|
-
/** Metadata for the paginated results. */
|
|
2646
|
-
metadata?: PagingMetadata;
|
|
3498
|
+
interface QueryMembersResponse {
|
|
3499
|
+
/** List of members that met the query filter criteria. */
|
|
3500
|
+
members?: Member[];
|
|
3501
|
+
/** Metadata for the paginated results. */
|
|
3502
|
+
metadata?: PagingMetadata;
|
|
3503
|
+
}
|
|
3504
|
+
interface MuteMemberRequest {
|
|
3505
|
+
_id: string;
|
|
3506
|
+
}
|
|
3507
|
+
interface MuteMemberResponse {
|
|
3508
|
+
member?: Member;
|
|
3509
|
+
}
|
|
3510
|
+
interface UnmuteMemberRequest {
|
|
3511
|
+
_id: string;
|
|
3512
|
+
}
|
|
3513
|
+
interface UnmuteMemberResponse {
|
|
3514
|
+
member?: Member;
|
|
3515
|
+
}
|
|
3516
|
+
interface ApproveMemberRequest {
|
|
3517
|
+
_id: string;
|
|
3518
|
+
}
|
|
3519
|
+
interface ApproveMemberResponse {
|
|
3520
|
+
member?: Member;
|
|
3521
|
+
}
|
|
3522
|
+
interface BlockMemberRequest$2 {
|
|
3523
|
+
_id: string;
|
|
3524
|
+
}
|
|
3525
|
+
interface BlockMemberResponse$2 {
|
|
3526
|
+
member?: Member;
|
|
3527
|
+
}
|
|
3528
|
+
interface DisconnectMemberRequest {
|
|
3529
|
+
_id: string;
|
|
3530
|
+
}
|
|
3531
|
+
interface DisconnectMemberResponse {
|
|
3532
|
+
member?: Member;
|
|
3533
|
+
}
|
|
3534
|
+
interface DeleteMemberRequest {
|
|
3535
|
+
/** ID of the member to delete. */
|
|
3536
|
+
_id: string;
|
|
3537
|
+
}
|
|
3538
|
+
interface DeleteMemberResponse {
|
|
3539
|
+
}
|
|
3540
|
+
interface DeleteMyMemberRequest {
|
|
3541
|
+
/** ID of a member receiving deleted member's content */
|
|
3542
|
+
contentAssigneeId?: string | null;
|
|
3543
|
+
}
|
|
3544
|
+
interface DeleteMyMemberResponse {
|
|
3545
|
+
}
|
|
3546
|
+
interface BulkDeleteMembersRequest {
|
|
3547
|
+
/** Member ids to be deleted */
|
|
3548
|
+
memberIds: string[];
|
|
3549
|
+
}
|
|
3550
|
+
interface BulkDeleteMembersResponse {
|
|
3551
|
+
/** Results. */
|
|
3552
|
+
results?: BulkMemberResult[];
|
|
3553
|
+
/** Bulk action result metadata */
|
|
3554
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
3555
|
+
}
|
|
3556
|
+
interface ItemMetadata {
|
|
3557
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
3558
|
+
_id?: string | null;
|
|
3559
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
3560
|
+
originalIndex?: number;
|
|
3561
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
3562
|
+
success?: boolean;
|
|
3563
|
+
/** Details about the error in case of failure. */
|
|
3564
|
+
error?: ApplicationError;
|
|
3565
|
+
}
|
|
3566
|
+
interface ApplicationError {
|
|
3567
|
+
/** Error code. */
|
|
3568
|
+
code?: string;
|
|
3569
|
+
/** Description of the error. */
|
|
3570
|
+
description?: string;
|
|
3571
|
+
/** Data related to the error. */
|
|
3572
|
+
data?: Record<string, any> | null;
|
|
3573
|
+
}
|
|
3574
|
+
interface BulkMemberResult {
|
|
3575
|
+
itemMetadata?: ItemMetadata;
|
|
3576
|
+
}
|
|
3577
|
+
interface BulkActionMetadata {
|
|
3578
|
+
/** Number of items that were successfully processed. */
|
|
3579
|
+
totalSuccesses?: number;
|
|
3580
|
+
/** Number of items that couldn't be processed. */
|
|
3581
|
+
totalFailures?: number;
|
|
3582
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
3583
|
+
undetailedFailures?: number;
|
|
3584
|
+
}
|
|
3585
|
+
interface BulkDeleteMembersByFilterRequest {
|
|
3586
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
3587
|
+
filter: any;
|
|
3588
|
+
/** ID of a member receiving deleted members' content. */
|
|
3589
|
+
contentAssigneeId?: string | null;
|
|
3590
|
+
/** Plain text search. */
|
|
3591
|
+
search?: Search;
|
|
3592
|
+
}
|
|
3593
|
+
interface BulkDeleteMembersByFilterResponse {
|
|
3594
|
+
/** Token to be used to query an "async jobs service" */
|
|
3595
|
+
jobId?: string;
|
|
2647
3596
|
}
|
|
2648
|
-
interface
|
|
2649
|
-
/**
|
|
2650
|
-
|
|
3597
|
+
interface BulkApproveMembersRequest {
|
|
3598
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
3599
|
+
filter: any;
|
|
2651
3600
|
}
|
|
2652
|
-
interface
|
|
3601
|
+
interface BulkApproveMembersResponse {
|
|
3602
|
+
/** Token to be used to query an "async jobs service" */
|
|
3603
|
+
jobId?: string;
|
|
3604
|
+
}
|
|
3605
|
+
interface BulkBlockMembersRequest {
|
|
3606
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
3607
|
+
filter: any;
|
|
3608
|
+
}
|
|
3609
|
+
interface BulkBlockMembersResponse {
|
|
3610
|
+
/** Token to be used to query an "async jobs service" */
|
|
3611
|
+
jobId?: string;
|
|
2653
3612
|
}
|
|
2654
3613
|
interface CreateMemberRequest {
|
|
2655
3614
|
/** Member to create. */
|
|
@@ -2690,356 +3649,119 @@ interface DeleteMemberAddressesResponse {
|
|
|
2690
3649
|
/** Updated member. */
|
|
2691
3650
|
member?: Member;
|
|
2692
3651
|
}
|
|
3652
|
+
interface StreetAddressNonNullableFields {
|
|
3653
|
+
number: string;
|
|
3654
|
+
name: string;
|
|
3655
|
+
}
|
|
3656
|
+
interface AddressNonNullableFields {
|
|
3657
|
+
streetAddress?: StreetAddressNonNullableFields;
|
|
3658
|
+
}
|
|
3659
|
+
interface ContactNonNullableFields {
|
|
3660
|
+
addresses: AddressNonNullableFields[];
|
|
3661
|
+
}
|
|
3662
|
+
interface ImageNonNullableFields {
|
|
3663
|
+
_id: string;
|
|
3664
|
+
url: string;
|
|
3665
|
+
height: number;
|
|
3666
|
+
width: number;
|
|
3667
|
+
}
|
|
3668
|
+
interface ProfileNonNullableFields {
|
|
3669
|
+
photo?: ImageNonNullableFields;
|
|
3670
|
+
cover?: ImageNonNullableFields;
|
|
3671
|
+
}
|
|
3672
|
+
interface MemberNonNullableFields {
|
|
3673
|
+
status: Status;
|
|
3674
|
+
contact?: ContactNonNullableFields;
|
|
3675
|
+
profile?: ProfileNonNullableFields;
|
|
3676
|
+
privacyStatus: PrivacyStatusStatus;
|
|
3677
|
+
activityStatus: ActivityStatusStatus;
|
|
3678
|
+
}
|
|
2693
3679
|
interface UpdateMySlugResponseNonNullableFields {
|
|
2694
|
-
member?:
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
streetAddress?: {
|
|
2699
|
-
number: string;
|
|
2700
|
-
name: string;
|
|
2701
|
-
};
|
|
2702
|
-
}[];
|
|
2703
|
-
};
|
|
2704
|
-
profile?: {
|
|
2705
|
-
photo?: {
|
|
2706
|
-
_id: string;
|
|
2707
|
-
url: string;
|
|
2708
|
-
height: number;
|
|
2709
|
-
width: number;
|
|
2710
|
-
};
|
|
2711
|
-
cover?: {
|
|
2712
|
-
_id: string;
|
|
2713
|
-
url: string;
|
|
2714
|
-
height: number;
|
|
2715
|
-
width: number;
|
|
2716
|
-
};
|
|
2717
|
-
};
|
|
2718
|
-
privacyStatus: PrivacyStatusStatus;
|
|
2719
|
-
activityStatus: ActivityStatusStatus;
|
|
2720
|
-
};
|
|
3680
|
+
member?: MemberNonNullableFields;
|
|
3681
|
+
}
|
|
3682
|
+
interface UpdateMemberSlugResponseNonNullableFields {
|
|
3683
|
+
member?: MemberNonNullableFields;
|
|
2721
3684
|
}
|
|
2722
3685
|
interface JoinCommunityResponseNonNullableFields {
|
|
2723
|
-
member?:
|
|
2724
|
-
status: Status;
|
|
2725
|
-
contact?: {
|
|
2726
|
-
addresses: {
|
|
2727
|
-
streetAddress?: {
|
|
2728
|
-
number: string;
|
|
2729
|
-
name: string;
|
|
2730
|
-
};
|
|
2731
|
-
}[];
|
|
2732
|
-
};
|
|
2733
|
-
profile?: {
|
|
2734
|
-
photo?: {
|
|
2735
|
-
_id: string;
|
|
2736
|
-
url: string;
|
|
2737
|
-
height: number;
|
|
2738
|
-
width: number;
|
|
2739
|
-
};
|
|
2740
|
-
cover?: {
|
|
2741
|
-
_id: string;
|
|
2742
|
-
url: string;
|
|
2743
|
-
height: number;
|
|
2744
|
-
width: number;
|
|
2745
|
-
};
|
|
2746
|
-
};
|
|
2747
|
-
privacyStatus: PrivacyStatusStatus;
|
|
2748
|
-
activityStatus: ActivityStatusStatus;
|
|
2749
|
-
};
|
|
3686
|
+
member?: MemberNonNullableFields;
|
|
2750
3687
|
}
|
|
2751
3688
|
interface LeaveCommunityResponseNonNullableFields {
|
|
2752
|
-
member?:
|
|
2753
|
-
status: Status;
|
|
2754
|
-
contact?: {
|
|
2755
|
-
addresses: {
|
|
2756
|
-
streetAddress?: {
|
|
2757
|
-
number: string;
|
|
2758
|
-
name: string;
|
|
2759
|
-
};
|
|
2760
|
-
}[];
|
|
2761
|
-
};
|
|
2762
|
-
profile?: {
|
|
2763
|
-
photo?: {
|
|
2764
|
-
_id: string;
|
|
2765
|
-
url: string;
|
|
2766
|
-
height: number;
|
|
2767
|
-
width: number;
|
|
2768
|
-
};
|
|
2769
|
-
cover?: {
|
|
2770
|
-
_id: string;
|
|
2771
|
-
url: string;
|
|
2772
|
-
height: number;
|
|
2773
|
-
width: number;
|
|
2774
|
-
};
|
|
2775
|
-
};
|
|
2776
|
-
privacyStatus: PrivacyStatusStatus;
|
|
2777
|
-
activityStatus: ActivityStatusStatus;
|
|
2778
|
-
};
|
|
3689
|
+
member?: MemberNonNullableFields;
|
|
2779
3690
|
}
|
|
2780
3691
|
interface GetMyMemberResponseNonNullableFields {
|
|
2781
|
-
member?:
|
|
2782
|
-
status: Status;
|
|
2783
|
-
contact?: {
|
|
2784
|
-
addresses: {
|
|
2785
|
-
streetAddress?: {
|
|
2786
|
-
number: string;
|
|
2787
|
-
name: string;
|
|
2788
|
-
};
|
|
2789
|
-
}[];
|
|
2790
|
-
};
|
|
2791
|
-
profile?: {
|
|
2792
|
-
photo?: {
|
|
2793
|
-
_id: string;
|
|
2794
|
-
url: string;
|
|
2795
|
-
height: number;
|
|
2796
|
-
width: number;
|
|
2797
|
-
};
|
|
2798
|
-
cover?: {
|
|
2799
|
-
_id: string;
|
|
2800
|
-
url: string;
|
|
2801
|
-
height: number;
|
|
2802
|
-
width: number;
|
|
2803
|
-
};
|
|
2804
|
-
};
|
|
2805
|
-
privacyStatus: PrivacyStatusStatus;
|
|
2806
|
-
activityStatus: ActivityStatusStatus;
|
|
2807
|
-
};
|
|
3692
|
+
member?: MemberNonNullableFields;
|
|
2808
3693
|
}
|
|
2809
3694
|
interface GetMemberResponseNonNullableFields {
|
|
2810
|
-
member?:
|
|
2811
|
-
status: Status;
|
|
2812
|
-
contact?: {
|
|
2813
|
-
addresses: {
|
|
2814
|
-
streetAddress?: {
|
|
2815
|
-
number: string;
|
|
2816
|
-
name: string;
|
|
2817
|
-
};
|
|
2818
|
-
}[];
|
|
2819
|
-
};
|
|
2820
|
-
profile?: {
|
|
2821
|
-
photo?: {
|
|
2822
|
-
_id: string;
|
|
2823
|
-
url: string;
|
|
2824
|
-
height: number;
|
|
2825
|
-
width: number;
|
|
2826
|
-
};
|
|
2827
|
-
cover?: {
|
|
2828
|
-
_id: string;
|
|
2829
|
-
url: string;
|
|
2830
|
-
height: number;
|
|
2831
|
-
width: number;
|
|
2832
|
-
};
|
|
2833
|
-
};
|
|
2834
|
-
privacyStatus: PrivacyStatusStatus;
|
|
2835
|
-
activityStatus: ActivityStatusStatus;
|
|
2836
|
-
};
|
|
3695
|
+
member?: MemberNonNullableFields;
|
|
2837
3696
|
}
|
|
2838
3697
|
interface ListMembersResponseNonNullableFields {
|
|
2839
|
-
members:
|
|
2840
|
-
status: Status;
|
|
2841
|
-
contact?: {
|
|
2842
|
-
addresses: {
|
|
2843
|
-
streetAddress?: {
|
|
2844
|
-
number: string;
|
|
2845
|
-
name: string;
|
|
2846
|
-
};
|
|
2847
|
-
}[];
|
|
2848
|
-
};
|
|
2849
|
-
profile?: {
|
|
2850
|
-
photo?: {
|
|
2851
|
-
_id: string;
|
|
2852
|
-
url: string;
|
|
2853
|
-
height: number;
|
|
2854
|
-
width: number;
|
|
2855
|
-
};
|
|
2856
|
-
cover?: {
|
|
2857
|
-
_id: string;
|
|
2858
|
-
url: string;
|
|
2859
|
-
height: number;
|
|
2860
|
-
width: number;
|
|
2861
|
-
};
|
|
2862
|
-
};
|
|
2863
|
-
privacyStatus: PrivacyStatusStatus;
|
|
2864
|
-
activityStatus: ActivityStatusStatus;
|
|
2865
|
-
}[];
|
|
3698
|
+
members: MemberNonNullableFields[];
|
|
2866
3699
|
}
|
|
2867
3700
|
interface QueryMembersResponseNonNullableFields {
|
|
2868
|
-
members:
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
3701
|
+
members: MemberNonNullableFields[];
|
|
3702
|
+
}
|
|
3703
|
+
interface MuteMemberResponseNonNullableFields {
|
|
3704
|
+
member?: MemberNonNullableFields;
|
|
3705
|
+
}
|
|
3706
|
+
interface UnmuteMemberResponseNonNullableFields {
|
|
3707
|
+
member?: MemberNonNullableFields;
|
|
3708
|
+
}
|
|
3709
|
+
interface ApproveMemberResponseNonNullableFields {
|
|
3710
|
+
member?: MemberNonNullableFields;
|
|
3711
|
+
}
|
|
3712
|
+
interface BlockMemberResponseNonNullableFields {
|
|
3713
|
+
member?: MemberNonNullableFields;
|
|
3714
|
+
}
|
|
3715
|
+
interface DisconnectMemberResponseNonNullableFields {
|
|
3716
|
+
member?: MemberNonNullableFields;
|
|
3717
|
+
}
|
|
3718
|
+
interface ApplicationErrorNonNullableFields {
|
|
3719
|
+
code: string;
|
|
3720
|
+
description: string;
|
|
3721
|
+
}
|
|
3722
|
+
interface ItemMetadataNonNullableFields {
|
|
3723
|
+
originalIndex: number;
|
|
3724
|
+
success: boolean;
|
|
3725
|
+
error?: ApplicationErrorNonNullableFields;
|
|
3726
|
+
}
|
|
3727
|
+
interface BulkMemberResultNonNullableFields {
|
|
3728
|
+
itemMetadata?: ItemMetadataNonNullableFields;
|
|
3729
|
+
}
|
|
3730
|
+
interface BulkActionMetadataNonNullableFields {
|
|
3731
|
+
totalSuccesses: number;
|
|
3732
|
+
totalFailures: number;
|
|
3733
|
+
undetailedFailures: number;
|
|
3734
|
+
}
|
|
3735
|
+
interface BulkDeleteMembersResponseNonNullableFields {
|
|
3736
|
+
results: BulkMemberResultNonNullableFields[];
|
|
3737
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3738
|
+
}
|
|
3739
|
+
interface BulkDeleteMembersByFilterResponseNonNullableFields {
|
|
3740
|
+
jobId: string;
|
|
3741
|
+
}
|
|
3742
|
+
interface BulkApproveMembersResponseNonNullableFields {
|
|
3743
|
+
jobId: string;
|
|
3744
|
+
}
|
|
3745
|
+
interface BulkBlockMembersResponseNonNullableFields {
|
|
3746
|
+
jobId: string;
|
|
2895
3747
|
}
|
|
2896
3748
|
interface CreateMemberResponseNonNullableFields {
|
|
2897
|
-
member?:
|
|
2898
|
-
status: Status;
|
|
2899
|
-
contact?: {
|
|
2900
|
-
addresses: {
|
|
2901
|
-
streetAddress?: {
|
|
2902
|
-
number: string;
|
|
2903
|
-
name: string;
|
|
2904
|
-
};
|
|
2905
|
-
}[];
|
|
2906
|
-
};
|
|
2907
|
-
profile?: {
|
|
2908
|
-
photo?: {
|
|
2909
|
-
_id: string;
|
|
2910
|
-
url: string;
|
|
2911
|
-
height: number;
|
|
2912
|
-
width: number;
|
|
2913
|
-
};
|
|
2914
|
-
cover?: {
|
|
2915
|
-
_id: string;
|
|
2916
|
-
url: string;
|
|
2917
|
-
height: number;
|
|
2918
|
-
width: number;
|
|
2919
|
-
};
|
|
2920
|
-
};
|
|
2921
|
-
privacyStatus: PrivacyStatusStatus;
|
|
2922
|
-
activityStatus: ActivityStatusStatus;
|
|
2923
|
-
};
|
|
3749
|
+
member?: MemberNonNullableFields;
|
|
2924
3750
|
}
|
|
2925
3751
|
interface UpdateMemberResponseNonNullableFields {
|
|
2926
|
-
member?:
|
|
2927
|
-
status: Status;
|
|
2928
|
-
contact?: {
|
|
2929
|
-
addresses: {
|
|
2930
|
-
streetAddress?: {
|
|
2931
|
-
number: string;
|
|
2932
|
-
name: string;
|
|
2933
|
-
};
|
|
2934
|
-
}[];
|
|
2935
|
-
};
|
|
2936
|
-
profile?: {
|
|
2937
|
-
photo?: {
|
|
2938
|
-
_id: string;
|
|
2939
|
-
url: string;
|
|
2940
|
-
height: number;
|
|
2941
|
-
width: number;
|
|
2942
|
-
};
|
|
2943
|
-
cover?: {
|
|
2944
|
-
_id: string;
|
|
2945
|
-
url: string;
|
|
2946
|
-
height: number;
|
|
2947
|
-
width: number;
|
|
2948
|
-
};
|
|
2949
|
-
};
|
|
2950
|
-
privacyStatus: PrivacyStatusStatus;
|
|
2951
|
-
activityStatus: ActivityStatusStatus;
|
|
2952
|
-
};
|
|
3752
|
+
member?: MemberNonNullableFields;
|
|
2953
3753
|
}
|
|
2954
3754
|
interface DeleteMemberPhonesResponseNonNullableFields {
|
|
2955
|
-
member?:
|
|
2956
|
-
status: Status;
|
|
2957
|
-
contact?: {
|
|
2958
|
-
addresses: {
|
|
2959
|
-
streetAddress?: {
|
|
2960
|
-
number: string;
|
|
2961
|
-
name: string;
|
|
2962
|
-
};
|
|
2963
|
-
}[];
|
|
2964
|
-
};
|
|
2965
|
-
profile?: {
|
|
2966
|
-
photo?: {
|
|
2967
|
-
_id: string;
|
|
2968
|
-
url: string;
|
|
2969
|
-
height: number;
|
|
2970
|
-
width: number;
|
|
2971
|
-
};
|
|
2972
|
-
cover?: {
|
|
2973
|
-
_id: string;
|
|
2974
|
-
url: string;
|
|
2975
|
-
height: number;
|
|
2976
|
-
width: number;
|
|
2977
|
-
};
|
|
2978
|
-
};
|
|
2979
|
-
privacyStatus: PrivacyStatusStatus;
|
|
2980
|
-
activityStatus: ActivityStatusStatus;
|
|
2981
|
-
};
|
|
3755
|
+
member?: MemberNonNullableFields;
|
|
2982
3756
|
}
|
|
2983
3757
|
interface DeleteMemberEmailsResponseNonNullableFields {
|
|
2984
|
-
member?:
|
|
2985
|
-
status: Status;
|
|
2986
|
-
contact?: {
|
|
2987
|
-
addresses: {
|
|
2988
|
-
streetAddress?: {
|
|
2989
|
-
number: string;
|
|
2990
|
-
name: string;
|
|
2991
|
-
};
|
|
2992
|
-
}[];
|
|
2993
|
-
};
|
|
2994
|
-
profile?: {
|
|
2995
|
-
photo?: {
|
|
2996
|
-
_id: string;
|
|
2997
|
-
url: string;
|
|
2998
|
-
height: number;
|
|
2999
|
-
width: number;
|
|
3000
|
-
};
|
|
3001
|
-
cover?: {
|
|
3002
|
-
_id: string;
|
|
3003
|
-
url: string;
|
|
3004
|
-
height: number;
|
|
3005
|
-
width: number;
|
|
3006
|
-
};
|
|
3007
|
-
};
|
|
3008
|
-
privacyStatus: PrivacyStatusStatus;
|
|
3009
|
-
activityStatus: ActivityStatusStatus;
|
|
3010
|
-
};
|
|
3758
|
+
member?: MemberNonNullableFields;
|
|
3011
3759
|
}
|
|
3012
3760
|
interface DeleteMemberAddressesResponseNonNullableFields {
|
|
3013
|
-
member?:
|
|
3014
|
-
status: Status;
|
|
3015
|
-
contact?: {
|
|
3016
|
-
addresses: {
|
|
3017
|
-
streetAddress?: {
|
|
3018
|
-
number: string;
|
|
3019
|
-
name: string;
|
|
3020
|
-
};
|
|
3021
|
-
}[];
|
|
3022
|
-
};
|
|
3023
|
-
profile?: {
|
|
3024
|
-
photo?: {
|
|
3025
|
-
_id: string;
|
|
3026
|
-
url: string;
|
|
3027
|
-
height: number;
|
|
3028
|
-
width: number;
|
|
3029
|
-
};
|
|
3030
|
-
cover?: {
|
|
3031
|
-
_id: string;
|
|
3032
|
-
url: string;
|
|
3033
|
-
height: number;
|
|
3034
|
-
width: number;
|
|
3035
|
-
};
|
|
3036
|
-
};
|
|
3037
|
-
privacyStatus: PrivacyStatusStatus;
|
|
3038
|
-
activityStatus: ActivityStatusStatus;
|
|
3039
|
-
};
|
|
3761
|
+
member?: MemberNonNullableFields;
|
|
3040
3762
|
}
|
|
3041
3763
|
|
|
3042
|
-
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3764
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3043
3765
|
getUrl: (context: any) => string;
|
|
3044
3766
|
httpMethod: K;
|
|
3045
3767
|
path: string;
|
|
@@ -3049,48 +3771,574 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
3049
3771
|
__responseType: Q;
|
|
3050
3772
|
__originalResponseType: R;
|
|
3051
3773
|
};
|
|
3052
|
-
declare function updateCurrentMemberSlug(): __PublicMethodMetaInfo<'POST', {}, UpdateMySlugRequest, UpdateMySlugRequest$1, UpdateMySlugResponse & UpdateMySlugResponseNonNullableFields, UpdateMySlugResponse$1 & UpdateMySlugResponseNonNullableFields$1>;
|
|
3053
|
-
declare function
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
declare function
|
|
3774
|
+
declare function updateCurrentMemberSlug(): __PublicMethodMetaInfo$3<'POST', {}, UpdateMySlugRequest, UpdateMySlugRequest$1, UpdateMySlugResponse & UpdateMySlugResponseNonNullableFields, UpdateMySlugResponse$1 & UpdateMySlugResponseNonNullableFields$1>;
|
|
3775
|
+
declare function updateMemberSlug(): __PublicMethodMetaInfo$3<'POST', {
|
|
3776
|
+
id: string;
|
|
3777
|
+
}, UpdateMemberSlugRequest, UpdateMemberSlugRequest$1, UpdateMemberSlugResponse & UpdateMemberSlugResponseNonNullableFields, UpdateMemberSlugResponse$1 & UpdateMemberSlugResponseNonNullableFields$1>;
|
|
3778
|
+
declare function joinCommunity(): __PublicMethodMetaInfo$3<'POST', {}, JoinCommunityRequest, JoinCommunityRequest$1, JoinCommunityResponse & JoinCommunityResponseNonNullableFields, JoinCommunityResponse$1 & JoinCommunityResponseNonNullableFields$1>;
|
|
3779
|
+
declare function leaveCommunity(): __PublicMethodMetaInfo$3<'POST', {}, LeaveCommunityRequest, LeaveCommunityRequest$1, LeaveCommunityResponse & LeaveCommunityResponseNonNullableFields, LeaveCommunityResponse$1 & LeaveCommunityResponseNonNullableFields$1>;
|
|
3780
|
+
declare function getCurrentMember(): __PublicMethodMetaInfo$3<'GET', {}, GetMyMemberRequest, GetMyMemberRequest$1, GetMyMemberResponse & GetMyMemberResponseNonNullableFields, GetMyMemberResponse$1 & GetMyMemberResponseNonNullableFields$1>;
|
|
3781
|
+
declare function getMember(): __PublicMethodMetaInfo$3<'GET', {
|
|
3057
3782
|
id: string;
|
|
3058
3783
|
}, GetMemberRequest, GetMemberRequest$1, GetMemberResponse & GetMemberResponseNonNullableFields, GetMemberResponse$1 & GetMemberResponseNonNullableFields$1>;
|
|
3059
|
-
declare function listMembers(): __PublicMethodMetaInfo<'GET', {}, ListMembersRequest, ListMembersRequest$1, ListMembersResponse & ListMembersResponseNonNullableFields, ListMembersResponse$1 & ListMembersResponseNonNullableFields$1>;
|
|
3060
|
-
declare function queryMembers(): __PublicMethodMetaInfo<'POST', {}, QueryMembersRequest, QueryMembersRequest$1, QueryMembersResponse & QueryMembersResponseNonNullableFields, QueryMembersResponse$1 & QueryMembersResponseNonNullableFields$1>;
|
|
3061
|
-
declare function
|
|
3784
|
+
declare function listMembers(): __PublicMethodMetaInfo$3<'GET', {}, ListMembersRequest, ListMembersRequest$1, ListMembersResponse & ListMembersResponseNonNullableFields, ListMembersResponse$1 & ListMembersResponseNonNullableFields$1>;
|
|
3785
|
+
declare function queryMembers(): __PublicMethodMetaInfo$3<'POST', {}, QueryMembersRequest, QueryMembersRequest$1, QueryMembersResponse & QueryMembersResponseNonNullableFields, QueryMembersResponse$1 & QueryMembersResponseNonNullableFields$1>;
|
|
3786
|
+
declare function muteMember(): __PublicMethodMetaInfo$3<'POST', {
|
|
3787
|
+
id: string;
|
|
3788
|
+
}, MuteMemberRequest, MuteMemberRequest$1, MuteMemberResponse & MuteMemberResponseNonNullableFields, MuteMemberResponse$1 & MuteMemberResponseNonNullableFields$1>;
|
|
3789
|
+
declare function unmuteMember(): __PublicMethodMetaInfo$3<'POST', {
|
|
3790
|
+
id: string;
|
|
3791
|
+
}, UnmuteMemberRequest, UnmuteMemberRequest$1, UnmuteMemberResponse & UnmuteMemberResponseNonNullableFields, UnmuteMemberResponse$1 & UnmuteMemberResponseNonNullableFields$1>;
|
|
3792
|
+
declare function approveMember(): __PublicMethodMetaInfo$3<'POST', {
|
|
3793
|
+
id: string;
|
|
3794
|
+
}, ApproveMemberRequest, ApproveMemberRequest$1, ApproveMemberResponse & ApproveMemberResponseNonNullableFields, ApproveMemberResponse$1 & ApproveMemberResponseNonNullableFields$1>;
|
|
3795
|
+
declare function blockMember$1(): __PublicMethodMetaInfo$3<'POST', {
|
|
3796
|
+
id: string;
|
|
3797
|
+
}, BlockMemberRequest$2, BlockMemberRequest$3, BlockMemberResponse$2 & BlockMemberResponseNonNullableFields, BlockMemberResponse$3 & BlockMemberResponseNonNullableFields$1>;
|
|
3798
|
+
declare function disconnectMember(): __PublicMethodMetaInfo$3<'POST', {
|
|
3799
|
+
id: string;
|
|
3800
|
+
}, DisconnectMemberRequest, DisconnectMemberRequest$1, DisconnectMemberResponse & DisconnectMemberResponseNonNullableFields, DisconnectMemberResponse$1 & DisconnectMemberResponseNonNullableFields$1>;
|
|
3801
|
+
declare function deleteMember(): __PublicMethodMetaInfo$3<'DELETE', {
|
|
3062
3802
|
id: string;
|
|
3063
3803
|
}, DeleteMemberRequest, DeleteMemberRequest$1, DeleteMemberResponse, DeleteMemberResponse$1>;
|
|
3064
|
-
declare function
|
|
3065
|
-
declare function
|
|
3804
|
+
declare function deleteMyMember(): __PublicMethodMetaInfo$3<'DELETE', {}, DeleteMyMemberRequest, DeleteMyMemberRequest$1, DeleteMyMemberResponse, DeleteMyMemberResponse$1>;
|
|
3805
|
+
declare function bulkDeleteMembers(): __PublicMethodMetaInfo$3<'POST', {}, BulkDeleteMembersRequest, BulkDeleteMembersRequest$1, BulkDeleteMembersResponse & BulkDeleteMembersResponseNonNullableFields, BulkDeleteMembersResponse$1 & BulkDeleteMembersResponseNonNullableFields$1>;
|
|
3806
|
+
declare function bulkDeleteMembersByFilter(): __PublicMethodMetaInfo$3<'POST', {}, BulkDeleteMembersByFilterRequest, BulkDeleteMembersByFilterRequest$1, BulkDeleteMembersByFilterResponse & BulkDeleteMembersByFilterResponseNonNullableFields, BulkDeleteMembersByFilterResponse$1 & BulkDeleteMembersByFilterResponseNonNullableFields$1>;
|
|
3807
|
+
declare function bulkApproveMembers(): __PublicMethodMetaInfo$3<'POST', {}, BulkApproveMembersRequest, BulkApproveMembersRequest$1, BulkApproveMembersResponse & BulkApproveMembersResponseNonNullableFields, BulkApproveMembersResponse$1 & BulkApproveMembersResponseNonNullableFields$1>;
|
|
3808
|
+
declare function bulkBlockMembers(): __PublicMethodMetaInfo$3<'POST', {}, BulkBlockMembersRequest, BulkBlockMembersRequest$1, BulkBlockMembersResponse & BulkBlockMembersResponseNonNullableFields, BulkBlockMembersResponse$1 & BulkBlockMembersResponseNonNullableFields$1>;
|
|
3809
|
+
declare function createMember(): __PublicMethodMetaInfo$3<'POST', {}, CreateMemberRequest, CreateMemberRequest$1, CreateMemberResponse & CreateMemberResponseNonNullableFields, CreateMemberResponse$1 & CreateMemberResponseNonNullableFields$1>;
|
|
3810
|
+
declare function updateMember(): __PublicMethodMetaInfo$3<'PATCH', {
|
|
3066
3811
|
memberId: string;
|
|
3067
3812
|
}, UpdateMemberRequest, UpdateMemberRequest$1, UpdateMemberResponse & UpdateMemberResponseNonNullableFields, UpdateMemberResponse$1 & UpdateMemberResponseNonNullableFields$1>;
|
|
3068
|
-
declare function deleteMemberPhones(): __PublicMethodMetaInfo<'DELETE', {
|
|
3813
|
+
declare function deleteMemberPhones(): __PublicMethodMetaInfo$3<'DELETE', {
|
|
3069
3814
|
id: string;
|
|
3070
3815
|
}, DeleteMemberPhonesRequest, DeleteMemberPhonesRequest$1, DeleteMemberPhonesResponse & DeleteMemberPhonesResponseNonNullableFields, DeleteMemberPhonesResponse$1 & DeleteMemberPhonesResponseNonNullableFields$1>;
|
|
3071
|
-
declare function deleteMemberEmails(): __PublicMethodMetaInfo<'DELETE', {
|
|
3816
|
+
declare function deleteMemberEmails(): __PublicMethodMetaInfo$3<'DELETE', {
|
|
3072
3817
|
id: string;
|
|
3073
3818
|
}, DeleteMemberEmailsRequest, DeleteMemberEmailsRequest$1, DeleteMemberEmailsResponse & DeleteMemberEmailsResponseNonNullableFields, DeleteMemberEmailsResponse$1 & DeleteMemberEmailsResponseNonNullableFields$1>;
|
|
3074
|
-
declare function deleteMemberAddresses(): __PublicMethodMetaInfo<'DELETE', {
|
|
3819
|
+
declare function deleteMemberAddresses(): __PublicMethodMetaInfo$3<'DELETE', {
|
|
3075
3820
|
id: string;
|
|
3076
3821
|
}, DeleteMemberAddressesRequest, DeleteMemberAddressesRequest$1, DeleteMemberAddressesResponse & DeleteMemberAddressesResponseNonNullableFields, DeleteMemberAddressesResponse$1 & DeleteMemberAddressesResponseNonNullableFields$1>;
|
|
3077
3822
|
|
|
3823
|
+
declare const meta$3_approveMember: typeof approveMember;
|
|
3824
|
+
declare const meta$3_bulkApproveMembers: typeof bulkApproveMembers;
|
|
3825
|
+
declare const meta$3_bulkBlockMembers: typeof bulkBlockMembers;
|
|
3826
|
+
declare const meta$3_bulkDeleteMembers: typeof bulkDeleteMembers;
|
|
3827
|
+
declare const meta$3_bulkDeleteMembersByFilter: typeof bulkDeleteMembersByFilter;
|
|
3828
|
+
declare const meta$3_createMember: typeof createMember;
|
|
3829
|
+
declare const meta$3_deleteMember: typeof deleteMember;
|
|
3830
|
+
declare const meta$3_deleteMemberAddresses: typeof deleteMemberAddresses;
|
|
3831
|
+
declare const meta$3_deleteMemberEmails: typeof deleteMemberEmails;
|
|
3832
|
+
declare const meta$3_deleteMemberPhones: typeof deleteMemberPhones;
|
|
3833
|
+
declare const meta$3_deleteMyMember: typeof deleteMyMember;
|
|
3834
|
+
declare const meta$3_disconnectMember: typeof disconnectMember;
|
|
3835
|
+
declare const meta$3_getCurrentMember: typeof getCurrentMember;
|
|
3836
|
+
declare const meta$3_getMember: typeof getMember;
|
|
3837
|
+
declare const meta$3_joinCommunity: typeof joinCommunity;
|
|
3838
|
+
declare const meta$3_leaveCommunity: typeof leaveCommunity;
|
|
3839
|
+
declare const meta$3_listMembers: typeof listMembers;
|
|
3840
|
+
declare const meta$3_muteMember: typeof muteMember;
|
|
3841
|
+
declare const meta$3_queryMembers: typeof queryMembers;
|
|
3842
|
+
declare const meta$3_unmuteMember: typeof unmuteMember;
|
|
3843
|
+
declare const meta$3_updateCurrentMemberSlug: typeof updateCurrentMemberSlug;
|
|
3844
|
+
declare const meta$3_updateMember: typeof updateMember;
|
|
3845
|
+
declare const meta$3_updateMemberSlug: typeof updateMemberSlug;
|
|
3846
|
+
declare namespace meta$3 {
|
|
3847
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_approveMember as approveMember, blockMember$1 as blockMember, meta$3_bulkApproveMembers as bulkApproveMembers, meta$3_bulkBlockMembers as bulkBlockMembers, meta$3_bulkDeleteMembers as bulkDeleteMembers, meta$3_bulkDeleteMembersByFilter as bulkDeleteMembersByFilter, meta$3_createMember as createMember, meta$3_deleteMember as deleteMember, meta$3_deleteMemberAddresses as deleteMemberAddresses, meta$3_deleteMemberEmails as deleteMemberEmails, meta$3_deleteMemberPhones as deleteMemberPhones, meta$3_deleteMyMember as deleteMyMember, meta$3_disconnectMember as disconnectMember, meta$3_getCurrentMember as getCurrentMember, meta$3_getMember as getMember, meta$3_joinCommunity as joinCommunity, meta$3_leaveCommunity as leaveCommunity, meta$3_listMembers as listMembers, meta$3_muteMember as muteMember, meta$3_queryMembers as queryMembers, meta$3_unmuteMember as unmuteMember, meta$3_updateCurrentMemberSlug as updateCurrentMemberSlug, meta$3_updateMember as updateMember, meta$3_updateMemberSlug as updateMemberSlug };
|
|
3848
|
+
}
|
|
3849
|
+
|
|
3850
|
+
interface MemberRoleDefinition$1 {
|
|
3851
|
+
/** @readonly */
|
|
3852
|
+
id?: string;
|
|
3853
|
+
roleKey?: string;
|
|
3854
|
+
title?: string;
|
|
3855
|
+
blockable?: boolean;
|
|
3856
|
+
/** Revision number, used for checking the optimistic lock condition. */
|
|
3857
|
+
revision?: string | null;
|
|
3858
|
+
}
|
|
3859
|
+
interface CreateMemberRoleDefinitionRequest$1 {
|
|
3860
|
+
roleKey: string;
|
|
3861
|
+
roleTitle: string;
|
|
3862
|
+
blockable?: boolean;
|
|
3863
|
+
}
|
|
3864
|
+
interface CreateMemberRoleDefinitionResponse$1 {
|
|
3865
|
+
role?: MemberRoleDefinition$1;
|
|
3866
|
+
}
|
|
3867
|
+
interface ListMemberRoleDefinitionsRequest$1 {
|
|
3868
|
+
}
|
|
3869
|
+
interface ListMemberRoleDefinitionsResponse$1 {
|
|
3870
|
+
roles?: MemberRoleDefinition$1[];
|
|
3871
|
+
}
|
|
3872
|
+
interface GetMemberRoleDefinitionRequest$1 {
|
|
3873
|
+
roleKey: string;
|
|
3874
|
+
}
|
|
3875
|
+
interface GetMemberRoleDefinitionResponse$1 {
|
|
3876
|
+
role?: MemberRoleDefinition$1;
|
|
3877
|
+
}
|
|
3878
|
+
interface UpdateMemberRoleDefinitionRequest$1 {
|
|
3879
|
+
key: string;
|
|
3880
|
+
blockable?: boolean;
|
|
3881
|
+
revision: string | null;
|
|
3882
|
+
}
|
|
3883
|
+
interface UpdateMemberRoleDefinitionResponse$1 {
|
|
3884
|
+
role?: MemberRoleDefinition$1;
|
|
3885
|
+
}
|
|
3886
|
+
interface DeleteMemberRoleDefinitionRequest$1 {
|
|
3887
|
+
roleKey: string;
|
|
3888
|
+
}
|
|
3889
|
+
interface DeleteMemberRoleDefinitionResponse$1 {
|
|
3890
|
+
}
|
|
3891
|
+
interface MemberRoleDefinitionNonNullableFields$1 {
|
|
3892
|
+
id: string;
|
|
3893
|
+
roleKey: string;
|
|
3894
|
+
title: string;
|
|
3895
|
+
blockable: boolean;
|
|
3896
|
+
}
|
|
3897
|
+
interface CreateMemberRoleDefinitionResponseNonNullableFields$1 {
|
|
3898
|
+
role?: MemberRoleDefinitionNonNullableFields$1;
|
|
3899
|
+
}
|
|
3900
|
+
interface ListMemberRoleDefinitionsResponseNonNullableFields$1 {
|
|
3901
|
+
roles: MemberRoleDefinitionNonNullableFields$1[];
|
|
3902
|
+
}
|
|
3903
|
+
interface GetMemberRoleDefinitionResponseNonNullableFields$1 {
|
|
3904
|
+
role?: MemberRoleDefinitionNonNullableFields$1;
|
|
3905
|
+
}
|
|
3906
|
+
interface UpdateMemberRoleDefinitionResponseNonNullableFields$1 {
|
|
3907
|
+
role?: MemberRoleDefinitionNonNullableFields$1;
|
|
3908
|
+
}
|
|
3909
|
+
|
|
3910
|
+
interface MemberRoleDefinition {
|
|
3911
|
+
/** @readonly */
|
|
3912
|
+
_id?: string;
|
|
3913
|
+
roleKey?: string;
|
|
3914
|
+
title?: string;
|
|
3915
|
+
blockable?: boolean;
|
|
3916
|
+
/** Revision number, used for checking the optimistic lock condition. */
|
|
3917
|
+
revision?: string | null;
|
|
3918
|
+
}
|
|
3919
|
+
interface CreateMemberRoleDefinitionRequest {
|
|
3920
|
+
roleKey: string;
|
|
3921
|
+
roleTitle: string;
|
|
3922
|
+
blockable?: boolean;
|
|
3923
|
+
}
|
|
3924
|
+
interface CreateMemberRoleDefinitionResponse {
|
|
3925
|
+
role?: MemberRoleDefinition;
|
|
3926
|
+
}
|
|
3927
|
+
interface ListMemberRoleDefinitionsRequest {
|
|
3928
|
+
}
|
|
3929
|
+
interface ListMemberRoleDefinitionsResponse {
|
|
3930
|
+
roles?: MemberRoleDefinition[];
|
|
3931
|
+
}
|
|
3932
|
+
interface GetMemberRoleDefinitionRequest {
|
|
3933
|
+
roleKey: string;
|
|
3934
|
+
}
|
|
3935
|
+
interface GetMemberRoleDefinitionResponse {
|
|
3936
|
+
role?: MemberRoleDefinition;
|
|
3937
|
+
}
|
|
3938
|
+
interface UpdateMemberRoleDefinitionRequest {
|
|
3939
|
+
key: string;
|
|
3940
|
+
blockable?: boolean;
|
|
3941
|
+
revision: string | null;
|
|
3942
|
+
}
|
|
3943
|
+
interface UpdateMemberRoleDefinitionResponse {
|
|
3944
|
+
role?: MemberRoleDefinition;
|
|
3945
|
+
}
|
|
3946
|
+
interface DeleteMemberRoleDefinitionRequest {
|
|
3947
|
+
roleKey: string;
|
|
3948
|
+
}
|
|
3949
|
+
interface DeleteMemberRoleDefinitionResponse {
|
|
3950
|
+
}
|
|
3951
|
+
interface MemberRoleDefinitionNonNullableFields {
|
|
3952
|
+
_id: string;
|
|
3953
|
+
roleKey: string;
|
|
3954
|
+
title: string;
|
|
3955
|
+
blockable: boolean;
|
|
3956
|
+
}
|
|
3957
|
+
interface CreateMemberRoleDefinitionResponseNonNullableFields {
|
|
3958
|
+
role?: MemberRoleDefinitionNonNullableFields;
|
|
3959
|
+
}
|
|
3960
|
+
interface ListMemberRoleDefinitionsResponseNonNullableFields {
|
|
3961
|
+
roles: MemberRoleDefinitionNonNullableFields[];
|
|
3962
|
+
}
|
|
3963
|
+
interface GetMemberRoleDefinitionResponseNonNullableFields {
|
|
3964
|
+
role?: MemberRoleDefinitionNonNullableFields;
|
|
3965
|
+
}
|
|
3966
|
+
interface UpdateMemberRoleDefinitionResponseNonNullableFields {
|
|
3967
|
+
role?: MemberRoleDefinitionNonNullableFields;
|
|
3968
|
+
}
|
|
3969
|
+
|
|
3970
|
+
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3971
|
+
getUrl: (context: any) => string;
|
|
3972
|
+
httpMethod: K;
|
|
3973
|
+
path: string;
|
|
3974
|
+
pathParams: M;
|
|
3975
|
+
__requestType: T;
|
|
3976
|
+
__originalRequestType: S;
|
|
3977
|
+
__responseType: Q;
|
|
3978
|
+
__originalResponseType: R;
|
|
3979
|
+
};
|
|
3980
|
+
declare function createMemberRoleDefinition(): __PublicMethodMetaInfo$2<'POST', {}, CreateMemberRoleDefinitionRequest, CreateMemberRoleDefinitionRequest$1, CreateMemberRoleDefinitionResponse & CreateMemberRoleDefinitionResponseNonNullableFields, CreateMemberRoleDefinitionResponse$1 & CreateMemberRoleDefinitionResponseNonNullableFields$1>;
|
|
3981
|
+
declare function listMemberRoleDefinitions(): __PublicMethodMetaInfo$2<'GET', {}, ListMemberRoleDefinitionsRequest, ListMemberRoleDefinitionsRequest$1, ListMemberRoleDefinitionsResponse & ListMemberRoleDefinitionsResponseNonNullableFields, ListMemberRoleDefinitionsResponse$1 & ListMemberRoleDefinitionsResponseNonNullableFields$1>;
|
|
3982
|
+
declare function getMemberRoleDefinition(): __PublicMethodMetaInfo$2<'GET', {
|
|
3983
|
+
roleKey: string;
|
|
3984
|
+
}, GetMemberRoleDefinitionRequest, GetMemberRoleDefinitionRequest$1, GetMemberRoleDefinitionResponse & GetMemberRoleDefinitionResponseNonNullableFields, GetMemberRoleDefinitionResponse$1 & GetMemberRoleDefinitionResponseNonNullableFields$1>;
|
|
3985
|
+
declare function updateMemberRoleDefinition(): __PublicMethodMetaInfo$2<'PATCH', {
|
|
3986
|
+
key: string;
|
|
3987
|
+
}, UpdateMemberRoleDefinitionRequest, UpdateMemberRoleDefinitionRequest$1, UpdateMemberRoleDefinitionResponse & UpdateMemberRoleDefinitionResponseNonNullableFields, UpdateMemberRoleDefinitionResponse$1 & UpdateMemberRoleDefinitionResponseNonNullableFields$1>;
|
|
3988
|
+
declare function deleteMemberRoleDefinition(): __PublicMethodMetaInfo$2<'DELETE', {
|
|
3989
|
+
roleKey: string;
|
|
3990
|
+
}, DeleteMemberRoleDefinitionRequest, DeleteMemberRoleDefinitionRequest$1, DeleteMemberRoleDefinitionResponse, DeleteMemberRoleDefinitionResponse$1>;
|
|
3991
|
+
|
|
3992
|
+
declare const meta$2_createMemberRoleDefinition: typeof createMemberRoleDefinition;
|
|
3993
|
+
declare const meta$2_deleteMemberRoleDefinition: typeof deleteMemberRoleDefinition;
|
|
3994
|
+
declare const meta$2_getMemberRoleDefinition: typeof getMemberRoleDefinition;
|
|
3995
|
+
declare const meta$2_listMemberRoleDefinitions: typeof listMemberRoleDefinitions;
|
|
3996
|
+
declare const meta$2_updateMemberRoleDefinition: typeof updateMemberRoleDefinition;
|
|
3997
|
+
declare namespace meta$2 {
|
|
3998
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_createMemberRoleDefinition as createMemberRoleDefinition, meta$2_deleteMemberRoleDefinition as deleteMemberRoleDefinition, meta$2_getMemberRoleDefinition as getMemberRoleDefinition, meta$2_listMemberRoleDefinitions as listMemberRoleDefinitions, meta$2_updateMemberRoleDefinition as updateMemberRoleDefinition };
|
|
3999
|
+
}
|
|
4000
|
+
|
|
4001
|
+
interface BlockMemberRequest$1 {
|
|
4002
|
+
/** ID of a member to block. */
|
|
4003
|
+
memberId: string;
|
|
4004
|
+
}
|
|
4005
|
+
interface BlockMemberResponse$1 {
|
|
4006
|
+
}
|
|
4007
|
+
interface UnblockMemberRequest$1 {
|
|
4008
|
+
/** ID of a member to unblock. */
|
|
4009
|
+
memberId: string;
|
|
4010
|
+
}
|
|
4011
|
+
interface UnblockMemberResponse$1 {
|
|
4012
|
+
}
|
|
4013
|
+
interface ListCurrentMemberBlockingRequest$1 {
|
|
4014
|
+
/** Pagination parameters. */
|
|
4015
|
+
cursorPaging?: CursorPaging$1;
|
|
4016
|
+
}
|
|
4017
|
+
interface CursorPaging$1 {
|
|
4018
|
+
/** Maximum number of items to return in the results. */
|
|
4019
|
+
limit?: number | null;
|
|
4020
|
+
/**
|
|
4021
|
+
* Pointer to the next or previous page in the list of results.
|
|
4022
|
+
*
|
|
4023
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
4024
|
+
* Not relevant for the first request.
|
|
4025
|
+
*/
|
|
4026
|
+
cursor?: string | null;
|
|
4027
|
+
}
|
|
4028
|
+
interface ListCurrentMemberBlockingResponse$1 {
|
|
4029
|
+
/** IDs of members blocked by the current member. */
|
|
4030
|
+
blockedMemberIds?: string[];
|
|
4031
|
+
/** Metadata for the paginated results. */
|
|
4032
|
+
pagingMetadata?: PagingMetadataV2$1;
|
|
4033
|
+
}
|
|
4034
|
+
interface PagingMetadataV2$1 {
|
|
4035
|
+
/** Number of items returned in the response. */
|
|
4036
|
+
count?: number | null;
|
|
4037
|
+
/** Offset that was requested. */
|
|
4038
|
+
offset?: number | null;
|
|
4039
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
4040
|
+
total?: number | null;
|
|
4041
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4042
|
+
tooManyToCount?: boolean | null;
|
|
4043
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4044
|
+
cursors?: Cursors$1;
|
|
4045
|
+
}
|
|
4046
|
+
interface Cursors$1 {
|
|
4047
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
4048
|
+
next?: string | null;
|
|
4049
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
4050
|
+
prev?: string | null;
|
|
4051
|
+
}
|
|
4052
|
+
interface ListMemberBlocksRequest$1 {
|
|
4053
|
+
/** ID of a member whose blocks are requested. */
|
|
4054
|
+
memberId: string;
|
|
4055
|
+
/** Pagination parameters. */
|
|
4056
|
+
cursorPaging?: CursorPaging$1;
|
|
4057
|
+
}
|
|
4058
|
+
interface ListMemberBlocksResponse$1 {
|
|
4059
|
+
/** List of members who are either blocking or blocked by the specified member. */
|
|
4060
|
+
memberBlocks?: MemberBlock$1[];
|
|
4061
|
+
/** Metadata for the paginated results. */
|
|
4062
|
+
pagingMetadata?: PagingMetadataV2$1;
|
|
4063
|
+
}
|
|
4064
|
+
interface MemberBlock$1 {
|
|
4065
|
+
/** Member ID. */
|
|
4066
|
+
memberId?: string;
|
|
4067
|
+
/**
|
|
4068
|
+
* Indicates whether the member with `memberId` is blocking or blocked by the specified member.
|
|
4069
|
+
*
|
|
4070
|
+
* - `BLOCKING`: The member with `memberId` is blocking the requested member.
|
|
4071
|
+
* - `BLOCKED`: The member with `memberId` is blocked by the requested member.
|
|
4072
|
+
*/
|
|
4073
|
+
blockDirection?: BlockDirection$1;
|
|
4074
|
+
}
|
|
4075
|
+
declare enum BlockDirection$1 {
|
|
4076
|
+
UNKNOWN = "UNKNOWN",
|
|
4077
|
+
BLOCKING = "BLOCKING",
|
|
4078
|
+
BLOCKED = "BLOCKED"
|
|
4079
|
+
}
|
|
4080
|
+
interface ListCurrentMemberBlockingResponseNonNullableFields$1 {
|
|
4081
|
+
blockedMemberIds: string[];
|
|
4082
|
+
}
|
|
4083
|
+
interface MemberBlockNonNullableFields$1 {
|
|
4084
|
+
memberId: string;
|
|
4085
|
+
blockDirection: BlockDirection$1;
|
|
4086
|
+
}
|
|
4087
|
+
interface ListMemberBlocksResponseNonNullableFields$1 {
|
|
4088
|
+
memberBlocks: MemberBlockNonNullableFields$1[];
|
|
4089
|
+
}
|
|
4090
|
+
|
|
4091
|
+
interface BlockMemberRequest {
|
|
4092
|
+
/** ID of a member to block. */
|
|
4093
|
+
memberId: string;
|
|
4094
|
+
}
|
|
4095
|
+
interface BlockMemberResponse {
|
|
4096
|
+
}
|
|
4097
|
+
interface UnblockMemberRequest {
|
|
4098
|
+
/** ID of a member to unblock. */
|
|
4099
|
+
memberId: string;
|
|
4100
|
+
}
|
|
4101
|
+
interface UnblockMemberResponse {
|
|
4102
|
+
}
|
|
4103
|
+
interface ListCurrentMemberBlockingRequest {
|
|
4104
|
+
/** Pagination parameters. */
|
|
4105
|
+
cursorPaging?: CursorPaging;
|
|
4106
|
+
}
|
|
4107
|
+
interface CursorPaging {
|
|
4108
|
+
/** Maximum number of items to return in the results. */
|
|
4109
|
+
limit?: number | null;
|
|
4110
|
+
/**
|
|
4111
|
+
* Pointer to the next or previous page in the list of results.
|
|
4112
|
+
*
|
|
4113
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
4114
|
+
* Not relevant for the first request.
|
|
4115
|
+
*/
|
|
4116
|
+
cursor?: string | null;
|
|
4117
|
+
}
|
|
4118
|
+
interface ListCurrentMemberBlockingResponse {
|
|
4119
|
+
/** IDs of members blocked by the current member. */
|
|
4120
|
+
blockedMemberIds?: string[];
|
|
4121
|
+
/** Metadata for the paginated results. */
|
|
4122
|
+
pagingMetadata?: PagingMetadataV2;
|
|
4123
|
+
}
|
|
4124
|
+
interface PagingMetadataV2 {
|
|
4125
|
+
/** Number of items returned in the response. */
|
|
4126
|
+
count?: number | null;
|
|
4127
|
+
/** Offset that was requested. */
|
|
4128
|
+
offset?: number | null;
|
|
4129
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
4130
|
+
total?: number | null;
|
|
4131
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4132
|
+
tooManyToCount?: boolean | null;
|
|
4133
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4134
|
+
cursors?: Cursors;
|
|
4135
|
+
}
|
|
4136
|
+
interface Cursors {
|
|
4137
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
4138
|
+
next?: string | null;
|
|
4139
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
4140
|
+
prev?: string | null;
|
|
4141
|
+
}
|
|
4142
|
+
interface ListMemberBlocksRequest {
|
|
4143
|
+
/** ID of a member whose blocks are requested. */
|
|
4144
|
+
memberId: string;
|
|
4145
|
+
/** Pagination parameters. */
|
|
4146
|
+
cursorPaging?: CursorPaging;
|
|
4147
|
+
}
|
|
4148
|
+
interface ListMemberBlocksResponse {
|
|
4149
|
+
/** List of members who are either blocking or blocked by the specified member. */
|
|
4150
|
+
memberBlocks?: MemberBlock[];
|
|
4151
|
+
/** Metadata for the paginated results. */
|
|
4152
|
+
pagingMetadata?: PagingMetadataV2;
|
|
4153
|
+
}
|
|
4154
|
+
interface MemberBlock {
|
|
4155
|
+
/** Member ID. */
|
|
4156
|
+
memberId?: string;
|
|
4157
|
+
/**
|
|
4158
|
+
* Indicates whether the member with `memberId` is blocking or blocked by the specified member.
|
|
4159
|
+
*
|
|
4160
|
+
* - `BLOCKING`: The member with `memberId` is blocking the requested member.
|
|
4161
|
+
* - `BLOCKED`: The member with `memberId` is blocked by the requested member.
|
|
4162
|
+
*/
|
|
4163
|
+
blockDirection?: BlockDirection;
|
|
4164
|
+
}
|
|
4165
|
+
declare enum BlockDirection {
|
|
4166
|
+
UNKNOWN = "UNKNOWN",
|
|
4167
|
+
BLOCKING = "BLOCKING",
|
|
4168
|
+
BLOCKED = "BLOCKED"
|
|
4169
|
+
}
|
|
4170
|
+
interface ListCurrentMemberBlockingResponseNonNullableFields {
|
|
4171
|
+
blockedMemberIds: string[];
|
|
4172
|
+
}
|
|
4173
|
+
interface MemberBlockNonNullableFields {
|
|
4174
|
+
memberId: string;
|
|
4175
|
+
blockDirection: BlockDirection;
|
|
4176
|
+
}
|
|
4177
|
+
interface ListMemberBlocksResponseNonNullableFields {
|
|
4178
|
+
memberBlocks: MemberBlockNonNullableFields[];
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4181
|
+
type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4182
|
+
getUrl: (context: any) => string;
|
|
4183
|
+
httpMethod: K;
|
|
4184
|
+
path: string;
|
|
4185
|
+
pathParams: M;
|
|
4186
|
+
__requestType: T;
|
|
4187
|
+
__originalRequestType: S;
|
|
4188
|
+
__responseType: Q;
|
|
4189
|
+
__originalResponseType: R;
|
|
4190
|
+
};
|
|
4191
|
+
declare function blockMember(): __PublicMethodMetaInfo$1<'POST', {}, BlockMemberRequest, BlockMemberRequest$1, BlockMemberResponse, BlockMemberResponse$1>;
|
|
4192
|
+
declare function unblockMember(): __PublicMethodMetaInfo$1<'DELETE', {
|
|
4193
|
+
memberId: string;
|
|
4194
|
+
}, UnblockMemberRequest, UnblockMemberRequest$1, UnblockMemberResponse, UnblockMemberResponse$1>;
|
|
4195
|
+
declare function listCurrentMemberBlocking(): __PublicMethodMetaInfo$1<'GET', {}, ListCurrentMemberBlockingRequest, ListCurrentMemberBlockingRequest$1, ListCurrentMemberBlockingResponse & ListCurrentMemberBlockingResponseNonNullableFields, ListCurrentMemberBlockingResponse$1 & ListCurrentMemberBlockingResponseNonNullableFields$1>;
|
|
4196
|
+
declare function listMemberBlocks(): __PublicMethodMetaInfo$1<'GET', {
|
|
4197
|
+
memberId: string;
|
|
4198
|
+
}, ListMemberBlocksRequest, ListMemberBlocksRequest$1, ListMemberBlocksResponse & ListMemberBlocksResponseNonNullableFields, ListMemberBlocksResponse$1 & ListMemberBlocksResponseNonNullableFields$1>;
|
|
4199
|
+
|
|
4200
|
+
declare const meta$1_blockMember: typeof blockMember;
|
|
4201
|
+
declare const meta$1_listCurrentMemberBlocking: typeof listCurrentMemberBlocking;
|
|
4202
|
+
declare const meta$1_listMemberBlocks: typeof listMemberBlocks;
|
|
4203
|
+
declare const meta$1_unblockMember: typeof unblockMember;
|
|
4204
|
+
declare namespace meta$1 {
|
|
4205
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_blockMember as blockMember, meta$1_listCurrentMemberBlocking as listCurrentMemberBlocking, meta$1_listMemberBlocks as listMemberBlocks, meta$1_unblockMember as unblockMember };
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
interface Role$1 {
|
|
4209
|
+
roleKey?: string;
|
|
4210
|
+
title?: string;
|
|
4211
|
+
}
|
|
4212
|
+
interface AssignRoleRequest$1 {
|
|
4213
|
+
memberId: string;
|
|
4214
|
+
roleKey: string;
|
|
4215
|
+
}
|
|
4216
|
+
interface AssignRoleResponse$1 {
|
|
4217
|
+
roleKey?: string;
|
|
4218
|
+
}
|
|
4219
|
+
interface UnassignRoleRequest$1 {
|
|
4220
|
+
memberId: string;
|
|
4221
|
+
roleKey: string;
|
|
4222
|
+
}
|
|
4223
|
+
interface UnassignRoleResponse$1 {
|
|
4224
|
+
roleKey?: string;
|
|
4225
|
+
}
|
|
4226
|
+
interface GetRolesRequest$1 {
|
|
4227
|
+
memberId: string;
|
|
4228
|
+
}
|
|
4229
|
+
interface GetRolesResponse$1 {
|
|
4230
|
+
roles?: Role$1[];
|
|
4231
|
+
}
|
|
4232
|
+
interface QueryRolesRequest$1 {
|
|
4233
|
+
/** Query options. */
|
|
4234
|
+
query?: Query$1;
|
|
4235
|
+
}
|
|
4236
|
+
interface Query$1 {
|
|
4237
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
4238
|
+
filter?: any;
|
|
4239
|
+
}
|
|
4240
|
+
interface QueryRolesResponse$1 {
|
|
4241
|
+
/** Map of members that met the query filter criteria. */
|
|
4242
|
+
rolesByMemberId?: Record<string, MemberRole$1>;
|
|
4243
|
+
}
|
|
4244
|
+
interface MemberRole$1 {
|
|
4245
|
+
roles?: Role$1[];
|
|
4246
|
+
}
|
|
4247
|
+
interface AssignRoleResponseNonNullableFields$1 {
|
|
4248
|
+
roleKey: string;
|
|
4249
|
+
}
|
|
4250
|
+
interface UnassignRoleResponseNonNullableFields$1 {
|
|
4251
|
+
roleKey: string;
|
|
4252
|
+
}
|
|
4253
|
+
interface RoleNonNullableFields$1 {
|
|
4254
|
+
roleKey: string;
|
|
4255
|
+
title: string;
|
|
4256
|
+
}
|
|
4257
|
+
interface GetRolesResponseNonNullableFields$1 {
|
|
4258
|
+
roles: RoleNonNullableFields$1[];
|
|
4259
|
+
}
|
|
4260
|
+
|
|
4261
|
+
interface Role {
|
|
4262
|
+
roleKey?: string;
|
|
4263
|
+
title?: string;
|
|
4264
|
+
}
|
|
4265
|
+
interface AssignRoleRequest {
|
|
4266
|
+
memberId: string;
|
|
4267
|
+
roleKey: string;
|
|
4268
|
+
}
|
|
4269
|
+
interface AssignRoleResponse {
|
|
4270
|
+
roleKey?: string;
|
|
4271
|
+
}
|
|
4272
|
+
interface UnassignRoleRequest {
|
|
4273
|
+
memberId: string;
|
|
4274
|
+
roleKey: string;
|
|
4275
|
+
}
|
|
4276
|
+
interface UnassignRoleResponse {
|
|
4277
|
+
roleKey?: string;
|
|
4278
|
+
}
|
|
4279
|
+
interface GetRolesRequest {
|
|
4280
|
+
memberId: string;
|
|
4281
|
+
}
|
|
4282
|
+
interface GetRolesResponse {
|
|
4283
|
+
roles?: Role[];
|
|
4284
|
+
}
|
|
4285
|
+
interface QueryRolesRequest {
|
|
4286
|
+
/** Query options. */
|
|
4287
|
+
query?: Query;
|
|
4288
|
+
}
|
|
4289
|
+
interface Query {
|
|
4290
|
+
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
4291
|
+
filter?: any;
|
|
4292
|
+
}
|
|
4293
|
+
interface QueryRolesResponse {
|
|
4294
|
+
/** Map of members that met the query filter criteria. */
|
|
4295
|
+
rolesByMemberId?: Record<string, MemberRole>;
|
|
4296
|
+
}
|
|
4297
|
+
interface MemberRole {
|
|
4298
|
+
roles?: Role[];
|
|
4299
|
+
}
|
|
4300
|
+
interface AssignRoleResponseNonNullableFields {
|
|
4301
|
+
roleKey: string;
|
|
4302
|
+
}
|
|
4303
|
+
interface UnassignRoleResponseNonNullableFields {
|
|
4304
|
+
roleKey: string;
|
|
4305
|
+
}
|
|
4306
|
+
interface RoleNonNullableFields {
|
|
4307
|
+
roleKey: string;
|
|
4308
|
+
title: string;
|
|
4309
|
+
}
|
|
4310
|
+
interface GetRolesResponseNonNullableFields {
|
|
4311
|
+
roles: RoleNonNullableFields[];
|
|
4312
|
+
}
|
|
4313
|
+
|
|
4314
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4315
|
+
getUrl: (context: any) => string;
|
|
4316
|
+
httpMethod: K;
|
|
4317
|
+
path: string;
|
|
4318
|
+
pathParams: M;
|
|
4319
|
+
__requestType: T;
|
|
4320
|
+
__originalRequestType: S;
|
|
4321
|
+
__responseType: Q;
|
|
4322
|
+
__originalResponseType: R;
|
|
4323
|
+
};
|
|
4324
|
+
declare function assignRole(): __PublicMethodMetaInfo<'POST', {
|
|
4325
|
+
memberId: string;
|
|
4326
|
+
}, AssignRoleRequest, AssignRoleRequest$1, AssignRoleResponse & AssignRoleResponseNonNullableFields, AssignRoleResponse$1 & AssignRoleResponseNonNullableFields$1>;
|
|
4327
|
+
declare function unassignRole(): __PublicMethodMetaInfo<'DELETE', {
|
|
4328
|
+
memberId: string;
|
|
4329
|
+
}, UnassignRoleRequest, UnassignRoleRequest$1, UnassignRoleResponse & UnassignRoleResponseNonNullableFields, UnassignRoleResponse$1 & UnassignRoleResponseNonNullableFields$1>;
|
|
4330
|
+
declare function getRoles(): __PublicMethodMetaInfo<'GET', {
|
|
4331
|
+
memberId: string;
|
|
4332
|
+
}, GetRolesRequest, GetRolesRequest$1, GetRolesResponse & GetRolesResponseNonNullableFields, GetRolesResponse$1 & GetRolesResponseNonNullableFields$1>;
|
|
4333
|
+
declare function queryRoles(): __PublicMethodMetaInfo<'POST', {}, QueryRolesRequest, QueryRolesRequest$1, QueryRolesResponse, QueryRolesResponse$1>;
|
|
4334
|
+
|
|
3078
4335
|
type meta___PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = __PublicMethodMetaInfo<K, M, T, S, Q, R>;
|
|
3079
|
-
declare const
|
|
3080
|
-
declare const
|
|
3081
|
-
declare const
|
|
3082
|
-
declare const
|
|
3083
|
-
declare const meta_deleteMemberPhones: typeof deleteMemberPhones;
|
|
3084
|
-
declare const meta_getCurrentMember: typeof getCurrentMember;
|
|
3085
|
-
declare const meta_getMember: typeof getMember;
|
|
3086
|
-
declare const meta_joinCommunity: typeof joinCommunity;
|
|
3087
|
-
declare const meta_leaveCommunity: typeof leaveCommunity;
|
|
3088
|
-
declare const meta_listMembers: typeof listMembers;
|
|
3089
|
-
declare const meta_queryMembers: typeof queryMembers;
|
|
3090
|
-
declare const meta_updateCurrentMemberSlug: typeof updateCurrentMemberSlug;
|
|
3091
|
-
declare const meta_updateMember: typeof updateMember;
|
|
4336
|
+
declare const meta_assignRole: typeof assignRole;
|
|
4337
|
+
declare const meta_getRoles: typeof getRoles;
|
|
4338
|
+
declare const meta_queryRoles: typeof queryRoles;
|
|
4339
|
+
declare const meta_unassignRole: typeof unassignRole;
|
|
3092
4340
|
declare namespace meta {
|
|
3093
|
-
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo,
|
|
4341
|
+
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_assignRole as assignRole, meta_getRoles as getRoles, meta_queryRoles as queryRoles, meta_unassignRole as unassignRole };
|
|
3094
4342
|
}
|
|
3095
4343
|
|
|
3096
|
-
export { meta$
|
|
4344
|
+
export { meta$7 as authentication, meta as authorization, meta$8 as badges, meta$5 as customField, meta$4 as customFieldSuggestion, meta$2 as memberRoleDefinition, meta$1 as memberToMemberBlock, meta$3 as members, meta$6 as userMember };
|