@wix/members 1.0.93 → 1.0.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,47 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
28
+ __type: 'event-definition';
29
+ type: Type;
30
+ isDomainEvent?: boolean;
31
+ transformations?: (envelope: unknown) => Payload;
32
+ __payload: Payload;
33
+ };
34
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
+
38
+ declare global {
39
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
+ interface SymbolConstructor {
41
+ readonly observable: symbol;
42
+ }
43
+ }
44
+
1
45
  interface Badge {
2
46
  /**
3
47
  * Badge ID.
@@ -558,70 +602,225 @@ interface ListMembersByBadgeOptions {
558
602
  paging?: Paging$4;
559
603
  }
560
604
 
561
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
562
- interface HttpClient {
563
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
564
- fetchWithAuth: typeof fetch;
565
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
605
+ declare function createBadge$1(httpClient: HttpClient): CreateBadgeSignature;
606
+ interface CreateBadgeSignature {
607
+ /**
608
+ * Creates a badge.
609
+ *
610
+ *
611
+ * The `createBadge()` function returns a Promise that resolves to the newly created badge.
612
+ *
613
+ * New badges do not have any badge permissions by default. You can set [badge permissions](https://support.wix.com/en/article/setting-permissions-for-a-member-badge) from the Badges page in the Dashboard.
614
+ *
615
+ * If `backgroundColor` or `textColor` are not specified, they default to `"#796EFF"` (purple) and `"#FFFFFF"` (white) respectively.
616
+ * @param - Badge to create.
617
+ * @returns Created badge.
618
+ */
619
+ (badge: Badge): Promise<Badge & BadgeNonNullableFields>;
566
620
  }
