@wix/auto_sdk_members_members 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +23 -52
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +27 -54
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +23 -52
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +27 -54
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +23 -52
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +27 -54
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +23 -52
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +27 -54
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1626,6 +1626,8 @@ interface MemberCreatedEnvelope {
|
|
|
1626
1626
|
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
1627
1627
|
* @permissionScope Manage Portfolio
|
|
1628
1628
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
1629
|
+
* @permissionScope View SEO Settings
|
|
1630
|
+
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
1629
1631
|
* @permissionScope Manage Blog
|
|
1630
1632
|
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
1631
1633
|
* @permissionScope Access Verticals by Automations
|
|
@@ -1664,6 +1666,8 @@ interface MemberDeletedEnvelope {
|
|
|
1664
1666
|
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
1665
1667
|
* @permissionScope Manage Portfolio
|
|
1666
1668
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
1669
|
+
* @permissionScope View SEO Settings
|
|
1670
|
+
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
1667
1671
|
* @permissionScope Manage Blog
|
|
1668
1672
|
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
1669
1673
|
* @permissionScope Access Verticals by Automations
|
|
@@ -1701,6 +1705,8 @@ interface MemberUpdatedEnvelope {
|
|
|
1701
1705
|
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
1702
1706
|
* @permissionScope Manage Portfolio
|
|
1703
1707
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
1708
|
+
* @permissionScope View SEO Settings
|
|
1709
|
+
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
1704
1710
|
* @permissionScope Manage Blog
|
|
1705
1711
|
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
1706
1712
|
* @permissionScope Access Verticals by Automations
|
|
@@ -1722,7 +1728,6 @@ interface MemberUpdatedEnvelope {
|
|
|
1722
1728
|
* @slug updated
|
|
1723
1729
|
*/
|
|
1724
1730
|
declare function onMemberUpdated(handler: (event: MemberUpdatedEnvelope) => void | Promise<void>): void;
|
|
1725
|
-
type MemberNonNullablePaths = `status` | `contact.phones` | `contact.emails` | `contact.addresses` | `contact.addresses.${number}.streetAddress.number` | `contact.addresses.${number}.streetAddress.name` | `profile.photo._id` | `profile.photo.url` | `profile.photo.height` | `profile.photo.width` | `privacyStatus` | `activityStatus`;
|
|
1726
1731
|
/**
|
|
1727
1732
|
* Updates the currently logged in member's slug.
|
|
1728
1733
|
*
|
|
@@ -1739,9 +1744,7 @@ type MemberNonNullablePaths = `status` | `contact.phones` | `contact.emails` | `
|
|
|
1739
1744
|
* @applicableIdentity MEMBER
|
|
1740
1745
|
* @fqn com.wixpress.members.api.Members.UpdateMySlug
|
|
1741
1746
|
*/
|
|
1742
|
-
declare function updateCurrentMemberSlug(slug: string): Promise<NonNullablePaths<UpdateMySlugResponse, {
|
|
1743
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
1744
|
-
}[MemberNonNullablePaths]> & {
|
|
1747
|
+
declare function updateCurrentMemberSlug(slug: string): Promise<NonNullablePaths<UpdateMySlugResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7> & {
|
|
1745
1748
|
__applicationErrorsType?: UpdateCurrentMemberSlugApplicationErrors;
|
|
1746
1749
|
}>;
|
|
1747
1750
|
/**
|
|
@@ -1756,9 +1759,7 @@ declare function updateCurrentMemberSlug(slug: string): Promise<NonNullablePaths
|
|
|
1756
1759
|
* @applicableIdentity MEMBER
|
|
1757
1760
|
* @fqn com.wixpress.members.api.Members.UpdateMemberSlug
|
|
1758
1761
|
*/
|
|
1759
|
-
declare function updateMemberSlug(_id: string, slug: string): Promise<NonNullablePaths<UpdateMemberSlugResponse, {
|
|
1760
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
1761
|
-
}[MemberNonNullablePaths]> & {
|
|
1762
|
+
declare function updateMemberSlug(_id: string, slug: string): Promise<NonNullablePaths<UpdateMemberSlugResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7> & {
|
|
1762
1763
|
__applicationErrorsType?: UpdateMemberSlugApplicationErrors;
|
|
1763
1764
|
}>;
|
|
1764
1765
|
/**
|
|
@@ -1779,9 +1780,7 @@ declare function updateMemberSlug(_id: string, slug: string): Promise<NonNullabl
|
|
|
1779
1780
|
* @returns Member profile.
|
|
1780
1781
|
* @fqn com.wixpress.members.api.Members.JoinCommunity
|
|
1781
1782
|
*/
|
|
1782
|
-
declare function joinCommunity(): Promise<NonNullablePaths<JoinCommunityResponse, {
|
|
1783
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
1784
|
-
}[MemberNonNullablePaths]> & {
|
|
1783
|
+
declare function joinCommunity(): Promise<NonNullablePaths<JoinCommunityResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7> & {
|
|
1785
1784
|
__applicationErrorsType?: JoinCommunityApplicationErrors;
|
|
1786
1785
|
}>;
|
|
1787
1786
|
/**
|
|
@@ -1805,9 +1804,7 @@ declare function joinCommunity(): Promise<NonNullablePaths<JoinCommunityResponse
|
|
|
1805
1804
|
* @returns Member profile.
|
|
1806
1805
|
* @fqn com.wixpress.members.api.Members.LeaveCommunity
|
|
1807
1806
|
*/
|
|
1808
|
-
declare function leaveCommunity(): Promise<NonNullablePaths<LeaveCommunityResponse, {
|
|
1809
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
1810
|
-
}[MemberNonNullablePaths]>>;
|
|
1807
|
+
declare function leaveCommunity(): Promise<NonNullablePaths<LeaveCommunityResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7>>;
|
|
1811
1808
|
/**
|
|
1812
1809
|
* Retrieves the current member.
|
|
1813
1810
|
*
|
|
@@ -1816,13 +1813,10 @@ declare function leaveCommunity(): Promise<NonNullablePaths<LeaveCommunityRespon
|
|
|
1816
1813
|
* @public
|
|
1817
1814
|
* @permissionId MEMBERS.MEMBER_READ
|
|
1818
1815
|
* @applicableIdentity APP
|
|
1819
|
-
* @applicableIdentity VISITOR
|
|
1820
1816
|
* @returns Member profile.
|
|
1821
1817
|
* @fqn com.wixpress.members.api.Members.GetMyMember
|
|
1822
1818
|
*/
|
|
1823
|
-
declare function getCurrentMember(options?: GetCurrentMemberOptions): Promise<NonNullablePaths<GetMyMemberResponse, {
|
|
1824
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
1825
|
-
}[MemberNonNullablePaths]>>;
|
|
1819
|
+
declare function getCurrentMember(options?: GetCurrentMemberOptions): Promise<NonNullablePaths<GetMyMemberResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7>>;
|
|
1826
1820
|
interface GetCurrentMemberOptions {
|
|
1827
1821
|
/**
|
|
1828
1822
|
* Predefined set of fields to return.
|
|
@@ -1843,11 +1837,10 @@ interface GetCurrentMemberOptions {
|
|
|
1843
1837
|
* @param options - Fieldset options.
|
|
1844
1838
|
* @permissionId MEMBERS.MEMBER_READ
|
|
1845
1839
|
* @applicableIdentity APP
|
|
1846
|
-
* @applicableIdentity VISITOR
|
|
1847
1840
|
* @returns The requested member.
|
|
1848
1841
|
* @fqn com.wixpress.members.api.Members.GetMember
|
|
1849
1842
|
*/
|
|
1850
|
-
declare function getMember(_id: string, options?: GetMemberOptions): Promise<NonNullablePaths<Member,
|
|
1843
|
+
declare function getMember(_id: string, options?: GetMemberOptions): Promise<NonNullablePaths<Member, `status` | `contact.phones` | `contact.emails` | `contact.addresses` | `contact.addresses.${number}.streetAddress.number` | `contact.addresses.${number}.streetAddress.name` | `profile.photo._id` | `profile.photo.url` | `profile.photo.height` | `profile.photo.width` | `privacyStatus` | `activityStatus`, 6> & {
|
|
1851
1844
|
__applicationErrorsType?: GetMemberApplicationErrors;
|
|
1852
1845
|
}>;
|
|
1853
1846
|
interface GetMemberOptions {
|
|
@@ -1865,12 +1858,9 @@ interface GetMemberOptions {
|
|
|
1865
1858
|
* @param options - Options for paging, sorting, and specifying fields to return.
|
|
1866
1859
|
* @permissionId MEMBERS.MEMBER_READ
|
|
1867
1860
|
* @applicableIdentity APP
|
|
1868
|
-
* @applicableIdentity VISITOR
|
|
1869
1861
|
* @fqn com.wixpress.members.api.Members.ListMembers
|
|
1870
1862
|
*/
|
|
1871
|
-
declare function listMembers(options?: ListMembersOptions): Promise<NonNullablePaths<ListMembersResponse, {
|
|
1872
|
-
[P in MemberNonNullablePaths]: `members.${number}.${P}`;
|
|
1873
|
-
}[MemberNonNullablePaths]>>;
|
|
1863
|
+
declare function listMembers(options?: ListMembersOptions): Promise<NonNullablePaths<ListMembersResponse, `members` | `members.${number}.status` | `members.${number}.profile.photo._id` | `members.${number}.profile.photo.url` | `members.${number}.profile.photo.height` | `members.${number}.profile.photo.width` | `members.${number}.privacyStatus` | `members.${number}.activityStatus`, 6>>;
|
|
1874
1864
|
interface ListMembersOptions {
|
|
1875
1865
|
/** Paging options. */
|
|
1876
1866
|
paging?: Paging;
|
|
@@ -1907,7 +1897,6 @@ interface ListMembersOptions {
|
|
|
1907
1897
|
* @param options - Query options.
|
|
1908
1898
|
* @permissionId MEMBERS.MEMBER_READ
|
|
1909
1899
|
* @applicableIdentity APP
|
|
1910
|
-
* @applicableIdentity VISITOR
|
|
1911
1900
|
* @fqn com.wixpress.members.api.Members.QueryMembers
|
|
1912
1901
|
*/
|
|
1913
1902
|
declare function queryMembers(options?: QueryMembersOptions): MembersQueryBuilder;
|
|
@@ -1991,9 +1980,7 @@ interface MembersQueryBuilder {
|
|
|
1991
1980
|
* @applicableIdentity APP
|
|
1992
1981
|
* @fqn com.wixpress.members.api.Members.MuteMember
|
|
1993
1982
|
*/
|
|
1994
|
-
declare function muteMember(_id: string): Promise<NonNullablePaths<MuteMemberResponse, {
|
|
1995
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
1996
|
-
}[MemberNonNullablePaths]>>;
|
|
1983
|
+
declare function muteMember(_id: string): Promise<NonNullablePaths<MuteMemberResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7>>;
|
|
1997
1984
|
/**
|
|
1998
1985
|
* Unmutes a member.
|
|
1999
1986
|
*
|
|
@@ -2007,9 +1994,7 @@ declare function muteMember(_id: string): Promise<NonNullablePaths<MuteMemberRes
|
|
|
2007
1994
|
* @applicableIdentity APP
|
|
2008
1995
|
* @fqn com.wixpress.members.api.Members.UnmuteMember
|
|
2009
1996
|
*/
|
|
2010
|
-
declare function unmuteMember(_id: string): Promise<NonNullablePaths<UnmuteMemberResponse, {
|
|
2011
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
2012
|
-
}[MemberNonNullablePaths]>>;
|
|
1997
|
+
declare function unmuteMember(_id: string): Promise<NonNullablePaths<UnmuteMemberResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7>>;
|
|
2013
1998
|
/**
|
|
2014
1999
|
* Changes member status to `"APPROVED"` and gives access to members-only pages.
|
|
2015
2000
|
*
|
|
@@ -2023,9 +2008,7 @@ declare function unmuteMember(_id: string): Promise<NonNullablePaths<UnmuteMembe
|
|
|
2023
2008
|
* @applicableIdentity APP
|
|
2024
2009
|
* @fqn com.wixpress.members.api.Members.ApproveMember
|
|
2025
2010
|
*/
|
|
2026
|
-
declare function approveMember(_id: string): Promise<NonNullablePaths<ApproveMemberResponse, {
|
|
2027
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
2028
|
-
}[MemberNonNullablePaths]>>;
|
|
2011
|
+
declare function approveMember(_id: string): Promise<NonNullablePaths<ApproveMemberResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7>>;
|
|
2029
2012
|
/**
|
|
2030
2013
|
* Blocks a member.
|
|
2031
2014
|
*
|
|
@@ -2039,9 +2022,7 @@ declare function approveMember(_id: string): Promise<NonNullablePaths<ApproveMem
|
|
|
2039
2022
|
* @applicableIdentity APP
|
|
2040
2023
|
* @fqn com.wixpress.members.api.Members.BlockMember
|
|
2041
2024
|
*/
|
|
2042
|
-
declare function blockMember(_id: string): Promise<NonNullablePaths<BlockMemberResponse, {
|
|
2043
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
2044
|
-
}[MemberNonNullablePaths]> & {
|
|
2025
|
+
declare function blockMember(_id: string): Promise<NonNullablePaths<BlockMemberResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7> & {
|
|
2045
2026
|
__applicationErrorsType?: BlockMemberApplicationErrors;
|
|
2046
2027
|
}>;
|
|
2047
2028
|
/**
|
|
@@ -2057,9 +2038,7 @@ declare function blockMember(_id: string): Promise<NonNullablePaths<BlockMemberR
|
|
|
2057
2038
|
* @applicableIdentity APP
|
|
2058
2039
|
* @fqn com.wixpress.members.api.Members.DisconnectMember
|
|
2059
2040
|
*/
|
|
2060
|
-
declare function disconnectMember(_id: string): Promise<NonNullablePaths<DisconnectMemberResponse, {
|
|
2061
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
2062
|
-
}[MemberNonNullablePaths]>>;
|
|
2041
|
+
declare function disconnectMember(_id: string): Promise<NonNullablePaths<DisconnectMemberResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7>>;
|
|
2063
2042
|
/**
|
|
2064
2043
|
* Deletes a member by ID.
|
|
2065
2044
|
*
|
|
@@ -2109,7 +2088,7 @@ interface DeleteMyMemberOptions {
|
|
|
2109
2088
|
* @applicableIdentity APP
|
|
2110
2089
|
* @fqn com.wixpress.members.api.Members.BulkDeleteMembers
|
|
2111
2090
|
*/
|
|
2112
|
-
declare function bulkDeleteMembers(memberIds: string[]): Promise<NonNullablePaths<BulkDeleteMembersResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures
|
|
2091
|
+
declare function bulkDeleteMembers(memberIds: string[]): Promise<NonNullablePaths<BulkDeleteMembersResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
2113
2092
|
/**
|
|
2114
2093
|
* Deletes multiple members by the specified filter.
|
|
2115
2094
|
*
|
|
@@ -2121,7 +2100,7 @@ declare function bulkDeleteMembers(memberIds: string[]): Promise<NonNullablePath
|
|
|
2121
2100
|
* @applicableIdentity APP
|
|
2122
2101
|
* @fqn com.wixpress.members.api.Members.BulkDeleteMembersByFilter
|
|
2123
2102
|
*/
|
|
2124
|
-
declare function bulkDeleteMembersByFilter(filter: any, options?: BulkDeleteMembersByFilterOptions): Promise<NonNullablePaths<BulkDeleteMembersByFilterResponse, `jobId
|
|
2103
|
+
declare function bulkDeleteMembersByFilter(filter: any, options?: BulkDeleteMembersByFilterOptions): Promise<NonNullablePaths<BulkDeleteMembersByFilterResponse, `jobId`, 2>>;
|
|
2125
2104
|
interface BulkDeleteMembersByFilterOptions {
|
|
2126
2105
|
/**
|
|
2127
2106
|
* ID of a member receiving the deleted member's content.
|
|
@@ -2144,7 +2123,7 @@ interface BulkDeleteMembersByFilterOptions {
|
|
|
2144
2123
|
* @applicableIdentity APP
|
|
2145
2124
|
* @fqn com.wixpress.members.api.Members.BulkApproveMembers
|
|
2146
2125
|
*/
|
|
2147
|
-
declare function bulkApproveMembers(filter: any): Promise<NonNullablePaths<BulkApproveMembersResponse, `jobId
|
|
2126
|
+
declare function bulkApproveMembers(filter: any): Promise<NonNullablePaths<BulkApproveMembersResponse, `jobId`, 2>>;
|
|
2148
2127
|
/**
|
|
2149
2128
|
* Blocks multiple members by a specified filter.
|
|
2150
2129
|
*
|
|
@@ -2158,7 +2137,7 @@ declare function bulkApproveMembers(filter: any): Promise<NonNullablePaths<BulkA
|
|
|
2158
2137
|
* @applicableIdentity APP
|
|
2159
2138
|
* @fqn com.wixpress.members.api.Members.BulkBlockMembers
|
|
2160
2139
|
*/
|
|
2161
|
-
declare function bulkBlockMembers(filter: any): Promise<NonNullablePaths<BulkBlockMembersResponse, `jobId
|
|
2140
|
+
declare function bulkBlockMembers(filter: any): Promise<NonNullablePaths<BulkBlockMembersResponse, `jobId`, 2>>;
|
|
2162
2141
|
/**
|
|
2163
2142
|
* Creates a site member.
|
|
2164
2143
|
*
|
|
@@ -2177,7 +2156,7 @@ declare function bulkBlockMembers(filter: any): Promise<NonNullablePaths<BulkBlo
|
|
|
2177
2156
|
* @returns New member.
|
|
2178
2157
|
* @fqn com.wixpress.members.api.Members.CreateMember
|
|
2179
2158
|
*/
|
|
2180
|
-
declare function createMember(options?: CreateMemberOptions): Promise<NonNullablePaths<Member,
|
|
2159
|
+
declare function createMember(options?: CreateMemberOptions): Promise<NonNullablePaths<Member, `status` | `contact.phones` | `contact.emails` | `contact.addresses` | `contact.addresses.${number}.streetAddress.number` | `contact.addresses.${number}.streetAddress.name` | `profile.photo._id` | `profile.photo.url` | `profile.photo.height` | `profile.photo.width` | `privacyStatus` | `activityStatus`, 6>>;
|
|
2181
2160
|
interface CreateMemberOptions {
|
|
2182
2161
|
/** Member to create. */
|
|
2183
2162
|
member?: Member;
|
|
@@ -2209,7 +2188,7 @@ interface CreateMemberOptions {
|
|
|
2209
2188
|
* @returns Updated member.
|
|
2210
2189
|
* @fqn com.wixpress.members.api.Members.UpdateMember
|
|
2211
2190
|
*/
|
|
2212
|
-
declare function updateMember(_id: string, member: UpdateMember): Promise<NonNullablePaths<Member,
|
|
2191
|
+
declare function updateMember(_id: string, member: UpdateMember): Promise<NonNullablePaths<Member, `status` | `contact.phones` | `contact.emails` | `contact.addresses` | `contact.addresses.${number}.streetAddress.number` | `contact.addresses.${number}.streetAddress.name` | `profile.photo._id` | `profile.photo.url` | `profile.photo.height` | `profile.photo.width` | `privacyStatus` | `activityStatus`, 6> & {
|
|
2213
2192
|
__validationErrorsType?: UpdateMemberValidationErrors;
|
|
2214
2193
|
}>;
|
|
2215
2194
|
interface UpdateMember {
|
|
@@ -2289,9 +2268,7 @@ interface UpdateMember {
|
|
|
2289
2268
|
* @applicableIdentity MEMBER
|
|
2290
2269
|
* @fqn com.wixpress.members.api.Members.DeleteMemberPhones
|
|
2291
2270
|
*/
|
|
2292
|
-
declare function deleteMemberPhones(_id: string): Promise<NonNullablePaths<DeleteMemberPhonesResponse, {
|
|
2293
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
2294
|
-
}[MemberNonNullablePaths]>>;
|
|
2271
|
+
declare function deleteMemberPhones(_id: string): Promise<NonNullablePaths<DeleteMemberPhonesResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7>>;
|
|
2295
2272
|
/**
|
|
2296
2273
|
* Clears a member's email addresses.
|
|
2297
2274
|
*
|
|
@@ -2311,9 +2288,7 @@ declare function deleteMemberPhones(_id: string): Promise<NonNullablePaths<Delet
|
|
|
2311
2288
|
* @applicableIdentity MEMBER
|
|
2312
2289
|
* @fqn com.wixpress.members.api.Members.DeleteMemberEmails
|
|
2313
2290
|
*/
|
|
2314
|
-
declare function deleteMemberEmails(_id: string): Promise<NonNullablePaths<DeleteMemberEmailsResponse, {
|
|
2315
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
2316
|
-
}[MemberNonNullablePaths]>>;
|
|
2291
|
+
declare function deleteMemberEmails(_id: string): Promise<NonNullablePaths<DeleteMemberEmailsResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7>>;
|
|
2317
2292
|
/**
|
|
2318
2293
|
* Deletes a member's street addresses.
|
|
2319
2294
|
*
|
|
@@ -2330,8 +2305,6 @@ declare function deleteMemberEmails(_id: string): Promise<NonNullablePaths<Delet
|
|
|
2330
2305
|
* @applicableIdentity MEMBER
|
|
2331
2306
|
* @fqn com.wixpress.members.api.Members.DeleteMemberAddresses
|
|
2332
2307
|
*/
|
|
2333
|
-
declare function deleteMemberAddresses(_id: string): Promise<NonNullablePaths<DeleteMemberAddressesResponse, {
|
|
2334
|
-
[P in MemberNonNullablePaths]: `member.${P}`;
|
|
2335
|
-
}[MemberNonNullablePaths]>>;
|
|
2308
|
+
declare function deleteMemberAddresses(_id: string): Promise<NonNullablePaths<DeleteMemberAddressesResponse, `member.status` | `member.contact.phones` | `member.contact.emails` | `member.contact.addresses` | `member.contact.addresses.${number}.streetAddress.number` | `member.contact.addresses.${number}.streetAddress.name` | `member.profile.photo._id` | `member.profile.photo.url` | `member.profile.photo.height` | `member.profile.photo.width` | `member.privacyStatus` | `member.activityStatus`, 7>>;
|
|
2336
2309
|
|
|
2337
2310
|
export { type ActionEvent, type ActiveSubscriptionMemberBlockForbiddenPayload, type ActiveSubscriptionMemberDeleteForbiddenPayload, ActivityStatusStatus, type ActivityStatusStatusWithLiterals, type Address, type AddressStreetOneOf, type App, type ApplicationError, type ApproveMemberRequest, type ApproveMemberResponse, type Asset, type BaseEventMetadata, type BlockMemberApplicationErrors, type BlockMemberRequest, type BlockMemberResponse, type BulkActionMetadata, type BulkApproveMembersRequest, type BulkApproveMembersResponse, type BulkBlockMembersRequest, type BulkBlockMembersResponse, type BulkDeleteMembersByFilterOptions, type BulkDeleteMembersByFilterRequest, type BulkDeleteMembersByFilterResponse, type BulkDeleteMembersRequest, type BulkDeleteMembersResponse, type BulkMemberResult, type Contact, type ContentDeletionRequested, type ContentReassignmentRequested, type CreateMemberOptions, type CreateMemberRequest, type CreateMemberResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type CustomField, type CustomTag, type DeleteContext, type DeleteMemberAddressesRequest, type DeleteMemberAddressesResponse, type DeleteMemberEmailsRequest, type DeleteMemberEmailsResponse, type DeleteMemberPhonesRequest, type DeleteMemberPhonesResponse, type DeleteMemberRequest, type DeleteMemberResponse, type DeleteMemberValidationErrors, type DeleteMyMemberOptions, type DeleteMyMemberRequest, type DeleteMyMemberResponse, type DeleteMyMemberValidationErrors, DeleteStatus, type DeleteStatusWithLiterals, type DisconnectMemberRequest, type DisconnectMemberResponse, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type File, type GetCurrentMemberOptions, type GetMemberApplicationErrors, type GetMemberOptions, type GetMemberRequest, type GetMemberResponse, type GetMyMemberRequest, type GetMyMemberResponse, type IdentificationData, type IdentificationDataIdOneOf, type Image, type InvalidCustomFieldUrlPayload, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type JoinCommunityApplicationErrors, type JoinCommunityRequest, type JoinCommunityResponse, type LeaveCommunityRequest, type LeaveCommunityResponse, type ListMembersOptions, type ListMembersRequest, type ListMembersResponse, type Member, type MemberApproved, type MemberBlocked, type MemberCreatedEnvelope, type MemberDeletedEnvelope, type MemberIdChanged, type MemberJoinedCommunity, type MemberLeftCommunity, type MemberMuted, type MemberOwnershipTransferred, type MemberSelfBlockForbiddenPayload, type MemberToMemberBlockedPayload, type MemberUnmuted, type MemberUpdatedEnvelope, type MembersQueryBuilder, type MembersQueryResult, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MuteMemberRequest, type MuteMemberResponse, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type OwnerMemberBlockForbiddenPayload, type OwnerOrContributorDeleteForbiddenPayload, type Page, type Paging, type PagingMetadata, type PicassoAssigned, type PicassoUnassigned, PrivacyStatusStatus, type PrivacyStatusStatusWithLiterals, type Profile, type Query, type QueryMembersOptions, type QueryMembersRequest, type QueryMembersResponse, type RestoreInfo, type Search, type ServiceProvisioned, type ServiceRemoved, Set, type SetWithLiterals, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, type SlugAlreadyExistsPayload, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, Status, type StatusWithLiterals, type StreetAddress, type StudioAssigned, type StudioUnassigned, type URI, type UnmuteMemberRequest, type UnmuteMemberResponse, type UpdateCurrentMemberSlugApplicationErrors, type UpdateMember, type UpdateMemberRequest, type UpdateMemberResponse, type UpdateMemberSlugApplicationErrors, type UpdateMemberSlugRequest, type UpdateMemberSlugResponse, type UpdateMemberValidationErrors, type UpdateMySlugRequest, type UpdateMySlugResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, approveMember, blockMember, bulkApproveMembers, bulkBlockMembers, bulkDeleteMembers, bulkDeleteMembersByFilter, createMember, deleteMember, deleteMemberAddresses, deleteMemberEmails, deleteMemberPhones, deleteMyMember, disconnectMember, getCurrentMember, getMember, joinCommunity, leaveCommunity, listMembers, muteMember, onMemberCreated, onMemberDeleted, onMemberUpdated, queryMembers, unmuteMember, updateCurrentMemberSlug, updateMember, updateMemberSlug };
|