@wix/members 1.0.65 → 1.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/context.d.ts +3 -3
- package/build/cjs/context.js +3 -3
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +3 -3
- package/build/cjs/index.js +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -3
- package/build/cjs/meta.js +3 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +3 -3
- package/build/es/context.js +3 -3
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +3 -3
- package/build/es/index.js +3 -3
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +3 -3
- package/build/es/meta.js +3 -3
- package/build/es/meta.js.map +1 -1
- package/package.json +13 -9
- package/build/cjs/index.typings.d.ts +0 -3
- package/build/cjs/index.typings.js +0 -30
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/badges-v3-badge.context.d.ts +0 -13
- package/build/cjs/src/badges-v3-badge.context.js +0 -137
- package/build/cjs/src/badges-v3-badge.context.js.map +0 -1
- package/build/cjs/src/badges-v3-badge.http.d.ts +0 -111
- package/build/cjs/src/badges-v3-badge.http.js +0 -492
- package/build/cjs/src/badges-v3-badge.http.js.map +0 -1
- package/build/cjs/src/badges-v3-badge.meta.d.ts +0 -35
- package/build/cjs/src/badges-v3-badge.meta.js +0 -237
- package/build/cjs/src/badges-v3-badge.meta.js.map +0 -1
- package/build/cjs/src/badges-v3-badge.public.d.ts +0 -25
- package/build/cjs/src/badges-v3-badge.public.js +0 -80
- package/build/cjs/src/badges-v3-badge.public.js.map +0 -1
- package/build/cjs/src/badges-v3-badge.types.d.ts +0 -360
- package/build/cjs/src/badges-v3-badge.types.js +0 -9
- package/build/cjs/src/badges-v3-badge.types.js.map +0 -1
- package/build/cjs/src/badges-v3-badge.universal.d.ts +0 -633
- package/build/cjs/src/badges-v3-badge.universal.js +0 -759
- package/build/cjs/src/badges-v3-badge.universal.js.map +0 -1
- package/build/cjs/src/identity-members-v1-member.context.d.ts +0 -8
- package/build/cjs/src/identity-members-v1-member.context.js +0 -77
- package/build/cjs/src/identity-members-v1-member.context.js.map +0 -1
- package/build/cjs/src/identity-members-v1-member.http.d.ts +0 -56
- package/build/cjs/src/identity-members-v1-member.http.js +0 -679
- package/build/cjs/src/identity-members-v1-member.http.js.map +0 -1
- package/build/cjs/src/identity-members-v1-member.meta.d.ts +0 -20
- package/build/cjs/src/identity-members-v1-member.meta.js +0 -142
- package/build/cjs/src/identity-members-v1-member.meta.js.map +0 -1
- package/build/cjs/src/identity-members-v1-member.public.d.ts +0 -13
- package/build/cjs/src/identity-members-v1-member.public.js +0 -49
- package/build/cjs/src/identity-members-v1-member.public.js.map +0 -1
- package/build/cjs/src/identity-members-v1-member.types.d.ts +0 -737
- package/build/cjs/src/identity-members-v1-member.types.js +0 -48
- package/build/cjs/src/identity-members-v1-member.types.js.map +0 -1
- package/build/cjs/src/identity-members-v1-member.universal.d.ts +0 -894
- package/build/cjs/src/identity-members-v1-member.universal.js +0 -525
- package/build/cjs/src/identity-members-v1-member.universal.js.map +0 -1
- package/build/cjs/src/members-v1-member.context.d.ts +0 -15
- package/build/cjs/src/members-v1-member.context.js +0 -161
- package/build/cjs/src/members-v1-member.context.js.map +0 -1
- package/build/cjs/src/members-v1-member.http.d.ts +0 -146
- package/build/cjs/src/members-v1-member.http.js +0 -598
- package/build/cjs/src/members-v1-member.http.js.map +0 -1
- package/build/cjs/src/members-v1-member.meta.d.ts +0 -37
- package/build/cjs/src/members-v1-member.meta.js +0 -275
- package/build/cjs/src/members-v1-member.meta.js.map +0 -1
- package/build/cjs/src/members-v1-member.public.d.ts +0 -99
- package/build/cjs/src/members-v1-member.public.js +0 -98
- package/build/cjs/src/members-v1-member.public.js.map +0 -1
- package/build/cjs/src/members-v1-member.types.d.ts +0 -1426
- package/build/cjs/src/members-v1-member.types.js +0 -129
- package/build/cjs/src/members-v1-member.types.js.map +0 -1
- package/build/cjs/src/members-v1-member.universal.d.ts +0 -1907
- package/build/cjs/src/members-v1-member.universal.js +0 -1088
- package/build/cjs/src/members-v1-member.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -3
- package/build/es/index.typings.js +0 -4
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/badges-v3-badge.context.d.ts +0 -13
- package/build/es/src/badges-v3-badge.context.js +0 -123
- package/build/es/src/badges-v3-badge.context.js.map +0 -1
- package/build/es/src/badges-v3-badge.http.d.ts +0 -111
- package/build/es/src/badges-v3-badge.http.js +0 -478
- package/build/es/src/badges-v3-badge.http.js.map +0 -1
- package/build/es/src/badges-v3-badge.meta.d.ts +0 -35
- package/build/es/src/badges-v3-badge.meta.js +0 -200
- package/build/es/src/badges-v3-badge.meta.js.map +0 -1
- package/build/es/src/badges-v3-badge.public.d.ts +0 -25
- package/build/es/src/badges-v3-badge.public.js +0 -60
- package/build/es/src/badges-v3-badge.public.js.map +0 -1
- package/build/es/src/badges-v3-badge.types.d.ts +0 -360
- package/build/es/src/badges-v3-badge.types.js +0 -6
- package/build/es/src/badges-v3-badge.types.js.map +0 -1
- package/build/es/src/badges-v3-badge.universal.d.ts +0 -633
- package/build/es/src/badges-v3-badge.universal.js +0 -722
- package/build/es/src/badges-v3-badge.universal.js.map +0 -1
- package/build/es/src/identity-members-v1-member.context.d.ts +0 -8
- package/build/es/src/identity-members-v1-member.context.js +0 -68
- package/build/es/src/identity-members-v1-member.context.js.map +0 -1
- package/build/es/src/identity-members-v1-member.http.d.ts +0 -56
- package/build/es/src/identity-members-v1-member.http.js +0 -670
- package/build/es/src/identity-members-v1-member.http.js.map +0 -1
- package/build/es/src/identity-members-v1-member.meta.d.ts +0 -20
- package/build/es/src/identity-members-v1-member.meta.js +0 -110
- package/build/es/src/identity-members-v1-member.meta.js.map +0 -1
- package/build/es/src/identity-members-v1-member.public.d.ts +0 -13
- package/build/es/src/identity-members-v1-member.public.js +0 -34
- package/build/es/src/identity-members-v1-member.public.js.map +0 -1
- package/build/es/src/identity-members-v1-member.types.d.ts +0 -737
- package/build/es/src/identity-members-v1-member.types.js +0 -45
- package/build/es/src/identity-members-v1-member.types.js.map +0 -1
- package/build/es/src/identity-members-v1-member.universal.d.ts +0 -894
- package/build/es/src/identity-members-v1-member.universal.js +0 -493
- package/build/es/src/identity-members-v1-member.universal.js.map +0 -1
- package/build/es/src/members-v1-member.context.d.ts +0 -15
- package/build/es/src/members-v1-member.context.js +0 -145
- package/build/es/src/members-v1-member.context.js.map +0 -1
- package/build/es/src/members-v1-member.http.d.ts +0 -146
- package/build/es/src/members-v1-member.http.js +0 -582
- package/build/es/src/members-v1-member.http.js.map +0 -1
- package/build/es/src/members-v1-member.meta.d.ts +0 -37
- package/build/es/src/members-v1-member.meta.js +0 -236
- package/build/es/src/members-v1-member.meta.js.map +0 -1
- package/build/es/src/members-v1-member.public.d.ts +0 -99
- package/build/es/src/members-v1-member.public.js +0 -70
- package/build/es/src/members-v1-member.public.js.map +0 -1
- package/build/es/src/members-v1-member.types.d.ts +0 -1426
- package/build/es/src/members-v1-member.types.js +0 -126
- package/build/es/src/members-v1-member.types.js.map +0 -1
- package/build/es/src/members-v1-member.universal.d.ts +0 -1907
- package/build/es/src/members-v1-member.universal.js +0 -1049
- package/build/es/src/members-v1-member.universal.js.map +0 -1
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { updateCurrentMemberSlug as publicUpdateCurrentMemberSlug, joinCommunity as publicJoinCommunity, leaveCommunity as publicLeaveCommunity, getCurrentMember as publicGetCurrentMember, getMember as publicGetMember, listMembers as publicListMembers, queryMembers as publicQueryMembers, deleteMember as publicDeleteMember, createMember as publicCreateMember, updateMember as publicUpdateMember, deleteMemberPhones as publicDeleteMemberPhones, deleteMemberEmails as publicDeleteMemberEmails, deleteMemberAddresses as publicDeleteMemberAddresses, } from './members-v1-member.public';
|
|
2
|
-
export const updateCurrentMemberSlug = (...args) => {
|
|
3
|
-
var _a;
|
|
4
|
-
// @ts-expect-error
|
|
5
|
-
if (!globalThis.__wix_context__) {
|
|
6
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
7
|
-
}
|
|
8
|
-
// @ts-expect-error
|
|
9
|
-
return globalThis.__wix_context__
|
|
10
|
-
.initWixModules(publicUpdateCurrentMemberSlug, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
11
|
-
.apply(undefined, args);
|
|
12
|
-
};
|
|
13
|
-
export const joinCommunity = (...args) => {
|
|
14
|
-
var _a;
|
|
15
|
-
// @ts-expect-error
|
|
16
|
-
if (!globalThis.__wix_context__) {
|
|
17
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
18
|
-
}
|
|
19
|
-
// @ts-expect-error
|
|
20
|
-
return globalThis.__wix_context__
|
|
21
|
-
.initWixModules(publicJoinCommunity, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
22
|
-
.apply(undefined, args);
|
|
23
|
-
};
|
|
24
|
-
export const leaveCommunity = (...args) => {
|
|
25
|
-
var _a;
|
|
26
|
-
// @ts-expect-error
|
|
27
|
-
if (!globalThis.__wix_context__) {
|
|
28
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
29
|
-
}
|
|
30
|
-
// @ts-expect-error
|
|
31
|
-
return globalThis.__wix_context__
|
|
32
|
-
.initWixModules(publicLeaveCommunity, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
33
|
-
.apply(undefined, args);
|
|
34
|
-
};
|
|
35
|
-
export const getCurrentMember = (...args) => {
|
|
36
|
-
var _a;
|
|
37
|
-
// @ts-expect-error
|
|
38
|
-
if (!globalThis.__wix_context__) {
|
|
39
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
40
|
-
}
|
|
41
|
-
// @ts-expect-error
|
|
42
|
-
return globalThis.__wix_context__
|
|
43
|
-
.initWixModules(publicGetCurrentMember, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
44
|
-
.apply(undefined, args);
|
|
45
|
-
};
|
|
46
|
-
export const getMember = (...args) => {
|
|
47
|
-
var _a;
|
|
48
|
-
// @ts-expect-error
|
|
49
|
-
if (!globalThis.__wix_context__) {
|
|
50
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
51
|
-
}
|
|
52
|
-
// @ts-expect-error
|
|
53
|
-
return globalThis.__wix_context__
|
|
54
|
-
.initWixModules(publicGetMember, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
55
|
-
.apply(undefined, args);
|
|
56
|
-
};
|
|
57
|
-
export const listMembers = (...args) => {
|
|
58
|
-
var _a;
|
|
59
|
-
// @ts-expect-error
|
|
60
|
-
if (!globalThis.__wix_context__) {
|
|
61
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
62
|
-
}
|
|
63
|
-
// @ts-expect-error
|
|
64
|
-
return globalThis.__wix_context__
|
|
65
|
-
.initWixModules(publicListMembers, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
66
|
-
.apply(undefined, args);
|
|
67
|
-
};
|
|
68
|
-
export const queryMembers = (...args) => {
|
|
69
|
-
var _a;
|
|
70
|
-
// @ts-expect-error
|
|
71
|
-
if (!globalThis.__wix_context__) {
|
|
72
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
73
|
-
}
|
|
74
|
-
// @ts-expect-error
|
|
75
|
-
return globalThis.__wix_context__
|
|
76
|
-
.initWixModules(publicQueryMembers, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
77
|
-
.apply(undefined, args);
|
|
78
|
-
};
|
|
79
|
-
export const deleteMember = (...args) => {
|
|
80
|
-
var _a;
|
|
81
|
-
// @ts-expect-error
|
|
82
|
-
if (!globalThis.__wix_context__) {
|
|
83
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
84
|
-
}
|
|
85
|
-
// @ts-expect-error
|
|
86
|
-
return globalThis.__wix_context__
|
|
87
|
-
.initWixModules(publicDeleteMember, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
88
|
-
.apply(undefined, args);
|
|
89
|
-
};
|
|
90
|
-
export const createMember = (...args) => {
|
|
91
|
-
var _a;
|
|
92
|
-
// @ts-expect-error
|
|
93
|
-
if (!globalThis.__wix_context__) {
|
|
94
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
95
|
-
}
|
|
96
|
-
// @ts-expect-error
|
|
97
|
-
return globalThis.__wix_context__
|
|
98
|
-
.initWixModules(publicCreateMember, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
99
|
-
.apply(undefined, args);
|
|
100
|
-
};
|
|
101
|
-
export const updateMember = (...args) => {
|
|
102
|
-
var _a;
|
|
103
|
-
// @ts-expect-error
|
|
104
|
-
if (!globalThis.__wix_context__) {
|
|
105
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
106
|
-
}
|
|
107
|
-
// @ts-expect-error
|
|
108
|
-
return globalThis.__wix_context__
|
|
109
|
-
.initWixModules(publicUpdateMember, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
110
|
-
.apply(undefined, args);
|
|
111
|
-
};
|
|
112
|
-
export const deleteMemberPhones = (...args) => {
|
|
113
|
-
var _a;
|
|
114
|
-
// @ts-expect-error
|
|
115
|
-
if (!globalThis.__wix_context__) {
|
|
116
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
117
|
-
}
|
|
118
|
-
// @ts-expect-error
|
|
119
|
-
return globalThis.__wix_context__
|
|
120
|
-
.initWixModules(publicDeleteMemberPhones, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
121
|
-
.apply(undefined, args);
|
|
122
|
-
};
|
|
123
|
-
export const deleteMemberEmails = (...args) => {
|
|
124
|
-
var _a;
|
|
125
|
-
// @ts-expect-error
|
|
126
|
-
if (!globalThis.__wix_context__) {
|
|
127
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
128
|
-
}
|
|
129
|
-
// @ts-expect-error
|
|
130
|
-
return globalThis.__wix_context__
|
|
131
|
-
.initWixModules(publicDeleteMemberEmails, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
132
|
-
.apply(undefined, args);
|
|
133
|
-
};
|
|
134
|
-
export const deleteMemberAddresses = (...args) => {
|
|
135
|
-
var _a;
|
|
136
|
-
// @ts-expect-error
|
|
137
|
-
if (!globalThis.__wix_context__) {
|
|
138
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
139
|
-
}
|
|
140
|
-
// @ts-expect-error
|
|
141
|
-
return globalThis.__wix_context__
|
|
142
|
-
.initWixModules(publicDeleteMemberAddresses, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
143
|
-
.apply(undefined, args);
|
|
144
|
-
};
|
|
145
|
-
//# sourceMappingURL=members-v1-member.context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"members-v1-member.context.js","sourceRoot":"","sources":["../../../src/members-v1-member.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,IAAI,6BAA6B,EACxD,aAAa,IAAI,mBAAmB,EACpC,cAAc,IAAI,oBAAoB,EACtC,gBAAgB,IAAI,sBAAsB,EAC1C,SAAS,IAAI,eAAe,EAC5B,WAAW,IAAI,iBAAiB,EAChC,YAAY,IAAI,kBAAkB,EAClC,YAAY,IAAI,kBAAkB,EACl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ACA,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,kBAAkB,GAE3B,CAAC,GAAG,IAAS,EAAE,EAAE;;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CACb,wBAAwB,EACxB,CAAA,MAAA,IAAI,CAAC,CAAC,CAAC,0CAAE,WAAW,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CACpC;SACA,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,qBAAqB,GAE9B,CAAC,GAAG,IAAS,EAAE,EAAE;;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CACb,2BAA2B,EAC3B,CAAA,MAAA,IAAI,CAAC,CAAC,CAAC,0CAAE,WAAW,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CACpC;SACA,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC"}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/**
|
|
3
|
-
* Updates the currently logged in member's slug.
|
|
4
|
-
*
|
|
5
|
-
* 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`.
|
|
6
|
-
*
|
|
7
|
-
* > **Note:**
|
|
8
|
-
* > Only logged-in members can call this function without elevated permissions.
|
|
9
|
-
* > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
|
|
10
|
-
*/
|
|
11
|
-
export declare function updateMySlug(payload: object): RequestOptionsFactory<any>;
|
|
12
|
-
/**
|
|
13
|
-
* Joins the currently logged-in member to the site community and sets their profile to public.
|
|
14
|
-
*
|
|
15
|
-
* When a member's profile is public, they have access to the site's
|
|
16
|
-
* [Members Area](https://support.wix.com/en/article/about-members-area)
|
|
17
|
-
* features — such as chat, forum, and followers —
|
|
18
|
-
* and their profile is visible to other members and site visitors.
|
|
19
|
-
*
|
|
20
|
-
* > **Note:**
|
|
21
|
-
* > Only logged-in members can call this function without elevated permissions.
|
|
22
|
-
* > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
|
|
23
|
-
*/
|
|
24
|
-
export declare function joinCommunity(payload: object): RequestOptionsFactory<any>;
|
|
25
|
-
/**
|
|
26
|
-
* Removes the currently logged-in member from the site community and sets their profile to private.
|
|
27
|
-
*
|
|
28
|
-
* When a member's profile is private,
|
|
29
|
-
* they do not have access to the site's
|
|
30
|
-
* [Members Area](https://support.wix.com/en/article/about-members-area)
|
|
31
|
-
* features — such as chat, forum, and followers —
|
|
32
|
-
* and their profile is hidden from other members and site visitors.
|
|
33
|
-
*
|
|
34
|
-
* > **Notes:**
|
|
35
|
-
* > + If a member leaves the site's community, their content (such as forum posts and blog comments) remain publicly visible.
|
|
36
|
-
*
|
|
37
|
-
* > + Only logged-in members can call this function without elevated permissions.
|
|
38
|
-
* > + To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
|
|
39
|
-
*/
|
|
40
|
-
export declare function leaveCommunity(payload: object): RequestOptionsFactory<any>;
|
|
41
|
-
/** Retrieves the currently logged-in member. */
|
|
42
|
-
export declare function getMyMember(payload: object): RequestOptionsFactory<any>;
|
|
43
|
-
/**
|
|
44
|
-
* Retrieves a member by ID.
|
|
45
|
-
*
|
|
46
|
-
* >**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).
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export declare function getMember(payload: object): RequestOptionsFactory<any>;
|
|
50
|
-
/**
|
|
51
|
-
* Lists site members, given the provided paging and fieldsets.
|
|
52
|
-
*
|
|
53
|
-
* - `PUBLIC` fieldset returns `id` and `profile` object. `status`, `privacyStatus` and `activityStatus` are returned as `UNKNOWN`.
|
|
54
|
-
* - `FULL` fieldset returns all fields.
|
|
55
|
-
*/
|
|
56
|
-
export declare function listMembers(payload: object): RequestOptionsFactory<any>;
|
|
57
|
-
/**
|
|
58
|
-
* Retrieves a list of up to 100 members, given the provided filters, fieldsets, sorting and paging, and returns a `MembersQueryBuilder` object.
|
|
59
|
-
*
|
|
60
|
-
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
61
|
-
*
|
|
62
|
-
* 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.
|
|
63
|
-
*
|
|
64
|
-
* `queryMembers()` runs with the following `MembersQueryBuilder` defaults that you can override:
|
|
65
|
-
* - `skip`: `0`
|
|
66
|
-
* - `limit`: `50`
|
|
67
|
-
*
|
|
68
|
-
* Currently supported fields for sorting:
|
|
69
|
-
* - `profile.nickname`
|
|
70
|
-
* - `contact.firstName`
|
|
71
|
-
* - `contact.lastName`
|
|
72
|
-
* - `createdDate`
|
|
73
|
-
* - `lastLoginDate`
|
|
74
|
-
*
|
|
75
|
-
* 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`.
|
|
76
|
-
*/
|
|
77
|
-
export declare function queryMembers(payload: object): RequestOptionsFactory<any>;
|
|
78
|
-
/**
|
|
79
|
-
* Deletes a member.
|
|
80
|
-
*
|
|
81
|
-
* The `deleteMember()` function returns a Promise that resolves to a member object when the specified member is deleted.
|
|
82
|
-
*
|
|
83
|
-
* >**Note:** This function permanently deletes a member. Once deleted, a member cannot be restored.
|
|
84
|
-
*/
|
|
85
|
-
export declare function deleteMember(payload: object): RequestOptionsFactory<any>;
|
|
86
|
-
/**
|
|
87
|
-
* Creates a site member.
|
|
88
|
-
*
|
|
89
|
-
* After creation, you can use the `sendSetPasswordEmail()` function in the Members Authentication API to email the member with a link to set their password.
|
|
90
|
-
* The member can log in to the site once they set their password for the first time.
|
|
91
|
-
*
|
|
92
|
-
* > **Note:**
|
|
93
|
-
* > When creating multiple members, set your requests at least 1 second apart to keep below rate limits.
|
|
94
|
-
*/
|
|
95
|
-
export declare function createMember(payload: object): RequestOptionsFactory<any>;
|
|
96
|
-
/**
|
|
97
|
-
* Updates a member's properties.
|
|
98
|
-
*
|
|
99
|
-
* Only the requested fields are updated.
|
|
100
|
-
* To clear a field's value, set an empty value with an empty string `""`.
|
|
101
|
-
*
|
|
102
|
-
* > **Note:**
|
|
103
|
-
* > 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.
|
|
104
|
-
* > However, passing an empty array will have no effect, and these functions must be used to clear all data from the respective array:
|
|
105
|
-
* >- To clear `contact.addresses`, use `deleteMemberAddresses()`.
|
|
106
|
-
* >- To clear `contact.emails`, use `deleteMemberEmails()`.
|
|
107
|
-
* >- To clear `contact.phones`, use `deleteMemberPhones()`.
|
|
108
|
-
*
|
|
109
|
-
* > **Note:**
|
|
110
|
-
* > Only logged-in members can call this function without elevated permissions.
|
|
111
|
-
* > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
|
|
112
|
-
*/
|
|
113
|
-
export declare function updateMember(payload: object): RequestOptionsFactory<any>;
|
|
114
|
-
/**
|
|
115
|
-
* Clears a member's phone numbers.
|
|
116
|
-
*
|
|
117
|
-
* The `deleteMemberPhones()` function clears the `phones` array under the `contact` property.
|
|
118
|
-
*
|
|
119
|
-
* > **Note:**
|
|
120
|
-
* > Only logged-in members can call this function without elevated permissions.
|
|
121
|
-
* > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
|
|
122
|
-
*/
|
|
123
|
-
export declare function deleteMemberPhones(payload: object): RequestOptionsFactory<any>;
|
|
124
|
-
/**
|
|
125
|
-
* Clears a member's email addresses.
|
|
126
|
-
*
|
|
127
|
-
* The `deleteMemberEmails()` function clears the `emails` array under the `contact` property.
|
|
128
|
-
*
|
|
129
|
-
* > **Notes:**
|
|
130
|
-
* > A member can still log in with their `loginEmail`,
|
|
131
|
-
* > which is not cleared when this function is called.
|
|
132
|
-
*
|
|
133
|
-
* > Only logged-in members can call this function without elevated permissions.
|
|
134
|
-
* > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
|
|
135
|
-
*/
|
|
136
|
-
export declare function deleteMemberEmails(payload: object): RequestOptionsFactory<any>;
|
|
137
|
-
/**
|
|
138
|
-
* Deletes a member's street addresses.
|
|
139
|
-
*
|
|
140
|
-
* The `deleteMemberAddresses()` function clears the `addresses` array under the `contact` property.
|
|
141
|
-
*
|
|
142
|
-
* > **Note:**
|
|
143
|
-
* > Only logged-in members can call this function without elevated permissions.
|
|
144
|
-
* > To call this function as a different identity, [elevated permissions](https://www.wix.com/velo/reference/wix-auth/elevate) are required.
|
|
145
|
-
*/
|
|
146
|
-
export declare function deleteMemberAddresses(payload: object): RequestOptionsFactory<any>;
|