567
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
568
- type HttpResponse<T = any> = {
569
- data: T;
570
- status: number;
571
- statusText: string;
572
- headers: any;
573
- request?: any;
574
- };
575
- type RequestOptions<_TResponse = any, Data = any> = {
576
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
577
- url: string;
578
- data?: Data;
579
- params?: URLSearchParams;
580
- } & APIMetadata;
581
- type APIMetadata = {
582
- methodFqn?: string;
583
- entityFqdn?: string;
584
- packageName?: string;
585
- };
586
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
587
- type EventDefinition<Payload = unknown, Type extends string = string> = {
588
- __type: 'event-definition';
589
- type: Type;
590
- isDomainEvent?: boolean;
591
- transformations?: (envelope: unknown) => Payload;
592
- __payload: Payload;
593
- };
594
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
595
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
596
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
597
-
598
- declare global {
599
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
600
- interface SymbolConstructor {
601
- readonly observable: symbol;
602
- }
621
+ declare function updateBadge$1(httpClient: HttpClient): UpdateBadgeSignature;
622
+ interface UpdateBadgeSignature {
623
+ /**
624
+ * Updates a badge.
625
+ *
626
+ * The `updateBadge()` function returns a Promise that resolves to the updated badge.
627
+ *
628
+ * Only the properties passed in the `BadgeInfo` object will be updated. All other properties will remain the same.
629
+ *
630
+ * Because the badge `slug` is based on the badge `title`, if you change `title`, `slug` is updated accordingly.
631
+ *
632
+ * `badgeId` must be an ID from your site's `Members/Badges` collection. Typically, you retrieve the ID from the collection using a query or through a dataset.
633
+ * @param - Badge ID.
634
+ * @returns Updated badge.
635
+ */
636
+ (_id: string, badge: UpdateBadge): Promise<Badge & BadgeNonNullableFields>;
637
+ }
638
+ declare function listBadges$1(httpClient: HttpClient): ListBadgesSignature;
639
+ interface ListBadgesSignature {
640
+ /**
641
+ * Lists the badges.
642
+ *
643
+ *
644
+ * The `listBadges` function returns a Promise that resolves when the badges are retrieved. Retrieves up to 1000 badges, given the requested paging. Default paging.limit is 100, paging.offset - 0.
645
+ *
646
+ * This function is not a universal function and runs only on the backend.
647
+ */
648
+ (options?: ListBadgesOptions | undefined): Promise<ListBadgesResponse & ListBadgesResponseNonNullableFields>;
649
+ }
650
+ declare function getBadge$1(httpClient: HttpClient): GetBadgeSignature;
651
+ interface GetBadgeSignature {
652
+ /**
653
+ * Retrieves information about a badge.
654
+ *
655
+ *
656
+ * The `getBadge` function returns a Promise that resolves when the badge information is retrieved.
657
+ *
658
+ * The `_id` parameter must be an ID from your site's `Members/Badges` collection. Typically, you retrieve the ID from the collection using a query or through a dataset.
659
+ *
660
+ * This function is not a universal function and runs only on the backend.
661
+ * @param - Badge ID.
662
+ * @returns Badge.
663
+ */
664
+ (_id: string): Promise<Badge & BadgeNonNullableFields>;
665
+ }
666
+ declare function deleteBadge$1(httpClient: HttpClient): DeleteBadgeSignature;
667
+ interface DeleteBadgeSignature {
668
+ /**
669
+ * Deletes a badge.
670
+ *
671
+ *
672
+ * The `deleteBadge()` function returns a Promise that resolves when the specified badge is deleted.
673
+ *
674
+ * The `badgeId` parameter must be an ID from your site's `Members/Badges` collection. Typically, you retrieve the ID from the collection using a query or through a dataset.
675
+ * @param - Badge ID.
676
+ */
677
+ (_id: string): Promise<void>;
678
+ }
679
+ declare function assignBadge$1(httpClient: HttpClient): AssignBadgeSignature;
680
+ interface AssignBadgeSignature {
681
+ /**
682
+ * Assigns a badge to site members.
683
+ *
684
+ *
685
+ * The `assignBadge()` function returns a Promise that resolves when the specified badge is assigned to the specified members.
686
+ *
687
+ * The `badgeId` parameter must be an ID from your site's `Members/Badges` collection. Typically, you retrieve the ID from the collection using a query or through a dataset.
688
+ * @param - Badge ID.
689
+ * @param - List of member IDs to assign to the badge.
690
+ */
691
+ (_id: string, memberIds: string[]): Promise<AssignBadgeResponse & AssignBadgeResponseNonNullableFields>;
692
+ }
693
+ declare function unassignBadge$1(httpClient: HttpClient): UnassignBadgeSignature;
694
+ interface UnassignBadgeSignature {
695
+ /**
696
+ * Removes site members from an assigned badge.
697
+ *
698
+ *
699
+ * The `unassignBadge()` function returns a Promise that resolves when the specified members are removed as holders of the specified badge.
700
+ *
701
+ * The `badgeId` parameter must be an ID from your site's `Members/Badges` collection. Typically, you retrieve the ID from the collection using a query or through a dataset.
702
+ * @param - Badge ID.
703
+ * @param - List of members to remove.
704
+ */
705
+ (_id: string, memberIds: string[]): Promise<void>;
706
+ }
707
+ declare function listMembersByBadge$1(httpClient: HttpClient): ListMembersByBadgeSignature;
708
+ interface ListMembersByBadgeSignature {
709
+ /**
710
+ * Lists the IDs of all members assigned to a badge.
711
+ *
712
+ *
713
+ * The `listMembersByBadge()` function returns a Promise that resolves to a list of member IDs assigned to the specified badge.
714
+ *
715
+ * Retrieves up to 1000 site members who have a specified badge. Default `paging.limit` is 100, `paging.offset` - 0.
716
+ *
717
+ * The `_id` parameter must be an ID from your site's `Members/Badges` collection. Typically, you retrieve the ID from the collection using a query or through a dataset.
718
+ *
719
+ * This function is not a universal function and runs only on the backend.
720
+ * @param - Badge ID.
721
+ */
722
+ (_id: string, options?: ListMembersByBadgeOptions | undefined): Promise<ListMembersResponse$2 & ListMembersResponseNonNullableFields$1>;
723
+ }
724
+ declare function listBadgesPerMember$1(httpClient: HttpClient): ListBadgesPerMemberSignature;
725
+ interface ListBadgesPerMemberSignature {
726
+ /**
727
+ * Lists the badges assigned to each of the specified site members.
728
+ *
729
+ *
730
+ * The `listBadgesPerMember()` function returns a Promise that resolves to a list of badge IDs associated with each of the specified members.
731
+ *
732
+ * This function is not a universal function and runs only on the backend.
733
+ * @param - List of members.
734
+ */
735
+ (memberIds: string[]): Promise<ListMembersBadgeIdsResponse & ListMembersBadgeIdsResponseNonNullableFields>;
736
+ }
737
+ declare function getMemberCountsPerBadge$1(httpClient: HttpClient): GetMemberCountsPerBadgeSignature;
738
+ interface GetMemberCountsPerBadgeSignature {
739
+ /**
740
+ * Retrieves member count per badge.
741
+ *
742
+ *
743
+ * The `getMemberCountsPerBadge` function returns a Promise that resolves when the member counts of each badge are retrieved.
744
+ *
745
+ * This function is not a universal function and runs only on the backend.
746
+ */
747
+ (): Promise<GetMemberCountsPerBadgeResponse & GetMemberCountsPerBadgeResponseNonNullableFields>;
748
+ }
749
+ declare function updateBadgesDisplayOrder$1(httpClient: HttpClient): UpdateBadgesDisplayOrderSignature;
750
+ interface UpdateBadgesDisplayOrderSignature {
751
+ /**
752
+ * Updates badges' display order.
753
+ *
754
+ *
755
+ * The `badgeId` parameter must be an ID from your site's `Members/Badges` collection. Typically, you retrieve the ID from the collection using a query or through a dataset.
756
+ *
757
+ * This function is not a universal function and runs only on the backend
758
+ * @param - Ordered badge IDs.
759
+ */
760
+ (badgeIds: string[]): Promise<UpdateBadgesDisplayOrderResponse & UpdateBadgesDisplayOrderResponseNonNullableFields>;
603
761
  }
762
+ declare const onBadgeCreated$1: EventDefinition<BadgeCreatedEnvelope, "wix.badges.v3.badge_created">;
763
+ declare const onBadgeUpdated$1: EventDefinition<BadgeUpdatedEnvelope, "wix.badges.v3.badge_updated">;
764
+ declare const onBadgeDeleted$1: EventDefinition<BadgeDeletedEnvelope, "wix.badges.v3.badge_deleted">;
765
+ declare const onBadgeAssigned$1: EventDefinition<BadgeAssignedEnvelope, "wix.badges.v3.badge_badge_assigned">;
766
+ declare const onBadgeUnassigned$1: EventDefinition<BadgeUnassignedEnvelope, "wix.badges.v3.badge_badge_unassigned">;
604
767
 
605
768
  declare function createRESTModule$8<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
606
769
 
607
770
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
608
771
 
609
- declare const createBadge: ReturnType<typeof createRESTModule$8<typeof publicCreateBadge>>;
610
- declare const updateBadge: ReturnType<typeof createRESTModule$8<typeof publicUpdateBadge>>;
611
- declare const listBadges: ReturnType<typeof createRESTModule$8<typeof publicListBadges>>;
612
- declare const getBadge: ReturnType<typeof createRESTModule$8<typeof publicGetBadge>>;
613
- declare const deleteBadge: ReturnType<typeof createRESTModule$8<typeof publicDeleteBadge>>;
614
- declare const assignBadge: ReturnType<typeof createRESTModule$8<typeof publicAssignBadge>>;
615
- declare const unassignBadge: ReturnType<typeof createRESTModule$8<typeof publicUnassignBadge>>;
616
- declare const listMembersByBadge: ReturnType<typeof createRESTModule$8<typeof publicListMembersByBadge>>;
617
- declare const listBadgesPerMember: ReturnType<typeof createRESTModule$8<typeof publicListBadgesPerMember>>;
618
- declare const getMemberCountsPerBadge: ReturnType<typeof createRESTModule$8<typeof publicGetMemberCountsPerBadge>>;
619
- declare const updateBadgesDisplayOrder: ReturnType<typeof createRESTModule$8<typeof publicUpdateBadgesDisplayOrder>>;
620
- declare const onBadgeCreated: ReturnType<typeof createEventModule$1<typeof publicOnBadgeCreated>>;
621
- declare const onBadgeUpdated: ReturnType<typeof createEventModule$1<typeof publicOnBadgeUpdated>>;
622
- declare const onBadgeDeleted: ReturnType<typeof createEventModule$1<typeof publicOnBadgeDeleted>>;
623
- declare const onBadgeAssigned: ReturnType<typeof createEventModule$1<typeof publicOnBadgeAssigned>>;
624
- declare const onBadgeUnassigned: ReturnType<typeof createEventModule$1<typeof publicOnBadgeUnassigned>>;
772
+ type _publicCreateBadgeType = typeof createBadge$1;
773
+ declare const createBadge: ReturnType<typeof createRESTModule$8<_publicCreateBadgeType>>;
774
+ type _publicUpdateBadgeType = typeof updateBadge$1;
775
+ declare const updateBadge: ReturnType<typeof createRESTModule$8<_publicUpdateBadgeType>>;
776
+ type _publicListBadgesType = typeof listBadges$1;
777
+ declare const listBadges: ReturnType<typeof createRESTModule$8<_publicListBadgesType>>;
778
+ type _publicGetBadgeType = typeof getBadge$1;
779
+ declare const getBadge: ReturnType<typeof createRESTModule$8<_publicGetBadgeType>>;
780
+ type _publicDeleteBadgeType = typeof deleteBadge$1;
781
+ declare const deleteBadge: ReturnType<typeof createRESTModule$8<_publicDeleteBadgeType>>;
782
+ type _publicAssignBadgeType = typeof assignBadge$1;
783
+ declare const assignBadge: ReturnType<typeof createRESTModule$8<_publicAssignBadgeType>>;
784
+ type _publicUnassignBadgeType = typeof unassignBadge$1;
785
+ declare const unassignBadge: ReturnType<typeof createRESTModule$8<_publicUnassignBadgeType>>;
786
+ type _publicListMembersByBadgeType = typeof listMembersByBadge$1;
787
+ declare const listMembersByBadge: ReturnType<typeof createRESTModule$8<_publicListMembersByBadgeType>>;
788
+ type _publicListBadgesPerMemberType = typeof listBadgesPerMember$1;
789
+ declare const listBadgesPerMember: ReturnType<typeof createRESTModule$8<_publicListBadgesPerMemberType>>;
790
+ type _publicGetMemberCountsPerBadgeType = typeof getMemberCountsPerBadge$1;
791
+ declare const getMemberCountsPerBadge: ReturnType<typeof createRESTModule$8<_publicGetMemberCountsPerBadgeType>>;
792
+ type _publicUpdateBadgesDisplayOrderType = typeof updateBadgesDisplayOrder$1;
793
+ declare const updateBadgesDisplayOrder: ReturnType<typeof createRESTModule$8<_publicUpdateBadgesDisplayOrderType>>;
794
+
795
+ type _publicOnBadgeCreatedType = typeof onBadgeCreated$1;
796
+ /**
797
+ * Triggered when a badge is created.
798
+ */
799
+ declare const onBadgeCreated: ReturnType<typeof createEventModule$1<_publicOnBadgeCreatedType>>;
800
+
801
+ type _publicOnBadgeUpdatedType = typeof onBadgeUpdated$1;
802
+ /**
803
+ * Triggered when a badge is updated.
804
+ */
805
+ declare const onBadgeUpdated: ReturnType<typeof createEventModule$1<_publicOnBadgeUpdatedType>>;
806
+
807
+ type _publicOnBadgeDeletedType = typeof onBadgeDeleted$1;
808
+ /**
809
+ * Triggered when a badge is deleted.
810
+ */
811
+ declare const onBadgeDeleted: ReturnType<typeof createEventModule$1<_publicOnBadgeDeletedType>>;
812
+
813
+ type _publicOnBadgeAssignedType = typeof onBadgeAssigned$1;
814
+ /**
815
+ * Triggered when a member receives a badge.
816
+ */
817
+ declare const onBadgeAssigned: ReturnType<typeof createEventModule$1<_publicOnBadgeAssignedType>>;
818
+
819
+ type _publicOnBadgeUnassignedType = typeof onBadgeUnassigned$1;
820
+ /**
821
+ * Triggered when a member's badge is removed.
822
+ */
823
+ declare const onBadgeUnassigned: ReturnType<typeof createEventModule$1<_publicOnBadgeUnassignedType>>;
625
824
 
626
825
  type index_d$8_AssignBadgeRequest = AssignBadgeRequest;
627
826
  type index_d$8_AssignBadgeResponse = AssignBadgeResponse;
@@ -673,6 +872,22 @@ type index_d$8_UpdateBadgeResponseNonNullableFields = UpdateBadgeResponseNonNull
673
872
  type index_d$8_UpdateBadgesDisplayOrderRequest = UpdateBadgesDisplayOrderRequest;
674
873
  type index_d$8_UpdateBadgesDisplayOrderResponse = UpdateBadgesDisplayOrderResponse;
675
874
  type index_d$8_UpdateBadgesDisplayOrderResponseNonNullableFields = UpdateBadgesDisplayOrderResponseNonNullableFields;
875
+ type index_d$8__publicAssignBadgeType = _publicAssignBadgeType;
876
+ type index_d$8__publicCreateBadgeType = _publicCreateBadgeType;
877
+ type index_d$8__publicDeleteBadgeType = _publicDeleteBadgeType;
878
+ type index_d$8__publicGetBadgeType = _publicGetBadgeType;
879
+ type index_d$8__publicGetMemberCountsPerBadgeType = _publicGetMemberCountsPerBadgeType;
880
+ type index_d$8__publicListBadgesPerMemberType = _publicListBadgesPerMemberType;
881
+ type index_d$8__publicListBadgesType = _publicListBadgesType;
882
+ type index_d$8__publicListMembersByBadgeType = _publicListMembersByBadgeType;
883
+ type index_d$8__publicOnBadgeAssignedType = _publicOnBadgeAssignedType;
884
+ type index_d$8__publicOnBadgeCreatedType = _publicOnBadgeCreatedType;
885
+ type index_d$8__publicOnBadgeDeletedType = _publicOnBadgeDeletedType;
886
+ type index_d$8__publicOnBadgeUnassignedType = _publicOnBadgeUnassignedType;
887
+ type index_d$8__publicOnBadgeUpdatedType = _publicOnBadgeUpdatedType;
888
+ type index_d$8__publicUnassignBadgeType = _publicUnassignBadgeType;
889
+ type index_d$8__publicUpdateBadgeType = _publicUpdateBadgeType;
890
+ type index_d$8__publicUpdateBadgesDisplayOrderType = _publicUpdateBadgesDisplayOrderType;
676
891
  declare const index_d$8_assignBadge: typeof assignBadge;
677
892
  declare const index_d$8_createBadge: typeof createBadge;
678
893
  declare const index_d$8_deleteBadge: typeof deleteBadge;
@@ -690,7 +905,7 @@ declare const index_d$8_unassignBadge: typeof unassignBadge;
690
905
  declare const index_d$8_updateBadge: typeof updateBadge;
691
906
  declare const index_d$8_updateBadgesDisplayOrder: typeof updateBadgesDisplayOrder;
692
907
  declare namespace index_d$8 {
693
- export { type ActionEvent$4 as ActionEvent, type index_d$8_AssignBadgeRequest as AssignBadgeRequest, type index_d$8_AssignBadgeResponse as AssignBadgeResponse, type index_d$8_AssignBadgeResponseNonNullableFields as AssignBadgeResponseNonNullableFields, type index_d$8_AssignBadgesRequest as AssignBadgesRequest, type index_d$8_AssignBadgesResponse as AssignBadgesResponse, type index_d$8_Badge as Badge, type index_d$8_BadgeAssigned as BadgeAssigned, type index_d$8_BadgeAssignedEnvelope as BadgeAssignedEnvelope, type index_d$8_BadgeCreatedEnvelope as BadgeCreatedEnvelope, type index_d$8_BadgeDeletedEnvelope as BadgeDeletedEnvelope, type index_d$8_BadgeMemberCount as BadgeMemberCount, type index_d$8_BadgeNonNullableFields as BadgeNonNullableFields, type index_d$8_BadgeUnassigned as BadgeUnassigned, type index_d$8_BadgeUnassignedEnvelope as BadgeUnassignedEnvelope, type index_d$8_BadgeUpdatedEnvelope as BadgeUpdatedEnvelope, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$8_CountBadgesRequest as CountBadgesRequest, type index_d$8_CountBadgesResponse as CountBadgesResponse, type index_d$8_CreateBadgeRequest as CreateBadgeRequest, type index_d$8_CreateBadgeResponse as CreateBadgeResponse, type index_d$8_CreateBadgeResponseNonNullableFields as CreateBadgeResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type Cursors$3 as Cursors, type index_d$8_DeleteBadgeRequest as DeleteBadgeRequest, type index_d$8_DeleteBadgeResponse as DeleteBadgeResponse, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$8_GetBadgeRequest as GetBadgeRequest, type index_d$8_GetBadgeResponse as GetBadgeResponse, type index_d$8_GetBadgeResponseNonNullableFields as GetBadgeResponseNonNullableFields, type index_d$8_GetMemberCountsPerBadgeRequest as GetMemberCountsPerBadgeRequest, type index_d$8_GetMemberCountsPerBadgeResponse as GetMemberCountsPerBadgeResponse, type index_d$8_GetMemberCountsPerBadgeResponseNonNullableFields as GetMemberCountsPerBadgeResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$8_ListBadgesOptions as ListBadgesOptions, type index_d$8_ListBadgesRequest as ListBadgesRequest, type index_d$8_ListBadgesResponse as ListBadgesResponse, type index_d$8_ListBadgesResponseNonNullableFields as ListBadgesResponseNonNullableFields, type index_d$8_ListMembersBadgeIdsRequest as ListMembersBadgeIdsRequest, type index_d$8_ListMembersBadgeIdsResponse as ListMembersBadgeIdsResponse, type index_d$8_ListMembersBadgeIdsResponseNonNullableFields as ListMembersBadgeIdsResponseNonNullableFields, type index_d$8_ListMembersByBadgeOptions as ListMembersByBadgeOptions, type ListMembersRequest$2 as ListMembersRequest, type ListMembersResponse$2 as ListMembersResponse, type ListMembersResponseNonNullableFields$1 as ListMembersResponseNonNullableFields, type index_d$8_ListMembersWithBadgesRequest as ListMembersWithBadgesRequest, type index_d$8_ListMembersWithBadgesResponse as ListMembersWithBadgesResponse, type index_d$8_MemberBadgeIds as MemberBadgeIds, type MessageEnvelope$3 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, type index_d$8_QueryBadgesRequest as QueryBadgesRequest, type index_d$8_QueryBadgesResponse as QueryBadgesResponse, type RestoreInfo$2 as RestoreInfo, SortOrder$3 as SortOrder, type Sorting$4 as Sorting, type index_d$8_UnassignBadgeRequest as UnassignBadgeRequest, type index_d$8_UnassignBadgeResponse as UnassignBadgeResponse, type index_d$8_UpdateBadge as UpdateBadge, type index_d$8_UpdateBadgeRequest as UpdateBadgeRequest, type index_d$8_UpdateBadgeResponse as UpdateBadgeResponse, type index_d$8_UpdateBadgeResponseNonNullableFields as UpdateBadgeResponseNonNullableFields, type index_d$8_UpdateBadgesDisplayOrderRequest as UpdateBadgesDisplayOrderRequest, type index_d$8_UpdateBadgesDisplayOrderResponse as UpdateBadgesDisplayOrderResponse, type index_d$8_UpdateBadgesDisplayOrderResponseNonNullableFields as UpdateBadgesDisplayOrderResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, index_d$8_assignBadge as assignBadge, index_d$8_createBadge as createBadge, index_d$8_deleteBadge as deleteBadge, index_d$8_getBadge as getBadge, index_d$8_getMemberCountsPerBadge as getMemberCountsPerBadge, index_d$8_listBadges as listBadges, index_d$8_listBadgesPerMember as listBadgesPerMember, index_d$8_listMembersByBadge as listMembersByBadge, index_d$8_onBadgeAssigned as onBadgeAssigned, index_d$8_onBadgeCreated as onBadgeCreated, index_d$8_onBadgeDeleted as onBadgeDeleted, index_d$8_onBadgeUnassigned as onBadgeUnassigned, index_d$8_onBadgeUpdated as onBadgeUpdated, index_d$8_unassignBadge as unassignBadge, index_d$8_updateBadge as updateBadge, index_d$8_updateBadgesDisplayOrder as updateBadgesDisplayOrder };
908
+ export { type ActionEvent$4 as ActionEvent, type index_d$8_AssignBadgeRequest as AssignBadgeRequest, type index_d$8_AssignBadgeResponse as AssignBadgeResponse, type index_d$8_AssignBadgeResponseNonNullableFields as AssignBadgeResponseNonNullableFields, type index_d$8_AssignBadgesRequest as AssignBadgesRequest, type index_d$8_AssignBadgesResponse as AssignBadgesResponse, type index_d$8_Badge as Badge, type index_d$8_BadgeAssigned as BadgeAssigned, type index_d$8_BadgeAssignedEnvelope as BadgeAssignedEnvelope, type index_d$8_BadgeCreatedEnvelope as BadgeCreatedEnvelope, type index_d$8_BadgeDeletedEnvelope as BadgeDeletedEnvelope, type index_d$8_BadgeMemberCount as BadgeMemberCount, type index_d$8_BadgeNonNullableFields as BadgeNonNullableFields, type index_d$8_BadgeUnassigned as BadgeUnassigned, type index_d$8_BadgeUnassignedEnvelope as BadgeUnassignedEnvelope, type index_d$8_BadgeUpdatedEnvelope as BadgeUpdatedEnvelope, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$8_CountBadgesRequest as CountBadgesRequest, type index_d$8_CountBadgesResponse as CountBadgesResponse, type index_d$8_CreateBadgeRequest as CreateBadgeRequest, type index_d$8_CreateBadgeResponse as CreateBadgeResponse, type index_d$8_CreateBadgeResponseNonNullableFields as CreateBadgeResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type Cursors$3 as Cursors, type index_d$8_DeleteBadgeRequest as DeleteBadgeRequest, type index_d$8_DeleteBadgeResponse as DeleteBadgeResponse, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$8_GetBadgeRequest as GetBadgeRequest, type index_d$8_GetBadgeResponse as GetBadgeResponse, type index_d$8_GetBadgeResponseNonNullableFields as GetBadgeResponseNonNullableFields, type index_d$8_GetMemberCountsPerBadgeRequest as GetMemberCountsPerBadgeRequest, type index_d$8_GetMemberCountsPerBadgeResponse as GetMemberCountsPerBadgeResponse, type index_d$8_GetMemberCountsPerBadgeResponseNonNullableFields as GetMemberCountsPerBadgeResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$8_ListBadgesOptions as ListBadgesOptions, type index_d$8_ListBadgesRequest as ListBadgesRequest, type index_d$8_ListBadgesResponse as ListBadgesResponse, type index_d$8_ListBadgesResponseNonNullableFields as ListBadgesResponseNonNullableFields, type index_d$8_ListMembersBadgeIdsRequest as ListMembersBadgeIdsRequest, type index_d$8_ListMembersBadgeIdsResponse as ListMembersBadgeIdsResponse, type index_d$8_ListMembersBadgeIdsResponseNonNullableFields as ListMembersBadgeIdsResponseNonNullableFields, type index_d$8_ListMembersByBadgeOptions as ListMembersByBadgeOptions, type ListMembersRequest$2 as ListMembersRequest, type ListMembersResponse$2 as ListMembersResponse, type ListMembersResponseNonNullableFields$1 as ListMembersResponseNonNullableFields, type index_d$8_ListMembersWithBadgesRequest as ListMembersWithBadgesRequest, type index_d$8_ListMembersWithBadgesResponse as ListMembersWithBadgesResponse, type index_d$8_MemberBadgeIds as MemberBadgeIds, type MessageEnvelope$3 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, type index_d$8_QueryBadgesRequest as QueryBadgesRequest, type index_d$8_QueryBadgesResponse as QueryBadgesResponse, type RestoreInfo$2 as RestoreInfo, SortOrder$3 as SortOrder, type Sorting$4 as Sorting, type index_d$8_UnassignBadgeRequest as UnassignBadgeRequest, type index_d$8_UnassignBadgeResponse as UnassignBadgeResponse, type index_d$8_UpdateBadge as UpdateBadge, type index_d$8_UpdateBadgeRequest as UpdateBadgeRequest, type index_d$8_UpdateBadgeResponse as UpdateBadgeResponse, type index_d$8_UpdateBadgeResponseNonNullableFields as UpdateBadgeResponseNonNullableFields, type index_d$8_UpdateBadgesDisplayOrderRequest as UpdateBadgesDisplayOrderRequest, type index_d$8_UpdateBadgesDisplayOrderResponse as UpdateBadgesDisplayOrderResponse, type index_d$8_UpdateBadgesDisplayOrderResponseNonNullableFields as UpdateBadgesDisplayOrderResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type index_d$8__publicAssignBadgeType as _publicAssignBadgeType, type index_d$8__publicCreateBadgeType as _publicCreateBadgeType, type index_d$8__publicDeleteBadgeType as _publicDeleteBadgeType, type index_d$8__publicGetBadgeType as _publicGetBadgeType, type index_d$8__publicGetMemberCountsPerBadgeType as _publicGetMemberCountsPerBadgeType, type index_d$8__publicListBadgesPerMemberType as _publicListBadgesPerMemberType, type index_d$8__publicListBadgesType as _publicListBadgesType, type index_d$8__publicListMembersByBadgeType as _publicListMembersByBadgeType, type index_d$8__publicOnBadgeAssignedType as _publicOnBadgeAssignedType, type index_d$8__publicOnBadgeCreatedType as _publicOnBadgeCreatedType, type index_d$8__publicOnBadgeDeletedType as _publicOnBadgeDeletedType, type index_d$8__publicOnBadgeUnassignedType as _publicOnBadgeUnassignedType, type index_d$8__publicOnBadgeUpdatedType as _publicOnBadgeUpdatedType, type index_d$8__publicUnassignBadgeType as _publicUnassignBadgeType, type index_d$8__publicUpdateBadgeType as _publicUpdateBadgeType, type index_d$8__publicUpdateBadgesDisplayOrderType as _publicUpdateBadgesDisplayOrderType, index_d$8_assignBadge as assignBadge, index_d$8_createBadge as createBadge, index_d$8_deleteBadge as deleteBadge, index_d$8_getBadge as getBadge, index_d$8_getMemberCountsPerBadge as getMemberCountsPerBadge, index_d$8_listBadges as listBadges, index_d$8_listBadgesPerMember as listBadgesPerMember, index_d$8_listMembersByBadge as listMembersByBadge, index_d$8_onBadgeAssigned as onBadgeAssigned, index_d$8_onBadgeCreated as onBadgeCreated, index_d$8_onBadgeDeleted as onBadgeDeleted, index_d$8_onBadgeUnassigned as onBadgeUnassigned, index_d$8_onBadgeUpdated as onBadgeUpdated, onBadgeAssigned$1 as publicOnBadgeAssigned, onBadgeCreated$1 as publicOnBadgeCreated, onBadgeDeleted$1 as publicOnBadgeDeleted, onBadgeUnassigned$1 as publicOnBadgeUnassigned, onBadgeUpdated$1 as publicOnBadgeUpdated, index_d$8_unassignBadge as unassignBadge, index_d$8_updateBadge as updateBadge, index_d$8_updateBadgesDisplayOrder as updateBadgesDisplayOrder };
694
909
  }
695
910
 
696
911
  interface Member$1 {
@@ -1460,14 +1675,109 @@ interface BlockOptions extends BlockMemberRequestMemberIdentifierOneOf {
1460
1675
  source?: Source;
1461
1676
  }
1462
1677
 
1678
+ declare function register$1(httpClient: HttpClient): RegisterSignature;
1679
+ interface RegisterSignature {
1680
+ /**
1681
+ * Registers a new site member.
1682
+ *
1683
+ * The specified `password` must be between 4 and 100 ASCII characters.
1684
+ *
1685
+ * >**Note:** The `register()` function behaves differently depending on your site's [member signup settings](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-members/enabling-custom-site-registration).
1686
+ * @param - Login email address for the new site member.
1687
+ * @param - Password the new site member will use to log in.
1688
+ *
1689
+ * Must be 4 to 15 ASCII-printable characters.
1690
+ * @param - Options for registering a new member.
1691
+ */
1692
+ (email: string, password: string, options?: RegisterOptions | undefined): Promise<RegisterResponse & RegisterResponseNonNullableFields>;
1693
+ }
1694
+ declare function login$1(httpClient: HttpClient): LoginSignature;
1695
+ interface LoginSignature {
1696
+ /**
1697
+ * Logs in a registered member with an email and password.
1698
+ *
1699
+ * The `login()` function only works with existing members. To register a new member use the [`register()`](#register) function.
1700
+ *
1701
+ * To complete the login, the returned session token must be applied using the `applySessionToken()` function in the wix-members-frontend API.
1702
+ * @param - Login email address.
1703
+ * @param - Member password.
1704
+ * @param - Options for logging in a member.
1705
+ * @returns Session token for logging the member in.
1706
+ */
1707
+ (email: string, password: string, options?: LoginOptions | undefined): Promise<LoginResponse & LoginResponseNonNullableFields>;
1708
+ }
1709
+ declare function sendSetPasswordEmail$1(httpClient: HttpClient): SendSetPasswordEmailSignature;
1710
+ interface SendSetPasswordEmailSignature {
1711
+ /**
1712
+ * Sends a site member an email with a link to set their password.
1713
+ *
1714
+ * The set password link is valid for 3 hours,
1715
+ * and it can be used only once.
1716
+ * If the link expires, the original password remains.
1717
+ * @param - Login email of the member whose password will be set.
1718
+ * @param - Email display options.
1719
+ */
1720
+ (email: string, options?: SendSetPasswordEmailOptions | undefined): Promise<SendSetPasswordEmailResponse & SendSetPasswordEmailResponseNonNullableFields>;
1721
+ }
1722
+ declare function changeLoginEmail$1(httpClient: HttpClient): ChangeLoginEmailSignature;
1723
+ interface ChangeLoginEmailSignature {
1724
+ /**
1725
+ * Changes a member's login email address.
1726
+ *
1727
+ * After running this function, the specified member can log in with the new email address. If the member uses social login (for example, Google login) and the member tries to log in with the old email address, they will be re-registered with the old email address.
1728
+ *
1729
+ * Site collaborators can use `changeLoginEmail()` to change another member's login email. Members who are not site collaborators can use `changeLoginEmail()` to change their own login email only.
1730
+ *
1731
+ * > **Note:** `changeLoginEmail()` cannot be used to change the login email of a site collaborator. Site collaborators can change their login emails from their Wix [account settings](https://manage.wix.com/account/account-settings).
1732
+ * @param - Member ID.
1733
+ * @param - New login email address.
1734
+ * @param - Options for changing a login email address.
1735
+ */
1736
+ (_id: string, newEmail: string, options?: ChangeLoginEmailOptions | undefined): Promise<ChangeLoginEmailResponse & ChangeLoginEmailResponseNonNullableFields>;
1737
+ }
1738
+ declare function approve$1(httpClient: HttpClient): ApproveSignature;
1739
+ interface ApproveSignature {
1740
+ /**
1741
+ * Approves a pending member using an ID, email address or approval token.
1742
+ *
1743
+ * Tokens must be approved within 30 hours of token creation.
1744
+ * Use the `approvalToken` parameter returned from the
1745
+ * [`register()`](#register) function when approving a member by `token`.
1746
+ *
1747
+ * > **Note:**
1748
+ * > A new member's status is `"PENDING"` when the site's membership policy is set to manual approval.
1749
+ * > To learn more about setting your site's membership approval policy, see
1750
+ * > [Editing Your Member Signup Settings](https://support.wix.com/en/article/editing-your-member-signup-settings-for-the-default-form).
1751
+ *
1752
+ * Members are typically associated with a contact, each having a distinct member and contact ID. When passing the ID as a parameter, avoid presuming the IDs are identical since they represent separate entities.
1753
+ */
1754
+ (options?: ApproveOptions | undefined): Promise<ApproveMemberResponse$1>;
1755
+ }
1756
+ declare function block$1(httpClient: HttpClient): BlockSignature;
1757
+ interface BlockSignature {
1758
+ /**
1759
+ * Blocks a member from logging in to the site using an ID or email address.
1760
+ *
1761
+ * To unblock the member and allow them to log in to the site, use the [`approve()`](#approve) function.
1762
+ * @param - Options for blocking a member from logging in.
1763
+ */
1764
+ (options?: BlockOptions | undefined): Promise<void>;
1765
+ }
1766
+
1463
1767
  declare function createRESTModule$7<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1464
1768
 
1465
- declare const register: ReturnType<typeof createRESTModule$7<typeof publicRegister>>;
1466
- declare const login: ReturnType<typeof createRESTModule$7<typeof publicLogin>>;
1467
- declare const sendSetPasswordEmail: ReturnType<typeof createRESTModule$7<typeof publicSendSetPasswordEmail>>;
1468
- declare const changeLoginEmail: ReturnType<typeof createRESTModule$7<typeof publicChangeLoginEmail>>;
1469
- declare const approve: ReturnType<typeof createRESTModule$7<typeof publicApprove>>;
1470
- declare const block: ReturnType<typeof createRESTModule$7<typeof publicBlock>>;
1769
+ type _publicRegisterType = typeof register$1;
1770
+ declare const register: ReturnType<typeof createRESTModule$7<_publicRegisterType>>;
1771
+ type _publicLoginType = typeof login$1;
1772
+ declare const login: ReturnType<typeof createRESTModule$7<_publicLoginType>>;
1773
+ type _publicSendSetPasswordEmailType = typeof sendSetPasswordEmail$1;
1774
+ declare const sendSetPasswordEmail: ReturnType<typeof createRESTModule$7<_publicSendSetPasswordEmailType>>;
1775
+ type _publicChangeLoginEmailType = typeof changeLoginEmail$1;
1776
+ declare const changeLoginEmail: ReturnType<typeof createRESTModule$7<_publicChangeLoginEmailType>>;
1777
+ type _publicApproveType = typeof approve$1;
1778
+ declare const approve: ReturnType<typeof createRESTModule$7<_publicApproveType>>;
1779
+ type _publicBlockType = typeof block$1;
1780
+ declare const block: ReturnType<typeof createRESTModule$7<_publicBlockType>>;
1471
1781
 
1472
1782
  type index_d$7_AppleLogin = AppleLogin;
1473
1783
  type index_d$7_ApproveMemberRequestMemberIdentifierOneOf = ApproveMemberRequestMemberIdentifierOneOf;
@@ -1533,6 +1843,12 @@ declare const index_d$7_Source: typeof Source;
1533
1843
  type index_d$7_UserMembership = UserMembership;
1534
1844
  type index_d$7_VerificationFailureReason = VerificationFailureReason;
1535
1845
  declare const index_d$7_VerificationFailureReason: typeof VerificationFailureReason;
1846
+ type index_d$7__publicApproveType = _publicApproveType;
1847
+ type index_d$7__publicBlockType = _publicBlockType;
1848
+ type index_d$7__publicChangeLoginEmailType = _publicChangeLoginEmailType;
1849
+ type index_d$7__publicLoginType = _publicLoginType;
1850
+ type index_d$7__publicRegisterType = _publicRegisterType;
1851
+ type index_d$7__publicSendSetPasswordEmailType = _publicSendSetPasswordEmailType;
1536
1852
  declare const index_d$7_approve: typeof approve;
1537
1853
  declare const index_d$7_block: typeof block;
1538
1854
  declare const index_d$7_changeLoginEmail: typeof changeLoginEmail;
@@ -1540,7 +1856,7 @@ declare const index_d$7_login: typeof login;
1540
1856
  declare const index_d$7_register: typeof register;
1541
1857
  declare const index_d$7_sendSetPasswordEmail: typeof sendSetPasswordEmail;
1542
1858
  declare namespace index_d$7 {
1543
- export { type Address$1 as Address, type index_d$7_AppleLogin as AppleLogin, type ApproveMemberRequest$1 as ApproveMemberRequest, type index_d$7_ApproveMemberRequestMemberIdentifierOneOf as ApproveMemberRequestMemberIdentifierOneOf, type ApproveMemberResponse$1 as ApproveMemberResponse, type index_d$7_ApproveOptions as ApproveOptions, type index_d$7_BatchGetMembersRequest as BatchGetMembersRequest, type index_d$7_BatchGetMembersResponse as BatchGetMembersResponse, type BlockMemberRequest$2 as BlockMemberRequest, type index_d$7_BlockMemberRequestMemberIdentifierOneOf as BlockMemberRequestMemberIdentifierOneOf, type BlockMemberResponse$2 as BlockMemberResponse, type index_d$7_BlockOptions as BlockOptions, type index_d$7_ChangeLoginEmailOptions as ChangeLoginEmailOptions, type index_d$7_ChangeLoginEmailRequest as ChangeLoginEmailRequest, type index_d$7_ChangeLoginEmailResponse as ChangeLoginEmailResponse, type index_d$7_ChangeLoginEmailResponseNonNullableFields as ChangeLoginEmailResponseNonNullableFields, type CustomField$2 as CustomField, type index_d$7_CustomFieldValueOneOf as CustomFieldValueOneOf, type DeleteMemberRequest$1 as DeleteMemberRequest, type DeleteMemberResponse$1 as DeleteMemberResponse, type index_d$7_DialogData as DialogData, type index_d$7_EmailVerification as EmailVerification, type index_d$7_EmailVerificationFailed as EmailVerificationFailed, type index_d$7_EmailVerificationRequired as EmailVerificationRequired, type index_d$7_FacebookLogin as FacebookLogin, type index_d$7_FilterBy as FilterBy, type index_d$7_GetAuthorizedPagesRequest as GetAuthorizedPagesRequest, type index_d$7_GetAuthorizedPagesResponse as GetAuthorizedPagesResponse, type index_d$7_GetCurrentMemberRequest as GetCurrentMemberRequest, type GetMemberRequest$1 as GetMemberRequest, type GetMemberResponse$1 as GetMemberResponse, type index_d$7_GetMemberRoleRequest as GetMemberRoleRequest, type index_d$7_GetMemberRoleResponse as GetMemberRoleResponse, type index_d$7_GetMemberRolesRequest as GetMemberRolesRequest, type index_d$7_GetMemberRolesResponse as GetMemberRolesResponse, type index_d$7_GetResetPasswordLinkRequest as GetResetPasswordLinkRequest, type index_d$7_GetResetPasswordLinkResponse as GetResetPasswordLinkResponse, type index_d$7_GetUserMembershipsRequest as GetUserMembershipsRequest, type index_d$7_GetUserMembershipsResponse as GetUserMembershipsResponse, type index_d$7_GoogleLogin as GoogleLogin, type index_d$7_Group as Group, type ListMembersRequest$1 as ListMembersRequest, type ListMembersResponse$1 as ListMembersResponse, type index_d$7_LoginOptions as LoginOptions, type index_d$7_LoginRequest as LoginRequest, type index_d$7_LoginResponse as LoginResponse, type index_d$7_LoginResponseNonNullableFields as LoginResponseNonNullableFields, type index_d$7_MakeMemberOfflineRequest as MakeMemberOfflineRequest, type index_d$7_MakeMemberOfflineResponse as MakeMemberOfflineResponse, type Member$1 as Member, type index_d$7_MemberContactInfo as MemberContactInfo, type MemberRole$1 as MemberRole, type index_d$7_PaginationResponse as PaginationResponse, type Paging$3 as Paging, type QueryMembersRequest$1 as QueryMembersRequest, type QueryMembersResponse$1 as QueryMembersResponse, type index_d$7_RegisterOptions as RegisterOptions, type index_d$7_RegisterRequest as RegisterRequest, type index_d$7_RegisterResponse as RegisterResponse, type index_d$7_RegisterResponseNonNullableFields as RegisterResponseNonNullableFields, type index_d$7_ResetPasswordRequest as ResetPasswordRequest, type index_d$7_ResetPasswordResponse as ResetPasswordResponse, Role$1 as Role, type index_d$7_SearchBy as SearchBy, type index_d$7_SearchRequest as SearchRequest, type index_d$7_SearchResponse as SearchResponse, type index_d$7_SendSetPasswordEmailOptions as SendSetPasswordEmailOptions, type index_d$7_SendSetPasswordEmailRequest as SendSetPasswordEmailRequest, type index_d$7_SendSetPasswordEmailResponse as SendSetPasswordEmailResponse, type index_d$7_SendSetPasswordEmailResponseNonNullableFields as SendSetPasswordEmailResponseNonNullableFields, type index_d$7_Session as Session, index_d$7_SiteMemberPrivacyStatus as SiteMemberPrivacyStatus, index_d$7_SiteMemberStatus as SiteMemberStatus, type index_d$7_SocialLoginRequest as SocialLoginRequest, type index_d$7_SocialLoginRequestLoginOneOf as SocialLoginRequestLoginOneOf, Sorting$3 as Sorting, index_d$7_Source as Source, type UpdateMemberRequest$1 as UpdateMemberRequest, type UpdateMemberResponse$1 as UpdateMemberResponse, type index_d$7_UserMembership as UserMembership, index_d$7_VerificationFailureReason as VerificationFailureReason, index_d$7_approve as approve, index_d$7_block as block, index_d$7_changeLoginEmail as changeLoginEmail, index_d$7_login as login, index_d$7_register as register, index_d$7_sendSetPasswordEmail as sendSetPasswordEmail };
1859
+ export { type Address$1 as Address, type index_d$7_AppleLogin as AppleLogin, type ApproveMemberRequest$1 as ApproveMemberRequest, type index_d$7_ApproveMemberRequestMemberIdentifierOneOf as ApproveMemberRequestMemberIdentifierOneOf, type ApproveMemberResponse$1 as ApproveMemberResponse, type index_d$7_ApproveOptions as ApproveOptions, type index_d$7_BatchGetMembersRequest as BatchGetMembersRequest, type index_d$7_BatchGetMembersResponse as BatchGetMembersResponse, type BlockMemberRequest$2 as BlockMemberRequest, type index_d$7_BlockMemberRequestMemberIdentifierOneOf as BlockMemberRequestMemberIdentifierOneOf, type BlockMemberResponse$2 as BlockMemberResponse, type index_d$7_BlockOptions as BlockOptions, type index_d$7_ChangeLoginEmailOptions as ChangeLoginEmailOptions, type index_d$7_ChangeLoginEmailRequest as ChangeLoginEmailRequest, type index_d$7_ChangeLoginEmailResponse as ChangeLoginEmailResponse, type index_d$7_ChangeLoginEmailResponseNonNullableFields as ChangeLoginEmailResponseNonNullableFields, type CustomField$2 as CustomField, type index_d$7_CustomFieldValueOneOf as CustomFieldValueOneOf, type DeleteMemberRequest$1 as DeleteMemberRequest, type DeleteMemberResponse$1 as DeleteMemberResponse, type index_d$7_DialogData as DialogData, type index_d$7_EmailVerification as EmailVerification, type index_d$7_EmailVerificationFailed as EmailVerificationFailed, type index_d$7_EmailVerificationRequired as EmailVerificationRequired, type index_d$7_FacebookLogin as FacebookLogin, type index_d$7_FilterBy as FilterBy, type index_d$7_GetAuthorizedPagesRequest as GetAuthorizedPagesRequest, type index_d$7_GetAuthorizedPagesResponse as GetAuthorizedPagesResponse, type index_d$7_GetCurrentMemberRequest as GetCurrentMemberRequest, type GetMemberRequest$1 as GetMemberRequest, type GetMemberResponse$1 as GetMemberResponse, type index_d$7_GetMemberRoleRequest as GetMemberRoleRequest, type index_d$7_GetMemberRoleResponse as GetMemberRoleResponse, type index_d$7_GetMemberRolesRequest as GetMemberRolesRequest, type index_d$7_GetMemberRolesResponse as GetMemberRolesResponse, type index_d$7_GetResetPasswordLinkRequest as GetResetPasswordLinkRequest, type index_d$7_GetResetPasswordLinkResponse as GetResetPasswordLinkResponse, type index_d$7_GetUserMembershipsRequest as GetUserMembershipsRequest, type index_d$7_GetUserMembershipsResponse as GetUserMembershipsResponse, type index_d$7_GoogleLogin as GoogleLogin, type index_d$7_Group as Group, type ListMembersRequest$1 as ListMembersRequest, type ListMembersResponse$1 as ListMembersResponse, type index_d$7_LoginOptions as LoginOptions, type index_d$7_LoginRequest as LoginRequest, type index_d$7_LoginResponse as LoginResponse, type index_d$7_LoginResponseNonNullableFields as LoginResponseNonNullableFields, type index_d$7_MakeMemberOfflineRequest as MakeMemberOfflineRequest, type index_d$7_MakeMemberOfflineResponse as MakeMemberOfflineResponse, type Member$1 as Member, type index_d$7_MemberContactInfo as MemberContactInfo, type MemberRole$1 as MemberRole, type index_d$7_PaginationResponse as PaginationResponse, type Paging$3 as Paging, type QueryMembersRequest$1 as QueryMembersRequest, type QueryMembersResponse$1 as QueryMembersResponse, type index_d$7_RegisterOptions as RegisterOptions, type index_d$7_RegisterRequest as RegisterRequest, type index_d$7_RegisterResponse as RegisterResponse, type index_d$7_RegisterResponseNonNullableFields as RegisterResponseNonNullableFields, type index_d$7_ResetPasswordRequest as ResetPasswordRequest, type index_d$7_ResetPasswordResponse as ResetPasswordResponse, Role$1 as Role, type index_d$7_SearchBy as SearchBy, type index_d$7_SearchRequest as SearchRequest, type index_d$7_SearchResponse as SearchResponse, type index_d$7_SendSetPasswordEmailOptions as SendSetPasswordEmailOptions, type index_d$7_SendSetPasswordEmailRequest as SendSetPasswordEmailRequest, type index_d$7_SendSetPasswordEmailResponse as SendSetPasswordEmailResponse, type index_d$7_SendSetPasswordEmailResponseNonNullableFields as SendSetPasswordEmailResponseNonNullableFields, type index_d$7_Session as Session, index_d$7_SiteMemberPrivacyStatus as SiteMemberPrivacyStatus, index_d$7_SiteMemberStatus as SiteMemberStatus, type index_d$7_SocialLoginRequest as SocialLoginRequest, type index_d$7_SocialLoginRequestLoginOneOf as SocialLoginRequestLoginOneOf, Sorting$3 as Sorting, index_d$7_Source as Source, type UpdateMemberRequest$1 as UpdateMemberRequest, type UpdateMemberResponse$1 as UpdateMemberResponse, type index_d$7_UserMembership as UserMembership, index_d$7_VerificationFailureReason as VerificationFailureReason, type index_d$7__publicApproveType as _publicApproveType, type index_d$7__publicBlockType as _publicBlockType, type index_d$7__publicChangeLoginEmailType as _publicChangeLoginEmailType, type index_d$7__publicLoginType as _publicLoginType, type index_d$7__publicRegisterType as _publicRegisterType, type index_d$7__publicSendSetPasswordEmailType as _publicSendSetPasswordEmailType, index_d$7_approve as approve, index_d$7_block as block, index_d$7_changeLoginEmail as changeLoginEmail, index_d$7_login as login, index_d$7_register as register, index_d$7_sendSetPasswordEmail as sendSetPasswordEmail };
1544
1860
  }
1545
1861
 
1546
1862
  interface UserMember {
@@ -2099,9 +2415,18 @@ interface UserMembersQueryBuilder {
2099
2415
  find: () => Promise<UserMembersQueryResult>;
2100
2416
  }
2101
2417
 
2418
+ declare function queryUserMembers$1(httpClient: HttpClient): QueryUserMembersSignature;
2419
+ interface QueryUserMembersSignature {
2420
+ /**
2421
+ * Retrieves a list of user members, based on provided filters, sorting and paging.
2422
+ */
2423
+ (): UserMembersQueryBuilder;
2424
+ }
2425
+
2102
2426
  declare function createRESTModule$6<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2103
2427
 
2104
- declare const queryUserMembers: ReturnType<typeof createRESTModule$6<typeof publicQueryUserMembers>>;
2428
+ type _publicQueryUserMembersType = typeof queryUserMembers$1;
2429
+ declare const queryUserMembers: ReturnType<typeof createRESTModule$6<_publicQueryUserMembersType>>;
2105
2430
 
2106
2431
  type index_d$6_CursorQuery = CursorQuery;
2107
2432
  type index_d$6_CursorQueryPagingMethodOneOf = CursorQueryPagingMethodOneOf;
@@ -2111,9 +2436,10 @@ type index_d$6_QueryUserMembersResponseNonNullableFields = QueryUserMembersRespo
2111
2436
  type index_d$6_UserMember = UserMember;
2112
2437
  type index_d$6_UserMembersQueryBuilder = UserMembersQueryBuilder;
2113
2438
  type index_d$6_UserMembersQueryResult = UserMembersQueryResult;
2439
+ type index_d$6__publicQueryUserMembersType = _publicQueryUserMembersType;
2114
2440
  declare const index_d$6_queryUserMembers: typeof queryUserMembers;
2115
2441
  declare namespace index_d$6 {
2116
- export { type ActionEvent$3 as ActionEvent, ActivityStatusStatus$1 as ActivityStatusStatus, type Asset$3 as Asset, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type index_d$6_CursorQuery as CursorQuery, type index_d$6_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type Cursors$2 as Cursors, type DeleteContext$3 as DeleteContext, DeleteStatus$3 as DeleteStatus, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type Empty$5 as Empty, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type Image$1 as Image, type MetaSiteSpecialEvent$3 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$3 as MetaSiteSpecialEventPayloadOneOf, Namespace$3 as Namespace, type NamespaceChanged$3 as NamespaceChanged, PrivacyStatusStatus$1 as PrivacyStatusStatus, type index_d$6_QueryUserMembersRequest as QueryUserMembersRequest, type index_d$6_QueryUserMembersResponse as QueryUserMembersResponse, type index_d$6_QueryUserMembersResponseNonNullableFields as QueryUserMembersResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, type ServiceProvisioned$3 as ServiceProvisioned, type ServiceRemoved$3 as ServiceRemoved, type SiteCreated$3 as SiteCreated, SiteCreatedContext$3 as SiteCreatedContext, type SiteDeleted$3 as SiteDeleted, type SiteHardDeleted$3 as SiteHardDeleted, type SiteMarkedAsTemplate$3 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$3 as SiteMarkedAsWixSite, type SitePublished$3 as SitePublished, type SiteRenamed$3 as SiteRenamed, type SiteTransferred$3 as SiteTransferred, type SiteUndeleted$3 as SiteUndeleted, type SiteUnpublished$3 as SiteUnpublished, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, State$3 as State, Status$1 as Status, type StudioAssigned$3 as StudioAssigned, type StudioUnassigned$3 as StudioUnassigned, type index_d$6_UserMember as UserMember, type index_d$6_UserMembersQueryBuilder as UserMembersQueryBuilder, type index_d$6_UserMembersQueryResult as UserMembersQueryResult, index_d$6_queryUserMembers as queryUserMembers };
2442
+ export { type ActionEvent$3 as ActionEvent, ActivityStatusStatus$1 as ActivityStatusStatus, type Asset$3 as Asset, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type index_d$6_CursorQuery as CursorQuery, type index_d$6_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type Cursors$2 as Cursors, type DeleteContext$3 as DeleteContext, DeleteStatus$3 as DeleteStatus, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type Empty$5 as Empty, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type Image$1 as Image, type MetaSiteSpecialEvent$3 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$3 as MetaSiteSpecialEventPayloadOneOf, Namespace$3 as Namespace, type NamespaceChanged$3 as NamespaceChanged, PrivacyStatusStatus$1 as PrivacyStatusStatus, type index_d$6_QueryUserMembersRequest as QueryUserMembersRequest, type index_d$6_QueryUserMembersResponse as QueryUserMembersResponse, type index_d$6_QueryUserMembersResponseNonNullableFields as QueryUserMembersResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, type ServiceProvisioned$3 as ServiceProvisioned, type ServiceRemoved$3 as ServiceRemoved, type SiteCreated$3 as SiteCreated, SiteCreatedContext$3 as SiteCreatedContext, type SiteDeleted$3 as SiteDeleted, type SiteHardDeleted$3 as SiteHardDeleted, type SiteMarkedAsTemplate$3 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$3 as SiteMarkedAsWixSite, type SitePublished$3 as SitePublished, type SiteRenamed$3 as SiteRenamed, type SiteTransferred$3 as SiteTransferred, type SiteUndeleted$3 as SiteUndeleted, type SiteUnpublished$3 as SiteUnpublished, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, State$3 as State, Status$1 as Status, type StudioAssigned$3 as StudioAssigned, type StudioUnassigned$3 as StudioUnassigned, type index_d$6_UserMember as UserMember, type index_d$6_UserMembersQueryBuilder as UserMembersQueryBuilder, type index_d$6_UserMembersQueryResult as UserMembersQueryResult, type index_d$6__publicQueryUserMembersType as _publicQueryUserMembersType, index_d$6_queryUserMembers as queryUserMembers };
2117
2443
  }
2118
2444
 
2119
2445
  /** Custom field */
@@ -2483,7 +2809,9 @@ declare enum Namespace$2 {
2483
2809
  * There's a blank site behind the scene but it's blank).
2484
2810
  * The Mobile company will be the owner of this namespace.
2485
2811
  */
2486
- BRANDED_FIRST = "BRANDED_FIRST"
2812
+ BRANDED_FIRST = "BRANDED_FIRST",
2813
+ /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
2814
+ NOWNIA = "NOWNIA"
2487
2815
  }
2488
2816
  /** Site transferred to another user. */
2489
2817
  interface SiteTransferred$2 {
@@ -2764,15 +3092,100 @@ interface UpdateCustomFieldsOrderOptions {
2764
3092
  section?: Section;
2765
3093
  }
2766
3094
 
3095
+ declare function createCustomField$1(httpClient: HttpClient): CreateCustomFieldSignature;
3096
+ interface CreateCustomFieldSignature {
3097
+ /**
3098
+ * Creates a custom field.
3099
+ * @param - Custom field to create.
3100
+ * @returns Newly created custom field.
3101
+ */
3102
+ (field: CustomField$1): Promise<CustomField$1 & CustomFieldNonNullableFields>;
3103
+ }
3104
+ declare function getCustomField$1(httpClient: HttpClient): GetCustomFieldSignature;
3105
+ interface GetCustomFieldSignature {
3106
+ /**
3107
+ * Retrieves a custom field by id.
3108
+ * @param - Custom field ID.
3109
+ */
3110
+ (_id: string | null): Promise<GetCustomFieldResponse & GetCustomFieldResponseNonNullableFields>;
3111
+ }
3112
+ declare function listCustomFields$1(httpClient: HttpClient): ListCustomFieldsSignature;
3113
+ interface ListCustomFieldsSignature {
3114
+ /**
3115
+ * Returns ordered custom fields, given the provided paging.
3116
+ *
3117
+ * The fields are ordered by section in such sequence:
3118
+ * - `GENERAL`
3119
+ * - `DISPLAY_INFO`
3120
+ * - `SOCIAL`
3121
+ * The fields within same section are ordered with respect to the saved fields order.
3122
+ *
3123
+ * To modify the order of fields within sections, use [`Update Custom Fields Order`]().
3124
+ */
3125
+ (options?: ListCustomFieldsOptions | undefined): Promise<ListCustomFieldsResponse & ListCustomFieldsResponseNonNullableFields>;
3126
+ }
3127
+ declare function updateCustomField$1(httpClient: HttpClient): UpdateCustomFieldSignature;
3128
+ interface UpdateCustomFieldSignature {
3129
+ /**
3130
+ * Updates a custom field.
3131
+ *
3132
+ * Allowed fields to update:
3133
+ * - when `fieldOrigin` is `CUSTOM`: `name`, `defaultPrivacy`, `socialType`.
3134
+ * - when `fieldOrigin` is `CONTACT` or `SYSTEM`: `defaultPrivacy`.
3135
+ * @param - Field ID.
3136
+ * @returns Updated custom field.
3137
+ */
3138
+ (_id: string | null, field: UpdateCustomField): Promise<CustomField$1 & CustomFieldNonNullableFields>;
3139
+ }
3140
+ declare function deleteCustomField$1(httpClient: HttpClient): DeleteCustomFieldSignature;
3141
+ interface DeleteCustomFieldSignature {
3142
+ /**
3143
+ * Deletes a custom field.
3144
+ *
3145
+ * After this action, related custom field in Contacts List will also be removed.
3146
+ * @param - ID of the custom field to delete.
3147
+ * @param - Revision number.
3148
+ */
3149
+ (_id: string | null, revision: string | null): Promise<void>;
3150
+ }
3151
+ declare function hideCustomField$1(httpClient: HttpClient): HideCustomFieldSignature;
3152
+ interface HideCustomFieldSignature {
3153
+ /**
3154
+ * Hides a custom field.
3155
+ *
3156
+ * Hidden field will be removed from the members custom fields list, yet it will be available as a suggested field to be add later.
3157
+ *
3158
+ * After this action, related contacts custom field will still be available in the Contacts List.
3159
+ * @param - ID of the custom field to hide.
3160
+ * @param - Revision number.
3161
+ */
3162
+ (_id: string | null, revision: string | null): Promise<void>;
3163
+ }
3164
+ declare function updateCustomFieldsOrder$1(httpClient: HttpClient): UpdateCustomFieldsOrderSignature;
3165
+ interface UpdateCustomFieldsOrderSignature {
3166
+ /**
3167
+ * Updates custom fields order within a section.
3168
+ * @param - Ordered custom field ids.
3169
+ */
3170
+ (fieldIds: string[], options?: UpdateCustomFieldsOrderOptions | undefined): Promise<UpdateCustomFieldsOrderResponse & UpdateCustomFieldsOrderResponseNonNullableFields>;
3171
+ }
3172
+
2767
3173
  declare function createRESTModule$5<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2768
3174
 
2769
- declare const createCustomField: ReturnType<typeof createRESTModule$5<typeof publicCreateCustomField>>;
2770
- declare const getCustomField: ReturnType<typeof createRESTModule$5<typeof publicGetCustomField>>;
2771
- declare const listCustomFields: ReturnType<typeof createRESTModule$5<typeof publicListCustomFields>>;
2772
- declare const updateCustomField: ReturnType<typeof createRESTModule$5<typeof publicUpdateCustomField>>;
2773
- declare const deleteCustomField: ReturnType<typeof createRESTModule$5<typeof publicDeleteCustomField>>;
2774
- declare const hideCustomField: ReturnType<typeof createRESTModule$5<typeof publicHideCustomField>>;
2775
- declare const updateCustomFieldsOrder: ReturnType<typeof createRESTModule$5<typeof publicUpdateCustomFieldsOrder>>;
3175
+ type _publicCreateCustomFieldType = typeof createCustomField$1;
3176
+ declare const createCustomField: ReturnType<typeof createRESTModule$5<_publicCreateCustomFieldType>>;
3177
+ type _publicGetCustomFieldType = typeof getCustomField$1;
3178
+ declare const getCustomField: ReturnType<typeof createRESTModule$5<_publicGetCustomFieldType>>;
3179
+ type _publicListCustomFieldsType = typeof listCustomFields$1;
3180
+ declare const listCustomFields: ReturnType<typeof createRESTModule$5<_publicListCustomFieldsType>>;
3181
+ type _publicUpdateCustomFieldType = typeof updateCustomField$1;
3182
+ declare const updateCustomField: ReturnType<typeof createRESTModule$5<_publicUpdateCustomFieldType>>;
3183
+ type _publicDeleteCustomFieldType = typeof deleteCustomField$1;
3184
+ declare const deleteCustomField: ReturnType<typeof createRESTModule$5<_publicDeleteCustomFieldType>>;
3185
+ type _publicHideCustomFieldType = typeof hideCustomField$1;
3186
+ declare const hideCustomField: ReturnType<typeof createRESTModule$5<_publicHideCustomFieldType>>;
3187
+ type _publicUpdateCustomFieldsOrderType = typeof updateCustomFieldsOrder$1;
3188
+ declare const updateCustomFieldsOrder: ReturnType<typeof createRESTModule$5<_publicUpdateCustomFieldsOrderType>>;
2776
3189
 
2777
3190
  type index_d$5_AppliesTo = AppliesTo;
2778
3191
  declare const index_d$5_AppliesTo: typeof AppliesTo;
@@ -2807,6 +3220,13 @@ type index_d$5_UpdateCustomFieldsOrderOptions = UpdateCustomFieldsOrderOptions;
2807
3220
  type index_d$5_UpdateCustomFieldsOrderRequest = UpdateCustomFieldsOrderRequest;
2808
3221
  type index_d$5_UpdateCustomFieldsOrderResponse = UpdateCustomFieldsOrderResponse;
2809
3222
  type index_d$5_UpdateCustomFieldsOrderResponseNonNullableFields = UpdateCustomFieldsOrderResponseNonNullableFields;
3223
+ type index_d$5__publicCreateCustomFieldType = _publicCreateCustomFieldType;
3224
+ type index_d$5__publicDeleteCustomFieldType = _publicDeleteCustomFieldType;
3225
+ type index_d$5__publicGetCustomFieldType = _publicGetCustomFieldType;
3226
+ type index_d$5__publicHideCustomFieldType = _publicHideCustomFieldType;
3227
+ type index_d$5__publicListCustomFieldsType = _publicListCustomFieldsType;
3228
+ type index_d$5__publicUpdateCustomFieldType = _publicUpdateCustomFieldType;
3229
+ type index_d$5__publicUpdateCustomFieldsOrderType = _publicUpdateCustomFieldsOrderType;
2810
3230
  declare const index_d$5_createCustomField: typeof createCustomField;
2811
3231
  declare const index_d$5_deleteCustomField: typeof deleteCustomField;
2812
3232
  declare const index_d$5_getCustomField: typeof getCustomField;
@@ -2815,7 +3235,7 @@ declare const index_d$5_listCustomFields: typeof listCustomFields;
2815
3235
  declare const index_d$5_updateCustomField: typeof updateCustomField;
2816
3236
  declare const index_d$5_updateCustomFieldsOrder: typeof updateCustomFieldsOrder;
2817
3237
  declare namespace index_d$5 {
2818
- export { type ActionEvent$2 as ActionEvent, index_d$5_AppliesTo as AppliesTo, type Asset$2 as Asset, type index_d$5_CreateCustomFieldRequest as CreateCustomFieldRequest, type index_d$5_CreateCustomFieldResponse as CreateCustomFieldResponse, type index_d$5_CreateCustomFieldResponseNonNullableFields as CreateCustomFieldResponseNonNullableFields, type CustomField$1 as CustomField, type index_d$5_CustomFieldNonNullableFields as CustomFieldNonNullableFields, type index_d$5_DefaultPrivacyChanged as DefaultPrivacyChanged, type DeleteContext$2 as DeleteContext, type index_d$5_DeleteCustomFieldRequest as DeleteCustomFieldRequest, type index_d$5_DeleteCustomFieldResponse as DeleteCustomFieldResponse, DeleteStatus$2 as DeleteStatus, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$4 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$5_GetCustomFieldRequest as GetCustomFieldRequest, type index_d$5_GetCustomFieldResponse as GetCustomFieldResponse, type index_d$5_GetCustomFieldResponseNonNullableFields as GetCustomFieldResponseNonNullableFields, type index_d$5_HideCustomFieldRequest as HideCustomFieldRequest, type index_d$5_HideCustomFieldResponse as HideCustomFieldResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$5_IncorrectFieldTypeData as IncorrectFieldTypeData, type index_d$5_IncorrectPrivacyData as IncorrectPrivacyData, type index_d$5_InvalidSocialTypeData as InvalidSocialTypeData, type index_d$5_ListCustomFieldsOptions as ListCustomFieldsOptions, type index_d$5_ListCustomFieldsRequest as ListCustomFieldsRequest, type index_d$5_ListCustomFieldsResponse as ListCustomFieldsResponse, type index_d$5_ListCustomFieldsResponseNonNullableFields as ListCustomFieldsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type MetaSiteSpecialEvent$2 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$2 as MetaSiteSpecialEventPayloadOneOf, Namespace$2 as Namespace, type NamespaceChanged$2 as NamespaceChanged, Origin$1 as Origin, type Paging$2 as Paging, type PagingMetadata$2 as PagingMetadata, Privacy$1 as Privacy, type index_d$5_ReservedFieldNameNonEditable as ReservedFieldNameNonEditable, type index_d$5_RestoreInfo as RestoreInfo, index_d$5_Section as Section, type ServiceProvisioned$2 as ServiceProvisioned, type ServiceRemoved$2 as ServiceRemoved, type SiteCreated$2 as SiteCreated, SiteCreatedContext$2 as SiteCreatedContext, type SiteDeleted$2 as SiteDeleted, type SiteHardDeleted$2 as SiteHardDeleted, type SiteMarkedAsTemplate$2 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$2 as SiteMarkedAsWixSite, type SitePublished$2 as SitePublished, type SiteRenamed$2 as SiteRenamed, type SiteTransferred$2 as SiteTransferred, type SiteUndeleted$2 as SiteUndeleted, type SiteUnpublished$2 as SiteUnpublished, SocialTypeType$1 as SocialTypeType, State$2 as State, type StudioAssigned$2 as StudioAssigned, type StudioUnassigned$2 as StudioUnassigned, Type$1 as Type, type index_d$5_UpdateCustomField as UpdateCustomField, type index_d$5_UpdateCustomFieldRequest as UpdateCustomFieldRequest, type index_d$5_UpdateCustomFieldResponse as UpdateCustomFieldResponse, type index_d$5_UpdateCustomFieldResponseNonNullableFields as UpdateCustomFieldResponseNonNullableFields, type index_d$5_UpdateCustomFieldsOrderOptions as UpdateCustomFieldsOrderOptions, type index_d$5_UpdateCustomFieldsOrderRequest as UpdateCustomFieldsOrderRequest, type index_d$5_UpdateCustomFieldsOrderResponse as UpdateCustomFieldsOrderResponse, type index_d$5_UpdateCustomFieldsOrderResponseNonNullableFields as UpdateCustomFieldsOrderResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, index_d$5_createCustomField as createCustomField, index_d$5_deleteCustomField as deleteCustomField, index_d$5_getCustomField as getCustomField, index_d$5_hideCustomField as hideCustomField, index_d$5_listCustomFields as listCustomFields, index_d$5_updateCustomField as updateCustomField, index_d$5_updateCustomFieldsOrder as updateCustomFieldsOrder };
3238
+ export { type ActionEvent$2 as ActionEvent, index_d$5_AppliesTo as AppliesTo, type Asset$2 as Asset, type index_d$5_CreateCustomFieldRequest as CreateCustomFieldRequest, type index_d$5_CreateCustomFieldResponse as CreateCustomFieldResponse, type index_d$5_CreateCustomFieldResponseNonNullableFields as CreateCustomFieldResponseNonNullableFields, type CustomField$1 as CustomField, type index_d$5_CustomFieldNonNullableFields as CustomFieldNonNullableFields, type index_d$5_DefaultPrivacyChanged as DefaultPrivacyChanged, type DeleteContext$2 as DeleteContext, type index_d$5_DeleteCustomFieldRequest as DeleteCustomFieldRequest, type index_d$5_DeleteCustomFieldResponse as DeleteCustomFieldResponse, DeleteStatus$2 as DeleteStatus, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$4 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$5_GetCustomFieldRequest as GetCustomFieldRequest, type index_d$5_GetCustomFieldResponse as GetCustomFieldResponse, type index_d$5_GetCustomFieldResponseNonNullableFields as GetCustomFieldResponseNonNullableFields, type index_d$5_HideCustomFieldRequest as HideCustomFieldRequest, type index_d$5_HideCustomFieldResponse as HideCustomFieldResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$5_IncorrectFieldTypeData as IncorrectFieldTypeData, type index_d$5_IncorrectPrivacyData as IncorrectPrivacyData, type index_d$5_InvalidSocialTypeData as InvalidSocialTypeData, type index_d$5_ListCustomFieldsOptions as ListCustomFieldsOptions, type index_d$5_ListCustomFieldsRequest as ListCustomFieldsRequest, type index_d$5_ListCustomFieldsResponse as ListCustomFieldsResponse, type index_d$5_ListCustomFieldsResponseNonNullableFields as ListCustomFieldsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type MetaSiteSpecialEvent$2 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$2 as MetaSiteSpecialEventPayloadOneOf, Namespace$2 as Namespace, type NamespaceChanged$2 as NamespaceChanged, Origin$1 as Origin, type Paging$2 as Paging, type PagingMetadata$2 as PagingMetadata, Privacy$1 as Privacy, type index_d$5_ReservedFieldNameNonEditable as ReservedFieldNameNonEditable, type index_d$5_RestoreInfo as RestoreInfo, index_d$5_Section as Section, type ServiceProvisioned$2 as ServiceProvisioned, type ServiceRemoved$2 as ServiceRemoved, type SiteCreated$2 as SiteCreated, SiteCreatedContext$2 as SiteCreatedContext, type SiteDeleted$2 as SiteDeleted, type SiteHardDeleted$2 as SiteHardDeleted, type SiteMarkedAsTemplate$2 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$2 as SiteMarkedAsWixSite, type SitePublished$2 as SitePublished, type SiteRenamed$2 as SiteRenamed, type SiteTransferred$2 as SiteTransferred, type SiteUndeleted$2 as SiteUndeleted, type SiteUnpublished$2 as SiteUnpublished, SocialTypeType$1 as SocialTypeType, State$2 as State, type StudioAssigned$2 as StudioAssigned, type StudioUnassigned$2 as StudioUnassigned, Type$1 as Type, type index_d$5_UpdateCustomField as UpdateCustomField, type index_d$5_UpdateCustomFieldRequest as UpdateCustomFieldRequest, type index_d$5_UpdateCustomFieldResponse as UpdateCustomFieldResponse, type index_d$5_UpdateCustomFieldResponseNonNullableFields as UpdateCustomFieldResponseNonNullableFields, type index_d$5_UpdateCustomFieldsOrderOptions as UpdateCustomFieldsOrderOptions, type index_d$5_UpdateCustomFieldsOrderRequest as UpdateCustomFieldsOrderRequest, type index_d$5_UpdateCustomFieldsOrderResponse as UpdateCustomFieldsOrderResponse, type index_d$5_UpdateCustomFieldsOrderResponseNonNullableFields as UpdateCustomFieldsOrderResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type index_d$5__publicCreateCustomFieldType as _publicCreateCustomFieldType, type index_d$5__publicDeleteCustomFieldType as _publicDeleteCustomFieldType, type index_d$5__publicGetCustomFieldType as _publicGetCustomFieldType, type index_d$5__publicHideCustomFieldType as _publicHideCustomFieldType, type index_d$5__publicListCustomFieldsType as _publicListCustomFieldsType, type index_d$5__publicUpdateCustomFieldType as _publicUpdateCustomFieldType, type index_d$5__publicUpdateCustomFieldsOrderType as _publicUpdateCustomFieldsOrderType, index_d$5_createCustomField as createCustomField, index_d$5_deleteCustomField as deleteCustomField, index_d$5_getCustomField as getCustomField, index_d$5_hideCustomField as hideCustomField, index_d$5_listCustomFields as listCustomFields, index_d$5_updateCustomField as updateCustomField, index_d$5_updateCustomFieldsOrder as updateCustomFieldsOrder };
2819
3239
  }
2820
3240
 
2821
3241
  interface CustomFieldSuggestion {
@@ -2939,10 +3359,27 @@ interface QueryCustomFieldSuggestionsOptions {
2939
3359
  query?: Query$2;
2940
3360
  }
2941
3361
 
3362
+ declare function listCustomFieldSuggestions$1(httpClient: HttpClient): ListCustomFieldSuggestionsSignature;
3363
+ interface ListCustomFieldSuggestionsSignature {
3364
+ /**
3365
+ * Returns suggestions of custom fields to add.
3366
+ */
3367
+ (options?: ListCustomFieldSuggestionsOptions | undefined): Promise<ListCustomFieldSuggestionsResponse & ListCustomFieldSuggestionsResponseNonNullableFields>;
3368
+ }
3369
+ declare function queryCustomFieldSuggestions$1(httpClient: HttpClient): QueryCustomFieldSuggestionsSignature;
3370
+ interface QueryCustomFieldSuggestionsSignature {
3371
+ /**
3372
+ * Returns suggestions of custom fields to add by specified type.
3373
+ */
3374
+ (options?: QueryCustomFieldSuggestionsOptions | undefined): Promise<QueryCustomFieldSuggestionsResponse & QueryCustomFieldSuggestionsResponseNonNullableFields>;
3375
+ }
3376
+
2942
3377
  declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2943
3378
 
2944
- declare const listCustomFieldSuggestions: ReturnType<typeof createRESTModule$4<typeof publicListCustomFieldSuggestions>>;
2945
- declare const queryCustomFieldSuggestions: ReturnType<typeof createRESTModule$4<typeof publicQueryCustomFieldSuggestions>>;
3379
+ type _publicListCustomFieldSuggestionsType = typeof listCustomFieldSuggestions$1;
3380
+ declare const listCustomFieldSuggestions: ReturnType<typeof createRESTModule$4<_publicListCustomFieldSuggestionsType>>;
3381
+ type _publicQueryCustomFieldSuggestionsType = typeof queryCustomFieldSuggestions$1;
3382
+ declare const queryCustomFieldSuggestions: ReturnType<typeof createRESTModule$4<_publicQueryCustomFieldSuggestionsType>>;
2946
3383
 
2947
3384
  type index_d$4_CustomFieldSuggestion = CustomFieldSuggestion;
2948
3385
  type index_d$4_ListCustomFieldSuggestionsOptions = ListCustomFieldSuggestionsOptions;
@@ -2961,10 +3398,12 @@ type index_d$4_SocialTypeType = SocialTypeType;
2961
3398
  declare const index_d$4_SocialTypeType: typeof SocialTypeType;
2962
3399
  type index_d$4_Type = Type;
2963
3400
  declare const index_d$4_Type: typeof Type;
3401
+ type index_d$4__publicListCustomFieldSuggestionsType = _publicListCustomFieldSuggestionsType;
3402
+ type index_d$4__publicQueryCustomFieldSuggestionsType = _publicQueryCustomFieldSuggestionsType;
2964
3403
  declare const index_d$4_listCustomFieldSuggestions: typeof listCustomFieldSuggestions;
2965
3404
  declare const index_d$4_queryCustomFieldSuggestions: typeof queryCustomFieldSuggestions;
2966
3405
  declare namespace index_d$4 {
2967
- export { type index_d$4_CustomFieldSuggestion as CustomFieldSuggestion, type index_d$4_ListCustomFieldSuggestionsOptions as ListCustomFieldSuggestionsOptions, type index_d$4_ListCustomFieldSuggestionsRequest as ListCustomFieldSuggestionsRequest, type index_d$4_ListCustomFieldSuggestionsResponse as ListCustomFieldSuggestionsResponse, type index_d$4_ListCustomFieldSuggestionsResponseNonNullableFields as ListCustomFieldSuggestionsResponseNonNullableFields, index_d$4_Origin as Origin, type Paging$1 as Paging, type PagingMetadata$1 as PagingMetadata, index_d$4_Privacy as Privacy, type Query$2 as Query, type index_d$4_QueryCustomFieldSuggestionsOptions as QueryCustomFieldSuggestionsOptions, type index_d$4_QueryCustomFieldSuggestionsRequest as QueryCustomFieldSuggestionsRequest, type index_d$4_QueryCustomFieldSuggestionsResponse as QueryCustomFieldSuggestionsResponse, type index_d$4_QueryCustomFieldSuggestionsResponseNonNullableFields as QueryCustomFieldSuggestionsResponseNonNullableFields, index_d$4_SocialTypeType as SocialTypeType, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, index_d$4_Type as Type, index_d$4_listCustomFieldSuggestions as listCustomFieldSuggestions, index_d$4_queryCustomFieldSuggestions as queryCustomFieldSuggestions };
3406
+ export { type index_d$4_CustomFieldSuggestion as CustomFieldSuggestion, type index_d$4_ListCustomFieldSuggestionsOptions as ListCustomFieldSuggestionsOptions, type index_d$4_ListCustomFieldSuggestionsRequest as ListCustomFieldSuggestionsRequest, type index_d$4_ListCustomFieldSuggestionsResponse as ListCustomFieldSuggestionsResponse, type index_d$4_ListCustomFieldSuggestionsResponseNonNullableFields as ListCustomFieldSuggestionsResponseNonNullableFields, index_d$4_Origin as Origin, type Paging$1 as Paging, type PagingMetadata$1 as PagingMetadata, index_d$4_Privacy as Privacy, type Query$2 as Query, type index_d$4_QueryCustomFieldSuggestionsOptions as QueryCustomFieldSuggestionsOptions, type index_d$4_QueryCustomFieldSuggestionsRequest as QueryCustomFieldSuggestionsRequest, type index_d$4_QueryCustomFieldSuggestionsResponse as QueryCustomFieldSuggestionsResponse, type index_d$4_QueryCustomFieldSuggestionsResponseNonNullableFields as QueryCustomFieldSuggestionsResponseNonNullableFields, index_d$4_SocialTypeType as SocialTypeType, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, index_d$4_Type as Type, type index_d$4__publicListCustomFieldSuggestionsType as _publicListCustomFieldSuggestionsType, type index_d$4__publicQueryCustomFieldSuggestionsType as _publicQueryCustomFieldSuggestionsType, index_d$4_listCustomFieldSuggestions as listCustomFieldSuggestions, index_d$4_queryCustomFieldSuggestions as queryCustomFieldSuggestions };
2968
3407
  }
2969
3408
 
2970
3409
  interface Member {
@@ -4442,37 +4881,395 @@ interface UpdateMember {
4442
4881
  lastLoginDate?: Date;
4443
4882
  }
4444
4883
 
4884
+ declare function updateCurrentMemberSlug$1(httpClient: HttpClient): UpdateCurrentMemberSlugSignature;
4885
+ interface UpdateCurrentMemberSlugSignature {
4886
+ /**
4887
+ * Updates the currently logged in member's slug.
4888
+ *
4889
+ * The `slug` is the end of a member's URL that refers to a specific logged-in member. For example, if a member's URL is `https://example.com/member/{my-member-slug}`, the slug is `my-member-slug`. The slug is case-sensitive and is generally derived from the member's `nickname`; otherwise, it's derived from the `loginEmail`.
4890
+ *
4891
+ * > **Note:**
4892
+ * > Only logged-in members can call this function without elevated permissions.
4893
+ * > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
4894
+ * @param - New slug.
4895
+ */
4896
+ (slug: string): Promise<UpdateMySlugResponse & UpdateMySlugResponseNonNullableFields>;
4897
+ }
4898
+ declare function updateMemberSlug$1(httpClient: HttpClient): UpdateMemberSlugSignature;
4899
+ interface UpdateMemberSlugSignature {
4900
+ /**
4901
+ * Change member slug.
4902
+ * @param - ID of the member whose slug will be updated.
4903
+ * @param - New slug.
4904
+ */
4905
+ (_id: string, slug: string): Promise<UpdateMemberSlugResponse & UpdateMemberSlugResponseNonNullableFields>;
4906
+ }
4907
+ declare function joinCommunity$1(httpClient: HttpClient): JoinCommunitySignature;
4908
+ interface JoinCommunitySignature {
4909
+ /**
4910
+ * Joins the currently logged-in member to the site community and sets their profile to public.
4911
+ *
4912
+ * When a member's profile is public, they have access to the site's
4913
+ * [Members Area](https://support.wix.com/en/article/about-members-area)
4914
+ * features — such as chat, forum, and followers —
4915
+ * and their profile is visible to other members and site visitors.
4916
+ *
4917
+ * > **Note:**
4918
+ * > Only logged-in members can call this function without elevated permissions.
4919
+ * > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
4920
+ * @returns Member profile.
4921
+ */
4922
+ (): Promise<JoinCommunityResponse & JoinCommunityResponseNonNullableFields>;
4923
+ }
4924
+ declare function leaveCommunity$1(httpClient: HttpClient): LeaveCommunitySignature;
4925
+ interface LeaveCommunitySignature {
4926
+ /**
4927
+ * Removes the currently logged-in member from the site community and sets their profile to private.
4928
+ *
4929
+ * When a member's profile is private,
4930
+ * they do not have access to the site's
4931
+ * [Members Area](https://support.wix.com/en/article/about-members-area)
4932
+ * features — such as chat, forum, and followers —
4933
+ * and their profile is hidden from other members and site visitors.
4934
+ *
4935
+ * > **Notes:**
4936
+ * > + If a member leaves the site's community, their content (such as forum posts and blog comments) remain publicly visible.
4937
+ *
4938
+ * > + Only logged-in members can call this function without elevated permissions.
4939
+ * > + To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
4940
+ * @returns Member profile.
4941
+ */
4942
+ (): Promise<LeaveCommunityResponse & LeaveCommunityResponseNonNullableFields>;
4943
+ }
4944
+ declare function getCurrentMember$1(httpClient: HttpClient): GetCurrentMemberSignature;
4945
+ interface GetCurrentMemberSignature {
4946
+ /**
4947
+ * Retrieves the currently logged-in member.
4948
+ * @returns Member profile.
4949
+ */
4950
+ (options?: GetCurrentMemberOptions | undefined): Promise<GetMyMemberResponse & GetMyMemberResponseNonNullableFields>;
4951
+ }
4952
+ declare function getMember$1(httpClient: HttpClient): GetMemberSignature;
4953
+ interface GetMemberSignature {
4954
+ /**
4955
+ * Retrieves a member by ID.
4956
+ *
4957
+ * >**Note:** The returned Member object contains only the fields that were explicitly added to the Member object. Custom Contact fields are **not** automatically added to the Member object. They must be [added to the Member object by the site owner](https://support.wix.com/en/article/site-members-customizing-your-member-profile-fields).
4958
+ *
4959
+ * @param - Member ID.
4960
+ * @param - Fieldset options.
4961
+ * @returns The requested member.
4962
+ */
4963
+ (_id: string, options?: GetMemberOptions | undefined): Promise<Member & MemberNonNullableFields>;
4964
+ }
4965
+ declare function listMembers$1(httpClient: HttpClient): ListMembersSignature;
4966
+ interface ListMembersSignature {
4967
+ /**
4968
+ * Lists site members, given the provided paging and fieldsets.
4969
+ *
4970
+ * - `PUBLIC` fieldset returns `id` and `profile` object. `status`, `privacyStatus` and `activityStatus` are returned as `UNKNOWN`.
4971
+ * - `FULL` fieldset returns all fields.
4972
+ * @param - Options for paging, sorting, and specifying fields to return.
4973
+ */
4974
+ (options?: ListMembersOptions | undefined): Promise<ListMembersResponse & ListMembersResponseNonNullableFields>;
4975
+ }
4976
+ declare function queryMembers$1(httpClient: HttpClient): QueryMembersSignature;
4977
+ interface QueryMembersSignature {
4978
+ /**
4979
+ * Retrieves a list of up to 100 members, given the provided filters, fieldsets, sorting and paging, and returns a `MembersQueryBuilder` object.
4980
+ *
4981
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
4982
+ *
4983
+ * You can refine the query by chaining `MembersQueryBuilder` functions onto the query. `MembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryMembers()` returns. The functions that are chained to `queryMembers()` are applied in the order they are called.
4984
+ *
4985
+ * `queryMembers()` runs with the following `MembersQueryBuilder` defaults that you can override:
4986
+ * - `skip`: `0`
4987
+ * - `limit`: `50`
4988
+ *
4989
+ * Currently supported fields for sorting:
4990
+ * - `profile.nickname`
4991
+ * - `contact.firstName`
4992
+ * - `contact.lastName`
4993
+ * - `createdDate`
4994
+ * - `lastLoginDate`
4995
+ *
4996
+ * The following `MembersQueryBuilder` functions are supported for the `queryMembers()` function. For a full description of the Locations object, see the returned for the `items` property in `MembersQueryResult`.
4997
+ * @param - Query options.
4998
+ */
4999
+ (options?: QueryMembersOptions | undefined): MembersQueryBuilder;
5000
+ }
5001
+ declare function muteMember$1(httpClient: HttpClient): MuteMemberSignature;
5002
+ interface MuteMemberSignature {
5003
+ /**
5004
+ * Restricts member's social participation in the community.
5005
+ *
5006
+ * After this action, muted member cannot leave comments, like or share posts.
5007
+ *
5008
+ * Verticals, which are respecting this property:
5009
+ *
5010
+ * - Forum
5011
+ * - Blog
5012
+ *
5013
+ * Returns full member entity with updated activity_status.
5014
+ */
5015
+ (_id: string): Promise<MuteMemberResponse & MuteMemberResponseNonNullableFields>;
5016
+ }
5017
+ declare function unmuteMember$1(httpClient: HttpClient): UnmuteMemberSignature;
5018
+ interface UnmuteMemberSignature {
5019
+ /**
5020
+ * Lifts restrictions of member's social participation in the community
5021
+ *
5022
+ * After this action, unmuted member can leave comments, post likes or share posts.
5023
+ *
5024
+ * Verticals, which are respecting this property:
5025
+ *
5026
+ * - Forum
5027
+ * - Blog
5028
+ *
5029
+ * Returns full member entity with updated activity_status.
5030
+ */
5031
+ (_id: string): Promise<UnmuteMemberResponse & UnmuteMemberResponseNonNullableFields>;
5032
+ }
5033
+ declare function approveMember$1(httpClient: HttpClient): ApproveMemberSignature;
5034
+ interface ApproveMemberSignature {
5035
+ /**
5036
+ * Approves a pending member, giving them access to members-only pages on the site.
5037
+ */
5038
+ (_id: string): Promise<ApproveMemberResponse & ApproveMemberResponseNonNullableFields>;
5039
+ }
5040
+ declare function blockMember$3(httpClient: HttpClient): BlockMemberSignature$1;
5041
+ interface BlockMemberSignature$1 {
5042
+ /**
5043
+ * Blocks member.
5044
+ *
5045
+ * After this action, blocked member cannot log into Members-Only pages on a site.
5046
+ *
5047
+ * Returns full member entity with updated status.
5048
+ */
5049
+ (_id: string): Promise<BlockMemberResponse$1 & BlockMemberResponseNonNullableFields>;
5050
+ }
5051
+ declare function disconnectMember$1(httpClient: HttpClient): DisconnectMemberSignature;
5052
+ interface DisconnectMemberSignature {
5053
+ /**
5054
+ * Disconnects member.
5055
+ *
5056
+ * After this action, offline member cannot log into on a site. Member is not visible in Business Manager.
5057
+ *
5058
+ * Returns full member entity with updated status.
5059
+ */
5060
+ (_id: string): Promise<DisconnectMemberResponse & DisconnectMemberResponseNonNullableFields>;
5061
+ }
5062
+ declare function deleteMember$1(httpClient: HttpClient): DeleteMemberSignature;
5063
+ interface DeleteMemberSignature {
5064
+ /**
5065
+ * Deletes a member.
5066
+ *
5067
+ * The `deleteMember()` function returns a Promise that resolves to a member object when the specified member is deleted.
5068
+ *
5069
+ * >**Note:** This function permanently deletes a member. Once deleted, a member cannot be restored.
5070
+ * @param - ID of the member to delete.
5071
+ */
5072
+ (_id: string): Promise<void>;
5073
+ }
5074
+ declare function deleteMyMember$1(httpClient: HttpClient): DeleteMyMemberSignature;
5075
+ interface DeleteMyMemberSignature {
5076
+ /** */
5077
+ (options?: DeleteMyMemberOptions | undefined): Promise<void>;
5078
+ }
5079
+ declare function bulkDeleteMembers$1(httpClient: HttpClient): BulkDeleteMembersSignature;
5080
+ interface BulkDeleteMembersSignature {
5081
+ /**
5082
+ * Deletes multiple members which satisfy the provided filter.
5083
+ * @param - Member ids to be deleted
5084
+ */
5085
+ (memberIds: string[]): Promise<BulkDeleteMembersResponse & BulkDeleteMembersResponseNonNullableFields>;
5086
+ }
5087
+ declare function bulkDeleteMembersByFilter$1(httpClient: HttpClient): BulkDeleteMembersByFilterSignature;
5088
+ interface BulkDeleteMembersByFilterSignature {
5089
+ /**
5090
+ * Deletes multiple members which satisfy the provided filter.
5091
+ * @param - 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)
5092
+ */
5093
+ (filter: any, options?: BulkDeleteMembersByFilterOptions | undefined): Promise<BulkDeleteMembersByFilterResponse & BulkDeleteMembersByFilterResponseNonNullableFields>;
5094
+ }
5095
+ declare function bulkApproveMembers$1(httpClient: HttpClient): BulkApproveMembersSignature;
5096
+ interface BulkApproveMembersSignature {
5097
+ /**
5098
+ * Approves multiple members which satisfy the provided filter.
5099
+ * @param - 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)
5100
+ */
5101
+ (filter: any): Promise<BulkApproveMembersResponse & BulkApproveMembersResponseNonNullableFields>;
5102
+ }
5103
+ declare function bulkBlockMembers$1(httpClient: HttpClient): BulkBlockMembersSignature;
5104
+ interface BulkBlockMembersSignature {
5105
+ /**
5106
+ * Blocks multiple members which satisfy the provided filter.
5107
+ *
5108
+ * See documentation for blocking of a single member [here](https://bo.wix.com/wix-docs/rest/members/members/block-member)
5109
+ * @param - 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)
5110
+ */
5111
+ (filter: any): Promise<BulkBlockMembersResponse & BulkBlockMembersResponseNonNullableFields>;
5112
+ }
5113
+ declare function createMember$1(httpClient: HttpClient): CreateMemberSignature;
5114
+ interface CreateMemberSignature {
5115
+ /**
5116
+ * Creates a site member.
5117
+ *
5118
+ * After creation, you can use the `sendSetPasswordEmail()` function in the Members Authentication API to email the member with a link to set their password.
5119
+ * The member can log in to the site once they set their password for the first time.
5120
+ *
5121
+ * > **Note:**
5122
+ * > When creating multiple members, set your requests at least 1 second apart to keep below rate limits.
5123
+ * @returns New member.
5124
+ */
5125
+ (options?: CreateMemberOptions | undefined): Promise<Member & MemberNonNullableFields>;
5126
+ }
5127
+ declare function updateMember$1(httpClient: HttpClient): UpdateMemberSignature;
5128
+ interface UpdateMemberSignature {
5129
+ /**
5130
+ * Updates a member's properties.
5131
+ *
5132
+ * Only the requested fields are updated.
5133
+ * To clear a field's value, set an empty value with an empty string `""`.
5134
+ *
5135
+ * > **Note:**
5136
+ * > Updating the `contact.addresses`, `contact.emails`, or `contact.phones` array overwrites the entire array, so any existing values you want to retain must be passed in the `updateMember()` call along with the new values to add.
5137
+ * > However, passing an empty array will have no effect, and these functions must be used to clear all data from the respective array:
5138
+ * >- To clear `contact.addresses`, use `deleteMemberAddresses()`.
5139
+ * >- To clear `contact.emails`, use `deleteMemberEmails()`.
5140
+ * >- To clear `contact.phones`, use `deleteMemberPhones()`.
5141
+ *
5142
+ * > **Note:**
5143
+ * > Only logged-in members can call this function without elevated permissions.
5144
+ * > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
5145
+ * @param - Member ID.
5146
+ * @param - Member to update.
5147
+ */
5148
+ (_id: string | null, member: UpdateMember): Promise<Member & MemberNonNullableFields>;
5149
+ }
5150
+ declare function deleteMemberPhones$1(httpClient: HttpClient): DeleteMemberPhonesSignature;
5151
+ interface DeleteMemberPhonesSignature {
5152
+ /**
5153
+ * Clears a member's phone numbers.
5154
+ *
5155
+ * The `deleteMemberPhones()` function clears the `phones` array under the `contact` property.
5156
+ *
5157
+ * > **Note:**
5158
+ * > Only logged-in members can call this function without elevated permissions.
5159
+ * > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
5160
+ * @param - ID of the member whose phone numbers will be deleted.
5161
+ */
5162
+ (_id: string): Promise<DeleteMemberPhonesResponse & DeleteMemberPhonesResponseNonNullableFields>;
5163
+ }
5164
+ declare function deleteMemberEmails$1(httpClient: HttpClient): DeleteMemberEmailsSignature;
5165
+ interface DeleteMemberEmailsSignature {
5166
+ /**
5167
+ * Clears a member's email addresses.
5168
+ *
5169
+ * The `deleteMemberEmails()` function clears the `emails` array under the `contact` property.
5170
+ *
5171
+ * > **Notes:**
5172
+ * > A member can still log in with their `loginEmail`,
5173
+ * > which is not cleared when this function is called.
5174
+ *
5175
+ * > Only logged-in members can call this function without elevated permissions.
5176
+ * > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
5177
+ * @param - ID of the member whose email addresses will be deleted.
5178
+ */
5179
+ (_id: string): Promise<DeleteMemberEmailsResponse & DeleteMemberEmailsResponseNonNullableFields>;
5180
+ }
5181
+ declare function deleteMemberAddresses$1(httpClient: HttpClient): DeleteMemberAddressesSignature;
5182
+ interface DeleteMemberAddressesSignature {
5183
+ /**
5184
+ * Deletes a member's street addresses.
5185
+ *
5186
+ * The `deleteMemberAddresses()` function clears the `addresses` array under the `contact` property.
5187
+ *
5188
+ * > **Note:**
5189
+ * > Only logged-in members can call this function without elevated permissions.
5190
+ * > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
5191
+ * @param - ID of the member whose street addresses will be deleted.
5192
+ */
5193
+ (_id: string): Promise<DeleteMemberAddressesResponse & DeleteMemberAddressesResponseNonNullableFields>;
5194
+ }
5195
+ declare const onMemberUpdated$1: EventDefinition<MemberUpdatedEnvelope, "wix.members.v1.member_updated">;
5196
+ declare const onMemberDeleted$1: EventDefinition<MemberDeletedEnvelope, "wix.members.v1.member_deleted">;
5197
+ declare const onMemberCreated$1: EventDefinition<MemberCreatedEnvelope, "wix.members.v1.member_created">;
5198
+
4445
5199
  declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4446
5200
 
4447
5201
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4448
5202
 
4449
- declare const updateCurrentMemberSlug: ReturnType<typeof createRESTModule$3<typeof publicUpdateCurrentMemberSlug>>;
4450
- declare const updateMemberSlug: ReturnType<typeof createRESTModule$3<typeof publicUpdateMemberSlug>>;
4451
- declare const joinCommunity: ReturnType<typeof createRESTModule$3<typeof publicJoinCommunity>>;
4452
- declare const leaveCommunity: ReturnType<typeof createRESTModule$3<typeof publicLeaveCommunity>>;
4453
- declare const getCurrentMember: ReturnType<typeof createRESTModule$3<typeof publicGetCurrentMember>>;
4454
- declare const getMember: ReturnType<typeof createRESTModule$3<typeof publicGetMember>>;
4455
- declare const listMembers: ReturnType<typeof createRESTModule$3<typeof publicListMembers>>;
4456
- declare const queryMembers: ReturnType<typeof createRESTModule$3<typeof publicQueryMembers>>;
4457
- declare const muteMember: ReturnType<typeof createRESTModule$3<typeof publicMuteMember>>;
4458
- declare const unmuteMember: ReturnType<typeof createRESTModule$3<typeof publicUnmuteMember>>;
4459
- declare const approveMember: ReturnType<typeof createRESTModule$3<typeof publicApproveMember>>;
4460
- declare const blockMember$1: ReturnType<typeof createRESTModule$3<typeof publicBlockMember>>;
4461
- declare const disconnectMember: ReturnType<typeof createRESTModule$3<typeof publicDisconnectMember>>;
4462
- declare const deleteMember: ReturnType<typeof createRESTModule$3<typeof publicDeleteMember>>;
4463
- declare const deleteMyMember: ReturnType<typeof createRESTModule$3<typeof publicDeleteMyMember>>;
4464
- declare const bulkDeleteMembers: ReturnType<typeof createRESTModule$3<typeof publicBulkDeleteMembers>>;
4465
- declare const bulkDeleteMembersByFilter: ReturnType<typeof createRESTModule$3<typeof publicBulkDeleteMembersByFilter>>;
4466
- declare const bulkApproveMembers: ReturnType<typeof createRESTModule$3<typeof publicBulkApproveMembers>>;
4467
- declare const bulkBlockMembers: ReturnType<typeof createRESTModule$3<typeof publicBulkBlockMembers>>;
4468
- declare const createMember: ReturnType<typeof createRESTModule$3<typeof publicCreateMember>>;
4469
- declare const updateMember: ReturnType<typeof createRESTModule$3<typeof publicUpdateMember>>;
4470
- declare const deleteMemberPhones: ReturnType<typeof createRESTModule$3<typeof publicDeleteMemberPhones>>;
4471
- declare const deleteMemberEmails: ReturnType<typeof createRESTModule$3<typeof publicDeleteMemberEmails>>;
4472
- declare const deleteMemberAddresses: ReturnType<typeof createRESTModule$3<typeof publicDeleteMemberAddresses>>;
4473
- declare const onMemberUpdated: ReturnType<typeof createEventModule<typeof publicOnMemberUpdated>>;
4474
- declare const onMemberDeleted: ReturnType<typeof createEventModule<typeof publicOnMemberDeleted>>;
4475
- declare const onMemberCreated: ReturnType<typeof createEventModule<typeof publicOnMemberCreated>>;
5203
+ type _publicUpdateCurrentMemberSlugType = typeof updateCurrentMemberSlug$1;
5204
+ declare const updateCurrentMemberSlug: ReturnType<typeof createRESTModule$3<_publicUpdateCurrentMemberSlugType>>;
5205
+ type _publicUpdateMemberSlugType = typeof updateMemberSlug$1;
5206
+ declare const updateMemberSlug: ReturnType<typeof createRESTModule$3<_publicUpdateMemberSlugType>>;
5207
+ type _publicJoinCommunityType = typeof joinCommunity$1;
5208
+ declare const joinCommunity: ReturnType<typeof createRESTModule$3<_publicJoinCommunityType>>;
5209
+ type _publicLeaveCommunityType = typeof leaveCommunity$1;
5210
+ declare const leaveCommunity: ReturnType<typeof createRESTModule$3<_publicLeaveCommunityType>>;
5211
+ type _publicGetCurrentMemberType = typeof getCurrentMember$1;
5212
+ declare const getCurrentMember: ReturnType<typeof createRESTModule$3<_publicGetCurrentMemberType>>;
5213
+ type _publicGetMemberType = typeof getMember$1;
5214
+ declare const getMember: ReturnType<typeof createRESTModule$3<_publicGetMemberType>>;
5215
+ type _publicListMembersType = typeof listMembers$1;
5216
+ declare const listMembers: ReturnType<typeof createRESTModule$3<_publicListMembersType>>;
5217
+ type _publicQueryMembersType = typeof queryMembers$1;
5218
+ declare const queryMembers: ReturnType<typeof createRESTModule$3<_publicQueryMembersType>>;
5219
+ type _publicMuteMemberType = typeof muteMember$1;
5220
+ declare const muteMember: ReturnType<typeof createRESTModule$3<_publicMuteMemberType>>;
5221
+ type _publicUnmuteMemberType = typeof unmuteMember$1;
5222
+ declare const unmuteMember: ReturnType<typeof createRESTModule$3<_publicUnmuteMemberType>>;
5223
+ type _publicApproveMemberType = typeof approveMember$1;
5224
+ declare const approveMember: ReturnType<typeof createRESTModule$3<_publicApproveMemberType>>;
5225
+ type _publicBlockMemberType$1 = typeof blockMember$3;
5226
+ declare const blockMember$2: ReturnType<typeof createRESTModule$3<_publicBlockMemberType>>;
5227
+ type _publicDisconnectMemberType = typeof disconnectMember$1;
5228
+ declare const disconnectMember: ReturnType<typeof createRESTModule$3<_publicDisconnectMemberType>>;
5229
+ type _publicDeleteMemberType = typeof deleteMember$1;
5230
+ declare const deleteMember: ReturnType<typeof createRESTModule$3<_publicDeleteMemberType>>;
5231
+ type _publicDeleteMyMemberType = typeof deleteMyMember$1;
5232
+ declare const deleteMyMember: ReturnType<typeof createRESTModule$3<_publicDeleteMyMemberType>>;
5233
+ type _publicBulkDeleteMembersType = typeof bulkDeleteMembers$1;
5234
+ declare const bulkDeleteMembers: ReturnType<typeof createRESTModule$3<_publicBulkDeleteMembersType>>;
5235
+ type _publicBulkDeleteMembersByFilterType = typeof bulkDeleteMembersByFilter$1;
5236
+ declare const bulkDeleteMembersByFilter: ReturnType<typeof createRESTModule$3<_publicBulkDeleteMembersByFilterType>>;
5237
+ type _publicBulkApproveMembersType = typeof bulkApproveMembers$1;
5238
+ declare const bulkApproveMembers: ReturnType<typeof createRESTModule$3<_publicBulkApproveMembersType>>;
5239
+ type _publicBulkBlockMembersType = typeof bulkBlockMembers$1;
5240
+ declare const bulkBlockMembers: ReturnType<typeof createRESTModule$3<_publicBulkBlockMembersType>>;
5241
+ type _publicCreateMemberType = typeof createMember$1;
5242
+ declare const createMember: ReturnType<typeof createRESTModule$3<_publicCreateMemberType>>;
5243
+ type _publicUpdateMemberType = typeof updateMember$1;
5244
+ declare const updateMember: ReturnType<typeof createRESTModule$3<_publicUpdateMemberType>>;
5245
+ type _publicDeleteMemberPhonesType = typeof deleteMemberPhones$1;
5246
+ declare const deleteMemberPhones: ReturnType<typeof createRESTModule$3<_publicDeleteMemberPhonesType>>;
5247
+ type _publicDeleteMemberEmailsType = typeof deleteMemberEmails$1;
5248
+ declare const deleteMemberEmails: ReturnType<typeof createRESTModule$3<_publicDeleteMemberEmailsType>>;
5249
+ type _publicDeleteMemberAddressesType = typeof deleteMemberAddresses$1;
5250
+ declare const deleteMemberAddresses: ReturnType<typeof createRESTModule$3<_publicDeleteMemberAddressesType>>;
5251
+
5252
+ type _publicOnMemberUpdatedType = typeof onMemberUpdated$1;
5253
+ /**
5254
+ * NOTE to TWs: - below callback is not included in docs. Do NOT edit here. Edit callback listed under UpdateMemberSlug.
5255
+ */
5256
+ declare const onMemberUpdated: ReturnType<typeof createEventModule<_publicOnMemberUpdatedType>>;
5257
+
5258
+ type _publicOnMemberDeletedType = typeof onMemberDeleted$1;
5259
+ /**
5260
+ * Triggered when a member is deleted.
5261
+ */
5262
+ declare const onMemberDeleted: ReturnType<typeof createEventModule<_publicOnMemberDeletedType>>;
5263
+
5264
+ type _publicOnMemberCreatedType = typeof onMemberCreated$1;
5265
+ /**
5266
+ * Triggered when a member is created.
5267
+ *
5268
+ * The site owner can configure the site to automatically approve members or require manual approval.
5269
+ *
5270
+ * A member who has been approved either automatically or manually has a `status` of `APPROVED`. A created member waiting for approval has a `status` of `PENDING`. A `PENDING` member cannot log into the site.
5271
+ */
5272
+ declare const onMemberCreated: ReturnType<typeof createEventModule<_publicOnMemberCreatedType>>;
4476
5273
 
4477
5274
  type index_d$3_ActiveSubscriptionMemberBlockForbiddenPayload = ActiveSubscriptionMemberBlockForbiddenPayload;
4478
5275
  type index_d$3_ActivityStatusStatus = ActivityStatusStatus;
@@ -4607,6 +5404,32 @@ type index_d$3_UpdateMemberSlugResponseNonNullableFields = UpdateMemberSlugRespo
4607
5404
  type index_d$3_UpdateMySlugRequest = UpdateMySlugRequest;
4608
5405
  type index_d$3_UpdateMySlugResponse = UpdateMySlugResponse;
4609
5406
  type index_d$3_UpdateMySlugResponseNonNullableFields = UpdateMySlugResponseNonNullableFields;
5407
+ type index_d$3__publicApproveMemberType = _publicApproveMemberType;
5408
+ type index_d$3__publicBulkApproveMembersType = _publicBulkApproveMembersType;
5409
+ type index_d$3__publicBulkBlockMembersType = _publicBulkBlockMembersType;
5410
+ type index_d$3__publicBulkDeleteMembersByFilterType = _publicBulkDeleteMembersByFilterType;
5411
+ type index_d$3__publicBulkDeleteMembersType = _publicBulkDeleteMembersType;
5412
+ type index_d$3__publicCreateMemberType = _publicCreateMemberType;
5413
+ type index_d$3__publicDeleteMemberAddressesType = _publicDeleteMemberAddressesType;
5414
+ type index_d$3__publicDeleteMemberEmailsType = _publicDeleteMemberEmailsType;
5415
+ type index_d$3__publicDeleteMemberPhonesType = _publicDeleteMemberPhonesType;
5416
+ type index_d$3__publicDeleteMemberType = _publicDeleteMemberType;
5417
+ type index_d$3__publicDeleteMyMemberType = _publicDeleteMyMemberType;
5418
+ type index_d$3__publicDisconnectMemberType = _publicDisconnectMemberType;
5419
+ type index_d$3__publicGetCurrentMemberType = _publicGetCurrentMemberType;
5420
+ type index_d$3__publicGetMemberType = _publicGetMemberType;
5421
+ type index_d$3__publicJoinCommunityType = _publicJoinCommunityType;
5422
+ type index_d$3__publicLeaveCommunityType = _publicLeaveCommunityType;
5423
+ type index_d$3__publicListMembersType = _publicListMembersType;
5424
+ type index_d$3__publicMuteMemberType = _publicMuteMemberType;
5425
+ type index_d$3__publicOnMemberCreatedType = _publicOnMemberCreatedType;
5426
+ type index_d$3__publicOnMemberDeletedType = _publicOnMemberDeletedType;
5427
+ type index_d$3__publicOnMemberUpdatedType = _publicOnMemberUpdatedType;
5428
+ type index_d$3__publicQueryMembersType = _publicQueryMembersType;
5429
+ type index_d$3__publicUnmuteMemberType = _publicUnmuteMemberType;
5430
+ type index_d$3__publicUpdateCurrentMemberSlugType = _publicUpdateCurrentMemberSlugType;
5431
+ type index_d$3__publicUpdateMemberSlugType = _publicUpdateMemberSlugType;
5432
+ type index_d$3__publicUpdateMemberType = _publicUpdateMemberType;
4610
5433
  declare const index_d$3_approveMember: typeof approveMember;
4611
5434
  declare const index_d$3_bulkApproveMembers: typeof bulkApproveMembers;
4612
5435
  declare const index_d$3_bulkBlockMembers: typeof bulkBlockMembers;
@@ -4634,7 +5457,7 @@ declare const index_d$3_updateCurrentMemberSlug: typeof updateCurrentMemberSlug;
4634
5457
  declare const index_d$3_updateMember: typeof updateMember;
4635
5458
  declare const index_d$3_updateMemberSlug: typeof updateMemberSlug;
4636
5459
  declare namespace index_d$3 {
4637
- export { type ActionEvent$1 as ActionEvent, type index_d$3_ActiveSubscriptionMemberBlockForbiddenPayload as ActiveSubscriptionMemberBlockForbiddenPayload, index_d$3_ActivityStatusStatus as ActivityStatusStatus, type index_d$3_Address as Address, type index_d$3_AddressStreetOneOf as AddressStreetOneOf, type index_d$3_App as App, type index_d$3_ApplicationError as ApplicationError, type index_d$3_ApproveMemberRequest as ApproveMemberRequest, type index_d$3_ApproveMemberResponse as ApproveMemberResponse, type index_d$3_ApproveMemberResponseNonNullableFields as ApproveMemberResponseNonNullableFields, type Asset$1 as Asset, type index_d$3_BaseEventMetadata as BaseEventMetadata, type BlockMemberRequest$1 as BlockMemberRequest, type BlockMemberResponse$1 as BlockMemberResponse, type index_d$3_BlockMemberResponseNonNullableFields as BlockMemberResponseNonNullableFields, type index_d$3_BulkActionMetadata as BulkActionMetadata, type index_d$3_BulkApproveMembersRequest as BulkApproveMembersRequest, type index_d$3_BulkApproveMembersResponse as BulkApproveMembersResponse, type index_d$3_BulkApproveMembersResponseNonNullableFields as BulkApproveMembersResponseNonNullableFields, type index_d$3_BulkBlockMembersRequest as BulkBlockMembersRequest, type index_d$3_BulkBlockMembersResponse as BulkBlockMembersResponse, type index_d$3_BulkBlockMembersResponseNonNullableFields as BulkBlockMembersResponseNonNullableFields, type index_d$3_BulkDeleteMembersByFilterOptions as BulkDeleteMembersByFilterOptions, type index_d$3_BulkDeleteMembersByFilterRequest as BulkDeleteMembersByFilterRequest, type index_d$3_BulkDeleteMembersByFilterResponse as BulkDeleteMembersByFilterResponse, type index_d$3_BulkDeleteMembersByFilterResponseNonNullableFields as BulkDeleteMembersByFilterResponseNonNullableFields, type index_d$3_BulkDeleteMembersRequest as BulkDeleteMembersRequest, type index_d$3_BulkDeleteMembersResponse as BulkDeleteMembersResponse, type index_d$3_BulkDeleteMembersResponseNonNullableFields as BulkDeleteMembersResponseNonNullableFields, type index_d$3_BulkMemberResult as BulkMemberResult, type index_d$3_Contact as Contact, type index_d$3_ContentDeletionRequested as ContentDeletionRequested, type index_d$3_ContentReassignmentRequested as ContentReassignmentRequested, type index_d$3_CreateMemberOptions as CreateMemberOptions, type index_d$3_CreateMemberRequest as CreateMemberRequest, type index_d$3_CreateMemberResponse as CreateMemberResponse, type index_d$3_CreateMemberResponseNonNullableFields as CreateMemberResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type index_d$3_CursorPagingMetadata as CursorPagingMetadata, type Cursors$1 as Cursors, type index_d$3_CustomField as CustomField, type DeleteContext$1 as DeleteContext, type index_d$3_DeleteMemberAddressesRequest as DeleteMemberAddressesRequest, type index_d$3_DeleteMemberAddressesResponse as DeleteMemberAddressesResponse, type index_d$3_DeleteMemberAddressesResponseNonNullableFields as DeleteMemberAddressesResponseNonNullableFields, type index_d$3_DeleteMemberEmailsRequest as DeleteMemberEmailsRequest, type index_d$3_DeleteMemberEmailsResponse as DeleteMemberEmailsResponse, type index_d$3_DeleteMemberEmailsResponseNonNullableFields as DeleteMemberEmailsResponseNonNullableFields, type index_d$3_DeleteMemberPhonesRequest as DeleteMemberPhonesRequest, type index_d$3_DeleteMemberPhonesResponse as DeleteMemberPhonesResponse, type index_d$3_DeleteMemberPhonesResponseNonNullableFields as DeleteMemberPhonesResponseNonNullableFields, type index_d$3_DeleteMemberRequest as DeleteMemberRequest, type index_d$3_DeleteMemberResponse as DeleteMemberResponse, type index_d$3_DeleteMyMemberOptions as DeleteMyMemberOptions, type index_d$3_DeleteMyMemberRequest as DeleteMyMemberRequest, type index_d$3_DeleteMyMemberResponse as DeleteMyMemberResponse, DeleteStatus$1 as DeleteStatus, type index_d$3_DisconnectMemberRequest as DisconnectMemberRequest, type index_d$3_DisconnectMemberResponse as DisconnectMemberResponse, type index_d$3_DisconnectMemberResponseNonNullableFields as DisconnectMemberResponseNonNullableFields, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$3 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$3_EventMetadata as EventMetadata, type index_d$3_ExtendedFields as ExtendedFields, type index_d$3_File as File, type index_d$3_GetCurrentMemberOptions as GetCurrentMemberOptions, type index_d$3_GetMemberOptions as GetMemberOptions, type index_d$3_GetMemberRequest as GetMemberRequest, type index_d$3_GetMemberResponse as GetMemberResponse, type index_d$3_GetMemberResponseNonNullableFields as GetMemberResponseNonNullableFields, type index_d$3_GetMyMemberRequest as GetMyMemberRequest, type index_d$3_GetMyMemberResponse as GetMyMemberResponse, type index_d$3_GetMyMemberResponseNonNullableFields as GetMyMemberResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$3_Image as Image, type index_d$3_InvalidateCache as InvalidateCache, type index_d$3_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$3_ItemMetadata as ItemMetadata, type index_d$3_JoinCommunityRequest as JoinCommunityRequest, type index_d$3_JoinCommunityResponse as JoinCommunityResponse, type index_d$3_JoinCommunityResponseNonNullableFields as JoinCommunityResponseNonNullableFields, type index_d$3_LeaveCommunityRequest as LeaveCommunityRequest, type index_d$3_LeaveCommunityResponse as LeaveCommunityResponse, type index_d$3_LeaveCommunityResponseNonNullableFields as LeaveCommunityResponseNonNullableFields, type index_d$3_ListMembersOptions as ListMembersOptions, type index_d$3_ListMembersRequest as ListMembersRequest, type index_d$3_ListMembersResponse as ListMembersResponse, type index_d$3_ListMembersResponseNonNullableFields as ListMembersResponseNonNullableFields, type index_d$3_Member as Member, type index_d$3_MemberApproved as MemberApproved, type index_d$3_MemberBlocked as MemberBlocked, type index_d$3_MemberCreatedEnvelope as MemberCreatedEnvelope, type index_d$3_MemberDeletedEnvelope as MemberDeletedEnvelope, type index_d$3_MemberIdChanged as MemberIdChanged, type index_d$3_MemberJoinedCommunity as MemberJoinedCommunity, type index_d$3_MemberLeftCommunity as MemberLeftCommunity, type index_d$3_MemberMuted as MemberMuted, type index_d$3_MemberNonNullableFields as MemberNonNullableFields, type index_d$3_MemberOwnershipTransferred as MemberOwnershipTransferred, type index_d$3_MemberSelfBlockForbiddenPayload as MemberSelfBlockForbiddenPayload, type index_d$3_MemberToMemberBlockedPayload as MemberToMemberBlockedPayload, type index_d$3_MemberUnmuted as MemberUnmuted, type index_d$3_MemberUpdatedEnvelope as MemberUpdatedEnvelope, type index_d$3_MembersQueryBuilder as MembersQueryBuilder, type index_d$3_MembersQueryResult as MembersQueryResult, type MessageEnvelope$1 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, type index_d$3_MuteMemberRequest as MuteMemberRequest, type index_d$3_MuteMemberResponse as MuteMemberResponse, type index_d$3_MuteMemberResponseNonNullableFields as MuteMemberResponseNonNullableFields, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type index_d$3_OwnerMemberBlockForbiddenPayload as OwnerMemberBlockForbiddenPayload, type index_d$3_Page as Page, type index_d$3_Paging as Paging, type index_d$3_PagingMetadata as PagingMetadata, index_d$3_PrivacyStatusStatus as PrivacyStatusStatus, type index_d$3_Profile as Profile, type Query$1 as Query, type index_d$3_QueryMembersOptions as QueryMembersOptions, type index_d$3_QueryMembersRequest as QueryMembersRequest, type index_d$3_QueryMembersResponse as QueryMembersResponse, type index_d$3_QueryMembersResponseNonNullableFields as QueryMembersResponseNonNullableFields, type index_d$3_Search as Search, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, index_d$3_Set as Set, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, type index_d$3_SlugAlreadyExistsPayload as SlugAlreadyExistsPayload, index_d$3_SortOrder as SortOrder, type index_d$3_Sorting as Sorting, State$1 as State, index_d$3_Status as Status, type index_d$3_StreetAddress as StreetAddress, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type index_d$3_URI as URI, type UndeleteInfo$1 as UndeleteInfo, type index_d$3_UnmuteMemberRequest as UnmuteMemberRequest, type index_d$3_UnmuteMemberResponse as UnmuteMemberResponse, type index_d$3_UnmuteMemberResponseNonNullableFields as UnmuteMemberResponseNonNullableFields, type index_d$3_UpdateMember as UpdateMember, type index_d$3_UpdateMemberRequest as UpdateMemberRequest, type index_d$3_UpdateMemberResponse as UpdateMemberResponse, type index_d$3_UpdateMemberResponseNonNullableFields as UpdateMemberResponseNonNullableFields, type index_d$3_UpdateMemberSlugRequest as UpdateMemberSlugRequest, type index_d$3_UpdateMemberSlugResponse as UpdateMemberSlugResponse, type index_d$3_UpdateMemberSlugResponseNonNullableFields as UpdateMemberSlugResponseNonNullableFields, type index_d$3_UpdateMySlugRequest as UpdateMySlugRequest, type index_d$3_UpdateMySlugResponse as UpdateMySlugResponse, type index_d$3_UpdateMySlugResponseNonNullableFields as UpdateMySlugResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, index_d$3_approveMember as approveMember, blockMember$1 as blockMember, index_d$3_bulkApproveMembers as bulkApproveMembers, index_d$3_bulkBlockMembers as bulkBlockMembers, index_d$3_bulkDeleteMembers as bulkDeleteMembers, index_d$3_bulkDeleteMembersByFilter as bulkDeleteMembersByFilter, index_d$3_createMember as createMember, index_d$3_deleteMember as deleteMember, index_d$3_deleteMemberAddresses as deleteMemberAddresses, index_d$3_deleteMemberEmails as deleteMemberEmails, index_d$3_deleteMemberPhones as deleteMemberPhones, index_d$3_deleteMyMember as deleteMyMember, index_d$3_disconnectMember as disconnectMember, index_d$3_getCurrentMember as getCurrentMember, index_d$3_getMember as getMember, index_d$3_joinCommunity as joinCommunity, index_d$3_leaveCommunity as leaveCommunity, index_d$3_listMembers as listMembers, index_d$3_muteMember as muteMember, index_d$3_onMemberCreated as onMemberCreated, index_d$3_onMemberDeleted as onMemberDeleted, index_d$3_onMemberUpdated as onMemberUpdated, index_d$3_queryMembers as queryMembers, index_d$3_unmuteMember as unmuteMember, index_d$3_updateCurrentMemberSlug as updateCurrentMemberSlug, index_d$3_updateMember as updateMember, index_d$3_updateMemberSlug as updateMemberSlug };
5460
+ export { type ActionEvent$1 as ActionEvent, type index_d$3_ActiveSubscriptionMemberBlockForbiddenPayload as ActiveSubscriptionMemberBlockForbiddenPayload, index_d$3_ActivityStatusStatus as ActivityStatusStatus, type index_d$3_Address as Address, type index_d$3_AddressStreetOneOf as AddressStreetOneOf, type index_d$3_App as App, type index_d$3_ApplicationError as ApplicationError, type index_d$3_ApproveMemberRequest as ApproveMemberRequest, type index_d$3_ApproveMemberResponse as ApproveMemberResponse, type index_d$3_ApproveMemberResponseNonNullableFields as ApproveMemberResponseNonNullableFields, type Asset$1 as Asset, type index_d$3_BaseEventMetadata as BaseEventMetadata, type BlockMemberRequest$1 as BlockMemberRequest, type BlockMemberResponse$1 as BlockMemberResponse, type index_d$3_BlockMemberResponseNonNullableFields as BlockMemberResponseNonNullableFields, type index_d$3_BulkActionMetadata as BulkActionMetadata, type index_d$3_BulkApproveMembersRequest as BulkApproveMembersRequest, type index_d$3_BulkApproveMembersResponse as BulkApproveMembersResponse, type index_d$3_BulkApproveMembersResponseNonNullableFields as BulkApproveMembersResponseNonNullableFields, type index_d$3_BulkBlockMembersRequest as BulkBlockMembersRequest, type index_d$3_BulkBlockMembersResponse as BulkBlockMembersResponse, type index_d$3_BulkBlockMembersResponseNonNullableFields as BulkBlockMembersResponseNonNullableFields, type index_d$3_BulkDeleteMembersByFilterOptions as BulkDeleteMembersByFilterOptions, type index_d$3_BulkDeleteMembersByFilterRequest as BulkDeleteMembersByFilterRequest, type index_d$3_BulkDeleteMembersByFilterResponse as BulkDeleteMembersByFilterResponse, type index_d$3_BulkDeleteMembersByFilterResponseNonNullableFields as BulkDeleteMembersByFilterResponseNonNullableFields, type index_d$3_BulkDeleteMembersRequest as BulkDeleteMembersRequest, type index_d$3_BulkDeleteMembersResponse as BulkDeleteMembersResponse, type index_d$3_BulkDeleteMembersResponseNonNullableFields as BulkDeleteMembersResponseNonNullableFields, type index_d$3_BulkMemberResult as BulkMemberResult, type index_d$3_Contact as Contact, type index_d$3_ContentDeletionRequested as ContentDeletionRequested, type index_d$3_ContentReassignmentRequested as ContentReassignmentRequested, type index_d$3_CreateMemberOptions as CreateMemberOptions, type index_d$3_CreateMemberRequest as CreateMemberRequest, type index_d$3_CreateMemberResponse as CreateMemberResponse, type index_d$3_CreateMemberResponseNonNullableFields as CreateMemberResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type index_d$3_CursorPagingMetadata as CursorPagingMetadata, type Cursors$1 as Cursors, type index_d$3_CustomField as CustomField, type DeleteContext$1 as DeleteContext, type index_d$3_DeleteMemberAddressesRequest as DeleteMemberAddressesRequest, type index_d$3_DeleteMemberAddressesResponse as DeleteMemberAddressesResponse, type index_d$3_DeleteMemberAddressesResponseNonNullableFields as DeleteMemberAddressesResponseNonNullableFields, type index_d$3_DeleteMemberEmailsRequest as DeleteMemberEmailsRequest, type index_d$3_DeleteMemberEmailsResponse as DeleteMemberEmailsResponse, type index_d$3_DeleteMemberEmailsResponseNonNullableFields as DeleteMemberEmailsResponseNonNullableFields, type index_d$3_DeleteMemberPhonesRequest as DeleteMemberPhonesRequest, type index_d$3_DeleteMemberPhonesResponse as DeleteMemberPhonesResponse, type index_d$3_DeleteMemberPhonesResponseNonNullableFields as DeleteMemberPhonesResponseNonNullableFields, type index_d$3_DeleteMemberRequest as DeleteMemberRequest, type index_d$3_DeleteMemberResponse as DeleteMemberResponse, type index_d$3_DeleteMyMemberOptions as DeleteMyMemberOptions, type index_d$3_DeleteMyMemberRequest as DeleteMyMemberRequest, type index_d$3_DeleteMyMemberResponse as DeleteMyMemberResponse, DeleteStatus$1 as DeleteStatus, type index_d$3_DisconnectMemberRequest as DisconnectMemberRequest, type index_d$3_DisconnectMemberResponse as DisconnectMemberResponse, type index_d$3_DisconnectMemberResponseNonNullableFields as DisconnectMemberResponseNonNullableFields, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$3 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$3_EventMetadata as EventMetadata, type index_d$3_ExtendedFields as ExtendedFields, type index_d$3_File as File, type index_d$3_GetCurrentMemberOptions as GetCurrentMemberOptions, type index_d$3_GetMemberOptions as GetMemberOptions, type index_d$3_GetMemberRequest as GetMemberRequest, type index_d$3_GetMemberResponse as GetMemberResponse, type index_d$3_GetMemberResponseNonNullableFields as GetMemberResponseNonNullableFields, type index_d$3_GetMyMemberRequest as GetMyMemberRequest, type index_d$3_GetMyMemberResponse as GetMyMemberResponse, type index_d$3_GetMyMemberResponseNonNullableFields as GetMyMemberResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$3_Image as Image, type index_d$3_InvalidateCache as InvalidateCache, type index_d$3_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$3_ItemMetadata as ItemMetadata, type index_d$3_JoinCommunityRequest as JoinCommunityRequest, type index_d$3_JoinCommunityResponse as JoinCommunityResponse, type index_d$3_JoinCommunityResponseNonNullableFields as JoinCommunityResponseNonNullableFields, type index_d$3_LeaveCommunityRequest as LeaveCommunityRequest, type index_d$3_LeaveCommunityResponse as LeaveCommunityResponse, type index_d$3_LeaveCommunityResponseNonNullableFields as LeaveCommunityResponseNonNullableFields, type index_d$3_ListMembersOptions as ListMembersOptions, type index_d$3_ListMembersRequest as ListMembersRequest, type index_d$3_ListMembersResponse as ListMembersResponse, type index_d$3_ListMembersResponseNonNullableFields as ListMembersResponseNonNullableFields, type index_d$3_Member as Member, type index_d$3_MemberApproved as MemberApproved, type index_d$3_MemberBlocked as MemberBlocked, type index_d$3_MemberCreatedEnvelope as MemberCreatedEnvelope, type index_d$3_MemberDeletedEnvelope as MemberDeletedEnvelope, type index_d$3_MemberIdChanged as MemberIdChanged, type index_d$3_MemberJoinedCommunity as MemberJoinedCommunity, type index_d$3_MemberLeftCommunity as MemberLeftCommunity, type index_d$3_MemberMuted as MemberMuted, type index_d$3_MemberNonNullableFields as MemberNonNullableFields, type index_d$3_MemberOwnershipTransferred as MemberOwnershipTransferred, type index_d$3_MemberSelfBlockForbiddenPayload as MemberSelfBlockForbiddenPayload, type index_d$3_MemberToMemberBlockedPayload as MemberToMemberBlockedPayload, type index_d$3_MemberUnmuted as MemberUnmuted, type index_d$3_MemberUpdatedEnvelope as MemberUpdatedEnvelope, type index_d$3_MembersQueryBuilder as MembersQueryBuilder, type index_d$3_MembersQueryResult as MembersQueryResult, type MessageEnvelope$1 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, type index_d$3_MuteMemberRequest as MuteMemberRequest, type index_d$3_MuteMemberResponse as MuteMemberResponse, type index_d$3_MuteMemberResponseNonNullableFields as MuteMemberResponseNonNullableFields, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type index_d$3_OwnerMemberBlockForbiddenPayload as OwnerMemberBlockForbiddenPayload, type index_d$3_Page as Page, type index_d$3_Paging as Paging, type index_d$3_PagingMetadata as PagingMetadata, index_d$3_PrivacyStatusStatus as PrivacyStatusStatus, type index_d$3_Profile as Profile, type Query$1 as Query, type index_d$3_QueryMembersOptions as QueryMembersOptions, type index_d$3_QueryMembersRequest as QueryMembersRequest, type index_d$3_QueryMembersResponse as QueryMembersResponse, type index_d$3_QueryMembersResponseNonNullableFields as QueryMembersResponseNonNullableFields, type index_d$3_Search as Search, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, index_d$3_Set as Set, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, type index_d$3_SlugAlreadyExistsPayload as SlugAlreadyExistsPayload, index_d$3_SortOrder as SortOrder, type index_d$3_Sorting as Sorting, State$1 as State, index_d$3_Status as Status, type index_d$3_StreetAddress as StreetAddress, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type index_d$3_URI as URI, type UndeleteInfo$1 as UndeleteInfo, type index_d$3_UnmuteMemberRequest as UnmuteMemberRequest, type index_d$3_UnmuteMemberResponse as UnmuteMemberResponse, type index_d$3_UnmuteMemberResponseNonNullableFields as UnmuteMemberResponseNonNullableFields, type index_d$3_UpdateMember as UpdateMember, type index_d$3_UpdateMemberRequest as UpdateMemberRequest, type index_d$3_UpdateMemberResponse as UpdateMemberResponse, type index_d$3_UpdateMemberResponseNonNullableFields as UpdateMemberResponseNonNullableFields, type index_d$3_UpdateMemberSlugRequest as UpdateMemberSlugRequest, type index_d$3_UpdateMemberSlugResponse as UpdateMemberSlugResponse, type index_d$3_UpdateMemberSlugResponseNonNullableFields as UpdateMemberSlugResponseNonNullableFields, type index_d$3_UpdateMySlugRequest as UpdateMySlugRequest, type index_d$3_UpdateMySlugResponse as UpdateMySlugResponse, type index_d$3_UpdateMySlugResponseNonNullableFields as UpdateMySlugResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, type index_d$3__publicApproveMemberType as _publicApproveMemberType, type _publicBlockMemberType$1 as _publicBlockMemberType, type index_d$3__publicBulkApproveMembersType as _publicBulkApproveMembersType, type index_d$3__publicBulkBlockMembersType as _publicBulkBlockMembersType, type index_d$3__publicBulkDeleteMembersByFilterType as _publicBulkDeleteMembersByFilterType, type index_d$3__publicBulkDeleteMembersType as _publicBulkDeleteMembersType, type index_d$3__publicCreateMemberType as _publicCreateMemberType, type index_d$3__publicDeleteMemberAddressesType as _publicDeleteMemberAddressesType, type index_d$3__publicDeleteMemberEmailsType as _publicDeleteMemberEmailsType, type index_d$3__publicDeleteMemberPhonesType as _publicDeleteMemberPhonesType, type index_d$3__publicDeleteMemberType as _publicDeleteMemberType, type index_d$3__publicDeleteMyMemberType as _publicDeleteMyMemberType, type index_d$3__publicDisconnectMemberType as _publicDisconnectMemberType, type index_d$3__publicGetCurrentMemberType as _publicGetCurrentMemberType, type index_d$3__publicGetMemberType as _publicGetMemberType, type index_d$3__publicJoinCommunityType as _publicJoinCommunityType, type index_d$3__publicLeaveCommunityType as _publicLeaveCommunityType, type index_d$3__publicListMembersType as _publicListMembersType, type index_d$3__publicMuteMemberType as _publicMuteMemberType, type index_d$3__publicOnMemberCreatedType as _publicOnMemberCreatedType, type index_d$3__publicOnMemberDeletedType as _publicOnMemberDeletedType, type index_d$3__publicOnMemberUpdatedType as _publicOnMemberUpdatedType, type index_d$3__publicQueryMembersType as _publicQueryMembersType, type index_d$3__publicUnmuteMemberType as _publicUnmuteMemberType, type index_d$3__publicUpdateCurrentMemberSlugType as _publicUpdateCurrentMemberSlugType, type index_d$3__publicUpdateMemberSlugType as _publicUpdateMemberSlugType, type index_d$3__publicUpdateMemberType as _publicUpdateMemberType, index_d$3_approveMember as approveMember, blockMember$2 as blockMember, index_d$3_bulkApproveMembers as bulkApproveMembers, index_d$3_bulkBlockMembers as bulkBlockMembers, index_d$3_bulkDeleteMembers as bulkDeleteMembers, index_d$3_bulkDeleteMembersByFilter as bulkDeleteMembersByFilter, index_d$3_createMember as createMember, index_d$3_deleteMember as deleteMember, index_d$3_deleteMemberAddresses as deleteMemberAddresses, index_d$3_deleteMemberEmails as deleteMemberEmails, index_d$3_deleteMemberPhones as deleteMemberPhones, index_d$3_deleteMyMember as deleteMyMember, index_d$3_disconnectMember as disconnectMember, index_d$3_getCurrentMember as getCurrentMember, index_d$3_getMember as getMember, index_d$3_joinCommunity as joinCommunity, index_d$3_leaveCommunity as leaveCommunity, index_d$3_listMembers as listMembers, index_d$3_muteMember as muteMember, index_d$3_onMemberCreated as onMemberCreated, index_d$3_onMemberDeleted as onMemberDeleted, index_d$3_onMemberUpdated as onMemberUpdated, onMemberCreated$1 as publicOnMemberCreated, onMemberDeleted$1 as publicOnMemberDeleted, onMemberUpdated$1 as publicOnMemberUpdated, index_d$3_queryMembers as queryMembers, index_d$3_unmuteMember as unmuteMember, index_d$3_updateCurrentMemberSlug as updateCurrentMemberSlug, index_d$3_updateMember as updateMember, index_d$3_updateMemberSlug as updateMemberSlug };
4638
5461
  }
4639
5462
 
4640
5463
  interface MemberRoleDefinition {
@@ -4984,13 +5807,44 @@ interface UpdateMemberRoleDefinitionOptions {
4984
5807
  revision: string | null;
4985
5808
  }
4986
5809
 
5810
+ declare function createMemberRoleDefinition$1(httpClient: HttpClient): CreateMemberRoleDefinitionSignature;
5811
+ interface CreateMemberRoleDefinitionSignature {
5812
+ /** */
5813
+ (roleKey: string, options?: CreateMemberRoleDefinitionOptions | undefined): Promise<CreateMemberRoleDefinitionResponse & CreateMemberRoleDefinitionResponseNonNullableFields>;
5814
+ }
5815
+ declare function listMemberRoleDefinitions$1(httpClient: HttpClient): ListMemberRoleDefinitionsSignature;
5816
+ interface ListMemberRoleDefinitionsSignature {
5817
+ /** */
5818
+ (): Promise<ListMemberRoleDefinitionsResponse & ListMemberRoleDefinitionsResponseNonNullableFields>;
5819
+ }
5820
+ declare function getMemberRoleDefinition$1(httpClient: HttpClient): GetMemberRoleDefinitionSignature;
5821
+ interface GetMemberRoleDefinitionSignature {
5822
+ /** */
5823
+ (roleKey: string): Promise<GetMemberRoleDefinitionResponse & GetMemberRoleDefinitionResponseNonNullableFields>;
5824
+ }
5825
+ declare function updateMemberRoleDefinition$1(httpClient: HttpClient): UpdateMemberRoleDefinitionSignature;
5826
+ interface UpdateMemberRoleDefinitionSignature {
5827
+ /** */
5828
+ (key: string, options?: UpdateMemberRoleDefinitionOptions | undefined): Promise<UpdateMemberRoleDefinitionResponse & UpdateMemberRoleDefinitionResponseNonNullableFields>;
5829
+ }
5830
+ declare function deleteMemberRoleDefinition$1(httpClient: HttpClient): DeleteMemberRoleDefinitionSignature;
5831
+ interface DeleteMemberRoleDefinitionSignature {
5832
+ /** */
5833
+ (roleKey: string): Promise<void>;
5834
+ }
5835
+
4987
5836
  declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4988
5837
 
4989
- declare const createMemberRoleDefinition: ReturnType<typeof createRESTModule$2<typeof publicCreateMemberRoleDefinition>>;
4990
- declare const listMemberRoleDefinitions: ReturnType<typeof createRESTModule$2<typeof publicListMemberRoleDefinitions>>;
4991
- declare const getMemberRoleDefinition: ReturnType<typeof createRESTModule$2<typeof publicGetMemberRoleDefinition>>;
4992
- declare const updateMemberRoleDefinition: ReturnType<typeof createRESTModule$2<typeof publicUpdateMemberRoleDefinition>>;
4993
- declare const deleteMemberRoleDefinition: ReturnType<typeof createRESTModule$2<typeof publicDeleteMemberRoleDefinition>>;
5838
+ type _publicCreateMemberRoleDefinitionType = typeof createMemberRoleDefinition$1;
5839
+ declare const createMemberRoleDefinition: ReturnType<typeof createRESTModule$2<_publicCreateMemberRoleDefinitionType>>;
5840
+ type _publicListMemberRoleDefinitionsType = typeof listMemberRoleDefinitions$1;
5841
+ declare const listMemberRoleDefinitions: ReturnType<typeof createRESTModule$2<_publicListMemberRoleDefinitionsType>>;
5842
+ type _publicGetMemberRoleDefinitionType = typeof getMemberRoleDefinition$1;
5843
+ declare const getMemberRoleDefinition: ReturnType<typeof createRESTModule$2<_publicGetMemberRoleDefinitionType>>;
5844
+ type _publicUpdateMemberRoleDefinitionType = typeof updateMemberRoleDefinition$1;
5845
+ declare const updateMemberRoleDefinition: ReturnType<typeof createRESTModule$2<_publicUpdateMemberRoleDefinitionType>>;
5846
+ type _publicDeleteMemberRoleDefinitionType = typeof deleteMemberRoleDefinition$1;
5847
+ declare const deleteMemberRoleDefinition: ReturnType<typeof createRESTModule$2<_publicDeleteMemberRoleDefinitionType>>;
4994
5848
 
4995
5849
  type index_d$2_Asset = Asset;
4996
5850
  type index_d$2_CreateMemberRoleDefinitionOptions = CreateMemberRoleDefinitionOptions;
@@ -5038,13 +5892,18 @@ type index_d$2_UpdateMemberRoleDefinitionOptions = UpdateMemberRoleDefinitionOpt
5038
5892
  type index_d$2_UpdateMemberRoleDefinitionRequest = UpdateMemberRoleDefinitionRequest;
5039
5893
  type index_d$2_UpdateMemberRoleDefinitionResponse = UpdateMemberRoleDefinitionResponse;
5040
5894
  type index_d$2_UpdateMemberRoleDefinitionResponseNonNullableFields = UpdateMemberRoleDefinitionResponseNonNullableFields;
5895
+ type index_d$2__publicCreateMemberRoleDefinitionType = _publicCreateMemberRoleDefinitionType;
5896
+ type index_d$2__publicDeleteMemberRoleDefinitionType = _publicDeleteMemberRoleDefinitionType;
5897
+ type index_d$2__publicGetMemberRoleDefinitionType = _publicGetMemberRoleDefinitionType;
5898
+ type index_d$2__publicListMemberRoleDefinitionsType = _publicListMemberRoleDefinitionsType;
5899
+ type index_d$2__publicUpdateMemberRoleDefinitionType = _publicUpdateMemberRoleDefinitionType;
5041
5900
  declare const index_d$2_createMemberRoleDefinition: typeof createMemberRoleDefinition;
5042
5901
  declare const index_d$2_deleteMemberRoleDefinition: typeof deleteMemberRoleDefinition;
5043
5902
  declare const index_d$2_getMemberRoleDefinition: typeof getMemberRoleDefinition;
5044
5903
  declare const index_d$2_listMemberRoleDefinitions: typeof listMemberRoleDefinitions;
5045
5904
  declare const index_d$2_updateMemberRoleDefinition: typeof updateMemberRoleDefinition;
5046
5905
  declare namespace index_d$2 {
5047
- export { type index_d$2_Asset as Asset, type index_d$2_CreateMemberRoleDefinitionOptions as CreateMemberRoleDefinitionOptions, type index_d$2_CreateMemberRoleDefinitionRequest as CreateMemberRoleDefinitionRequest, type index_d$2_CreateMemberRoleDefinitionResponse as CreateMemberRoleDefinitionResponse, type index_d$2_CreateMemberRoleDefinitionResponseNonNullableFields as CreateMemberRoleDefinitionResponseNonNullableFields, type index_d$2_DeleteContext as DeleteContext, type index_d$2_DeleteMemberRoleDefinitionRequest as DeleteMemberRoleDefinitionRequest, type index_d$2_DeleteMemberRoleDefinitionResponse as DeleteMemberRoleDefinitionResponse, index_d$2_DeleteStatus as DeleteStatus, type Empty$2 as Empty, type index_d$2_GetMemberRoleDefinitionRequest as GetMemberRoleDefinitionRequest, type index_d$2_GetMemberRoleDefinitionResponse as GetMemberRoleDefinitionResponse, type index_d$2_GetMemberRoleDefinitionResponseNonNullableFields as GetMemberRoleDefinitionResponseNonNullableFields, type index_d$2_ListMemberRoleDefinitionsRequest as ListMemberRoleDefinitionsRequest, type index_d$2_ListMemberRoleDefinitionsResponse as ListMemberRoleDefinitionsResponse, type index_d$2_ListMemberRoleDefinitionsResponseNonNullableFields as ListMemberRoleDefinitionsResponseNonNullableFields, type index_d$2_MemberRoleDefinition as MemberRoleDefinition, type index_d$2_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$2_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d$2_Namespace as Namespace, type index_d$2_NamespaceChanged as NamespaceChanged, type index_d$2_ServiceProvisioned as ServiceProvisioned, type index_d$2_ServiceRemoved as ServiceRemoved, type index_d$2_SiteCreated as SiteCreated, index_d$2_SiteCreatedContext as SiteCreatedContext, type index_d$2_SiteDeleted as SiteDeleted, type index_d$2_SiteHardDeleted as SiteHardDeleted, type index_d$2_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$2_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$2_SitePublished as SitePublished, type index_d$2_SiteRenamed as SiteRenamed, type index_d$2_SiteTransferred as SiteTransferred, type index_d$2_SiteUndeleted as SiteUndeleted, type index_d$2_SiteUnpublished as SiteUnpublished, index_d$2_State as State, type index_d$2_StudioAssigned as StudioAssigned, type index_d$2_StudioUnassigned as StudioUnassigned, type index_d$2_SyncMetaSiteRolesRequest as SyncMetaSiteRolesRequest, type index_d$2_SyncMetaSiteRolesResponse as SyncMetaSiteRolesResponse, type index_d$2_UpdateMemberRoleDefinitionOptions as UpdateMemberRoleDefinitionOptions, type index_d$2_UpdateMemberRoleDefinitionRequest as UpdateMemberRoleDefinitionRequest, type index_d$2_UpdateMemberRoleDefinitionResponse as UpdateMemberRoleDefinitionResponse, type index_d$2_UpdateMemberRoleDefinitionResponseNonNullableFields as UpdateMemberRoleDefinitionResponseNonNullableFields, index_d$2_createMemberRoleDefinition as createMemberRoleDefinition, index_d$2_deleteMemberRoleDefinition as deleteMemberRoleDefinition, index_d$2_getMemberRoleDefinition as getMemberRoleDefinition, index_d$2_listMemberRoleDefinitions as listMemberRoleDefinitions, index_d$2_updateMemberRoleDefinition as updateMemberRoleDefinition };
5906
+ export { type index_d$2_Asset as Asset, type index_d$2_CreateMemberRoleDefinitionOptions as CreateMemberRoleDefinitionOptions, type index_d$2_CreateMemberRoleDefinitionRequest as CreateMemberRoleDefinitionRequest, type index_d$2_CreateMemberRoleDefinitionResponse as CreateMemberRoleDefinitionResponse, type index_d$2_CreateMemberRoleDefinitionResponseNonNullableFields as CreateMemberRoleDefinitionResponseNonNullableFields, type index_d$2_DeleteContext as DeleteContext, type index_d$2_DeleteMemberRoleDefinitionRequest as DeleteMemberRoleDefinitionRequest, type index_d$2_DeleteMemberRoleDefinitionResponse as DeleteMemberRoleDefinitionResponse, index_d$2_DeleteStatus as DeleteStatus, type Empty$2 as Empty, type index_d$2_GetMemberRoleDefinitionRequest as GetMemberRoleDefinitionRequest, type index_d$2_GetMemberRoleDefinitionResponse as GetMemberRoleDefinitionResponse, type index_d$2_GetMemberRoleDefinitionResponseNonNullableFields as GetMemberRoleDefinitionResponseNonNullableFields, type index_d$2_ListMemberRoleDefinitionsRequest as ListMemberRoleDefinitionsRequest, type index_d$2_ListMemberRoleDefinitionsResponse as ListMemberRoleDefinitionsResponse, type index_d$2_ListMemberRoleDefinitionsResponseNonNullableFields as ListMemberRoleDefinitionsResponseNonNullableFields, type index_d$2_MemberRoleDefinition as MemberRoleDefinition, type index_d$2_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$2_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d$2_Namespace as Namespace, type index_d$2_NamespaceChanged as NamespaceChanged, type index_d$2_ServiceProvisioned as ServiceProvisioned, type index_d$2_ServiceRemoved as ServiceRemoved, type index_d$2_SiteCreated as SiteCreated, index_d$2_SiteCreatedContext as SiteCreatedContext, type index_d$2_SiteDeleted as SiteDeleted, type index_d$2_SiteHardDeleted as SiteHardDeleted, type index_d$2_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$2_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$2_SitePublished as SitePublished, type index_d$2_SiteRenamed as SiteRenamed, type index_d$2_SiteTransferred as SiteTransferred, type index_d$2_SiteUndeleted as SiteUndeleted, type index_d$2_SiteUnpublished as SiteUnpublished, index_d$2_State as State, type index_d$2_StudioAssigned as StudioAssigned, type index_d$2_StudioUnassigned as StudioUnassigned, type index_d$2_SyncMetaSiteRolesRequest as SyncMetaSiteRolesRequest, type index_d$2_SyncMetaSiteRolesResponse as SyncMetaSiteRolesResponse, type index_d$2_UpdateMemberRoleDefinitionOptions as UpdateMemberRoleDefinitionOptions, type index_d$2_UpdateMemberRoleDefinitionRequest as UpdateMemberRoleDefinitionRequest, type index_d$2_UpdateMemberRoleDefinitionResponse as UpdateMemberRoleDefinitionResponse, type index_d$2_UpdateMemberRoleDefinitionResponseNonNullableFields as UpdateMemberRoleDefinitionResponseNonNullableFields, type index_d$2__publicCreateMemberRoleDefinitionType as _publicCreateMemberRoleDefinitionType, type index_d$2__publicDeleteMemberRoleDefinitionType as _publicDeleteMemberRoleDefinitionType, type index_d$2__publicGetMemberRoleDefinitionType as _publicGetMemberRoleDefinitionType, type index_d$2__publicListMemberRoleDefinitionsType as _publicListMemberRoleDefinitionsType, type index_d$2__publicUpdateMemberRoleDefinitionType as _publicUpdateMemberRoleDefinitionType, index_d$2_createMemberRoleDefinition as createMemberRoleDefinition, index_d$2_deleteMemberRoleDefinition as deleteMemberRoleDefinition, index_d$2_getMemberRoleDefinition as getMemberRoleDefinition, index_d$2_listMemberRoleDefinitions as listMemberRoleDefinitions, index_d$2_updateMemberRoleDefinition as updateMemberRoleDefinition };
5048
5907
  }
5049
5908
 
5050
5909
  /** Member-to-member block. */
@@ -5291,12 +6150,48 @@ interface ListMemberBlocksOptions {
5291
6150
  cursorPaging?: CursorPaging;
5292
6151
  }
5293
6152
 
6153
+ declare function blockMember$1(httpClient: HttpClient): BlockMemberSignature;
6154
+ interface BlockMemberSignature {
6155
+ /**
6156
+ * Blocks the specified member from the current member.
6157
+ * @param - ID of a member to block.
6158
+ */
6159
+ (memberId: string): Promise<void>;
6160
+ }
6161
+ declare function unblockMember$1(httpClient: HttpClient): UnblockMemberSignature;
6162
+ interface UnblockMemberSignature {
6163
+ /**
6164
+ * Unblocks the specified member from the current member.
6165
+ * @param - ID of a member to unblock.
6166
+ */
6167
+ (memberId: string): Promise<void>;
6168
+ }
6169
+ declare function listCurrentMemberBlocking$1(httpClient: HttpClient): ListCurrentMemberBlockingSignature;
6170
+ interface ListCurrentMemberBlockingSignature {
6171
+ /**
6172
+ * Returns information about members blocked by the current member.
6173
+ */
6174
+ (options?: ListCurrentMemberBlockingOptions | undefined): Promise<ListCurrentMemberBlockingResponse & ListCurrentMemberBlockingResponseNonNullableFields>;
6175
+ }
6176
+ declare function listMemberBlocks$1(httpClient: HttpClient): ListMemberBlocksSignature;
6177
+ interface ListMemberBlocksSignature {
6178
+ /**
6179
+ * Returns IDs of members that are blocking or blocked by the member whose ID was provided.
6180
+ * @param - ID of a member whose blocks are requested.
6181
+ */
6182
+ (memberId: string, options?: ListMemberBlocksOptions | undefined): Promise<ListMemberBlocksResponse & ListMemberBlocksResponseNonNullableFields>;
6183
+ }
6184
+
5294
6185
  declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
5295
6186
 
5296
- declare const blockMember: ReturnType<typeof createRESTModule$1<typeof publicBlockMember>>;
5297
- declare const unblockMember: ReturnType<typeof createRESTModule$1<typeof publicUnblockMember>>;
5298
- declare const listCurrentMemberBlocking: ReturnType<typeof createRESTModule$1<typeof publicListCurrentMemberBlocking>>;
5299
- declare const listMemberBlocks: ReturnType<typeof createRESTModule$1<typeof publicListMemberBlocks>>;
6187
+ type _publicBlockMemberType = typeof blockMember$1;
6188
+ declare const blockMember: ReturnType<typeof createRESTModule$1<_publicBlockMemberType>>;
6189
+ type _publicUnblockMemberType = typeof unblockMember$1;
6190
+ declare const unblockMember: ReturnType<typeof createRESTModule$1<_publicUnblockMemberType>>;
6191
+ type _publicListCurrentMemberBlockingType = typeof listCurrentMemberBlocking$1;
6192
+ declare const listCurrentMemberBlocking: ReturnType<typeof createRESTModule$1<_publicListCurrentMemberBlockingType>>;
6193
+ type _publicListMemberBlocksType = typeof listMemberBlocks$1;
6194
+ declare const listMemberBlocks: ReturnType<typeof createRESTModule$1<_publicListMemberBlocksType>>;
5300
6195
 
5301
6196
  type index_d$1_ActionEvent = ActionEvent;
5302
6197
  type index_d$1_AdminBlockingForbiddenError = AdminBlockingForbiddenError;
@@ -5336,12 +6231,16 @@ type index_d$1_UnblockMemberResponse = UnblockMemberResponse;
5336
6231
  type index_d$1_UndeleteInfo = UndeleteInfo;
5337
6232
  type index_d$1_WebhookIdentityType = WebhookIdentityType;
5338
6233
  declare const index_d$1_WebhookIdentityType: typeof WebhookIdentityType;
6234
+ type index_d$1__publicBlockMemberType = _publicBlockMemberType;
6235
+ type index_d$1__publicListCurrentMemberBlockingType = _publicListCurrentMemberBlockingType;
6236
+ type index_d$1__publicListMemberBlocksType = _publicListMemberBlocksType;
6237
+ type index_d$1__publicUnblockMemberType = _publicUnblockMemberType;
5339
6238
  declare const index_d$1_blockMember: typeof blockMember;
5340
6239
  declare const index_d$1_listCurrentMemberBlocking: typeof listCurrentMemberBlocking;
5341
6240
  declare const index_d$1_listMemberBlocks: typeof listMemberBlocks;
5342
6241
  declare const index_d$1_unblockMember: typeof unblockMember;
5343
6242
  declare namespace index_d$1 {
5344
- export { type index_d$1_ActionEvent as ActionEvent, type index_d$1_AdminBlockingForbiddenError as AdminBlockingForbiddenError, index_d$1_BlockDirection as BlockDirection, type index_d$1_BlockDoesNotExistError as BlockDoesNotExistError, type index_d$1_BlockMemberRequest as BlockMemberRequest, type index_d$1_BlockMemberResponse as BlockMemberResponse, type index_d$1_CursorPaging as CursorPaging, type index_d$1_Cursors as Cursors, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type Empty$1 as Empty, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_ListCurrentMemberBlockingOptions as ListCurrentMemberBlockingOptions, type index_d$1_ListCurrentMemberBlockingRequest as ListCurrentMemberBlockingRequest, type index_d$1_ListCurrentMemberBlockingResponse as ListCurrentMemberBlockingResponse, type index_d$1_ListCurrentMemberBlockingResponseNonNullableFields as ListCurrentMemberBlockingResponseNonNullableFields, type index_d$1_ListMemberBlocksOptions as ListMemberBlocksOptions, type index_d$1_ListMemberBlocksRequest as ListMemberBlocksRequest, type index_d$1_ListMemberBlocksResponse as ListMemberBlocksResponse, type index_d$1_ListMemberBlocksResponseNonNullableFields as ListMemberBlocksResponseNonNullableFields, type index_d$1_MemberAlreadyBlockedError as MemberAlreadyBlockedError, type index_d$1_MemberBlock as MemberBlock, type index_d$1_MemberBlockedByMember as MemberBlockedByMember, type index_d$1_MemberToMemberBlock as MemberToMemberBlock, type index_d$1_MemberUnblockedByMember as MemberUnblockedByMember, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_SelfBlockingForbiddenError as SelfBlockingForbiddenError, type index_d$1_SelfUnblockingForbiddenError as SelfUnblockingForbiddenError, type index_d$1_UnblockMemberRequest as UnblockMemberRequest, type index_d$1_UnblockMemberResponse as UnblockMemberResponse, type index_d$1_UndeleteInfo as UndeleteInfo, index_d$1_WebhookIdentityType as WebhookIdentityType, index_d$1_blockMember as blockMember, index_d$1_listCurrentMemberBlocking as listCurrentMemberBlocking, index_d$1_listMemberBlocks as listMemberBlocks, index_d$1_unblockMember as unblockMember };
6243
+ export { type index_d$1_ActionEvent as ActionEvent, type index_d$1_AdminBlockingForbiddenError as AdminBlockingForbiddenError, index_d$1_BlockDirection as BlockDirection, type index_d$1_BlockDoesNotExistError as BlockDoesNotExistError, type index_d$1_BlockMemberRequest as BlockMemberRequest, type index_d$1_BlockMemberResponse as BlockMemberResponse, type index_d$1_CursorPaging as CursorPaging, type index_d$1_Cursors as Cursors, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type Empty$1 as Empty, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_ListCurrentMemberBlockingOptions as ListCurrentMemberBlockingOptions, type index_d$1_ListCurrentMemberBlockingRequest as ListCurrentMemberBlockingRequest, type index_d$1_ListCurrentMemberBlockingResponse as ListCurrentMemberBlockingResponse, type index_d$1_ListCurrentMemberBlockingResponseNonNullableFields as ListCurrentMemberBlockingResponseNonNullableFields, type index_d$1_ListMemberBlocksOptions as ListMemberBlocksOptions, type index_d$1_ListMemberBlocksRequest as ListMemberBlocksRequest, type index_d$1_ListMemberBlocksResponse as ListMemberBlocksResponse, type index_d$1_ListMemberBlocksResponseNonNullableFields as ListMemberBlocksResponseNonNullableFields, type index_d$1_MemberAlreadyBlockedError as MemberAlreadyBlockedError, type index_d$1_MemberBlock as MemberBlock, type index_d$1_MemberBlockedByMember as MemberBlockedByMember, type index_d$1_MemberToMemberBlock as MemberToMemberBlock, type index_d$1_MemberUnblockedByMember as MemberUnblockedByMember, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_SelfBlockingForbiddenError as SelfBlockingForbiddenError, type index_d$1_SelfUnblockingForbiddenError as SelfUnblockingForbiddenError, type index_d$1_UnblockMemberRequest as UnblockMemberRequest, type index_d$1_UnblockMemberResponse as UnblockMemberResponse, type index_d$1_UndeleteInfo as UndeleteInfo, index_d$1_WebhookIdentityType as WebhookIdentityType, type index_d$1__publicBlockMemberType as _publicBlockMemberType, type index_d$1__publicListCurrentMemberBlockingType as _publicListCurrentMemberBlockingType, type index_d$1__publicListMemberBlocksType as _publicListMemberBlocksType, type index_d$1__publicUnblockMemberType as _publicUnblockMemberType, index_d$1_blockMember as blockMember, index_d$1_listCurrentMemberBlocking as listCurrentMemberBlocking, index_d$1_listMemberBlocks as listMemberBlocks, index_d$1_unblockMember as unblockMember };
5345
6244
  }
5346
6245
 
5347
6246
  interface Role {
@@ -5419,12 +6318,37 @@ interface QueryRolesOptions {
5419
6318
  query?: Query;
5420
6319
  }
5421
6320
 
6321
+ declare function assignRole$1(httpClient: HttpClient): AssignRoleSignature;
6322
+ interface AssignRoleSignature {
6323
+ /** */
6324
+ (memberId: string, roleKey: string): Promise<AssignRoleResponse & AssignRoleResponseNonNullableFields>;
6325
+ }
6326
+ declare function unassignRole$1(httpClient: HttpClient): UnassignRoleSignature;
6327
+ interface UnassignRoleSignature {
6328
+ /** */
6329
+ (memberId: string, roleKey: string): Promise<UnassignRoleResponse & UnassignRoleResponseNonNullableFields>;
6330
+ }
6331
+ declare function getRoles$1(httpClient: HttpClient): GetRolesSignature;
6332
+ interface GetRolesSignature {
6333
+ /** */
6334
+ (memberId: string): Promise<GetRolesResponse & GetRolesResponseNonNullableFields>;
6335
+ }
6336
+ declare function queryRoles$1(httpClient: HttpClient): QueryRolesSignature;
6337
+ interface QueryRolesSignature {
6338
+ /** */
6339
+ (options?: QueryRolesOptions | undefined): Promise<QueryRolesResponse>;
6340
+ }
6341
+
5422
6342
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
5423
6343
 
5424
- declare const assignRole: ReturnType<typeof createRESTModule<typeof publicAssignRole>>;
5425
- declare const unassignRole: ReturnType<typeof createRESTModule<typeof publicUnassignRole>>;
5426
- declare const getRoles: ReturnType<typeof createRESTModule<typeof publicGetRoles>>;
5427
- declare const queryRoles: ReturnType<typeof createRESTModule<typeof publicQueryRoles>>;
6344
+ type _publicAssignRoleType = typeof assignRole$1;
6345
+ declare const assignRole: ReturnType<typeof createRESTModule<_publicAssignRoleType>>;
6346
+ type _publicUnassignRoleType = typeof unassignRole$1;
6347
+ declare const unassignRole: ReturnType<typeof createRESTModule<_publicUnassignRoleType>>;
6348
+ type _publicGetRolesType = typeof getRoles$1;
6349
+ declare const getRoles: ReturnType<typeof createRESTModule<_publicGetRolesType>>;
6350
+ type _publicQueryRolesType = typeof queryRoles$1;
6351
+ declare const queryRoles: ReturnType<typeof createRESTModule<_publicQueryRolesType>>;
5428
6352
 
5429
6353
  type index_d_AssignRoleRequest = AssignRoleRequest;
5430
6354
  type index_d_AssignRoleResponse = AssignRoleResponse;
@@ -5445,12 +6369,16 @@ type index_d_Role = Role;
5445
6369
  type index_d_UnassignRoleRequest = UnassignRoleRequest;
5446
6370
  type index_d_UnassignRoleResponse = UnassignRoleResponse;
5447
6371
  type index_d_UnassignRoleResponseNonNullableFields = UnassignRoleResponseNonNullableFields;
6372
+ type index_d__publicAssignRoleType = _publicAssignRoleType;
6373
+ type index_d__publicGetRolesType = _publicGetRolesType;
6374
+ type index_d__publicQueryRolesType = _publicQueryRolesType;
6375
+ type index_d__publicUnassignRoleType = _publicUnassignRoleType;
5448
6376
  declare const index_d_assignRole: typeof assignRole;
5449
6377
  declare const index_d_getRoles: typeof getRoles;
5450
6378
  declare const index_d_queryRoles: typeof queryRoles;
5451
6379
  declare const index_d_unassignRole: typeof unassignRole;
5452
6380
  declare namespace index_d {
5453
- export { type index_d_AssignRoleRequest as AssignRoleRequest, type index_d_AssignRoleResponse as AssignRoleResponse, type index_d_AssignRoleResponseNonNullableFields as AssignRoleResponseNonNullableFields, type index_d_Empty as Empty, type index_d_GetRolesRequest as GetRolesRequest, type index_d_GetRolesResponse as GetRolesResponse, type index_d_GetRolesResponseNonNullableFields as GetRolesResponseNonNullableFields, type index_d_MemberRole as MemberRole, type index_d_PolicyAssignedToContributor as PolicyAssignedToContributor, type index_d_PolicyRemovedFromContributor as PolicyRemovedFromContributor, type index_d_PolicyUpdatedForContributor as PolicyUpdatedForContributor, type index_d_Query as Query, type index_d_QueryRolesOptions as QueryRolesOptions, type index_d_QueryRolesRequest as QueryRolesRequest, type index_d_QueryRolesResponse as QueryRolesResponse, type index_d_Role as Role, type index_d_UnassignRoleRequest as UnassignRoleRequest, type index_d_UnassignRoleResponse as UnassignRoleResponse, type index_d_UnassignRoleResponseNonNullableFields as UnassignRoleResponseNonNullableFields, index_d_assignRole as assignRole, index_d_getRoles as getRoles, index_d_queryRoles as queryRoles, index_d_unassignRole as unassignRole };
6381
+ export { type index_d_AssignRoleRequest as AssignRoleRequest, type index_d_AssignRoleResponse as AssignRoleResponse, type index_d_AssignRoleResponseNonNullableFields as AssignRoleResponseNonNullableFields, type index_d_Empty as Empty, type index_d_GetRolesRequest as GetRolesRequest, type index_d_GetRolesResponse as GetRolesResponse, type index_d_GetRolesResponseNonNullableFields as GetRolesResponseNonNullableFields, type index_d_MemberRole as MemberRole, type index_d_PolicyAssignedToContributor as PolicyAssignedToContributor, type index_d_PolicyRemovedFromContributor as PolicyRemovedFromContributor, type index_d_PolicyUpdatedForContributor as PolicyUpdatedForContributor, type index_d_Query as Query, type index_d_QueryRolesOptions as QueryRolesOptions, type index_d_QueryRolesRequest as QueryRolesRequest, type index_d_QueryRolesResponse as QueryRolesResponse, type index_d_Role as Role, type index_d_UnassignRoleRequest as UnassignRoleRequest, type index_d_UnassignRoleResponse as UnassignRoleResponse, type index_d_UnassignRoleResponseNonNullableFields as UnassignRoleResponseNonNullableFields, type index_d__publicAssignRoleType as _publicAssignRoleType, type index_d__publicGetRolesType as _publicGetRolesType, type index_d__publicQueryRolesType as _publicQueryRolesType, type index_d__publicUnassignRoleType as _publicUnassignRoleType, index_d_assignRole as assignRole, index_d_getRoles as getRoles, index_d_queryRoles as queryRoles, index_d_unassignRole as unassignRole };
5454
6382
  }
5455
6383
 
5456
6384
  export { index_d$7 as authentication, index_d as authorization, index_d$8 as badges, index_d$5 as customField, index_d$4 as customFieldSuggestion, index_d$2 as memberRoleDefinition, index_d$1 as memberToMemberBlock, index_d$3 as members, index_d$6 as userMember };