@wix/identity 1.0.50 → 1.0.52
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/src/iam-authentication-v1-authentication.http.d.ts +16 -1
- package/build/cjs/src/iam-authentication-v1-authentication.http.js +16 -1
- package/build/cjs/src/iam-authentication-v1-authentication.http.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication.public.d.ts +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication.types.d.ts +87 -17
- package/build/cjs/src/iam-authentication-v1-authentication.types.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication.universal.d.ts +111 -25
- package/build/cjs/src/iam-authentication-v1-authentication.universal.js +18 -3
- package/build/cjs/src/iam-authentication-v1-authentication.universal.js.map +1 -1
- package/build/cjs/src/iam-recovery-v1-recovery.http.d.ts +10 -2
- package/build/cjs/src/iam-recovery-v1-recovery.http.js +34 -2
- package/build/cjs/src/iam-recovery-v1-recovery.http.js.map +1 -1
- package/build/cjs/src/iam-recovery-v1-recovery.public.d.ts +3 -2
- package/build/cjs/src/iam-recovery-v1-recovery.public.js +7 -1
- package/build/cjs/src/iam-recovery-v1-recovery.public.js.map +1 -1
- package/build/cjs/src/iam-recovery-v1-recovery.types.d.ts +86 -15
- package/build/cjs/src/iam-recovery-v1-recovery.types.js.map +1 -1
- package/build/cjs/src/iam-recovery-v1-recovery.universal.d.ts +106 -19
- package/build/cjs/src/iam-recovery-v1-recovery.universal.js +63 -3
- package/build/cjs/src/iam-recovery-v1-recovery.universal.js.map +1 -1
- package/build/cjs/src/iam-verification-v1-start-response.http.d.ts +7 -3
- package/build/cjs/src/iam-verification-v1-start-response.http.js +7 -3
- package/build/cjs/src/iam-verification-v1-start-response.http.js.map +1 -1
- package/build/cjs/src/iam-verification-v1-start-response.types.d.ts +73 -12
- package/build/cjs/src/iam-verification-v1-start-response.types.js.map +1 -1
- package/build/cjs/src/iam-verification-v1-start-response.universal.d.ts +82 -17
- package/build/cjs/src/iam-verification-v1-start-response.universal.js +8 -4
- package/build/cjs/src/iam-verification-v1-start-response.universal.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication.http.d.ts +16 -1
- package/build/es/src/iam-authentication-v1-authentication.http.js +16 -1
- package/build/es/src/iam-authentication-v1-authentication.http.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication.public.d.ts +1 -1
- package/build/es/src/iam-authentication-v1-authentication.types.d.ts +87 -17
- package/build/es/src/iam-authentication-v1-authentication.types.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication.universal.d.ts +111 -25
- package/build/es/src/iam-authentication-v1-authentication.universal.js +18 -3
- package/build/es/src/iam-authentication-v1-authentication.universal.js.map +1 -1
- package/build/es/src/iam-recovery-v1-recovery.http.d.ts +10 -2
- package/build/es/src/iam-recovery-v1-recovery.http.js +32 -1
- package/build/es/src/iam-recovery-v1-recovery.http.js.map +1 -1
- package/build/es/src/iam-recovery-v1-recovery.public.d.ts +3 -2
- package/build/es/src/iam-recovery-v1-recovery.public.js +6 -1
- package/build/es/src/iam-recovery-v1-recovery.public.js.map +1 -1
- package/build/es/src/iam-recovery-v1-recovery.types.d.ts +86 -15
- package/build/es/src/iam-recovery-v1-recovery.types.js.map +1 -1
- package/build/es/src/iam-recovery-v1-recovery.universal.d.ts +106 -19
- package/build/es/src/iam-recovery-v1-recovery.universal.js +61 -2
- package/build/es/src/iam-recovery-v1-recovery.universal.js.map +1 -1
- package/build/es/src/iam-verification-v1-start-response.http.d.ts +7 -3
- package/build/es/src/iam-verification-v1-start-response.http.js +7 -3
- package/build/es/src/iam-verification-v1-start-response.http.js.map +1 -1
- package/build/es/src/iam-verification-v1-start-response.types.d.ts +73 -12
- package/build/es/src/iam-verification-v1-start-response.types.js.map +1 -1
- package/build/es/src/iam-verification-v1-start-response.universal.d.ts +82 -17
- package/build/es/src/iam-verification-v1-start-response.universal.js +8 -4
- package/build/es/src/iam-verification-v1-start-response.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -39,21 +39,31 @@ export declare enum TenantType {
|
|
|
39
39
|
ROOT = "ROOT"
|
|
40
40
|
}
|
|
41
41
|
export interface SendRecoveryEmailRequest {
|
|
42
|
-
/**
|
|
42
|
+
/** Email address associated with the account to recover. */
|
|
43
43
|
email: string;
|
|
44
|
-
/**
|
|
44
|
+
/** Language of the email to be sent. Defaults to the language specified in the member's profile. */
|
|
45
45
|
language?: string | null;
|
|
46
|
-
/** Where to redirect after a successful recovery
|
|
46
|
+
/** Where to redirect to after a successful recovery. */
|
|
47
47
|
redirect?: Redirect;
|
|
48
48
|
}
|
|
49
49
|
export interface Redirect {
|
|
50
|
-
/** The
|
|
50
|
+
/** The URL to redirect to after a successful recovery. */
|
|
51
51
|
url?: string;
|
|
52
|
-
/**
|
|
52
|
+
/** Caller identifier. */
|
|
53
53
|
clientId?: string | null;
|
|
54
54
|
}
|
|
55
55
|
export interface SendRecoveryEmailResponse {
|
|
56
56
|
}
|
|
57
|
+
export interface SendActivationEmailRequest {
|
|
58
|
+
/** Id of the activating user */
|
|
59
|
+
identityId: string;
|
|
60
|
+
/** language of the email - if not received will fallback to the identity language */
|
|
61
|
+
language?: string | null;
|
|
62
|
+
/** Where to redirect after a successful activation process */
|
|
63
|
+
redirect?: Redirect;
|
|
64
|
+
}
|
|
65
|
+
export interface SendActivationEmailResponse {
|
|
66
|
+
}
|
|
57
67
|
export interface RecoverRequest {
|
|
58
68
|
/** recovery token */
|
|
59
69
|
recoveryToken: string;
|
|
@@ -61,13 +71,13 @@ export interface RecoverRequest {
|
|
|
61
71
|
password?: string | null;
|
|
62
72
|
}
|
|
63
73
|
export interface StateMachineResponse {
|
|
64
|
-
/** The current state */
|
|
74
|
+
/** The current state of the login or registration process. */
|
|
65
75
|
state?: StateType;
|
|
66
|
-
/**
|
|
76
|
+
/** If state is `SUCCESS`, a session token. */
|
|
67
77
|
sessionToken?: string | null;
|
|
68
|
-
/**
|
|
78
|
+
/** A token representing the current state of the login or registration process. */
|
|
69
79
|
stateToken?: string | null;
|
|
70
|
-
/**
|
|
80
|
+
/** Identing of the current member. */
|
|
71
81
|
identity?: Identity;
|
|
72
82
|
}
|
|
73
83
|
export declare enum StateType {
|
|
@@ -80,25 +90,35 @@ export declare enum StateType {
|
|
|
80
90
|
export interface Identity {
|
|
81
91
|
/** Identity ID */
|
|
82
92
|
_id?: string | null;
|
|
93
|
+
/** Identifiers */
|
|
83
94
|
identifiers?: Identifier[];
|
|
84
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Represents the current state of an item. Each time the item is modified, its `revision` changes.
|
|
97
|
+
* For an update operation to succeed, you MUST pass the latest revision.
|
|
98
|
+
*/
|
|
85
99
|
revision?: string | null;
|
|
86
100
|
/**
|
|
87
|
-
*
|
|
101
|
+
* The time this identity was created.
|
|
88
102
|
* @readonly
|
|
89
103
|
*/
|
|
90
104
|
_createdDate?: Date;
|
|
91
105
|
/**
|
|
92
|
-
*
|
|
106
|
+
* The time this identity was last updated.
|
|
93
107
|
* @readonly
|
|
94
108
|
*/
|
|
95
109
|
_updatedDate?: Date;
|
|
96
|
-
/**
|
|
110
|
+
/** The identity configured connections to authenticate with. */
|
|
97
111
|
connections?: Connection[];
|
|
112
|
+
/** Identity profile. */
|
|
98
113
|
identityProfile?: IdentityProfile;
|
|
99
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Additional information about the identity that can impact user access.
|
|
116
|
+
* This data cannot be set.
|
|
117
|
+
*/
|
|
100
118
|
metadata?: Metadata;
|
|
119
|
+
/** Identity email address. */
|
|
101
120
|
email?: Email;
|
|
121
|
+
/** Identity's current status. */
|
|
102
122
|
status?: StatusV2;
|
|
103
123
|
}
|
|
104
124
|
export interface Identifier extends IdentifierValueOneOf {
|
|
@@ -111,39 +131,65 @@ export interface IdentifierValueOneOf {
|
|
|
111
131
|
userName?: string;
|
|
112
132
|
}
|
|
113
133
|
export interface Connection extends ConnectionTypeOneOf {
|
|
134
|
+
/** IDP connection. */
|
|
114
135
|
idpConnection?: IdpConnection;
|
|
136
|
+
/** Authenticator connection. */
|
|
115
137
|
authenticatorConnection?: AuthenticatorConnection;
|
|
116
138
|
}
|
|
117
139
|
/** @oneof */
|
|
118
140
|
export interface ConnectionTypeOneOf {
|
|
141
|
+
/** IDP connection. */
|
|
119
142
|
idpConnection?: IdpConnection;
|
|
143
|
+
/** Authenticator connection. */
|
|
120
144
|
authenticatorConnection?: AuthenticatorConnection;
|
|
121
145
|
}
|
|
122
146
|
export interface IdpConnection {
|
|
147
|
+
/** IDP connection ID. */
|
|
123
148
|
idpConnectionId?: string;
|
|
149
|
+
/** IDP user ID. */
|
|
124
150
|
idpUserId?: string;
|
|
125
151
|
}
|
|
126
152
|
export interface AuthenticatorConnection {
|
|
153
|
+
/** Authenticator connection ID. */
|
|
127
154
|
authenticatorConnectionId?: string;
|
|
155
|
+
/** Whether re-enrollment is required. */
|
|
128
156
|
reEnrollmentRequired?: boolean;
|
|
129
157
|
}
|
|
130
158
|
export interface IdentityProfile {
|
|
159
|
+
/** Profile first name. */
|
|
131
160
|
firstName?: string | null;
|
|
161
|
+
/** Profile last name. */
|
|
132
162
|
lastName?: string | null;
|
|
163
|
+
/** Profile nickname. */
|
|
133
164
|
nickname?: string | null;
|
|
165
|
+
/** Profile picture URL. */
|
|
134
166
|
picture?: string | null;
|
|
167
|
+
/** Deprecated. Use `secondaryEmails` instead. */
|
|
135
168
|
emails?: string[];
|
|
169
|
+
/** Deprecated. Use `phonesV2` instead. */
|
|
136
170
|
phones?: string[];
|
|
171
|
+
/** List of profile labels. */
|
|
137
172
|
labels?: string[];
|
|
173
|
+
/** Profile language. */
|
|
138
174
|
language?: string | null;
|
|
175
|
+
/** Profile privacy status. */
|
|
139
176
|
privacyStatus?: PrivacyStatus;
|
|
140
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* Any number of custom fields. [Custom fields](https://support.wix.com/en/article/adding-custom-fields-to-contacts)
|
|
179
|
+
* are used to store additional information about your site or app's contacts.
|
|
180
|
+
*/
|
|
141
181
|
customFields?: CustomField[];
|
|
182
|
+
/** List of profile email addresses. */
|
|
142
183
|
secondaryEmails?: SecondaryEmail[];
|
|
184
|
+
/** List of profile phone numbers. */
|
|
143
185
|
phonesV2?: Phone[];
|
|
186
|
+
/** List of profile physical addresses. */
|
|
144
187
|
addresses?: AddressWrapper[];
|
|
188
|
+
/** Company name. */
|
|
145
189
|
company?: string | null;
|
|
190
|
+
/** Position within company. */
|
|
146
191
|
position?: string | null;
|
|
192
|
+
/** Profile birthdate. */
|
|
147
193
|
birthdate?: string | null;
|
|
148
194
|
}
|
|
149
195
|
export declare enum PrivacyStatus {
|
|
@@ -152,32 +198,52 @@ export declare enum PrivacyStatus {
|
|
|
152
198
|
PRIVATE = "PRIVATE"
|
|
153
199
|
}
|
|
154
200
|
export interface CustomField {
|
|
201
|
+
/**
|
|
202
|
+
* Custom field name. The name must match one of the key properties of the objects returned by
|
|
203
|
+
* [`List Extended Fields`](https://dev.wix.com/docs/rest/api-reference/contacts/extended-fields/list-extended-fields)
|
|
204
|
+
* with the `custom.` prefix removed.
|
|
205
|
+
*/
|
|
155
206
|
name?: string;
|
|
207
|
+
/** Custom field value. */
|
|
156
208
|
value?: CustomValue;
|
|
157
209
|
}
|
|
158
210
|
export interface CustomValue extends CustomValueValueOneOf {
|
|
211
|
+
/** String value. */
|
|
159
212
|
strValue?: string;
|
|
213
|
+
/** Number value. */
|
|
160
214
|
numValue?: number;
|
|
215
|
+
/** Date value. */
|
|
161
216
|
dateValue?: Date;
|
|
217
|
+
/** List value. */
|
|
162
218
|
listValue?: ListValue;
|
|
219
|
+
/** Map value. */
|
|
163
220
|
mapValue?: MapValue;
|
|
164
221
|
}
|
|
165
222
|
/** @oneof */
|
|
166
223
|
export interface CustomValueValueOneOf {
|
|
224
|
+
/** String value. */
|
|
167
225
|
strValue?: string;
|
|
226
|
+
/** Number value. */
|
|
168
227
|
numValue?: number;
|
|
228
|
+
/** Date value. */
|
|
169
229
|
dateValue?: Date;
|
|
230
|
+
/** List value. */
|
|
170
231
|
listValue?: ListValue;
|
|
232
|
+
/** Map value. */
|
|
171
233
|
mapValue?: MapValue;
|
|
172
234
|
}
|
|
173
235
|
export interface ListValue {
|
|
236
|
+
/** Custom value. */
|
|
174
237
|
value?: CustomValue[];
|
|
175
238
|
}
|
|
176
239
|
export interface MapValue {
|
|
240
|
+
/** Mapped custom value. */
|
|
177
241
|
value?: Record<string, CustomValue>;
|
|
178
242
|
}
|
|
179
243
|
export interface SecondaryEmail {
|
|
244
|
+
/** Email address. */
|
|
180
245
|
email?: string;
|
|
246
|
+
/** Email tag. */
|
|
181
247
|
tag?: EmailTag;
|
|
182
248
|
}
|
|
183
249
|
export declare enum EmailTag {
|
|
@@ -187,8 +253,11 @@ export declare enum EmailTag {
|
|
|
187
253
|
WORK = "WORK"
|
|
188
254
|
}
|
|
189
255
|
export interface Phone {
|
|
256
|
+
/** Phone country code. */
|
|
190
257
|
countryCode?: string | null;
|
|
258
|
+
/** Phone number. */
|
|
191
259
|
phone?: string;
|
|
260
|
+
/** Phone tag. */
|
|
192
261
|
tag?: PhoneTag;
|
|
193
262
|
}
|
|
194
263
|
export declare enum PhoneTag {
|
|
@@ -200,7 +269,9 @@ export declare enum PhoneTag {
|
|
|
200
269
|
FAX = "FAX"
|
|
201
270
|
}
|
|
202
271
|
export interface AddressWrapper {
|
|
272
|
+
/** Address. */
|
|
203
273
|
address?: Address;
|
|
274
|
+
/** Address tag. */
|
|
204
275
|
tag?: AddressTag;
|
|
205
276
|
}
|
|
206
277
|
/** Physical address */
|
|
@@ -253,17 +324,33 @@ export declare enum Reason {
|
|
|
253
324
|
PENDING_EMAIL_VERIFICATION_REQUIRED = "PENDING_EMAIL_VERIFICATION_REQUIRED"
|
|
254
325
|
}
|
|
255
326
|
/**
|
|
256
|
-
* Sends an
|
|
257
|
-
*
|
|
327
|
+
* Sends a member an email containing a customized link to a Wix-managed page
|
|
328
|
+
* where the member can set a new password for their account.
|
|
329
|
+
* @param email - Email address associated with the account to recover.
|
|
258
330
|
* @public
|
|
259
331
|
* @documentationMaturity preview
|
|
260
332
|
* @requiredField email
|
|
261
333
|
*/
|
|
262
334
|
export declare function sendRecoveryEmail(email: string, options?: SendRecoveryEmailOptions): Promise<void>;
|
|
263
335
|
export interface SendRecoveryEmailOptions {
|
|
264
|
-
/**
|
|
336
|
+
/** Language of the email to be sent. Defaults to the language specified in the member's profile. */
|
|
337
|
+
language?: string | null;
|
|
338
|
+
/** Where to redirect to after a successful recovery. */
|
|
339
|
+
redirect?: Redirect;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Sends an activation email with an activation token
|
|
343
|
+
* making the transition from initial contact to a site member
|
|
344
|
+
* @param identityId - Id of the activating user
|
|
345
|
+
* @public
|
|
346
|
+
* @documentationMaturity preview
|
|
347
|
+
* @requiredField identityId
|
|
348
|
+
*/
|
|
349
|
+
export declare function sendActivationEmail(identityId: string, options?: SendActivationEmailOptions): Promise<void>;
|
|
350
|
+
export interface SendActivationEmailOptions {
|
|
351
|
+
/** language of the email - if not received will fallback to the identity language */
|
|
265
352
|
language?: string | null;
|
|
266
|
-
/** Where to redirect after a successful
|
|
353
|
+
/** Where to redirect after a successful activation process */
|
|
267
354
|
redirect?: Redirect;
|
|
268
355
|
}
|
|
269
356
|
/** @param recoveryToken - recovery token
|
|
@@ -94,12 +94,15 @@ const _identityProfile = {
|
|
|
94
94
|
const _listValue = { value: '_customValue' };
|
|
95
95
|
const _mapValue = { value: 'Map#_customValue' };
|
|
96
96
|
const _recoverRequest = {};
|
|
97
|
+
const _sendActivationEmailRequest = {};
|
|
98
|
+
const _sendActivationEmailResponse = {};
|
|
97
99
|
const _sendRecoveryEmailRequest = {};
|
|
98
100
|
const _sendRecoveryEmailResponse = {};
|
|
99
101
|
const _stateMachineResponse = { identity: '_identity' };
|
|
100
102
|
/**
|
|
101
|
-
* Sends an
|
|
102
|
-
*
|
|
103
|
+
* Sends a member an email containing a customized link to a Wix-managed page
|
|
104
|
+
* where the member can set a new password for their account.
|
|
105
|
+
* @param email - Email address associated with the account to recover.
|
|
103
106
|
* @public
|
|
104
107
|
* @documentationMaturity preview
|
|
105
108
|
* @requiredField email
|
|
@@ -152,6 +155,62 @@ export function sendRecoveryEmail(email, options) {
|
|
|
152
155
|
}
|
|
153
156
|
});
|
|
154
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* Sends an activation email with an activation token
|
|
160
|
+
* making the transition from initial contact to a site member
|
|
161
|
+
* @param identityId - Id of the activating user
|
|
162
|
+
* @public
|
|
163
|
+
* @documentationMaturity preview
|
|
164
|
+
* @requiredField identityId
|
|
165
|
+
*/
|
|
166
|
+
export function sendActivationEmail(identityId, options) {
|
|
167
|
+
var _a, _b, _c;
|
|
168
|
+
return __awaiter(this, arguments, void 0, function* () {
|
|
169
|
+
const requestTransformation = {
|
|
170
|
+
identityId: '$[0]',
|
|
171
|
+
language: '$[1].language',
|
|
172
|
+
redirect: '$[1].redirect',
|
|
173
|
+
};
|
|
174
|
+
const responseTransformation = '$';
|
|
175
|
+
// @ts-ignore
|
|
176
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
177
|
+
const { toAmbassadorRequest } = serializer({
|
|
178
|
+
rootSchema: _sendActivationEmailRequest,
|
|
179
|
+
depSchemas: {},
|
|
180
|
+
fqdnTransformation: {
|
|
181
|
+
paths: [],
|
|
182
|
+
transformation: _fromVeloEntity,
|
|
183
|
+
},
|
|
184
|
+
customTransformation: requestTransformation,
|
|
185
|
+
});
|
|
186
|
+
const { fromJSON } = serializer({
|
|
187
|
+
rootSchema: _sendActivationEmailResponse,
|
|
188
|
+
depSchemas: {},
|
|
189
|
+
fqdnTransformation: {
|
|
190
|
+
paths: [],
|
|
191
|
+
transformation: _toVeloEntity,
|
|
192
|
+
},
|
|
193
|
+
customTransformation: responseTransformation,
|
|
194
|
+
});
|
|
195
|
+
const payload = toAmbassadorRequest([identityId, options]);
|
|
196
|
+
const reqOpts = ambassadorWixIamRecoveryV1Recovery.sendActivationEmail(payload);
|
|
197
|
+
__log(`"SendActivationEmail" sending request with: ${__inspect(reqOpts)}`);
|
|
198
|
+
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
199
|
+
try {
|
|
200
|
+
const result = yield httpClient.request(reqOpts);
|
|
201
|
+
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
202
|
+
return fromJSON(result.data);
|
|
203
|
+
}
|
|
204
|
+
catch (err) {
|
|
205
|
+
const transformedError = transformError(err, requestTransformation, [
|
|
206
|
+
'identityId',
|
|
207
|
+
'options',
|
|
208
|
+
]);
|
|
209
|
+
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
210
|
+
throw transformedError;
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
}
|
|
155
214
|
/** @param recoveryToken - recovery token
|
|
156
215
|
* @public
|
|
157
216
|
* @documentationMaturity preview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam-recovery-v1-recovery.universal.js","sourceRoot":"","sources":["../../../src/iam-recovery-v1-recovery.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,kCAAkC,MAAM,iCAAiC,CAAC;AAEtF,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA+B5B,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC3C,iCAAmB,CAAA;IACnB,2BAAa,CAAA;IACb,2BAAa,CAAA;AACf,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;
|
|
1
|
+
{"version":3,"file":"iam-recovery-v1-recovery.universal.js","sourceRoot":"","sources":["../../../src/iam-recovery-v1-recovery.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,kCAAkC,MAAM,iCAAiC,CAAC;AAEtF,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA+B5B,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC3C,iCAAmB,CAAA;IACnB,2BAAa,CAAA;IACb,2BA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,CAAC,CAAC;QAEpE,KAAK,CAAC,mCAAmC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAE/D,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,eAAe;gBACf,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF"}
|
|
@@ -6,8 +6,12 @@ import { StateMachineResponse, StartRequest, StartResponse, VerifyDuringAuthenti
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function start(payload: StartRequest): RequestOptionsFactory<StartResponse>;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* Continues the registration process when a member is required to verify an email address
|
|
10
|
+
* using a verification code received by email.
|
|
11
|
+
*
|
|
12
|
+
* Email verification is required when the registering member is already listed as a contact.
|
|
13
|
+
*
|
|
14
|
+
* Typically, after a sucessful verification, you generate and use member tokens for the
|
|
15
|
+
* registered member so that subsequent API calls are called as part of a member session.
|
|
12
16
|
*/
|
|
13
17
|
export declare function verifyDuringAuthentication(payload: VerifyDuringAuthenticationRequest): RequestOptionsFactory<StateMachineResponse>;
|
|
@@ -63,9 +63,13 @@ export function start(payload) {
|
|
|
63
63
|
return __start;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
66
|
+
* Continues the registration process when a member is required to verify an email address
|
|
67
|
+
* using a verification code received by email.
|
|
68
|
+
*
|
|
69
|
+
* Email verification is required when the registering member is already listed as a contact.
|
|
70
|
+
*
|
|
71
|
+
* Typically, after a sucessful verification, you generate and use member tokens for the
|
|
72
|
+
* registered member so that subsequent API calls are called as part of a member session.
|
|
69
73
|
*/
|
|
70
74
|
export function verifyDuringAuthentication(payload) {
|
|
71
75
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_verifyDuringAuthenticationRequest, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam-verification-v1-start-response.http.js","sourceRoot":"","sources":["../../../src/iam-verification-v1-start-response.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAUhD,MAAM,YAAY,GAAG,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC;AAC/C,MAAM,YAAY,GAAG;IACnB,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE,2BAA2B;IACtC,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;CACtB,CAAC;AACF,MAAM,SAAS,GAAG;IAChB,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,eAAe,EAAE,kBAAkB;CACpC,CAAC;AACF,MAAM,gBAAgB,GAAG,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAC1D,MAAM,UAAU,GAAG,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC;AAC7C,MAAM,SAAS,GAAG,EAAE,KAAK,EAAE,kBAAkB,EAAE,CAAC;AAChD,MAAM,aAAa,GAAG,EAAE,CAAC;AACzB,MAAM,cAAc,GAAG,EAAE,CAAC;AAC1B,MAAM,qBAAqB,G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,EACP,wEAAwE;YAC1E,GAAG,EAAE,iDAAiD,CAAC;gBACrD,SAAS,EAAE,iBAAiB;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,4BAA4B,CAAC,OAAO,GAAG,OAAO,CAAC;IAE/C,OAAO,4BAA4B,CAAC;AACtC,CAAC"}
|
|
@@ -24,19 +24,19 @@ export interface VerifyRequest {
|
|
|
24
24
|
export interface VerifyResponse {
|
|
25
25
|
}
|
|
26
26
|
export interface VerifyDuringAuthenticationRequest {
|
|
27
|
-
/**
|
|
27
|
+
/** The code to verify. */
|
|
28
28
|
code: string;
|
|
29
|
-
/**
|
|
29
|
+
/** A state token representing the `REQUIRE_EMAIL_VERIFICATION` state. */
|
|
30
30
|
stateToken: string;
|
|
31
31
|
}
|
|
32
32
|
export interface StateMachineResponse {
|
|
33
|
-
/** The current state */
|
|
33
|
+
/** The current state of the login or registration process. */
|
|
34
34
|
state?: StateType;
|
|
35
|
-
/**
|
|
35
|
+
/** If state is `SUCCESS`, a session token. */
|
|
36
36
|
sessionToken?: string | null;
|
|
37
|
-
/**
|
|
37
|
+
/** A token representing the current state of the login or registration process. */
|
|
38
38
|
stateToken?: string | null;
|
|
39
|
-
/**
|
|
39
|
+
/** Identing of the current member. */
|
|
40
40
|
identity?: Identity;
|
|
41
41
|
}
|
|
42
42
|
export declare enum StateType {
|
|
@@ -49,25 +49,35 @@ export declare enum StateType {
|
|
|
49
49
|
export interface Identity {
|
|
50
50
|
/** Identity ID */
|
|
51
51
|
id?: string | null;
|
|
52
|
+
/** Identifiers */
|
|
52
53
|
identifiers?: Identifier[];
|
|
53
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Represents the current state of an item. Each time the item is modified, its `revision` changes.
|
|
56
|
+
* For an update operation to succeed, you MUST pass the latest revision.
|
|
57
|
+
*/
|
|
54
58
|
revision?: string | null;
|
|
55
59
|
/**
|
|
56
|
-
*
|
|
60
|
+
* The time this identity was created.
|
|
57
61
|
* @readonly
|
|
58
62
|
*/
|
|
59
63
|
createdDate?: Date;
|
|
60
64
|
/**
|
|
61
|
-
*
|
|
65
|
+
* The time this identity was last updated.
|
|
62
66
|
* @readonly
|
|
63
67
|
*/
|
|
64
68
|
updatedDate?: Date;
|
|
65
|
-
/**
|
|
69
|
+
/** The identity configured connections to authenticate with. */
|
|
66
70
|
connections?: Connection[];
|
|
71
|
+
/** Identity profile. */
|
|
67
72
|
identityProfile?: IdentityProfile;
|
|
68
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Additional information about the identity that can impact user access.
|
|
75
|
+
* This data cannot be set.
|
|
76
|
+
*/
|
|
69
77
|
metadata?: Metadata;
|
|
78
|
+
/** Identity email address. */
|
|
70
79
|
email?: Email;
|
|
80
|
+
/** Identity's current status. */
|
|
71
81
|
status?: StatusV2;
|
|
72
82
|
}
|
|
73
83
|
export interface Identifier extends IdentifierValueOneOf {
|
|
@@ -80,39 +90,65 @@ export interface IdentifierValueOneOf {
|
|
|
80
90
|
userName?: string;
|
|
81
91
|
}
|
|
82
92
|
export interface Connection extends ConnectionTypeOneOf {
|
|
93
|
+
/** IDP connection. */
|
|
83
94
|
idpConnection?: IdpConnection;
|
|
95
|
+
/** Authenticator connection. */
|
|
84
96
|
authenticatorConnection?: AuthenticatorConnection;
|
|
85
97
|
}
|
|
86
98
|
/** @oneof */
|
|
87
99
|
export interface ConnectionTypeOneOf {
|
|
100
|
+
/** IDP connection. */
|
|
88
101
|
idpConnection?: IdpConnection;
|
|
102
|
+
/** Authenticator connection. */
|
|
89
103
|
authenticatorConnection?: AuthenticatorConnection;
|
|
90
104
|
}
|
|
91
105
|
export interface IdpConnection {
|
|
106
|
+
/** IDP connection ID. */
|
|
92
107
|
idpConnectionId?: string;
|
|
108
|
+
/** IDP user ID. */
|
|
93
109
|
idpUserId?: string;
|
|
94
110
|
}
|
|
95
111
|
export interface AuthenticatorConnection {
|
|
112
|
+
/** Authenticator connection ID. */
|
|
96
113
|
authenticatorConnectionId?: string;
|
|
114
|
+
/** Whether re-enrollment is required. */
|
|
97
115
|
reEnrollmentRequired?: boolean;
|
|
98
116
|
}
|
|
99
117
|
export interface IdentityProfile {
|
|
118
|
+
/** Profile first name. */
|
|
100
119
|
firstName?: string | null;
|
|
120
|
+
/** Profile last name. */
|
|
101
121
|
lastName?: string | null;
|
|
122
|
+
/** Profile nickname. */
|
|
102
123
|
nickname?: string | null;
|
|
124
|
+
/** Profile picture URL. */
|
|
103
125
|
picture?: string | null;
|
|
126
|
+
/** Deprecated. Use `secondaryEmails` instead. */
|
|
104
127
|
emails?: string[];
|
|
128
|
+
/** Deprecated. Use `phonesV2` instead. */
|
|
105
129
|
phones?: string[];
|
|
130
|
+
/** List of profile labels. */
|
|
106
131
|
labels?: string[];
|
|
132
|
+
/** Profile language. */
|
|
107
133
|
language?: string | null;
|
|
134
|
+
/** Profile privacy status. */
|
|
108
135
|
privacyStatus?: PrivacyStatus;
|
|
109
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Any number of custom fields. [Custom fields](https://support.wix.com/en/article/adding-custom-fields-to-contacts)
|
|
138
|
+
* are used to store additional information about your site or app's contacts.
|
|
139
|
+
*/
|
|
110
140
|
customFields?: CustomField[];
|
|
141
|
+
/** List of profile email addresses. */
|
|
111
142
|
secondaryEmails?: SecondaryEmail[];
|
|
143
|
+
/** List of profile phone numbers. */
|
|
112
144
|
phonesV2?: Phone[];
|
|
145
|
+
/** List of profile physical addresses. */
|
|
113
146
|
addresses?: AddressWrapper[];
|
|
147
|
+
/** Company name. */
|
|
114
148
|
company?: string | null;
|
|
149
|
+
/** Position within company. */
|
|
115
150
|
position?: string | null;
|
|
151
|
+
/** Profile birthdate. */
|
|
116
152
|
birthdate?: string | null;
|
|
117
153
|
}
|
|
118
154
|
export declare enum PrivacyStatus {
|
|
@@ -121,32 +157,52 @@ export declare enum PrivacyStatus {
|
|
|
121
157
|
PRIVATE = "PRIVATE"
|
|
122
158
|
}
|
|
123
159
|
export interface CustomField {
|
|
160
|
+
/**
|
|
161
|
+
* Custom field name. The name must match one of the key properties of the objects returned by
|
|
162
|
+
* [`List Extended Fields`](https://dev.wix.com/docs/rest/api-reference/contacts/extended-fields/list-extended-fields)
|
|
163
|
+
* with the `custom.` prefix removed.
|
|
164
|
+
*/
|
|
124
165
|
name?: string;
|
|
166
|
+
/** Custom field value. */
|
|
125
167
|
value?: CustomValue;
|
|
126
168
|
}
|
|
127
169
|
export interface CustomValue extends CustomValueValueOneOf {
|
|
170
|
+
/** String value. */
|
|
128
171
|
strValue?: string;
|
|
172
|
+
/** Number value. */
|
|
129
173
|
numValue?: number;
|
|
174
|
+
/** Date value. */
|
|
130
175
|
dateValue?: Date;
|
|
176
|
+
/** List value. */
|
|
131
177
|
listValue?: ListValue;
|
|
178
|
+
/** Map value. */
|
|
132
179
|
mapValue?: MapValue;
|
|
133
180
|
}
|
|
134
181
|
/** @oneof */
|
|
135
182
|
export interface CustomValueValueOneOf {
|
|
183
|
+
/** String value. */
|
|
136
184
|
strValue?: string;
|
|
185
|
+
/** Number value. */
|
|
137
186
|
numValue?: number;
|
|
187
|
+
/** Date value. */
|
|
138
188
|
dateValue?: Date;
|
|
189
|
+
/** List value. */
|
|
139
190
|
listValue?: ListValue;
|
|
191
|
+
/** Map value. */
|
|
140
192
|
mapValue?: MapValue;
|
|
141
193
|
}
|
|
142
194
|
export interface ListValue {
|
|
195
|
+
/** Custom value. */
|
|
143
196
|
value?: CustomValue[];
|
|
144
197
|
}
|
|
145
198
|
export interface MapValue {
|
|
199
|
+
/** Mapped custom value. */
|
|
146
200
|
value?: Record<string, CustomValue>;
|
|
147
201
|
}
|
|
148
202
|
export interface SecondaryEmail {
|
|
203
|
+
/** Email address. */
|
|
149
204
|
email?: string;
|
|
205
|
+
/** Email tag. */
|
|
150
206
|
tag?: EmailTag;
|
|
151
207
|
}
|
|
152
208
|
export declare enum EmailTag {
|
|
@@ -156,8 +212,11 @@ export declare enum EmailTag {
|
|
|
156
212
|
WORK = "WORK"
|
|
157
213
|
}
|
|
158
214
|
export interface Phone {
|
|
215
|
+
/** Phone country code. */
|
|
159
216
|
countryCode?: string | null;
|
|
217
|
+
/** Phone number. */
|
|
160
218
|
phone?: string;
|
|
219
|
+
/** Phone tag. */
|
|
161
220
|
tag?: PhoneTag;
|
|
162
221
|
}
|
|
163
222
|
export declare enum PhoneTag {
|
|
@@ -169,7 +228,9 @@ export declare enum PhoneTag {
|
|
|
169
228
|
FAX = "FAX"
|
|
170
229
|
}
|
|
171
230
|
export interface AddressWrapper {
|
|
231
|
+
/** Address. */
|
|
172
232
|
address?: Address;
|
|
233
|
+
/** Address tag. */
|
|
173
234
|
tag?: AddressTag;
|
|
174
235
|
}
|
|
175
236
|
/** Physical address */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam-verification-v1-start-response.types.js","sourceRoot":"","sources":["../../../src/iam-verification-v1-start-response.types.ts"],"names":[],"mappings":"AAeA,MAAM,CAAN,IAAY,MAGX;AAHD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,yBAAe,CAAA;AACjB,CAAC,EAHW,MAAM,KAAN,MAAM,QAGjB;AA6BD,MAAM,CAAN,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,4CAA+B,CAAA;IAC/B,gCAAmB,CAAA;IACnB,8DAAiD,CAAA;IACjD,sEAAyD,CAAA;IACzD,0CAA6B,CAAA;AAC/B,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB;
|
|
1
|
+
{"version":3,"file":"iam-verification-v1-start-response.types.js","sourceRoot":"","sources":["../../../src/iam-verification-v1-start-response.types.ts"],"names":[],"mappings":"AAeA,MAAM,CAAN,IAAY,MAGX;AAHD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,yBAAe,CAAA;AACjB,CAAC,EAHW,MAAM,KAAN,MAAM,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