@wix/identity 1.0.74 → 1.0.75
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 +4 -0
- package/build/cjs/{index.typings.js → context.js} +5 -5
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.d.ts +4 -4
- package/build/cjs/index.js +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -4
- package/build/cjs/meta.js +4 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +4 -0
- package/build/es/context.js +5 -0
- package/build/es/context.js.map +1 -0
- package/build/es/index.d.ts +4 -4
- package/build/es/index.js +4 -4
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +4 -4
- package/build/es/meta.js +4 -4
- package/build/es/meta.js.map +1 -1
- package/context/package.json +6 -0
- package/package.json +15 -8
- package/build/cjs/index.typings.d.ts +0 -4
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication.http.d.ts +0 -28
- package/build/cjs/src/iam-authentication-v1-authentication.http.js +0 -408
- package/build/cjs/src/iam-authentication-v1-authentication.http.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication.meta.d.ts +0 -21
- package/build/cjs/src/iam-authentication-v1-authentication.meta.js +0 -199
- package/build/cjs/src/iam-authentication-v1-authentication.meta.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication.public.d.ts +0 -16
- package/build/cjs/src/iam-authentication-v1-authentication.public.js +0 -70
- package/build/cjs/src/iam-authentication-v1-authentication.public.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication.types.d.ts +0 -669
- package/build/cjs/src/iam-authentication-v1-authentication.types.js +0 -78
- package/build/cjs/src/iam-authentication-v1-authentication.types.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication.universal.d.ts +0 -790
- package/build/cjs/src/iam-authentication-v1-authentication.universal.js +0 -780
- package/build/cjs/src/iam-authentication-v1-authentication.universal.js.map +0 -1
- package/build/cjs/src/iam-recovery-v1-recovery.http.d.ts +0 -13
- package/build/cjs/src/iam-recovery-v1-recovery.http.js +0 -109
- package/build/cjs/src/iam-recovery-v1-recovery.http.js.map +0 -1
- package/build/cjs/src/iam-recovery-v1-recovery.meta.d.ts +0 -15
- package/build/cjs/src/iam-recovery-v1-recovery.meta.js +0 -85
- package/build/cjs/src/iam-recovery-v1-recovery.meta.js.map +0 -1
- package/build/cjs/src/iam-recovery-v1-recovery.public.d.ts +0 -10
- package/build/cjs/src/iam-recovery-v1-recovery.public.js +0 -33
- package/build/cjs/src/iam-recovery-v1-recovery.public.js.map +0 -1
- package/build/cjs/src/iam-recovery-v1-recovery.types.d.ts +0 -431
- package/build/cjs/src/iam-recovery-v1-recovery.types.js +0 -72
- package/build/cjs/src/iam-recovery-v1-recovery.types.js.map +0 -1
- package/build/cjs/src/iam-recovery-v1-recovery.universal.d.ts +0 -475
- package/build/cjs/src/iam-recovery-v1-recovery.universal.js +0 -335
- package/build/cjs/src/iam-recovery-v1-recovery.universal.js.map +0 -1
- package/build/cjs/src/iam-verification-v1-start-response.http.d.ts +0 -22
- package/build/cjs/src/iam-verification-v1-start-response.http.js +0 -132
- package/build/cjs/src/iam-verification-v1-start-response.http.js.map +0 -1
- package/build/cjs/src/iam-verification-v1-start-response.meta.d.ts +0 -15
- package/build/cjs/src/iam-verification-v1-start-response.meta.js +0 -85
- package/build/cjs/src/iam-verification-v1-start-response.meta.js.map +0 -1
- package/build/cjs/src/iam-verification-v1-start-response.public.d.ts +0 -10
- package/build/cjs/src/iam-verification-v1-start-response.public.js +0 -33
- package/build/cjs/src/iam-verification-v1-start-response.public.js.map +0 -1
- package/build/cjs/src/iam-verification-v1-start-response.types.d.ts +0 -398
- package/build/cjs/src/iam-verification-v1-start-response.types.js +0 -70
- package/build/cjs/src/iam-verification-v1-start-response.types.js.map +0 -1
- package/build/cjs/src/iam-verification-v1-start-response.universal.d.ts +0 -448
- package/build/cjs/src/iam-verification-v1-start-response.universal.js +0 -341
- package/build/cjs/src/iam-verification-v1-start-response.universal.js.map +0 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.http.d.ts +0 -14
- package/build/cjs/src/identity-oauth-v1-refresh-token.http.js +0 -154
- package/build/cjs/src/identity-oauth-v1-refresh-token.http.js.map +0 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.meta.d.ts +0 -17
- package/build/cjs/src/identity-oauth-v1-refresh-token.meta.js +0 -123
- package/build/cjs/src/identity-oauth-v1-refresh-token.meta.js.map +0 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.public.d.ts +0 -11
- package/build/cjs/src/identity-oauth-v1-refresh-token.public.js +0 -36
- package/build/cjs/src/identity-oauth-v1-refresh-token.public.js.map +0 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.types.d.ts +0 -206
- package/build/cjs/src/identity-oauth-v1-refresh-token.types.js +0 -3
- package/build/cjs/src/identity-oauth-v1-refresh-token.types.js.map +0 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.universal.d.ts +0 -319
- package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js +0 -357
- package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -4
- package/build/es/index.typings.js +0 -5
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication.http.d.ts +0 -28
- package/build/es/src/iam-authentication-v1-authentication.http.js +0 -396
- package/build/es/src/iam-authentication-v1-authentication.http.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication.meta.d.ts +0 -21
- package/build/es/src/iam-authentication-v1-authentication.meta.js +0 -164
- package/build/es/src/iam-authentication-v1-authentication.meta.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication.public.d.ts +0 -16
- package/build/es/src/iam-authentication-v1-authentication.public.js +0 -49
- package/build/es/src/iam-authentication-v1-authentication.public.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication.types.d.ts +0 -669
- package/build/es/src/iam-authentication-v1-authentication.types.js +0 -75
- package/build/es/src/iam-authentication-v1-authentication.types.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication.universal.d.ts +0 -790
- package/build/es/src/iam-authentication-v1-authentication.universal.js +0 -745
- package/build/es/src/iam-authentication-v1-authentication.universal.js.map +0 -1
- package/build/es/src/iam-recovery-v1-recovery.http.d.ts +0 -13
- package/build/es/src/iam-recovery-v1-recovery.http.js +0 -103
- package/build/es/src/iam-recovery-v1-recovery.http.js.map +0 -1
- package/build/es/src/iam-recovery-v1-recovery.meta.d.ts +0 -15
- package/build/es/src/iam-recovery-v1-recovery.meta.js +0 -56
- package/build/es/src/iam-recovery-v1-recovery.meta.js.map +0 -1
- package/build/es/src/iam-recovery-v1-recovery.public.d.ts +0 -10
- package/build/es/src/iam-recovery-v1-recovery.public.js +0 -19
- package/build/es/src/iam-recovery-v1-recovery.public.js.map +0 -1
- package/build/es/src/iam-recovery-v1-recovery.types.d.ts +0 -431
- package/build/es/src/iam-recovery-v1-recovery.types.js +0 -69
- package/build/es/src/iam-recovery-v1-recovery.types.js.map +0 -1
- package/build/es/src/iam-recovery-v1-recovery.universal.d.ts +0 -475
- package/build/es/src/iam-recovery-v1-recovery.universal.js +0 -306
- package/build/es/src/iam-recovery-v1-recovery.universal.js.map +0 -1
- package/build/es/src/iam-verification-v1-start-response.http.d.ts +0 -22
- package/build/es/src/iam-verification-v1-start-response.http.js +0 -126
- package/build/es/src/iam-verification-v1-start-response.http.js.map +0 -1
- package/build/es/src/iam-verification-v1-start-response.meta.d.ts +0 -15
- package/build/es/src/iam-verification-v1-start-response.meta.js +0 -56
- package/build/es/src/iam-verification-v1-start-response.meta.js.map +0 -1
- package/build/es/src/iam-verification-v1-start-response.public.d.ts +0 -10
- package/build/es/src/iam-verification-v1-start-response.public.js +0 -19
- package/build/es/src/iam-verification-v1-start-response.public.js.map +0 -1
- package/build/es/src/iam-verification-v1-start-response.types.d.ts +0 -398
- package/build/es/src/iam-verification-v1-start-response.types.js +0 -67
- package/build/es/src/iam-verification-v1-start-response.types.js.map +0 -1
- package/build/es/src/iam-verification-v1-start-response.universal.d.ts +0 -448
- package/build/es/src/iam-verification-v1-start-response.universal.js +0 -312
- package/build/es/src/iam-verification-v1-start-response.universal.js.map +0 -1
- package/build/es/src/identity-oauth-v1-refresh-token.http.d.ts +0 -14
- package/build/es/src/identity-oauth-v1-refresh-token.http.js +0 -146
- package/build/es/src/identity-oauth-v1-refresh-token.http.js.map +0 -1
- package/build/es/src/identity-oauth-v1-refresh-token.meta.d.ts +0 -17
- package/build/es/src/identity-oauth-v1-refresh-token.meta.js +0 -92
- package/build/es/src/identity-oauth-v1-refresh-token.meta.js.map +0 -1
- package/build/es/src/identity-oauth-v1-refresh-token.public.d.ts +0 -11
- package/build/es/src/identity-oauth-v1-refresh-token.public.js +0 -28
- package/build/es/src/identity-oauth-v1-refresh-token.public.js.map +0 -1
- package/build/es/src/identity-oauth-v1-refresh-token.types.d.ts +0 -206
- package/build/es/src/identity-oauth-v1-refresh-token.types.js +0 -2
- package/build/es/src/identity-oauth-v1-refresh-token.types.js.map +0 -1
- package/build/es/src/identity-oauth-v1-refresh-token.universal.d.ts +0 -319
- package/build/es/src/identity-oauth-v1-refresh-token.universal.js +0 -326
- package/build/es/src/identity-oauth-v1-refresh-token.universal.js.map +0 -1
|
@@ -1,431 +0,0 @@
|
|
|
1
|
-
/** Recovery token proto is the saved data on the recovery token. */
|
|
2
|
-
export interface RecoveryToken {
|
|
3
|
-
/**
|
|
4
|
-
* Recovery token ID
|
|
5
|
-
* @readonly
|
|
6
|
-
*/
|
|
7
|
-
id?: string | null;
|
|
8
|
-
/**
|
|
9
|
-
* Represents the time this SessionToken was created
|
|
10
|
-
* @readonly
|
|
11
|
-
*/
|
|
12
|
-
createdDate?: Date;
|
|
13
|
-
/**
|
|
14
|
-
* tenantId
|
|
15
|
-
* @readonly
|
|
16
|
-
*/
|
|
17
|
-
tenantId?: string;
|
|
18
|
-
/**
|
|
19
|
-
* TenantType
|
|
20
|
-
* @readonly
|
|
21
|
-
*/
|
|
22
|
-
tenantType?: TenantType;
|
|
23
|
-
/**
|
|
24
|
-
* identity id
|
|
25
|
-
* @readonly
|
|
26
|
-
*/
|
|
27
|
-
identityId?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare enum TenantType {
|
|
30
|
-
UNKNOWN_TENANT_TYPE = "UNKNOWN_TENANT_TYPE",
|
|
31
|
-
ACCOUNT = "ACCOUNT",
|
|
32
|
-
SITE = "SITE",
|
|
33
|
-
ROOT = "ROOT"
|
|
34
|
-
}
|
|
35
|
-
export interface SendRecoveryEmailRequest {
|
|
36
|
-
/** Email address associated with the account to recover. */
|
|
37
|
-
email: string;
|
|
38
|
-
/** Language of the email to be sent. Defaults to the language specified in the member's profile. */
|
|
39
|
-
language?: string | null;
|
|
40
|
-
/** Where to redirect to after a successful recovery. */
|
|
41
|
-
redirect?: Redirect;
|
|
42
|
-
}
|
|
43
|
-
export interface Redirect {
|
|
44
|
-
/** The URL to redirect to after a successful recovery. */
|
|
45
|
-
url?: string;
|
|
46
|
-
/** Caller identifier. */
|
|
47
|
-
clientId?: string | null;
|
|
48
|
-
}
|
|
49
|
-
export interface SendRecoveryEmailResponse {
|
|
50
|
-
}
|
|
51
|
-
export interface SendActivationEmailRequest {
|
|
52
|
-
/** Id of the activating user */
|
|
53
|
-
identityId: string;
|
|
54
|
-
/** Options for the activation email */
|
|
55
|
-
emailOptions?: EmailOptions;
|
|
56
|
-
}
|
|
57
|
-
export interface EmailOptions {
|
|
58
|
-
/** language of the email - if not received will fallback to the identity language */
|
|
59
|
-
language?: string | null;
|
|
60
|
-
/** Where to redirect after a successful activation process */
|
|
61
|
-
redirect?: Redirect;
|
|
62
|
-
}
|
|
63
|
-
export interface SendActivationEmailResponse {
|
|
64
|
-
}
|
|
65
|
-
export interface RecoverRequest {
|
|
66
|
-
/** recovery token */
|
|
67
|
-
recoveryToken: string;
|
|
68
|
-
/** new password to set for the identity */
|
|
69
|
-
password?: string | null;
|
|
70
|
-
}
|
|
71
|
-
export interface StateMachineResponse {
|
|
72
|
-
/** The current state of the login or registration process. */
|
|
73
|
-
state?: StateType;
|
|
74
|
-
/** If state is `SUCCESS`, a session token. */
|
|
75
|
-
sessionToken?: string | null;
|
|
76
|
-
/** A token representing the current state of the login or registration process. */
|
|
77
|
-
stateToken?: string | null;
|
|
78
|
-
/** Identing of the current member. */
|
|
79
|
-
identity?: Identity;
|
|
80
|
-
/** additional_data = 5; //TBD */
|
|
81
|
-
additionalData?: Record<string, CommonCustomValue>;
|
|
82
|
-
}
|
|
83
|
-
export declare enum StateType {
|
|
84
|
-
/** Initial unknown state. */
|
|
85
|
-
UNKNOWN_STATE = "UNKNOWN_STATE",
|
|
86
|
-
/** The operation completed successfully. */
|
|
87
|
-
SUCCESS = "SUCCESS",
|
|
88
|
-
/** State that indicates that the member needs owner approval to proceed, available action in: OwnerApprovalStateHandler */
|
|
89
|
-
REQUIRE_OWNER_APPROVAL = "REQUIRE_OWNER_APPROVAL",
|
|
90
|
-
/**
|
|
91
|
-
* State that indicates a member waiting for verification, available action are: verifyDuringAuthentication or resendDuringAuthentication
|
|
92
|
-
* https://dev.wix.com/docs/rest/api-reference/auth-management/verification-v1/verify-during-authentication
|
|
93
|
-
*/
|
|
94
|
-
REQUIRE_EMAIL_VERIFICATION = "REQUIRE_EMAIL_VERIFICATION",
|
|
95
|
-
/** State that indicates checking that the status is not one of the `invalidStates` before proceeding. */
|
|
96
|
-
STATUS_CHECK = "STATUS_CHECK"
|
|
97
|
-
}
|
|
98
|
-
export interface Identity {
|
|
99
|
-
/** Identity ID */
|
|
100
|
-
id?: string | null;
|
|
101
|
-
/** Identifiers */
|
|
102
|
-
identifiers?: Identifier[];
|
|
103
|
-
/**
|
|
104
|
-
* Represents the current state of an item. Each time the item is modified, its `revision` changes.
|
|
105
|
-
* For an update operation to succeed, you MUST pass the latest revision.
|
|
106
|
-
*/
|
|
107
|
-
revision?: string | null;
|
|
108
|
-
/**
|
|
109
|
-
* The time this identity was created.
|
|
110
|
-
* @readonly
|
|
111
|
-
*/
|
|
112
|
-
createdDate?: Date;
|
|
113
|
-
/**
|
|
114
|
-
* The time this identity was last updated.
|
|
115
|
-
* @readonly
|
|
116
|
-
*/
|
|
117
|
-
updatedDate?: Date;
|
|
118
|
-
/** The identity configured connections to authenticate with. */
|
|
119
|
-
connections?: Connection[];
|
|
120
|
-
/** Identity profile. */
|
|
121
|
-
identityProfile?: IdentityProfile;
|
|
122
|
-
/**
|
|
123
|
-
* Additional information about the identity that can impact user access.
|
|
124
|
-
* This data cannot be set.
|
|
125
|
-
*/
|
|
126
|
-
metadata?: Metadata;
|
|
127
|
-
/** Identity email address. */
|
|
128
|
-
email?: Email;
|
|
129
|
-
/** Identity's current status. */
|
|
130
|
-
status?: StatusV2;
|
|
131
|
-
}
|
|
132
|
-
export interface Identifier extends IdentifierValueOneOf {
|
|
133
|
-
email?: string;
|
|
134
|
-
userName?: string;
|
|
135
|
-
}
|
|
136
|
-
/** @oneof */
|
|
137
|
-
export interface IdentifierValueOneOf {
|
|
138
|
-
email?: string;
|
|
139
|
-
userName?: string;
|
|
140
|
-
}
|
|
141
|
-
export interface Connection extends ConnectionTypeOneOf {
|
|
142
|
-
/** IDP connection. */
|
|
143
|
-
idpConnection?: IdpConnection;
|
|
144
|
-
/** Authenticator connection. */
|
|
145
|
-
authenticatorConnection?: AuthenticatorConnection;
|
|
146
|
-
}
|
|
147
|
-
/** @oneof */
|
|
148
|
-
export interface ConnectionTypeOneOf {
|
|
149
|
-
/** IDP connection. */
|
|
150
|
-
idpConnection?: IdpConnection;
|
|
151
|
-
/** Authenticator connection. */
|
|
152
|
-
authenticatorConnection?: AuthenticatorConnection;
|
|
153
|
-
}
|
|
154
|
-
export interface IdpConnection {
|
|
155
|
-
/** IDP connection ID. */
|
|
156
|
-
idpConnectionId?: string;
|
|
157
|
-
/** IDP user ID. */
|
|
158
|
-
idpUserId?: string;
|
|
159
|
-
}
|
|
160
|
-
export interface AuthenticatorConnection {
|
|
161
|
-
/** Authenticator connection ID. */
|
|
162
|
-
authenticatorConnectionId?: string;
|
|
163
|
-
/** Whether re-enrollment is required. */
|
|
164
|
-
reEnrollmentRequired?: boolean;
|
|
165
|
-
}
|
|
166
|
-
export interface IdentityProfile {
|
|
167
|
-
/** Profile first name. */
|
|
168
|
-
firstName?: string | null;
|
|
169
|
-
/** Profile last name. */
|
|
170
|
-
lastName?: string | null;
|
|
171
|
-
/** Profile nickname. */
|
|
172
|
-
nickname?: string | null;
|
|
173
|
-
/** Profile picture URL. */
|
|
174
|
-
picture?: string | null;
|
|
175
|
-
/** Deprecated. Use `secondaryEmails` instead. */
|
|
176
|
-
emails?: string[];
|
|
177
|
-
/** Deprecated. Use `phonesV2` instead. */
|
|
178
|
-
phones?: string[];
|
|
179
|
-
/** List of profile labels. */
|
|
180
|
-
labels?: string[];
|
|
181
|
-
/** Profile language. */
|
|
182
|
-
language?: string | null;
|
|
183
|
-
/** Profile privacy status. */
|
|
184
|
-
privacyStatus?: PrivacyStatus;
|
|
185
|
-
/**
|
|
186
|
-
* Any number of custom fields. [Custom fields](https://support.wix.com/en/article/adding-custom-fields-to-contacts)
|
|
187
|
-
* are used to store additional information about your site or app's contacts.
|
|
188
|
-
*/
|
|
189
|
-
customFields?: CustomField[];
|
|
190
|
-
/** List of profile email addresses. */
|
|
191
|
-
secondaryEmails?: SecondaryEmail[];
|
|
192
|
-
/** List of profile phone numbers. */
|
|
193
|
-
phonesV2?: Phone[];
|
|
194
|
-
/** List of profile physical addresses. */
|
|
195
|
-
addresses?: AddressWrapper[];
|
|
196
|
-
/** Company name. */
|
|
197
|
-
company?: string | null;
|
|
198
|
-
/** Position within company. */
|
|
199
|
-
position?: string | null;
|
|
200
|
-
/** Profile birthdate. */
|
|
201
|
-
birthdate?: string | null;
|
|
202
|
-
}
|
|
203
|
-
export declare enum PrivacyStatus {
|
|
204
|
-
UNDEFINED = "UNDEFINED",
|
|
205
|
-
PUBLIC = "PUBLIC",
|
|
206
|
-
PRIVATE = "PRIVATE"
|
|
207
|
-
}
|
|
208
|
-
export interface CustomField {
|
|
209
|
-
/**
|
|
210
|
-
* Custom field name. The name must match one of the key properties of the objects returned by
|
|
211
|
-
* [`List Extended Fields`](https://dev.wix.com/docs/rest/api-reference/contacts/extended-fields/list-extended-fields)
|
|
212
|
-
* with the `custom.` prefix removed.
|
|
213
|
-
*/
|
|
214
|
-
name?: string;
|
|
215
|
-
/** Custom field value. */
|
|
216
|
-
value?: CustomValue;
|
|
217
|
-
}
|
|
218
|
-
export interface CustomValue extends CustomValueValueOneOf {
|
|
219
|
-
/** String value. */
|
|
220
|
-
strValue?: string;
|
|
221
|
-
/** Number value. */
|
|
222
|
-
numValue?: number;
|
|
223
|
-
/** Date value. */
|
|
224
|
-
dateValue?: Date;
|
|
225
|
-
/** List value. */
|
|
226
|
-
listValue?: ListValue;
|
|
227
|
-
/** Map value. */
|
|
228
|
-
mapValue?: MapValue;
|
|
229
|
-
}
|
|
230
|
-
/** @oneof */
|
|
231
|
-
export interface CustomValueValueOneOf {
|
|
232
|
-
/** String value. */
|
|
233
|
-
strValue?: string;
|
|
234
|
-
/** Number value. */
|
|
235
|
-
numValue?: number;
|
|
236
|
-
/** Date value. */
|
|
237
|
-
dateValue?: Date;
|
|
238
|
-
/** List value. */
|
|
239
|
-
listValue?: ListValue;
|
|
240
|
-
/** Map value. */
|
|
241
|
-
mapValue?: MapValue;
|
|
242
|
-
}
|
|
243
|
-
export interface ListValue {
|
|
244
|
-
/** Custom value. */
|
|
245
|
-
value?: CustomValue[];
|
|
246
|
-
}
|
|
247
|
-
export interface MapValue {
|
|
248
|
-
/** Mapped custom value. */
|
|
249
|
-
value?: Record<string, CustomValue>;
|
|
250
|
-
}
|
|
251
|
-
export interface SecondaryEmail {
|
|
252
|
-
/** Email address. */
|
|
253
|
-
email?: string;
|
|
254
|
-
/** Email tag. */
|
|
255
|
-
tag?: EmailTag;
|
|
256
|
-
}
|
|
257
|
-
export declare enum EmailTag {
|
|
258
|
-
UNTAGGED = "UNTAGGED",
|
|
259
|
-
MAIN = "MAIN",
|
|
260
|
-
HOME = "HOME",
|
|
261
|
-
WORK = "WORK"
|
|
262
|
-
}
|
|
263
|
-
export interface Phone {
|
|
264
|
-
/** Phone country code. */
|
|
265
|
-
countryCode?: string | null;
|
|
266
|
-
/** Phone number. */
|
|
267
|
-
phone?: string;
|
|
268
|
-
/** Phone tag. */
|
|
269
|
-
tag?: PhoneTag;
|
|
270
|
-
}
|
|
271
|
-
export declare enum PhoneTag {
|
|
272
|
-
UNTAGGED = "UNTAGGED",
|
|
273
|
-
MAIN = "MAIN",
|
|
274
|
-
HOME = "HOME",
|
|
275
|
-
MOBILE = "MOBILE",
|
|
276
|
-
WORK = "WORK",
|
|
277
|
-
FAX = "FAX"
|
|
278
|
-
}
|
|
279
|
-
export interface AddressWrapper {
|
|
280
|
-
/** Address. */
|
|
281
|
-
address?: Address;
|
|
282
|
-
/** Address tag. */
|
|
283
|
-
tag?: AddressTag;
|
|
284
|
-
}
|
|
285
|
-
/** Physical address */
|
|
286
|
-
export interface Address {
|
|
287
|
-
/** Country code. */
|
|
288
|
-
country?: string | null;
|
|
289
|
-
/** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
290
|
-
subdivision?: string | null;
|
|
291
|
-
/** City name. */
|
|
292
|
-
city?: string | null;
|
|
293
|
-
/** Zip/postal code. */
|
|
294
|
-
postalCode?: string | null;
|
|
295
|
-
/** Main address line, usually street and number as free text. */
|
|
296
|
-
addressLine?: string | null;
|
|
297
|
-
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
298
|
-
addressLine2?: string | null;
|
|
299
|
-
}
|
|
300
|
-
export declare enum AddressTag {
|
|
301
|
-
UNTAGGED = "UNTAGGED",
|
|
302
|
-
HOME = "HOME",
|
|
303
|
-
WORK = "WORK",
|
|
304
|
-
BILLING = "BILLING",
|
|
305
|
-
SHIPPING = "SHIPPING"
|
|
306
|
-
}
|
|
307
|
-
export interface Metadata {
|
|
308
|
-
/**
|
|
309
|
-
* represents general tags such as "isOwner", "isContributor"
|
|
310
|
-
* @readonly
|
|
311
|
-
*/
|
|
312
|
-
tags?: string[];
|
|
313
|
-
}
|
|
314
|
-
export interface Email {
|
|
315
|
-
address?: string;
|
|
316
|
-
isVerified?: boolean;
|
|
317
|
-
}
|
|
318
|
-
export interface StatusV2 {
|
|
319
|
-
name?: StatusName;
|
|
320
|
-
reasons?: Reason[];
|
|
321
|
-
}
|
|
322
|
-
export declare enum StatusName {
|
|
323
|
-
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
324
|
-
PENDING = "PENDING",
|
|
325
|
-
ACTIVE = "ACTIVE",
|
|
326
|
-
DELETED = "DELETED",
|
|
327
|
-
BLOCKED = "BLOCKED",
|
|
328
|
-
OFFLINE = "OFFLINE"
|
|
329
|
-
}
|
|
330
|
-
export declare enum Reason {
|
|
331
|
-
UNKNOWN_REASON = "UNKNOWN_REASON",
|
|
332
|
-
PENDING_ADMIN_APPROVAL_REQUIRED = "PENDING_ADMIN_APPROVAL_REQUIRED",
|
|
333
|
-
PENDING_EMAIL_VERIFICATION_REQUIRED = "PENDING_EMAIL_VERIFICATION_REQUIRED"
|
|
334
|
-
}
|
|
335
|
-
export interface CommonCustomValue extends CommonCustomValueValueOneOf {
|
|
336
|
-
/** String value. */
|
|
337
|
-
strValue?: string;
|
|
338
|
-
/** Number value. */
|
|
339
|
-
numValue?: number;
|
|
340
|
-
/** Date value. */
|
|
341
|
-
dateValue?: Date;
|
|
342
|
-
/** List value. */
|
|
343
|
-
listValue?: CommonListValue;
|
|
344
|
-
/** Map value. */
|
|
345
|
-
mapValue?: CommonMapValue;
|
|
346
|
-
}
|
|
347
|
-
/** @oneof */
|
|
348
|
-
export interface CommonCustomValueValueOneOf {
|
|
349
|
-
/** String value. */
|
|
350
|
-
strValue?: string;
|
|
351
|
-
/** Number value. */
|
|
352
|
-
numValue?: number;
|
|
353
|
-
/** Date value. */
|
|
354
|
-
dateValue?: Date;
|
|
355
|
-
/** List value. */
|
|
356
|
-
listValue?: CommonListValue;
|
|
357
|
-
/** Map value. */
|
|
358
|
-
mapValue?: CommonMapValue;
|
|
359
|
-
}
|
|
360
|
-
export interface CommonListValue {
|
|
361
|
-
/** Custom value. */
|
|
362
|
-
value?: CommonCustomValue[];
|
|
363
|
-
}
|
|
364
|
-
export interface CommonMapValue {
|
|
365
|
-
/** Mapped custom value. */
|
|
366
|
-
value?: Record<string, CommonCustomValue>;
|
|
367
|
-
}
|
|
368
|
-
export interface StateMachineResponseNonNullableFields {
|
|
369
|
-
state: StateType;
|
|
370
|
-
identity?: {
|
|
371
|
-
identifiers: {
|
|
372
|
-
email: string;
|
|
373
|
-
userName: string;
|
|
374
|
-
}[];
|
|
375
|
-
connections: {
|
|
376
|
-
idpConnection?: {
|
|
377
|
-
idpConnectionId: string;
|
|
378
|
-
idpUserId: string;
|
|
379
|
-
};
|
|
380
|
-
authenticatorConnection?: {
|
|
381
|
-
authenticatorConnectionId: string;
|
|
382
|
-
reEnrollmentRequired: boolean;
|
|
383
|
-
};
|
|
384
|
-
}[];
|
|
385
|
-
identityProfile?: {
|
|
386
|
-
emails: string[];
|
|
387
|
-
phones: string[];
|
|
388
|
-
labels: string[];
|
|
389
|
-
privacyStatus: PrivacyStatus;
|
|
390
|
-
customFields: {
|
|
391
|
-
name: string;
|
|
392
|
-
value?: {
|
|
393
|
-
strValue: string;
|
|
394
|
-
numValue: number;
|
|
395
|
-
listValue?: {
|
|
396
|
-
value: NonNullable<NonNullable<NonNullable<NonNullable<StateMachineResponseNonNullableFields>['identity']>['identityProfile']>['customFields'][0]>['value'][];
|
|
397
|
-
};
|
|
398
|
-
};
|
|
399
|
-
}[];
|
|
400
|
-
secondaryEmails: {
|
|
401
|
-
email: string;
|
|
402
|
-
tag: EmailTag;
|
|
403
|
-
}[];
|
|
404
|
-
phonesV2: {
|
|
405
|
-
phone: string;
|
|
406
|
-
tag: PhoneTag;
|
|
407
|
-
}[];
|
|
408
|
-
addresses: {
|
|
409
|
-
tag: AddressTag;
|
|
410
|
-
}[];
|
|
411
|
-
};
|
|
412
|
-
metadata?: {
|
|
413
|
-
tags: string[];
|
|
414
|
-
};
|
|
415
|
-
email?: {
|
|
416
|
-
address: string;
|
|
417
|
-
isVerified: boolean;
|
|
418
|
-
};
|
|
419
|
-
status?: {
|
|
420
|
-
name: StatusName;
|
|
421
|
-
reasons: Reason[];
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
|
-
additionalData?: {
|
|
425
|
-
strValue: string;
|
|
426
|
-
numValue: number;
|
|
427
|
-
listValue?: {
|
|
428
|
-
value: NonNullable<StateMachineResponseNonNullableFields>['additionalData'][];
|
|
429
|
-
};
|
|
430
|
-
};
|
|
431
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export var TenantType;
|
|
2
|
-
(function (TenantType) {
|
|
3
|
-
TenantType["UNKNOWN_TENANT_TYPE"] = "UNKNOWN_TENANT_TYPE";
|
|
4
|
-
TenantType["ACCOUNT"] = "ACCOUNT";
|
|
5
|
-
TenantType["SITE"] = "SITE";
|
|
6
|
-
TenantType["ROOT"] = "ROOT";
|
|
7
|
-
})(TenantType || (TenantType = {}));
|
|
8
|
-
export var StateType;
|
|
9
|
-
(function (StateType) {
|
|
10
|
-
/** Initial unknown state. */
|
|
11
|
-
StateType["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
12
|
-
/** The operation completed successfully. */
|
|
13
|
-
StateType["SUCCESS"] = "SUCCESS";
|
|
14
|
-
/** State that indicates that the member needs owner approval to proceed, available action in: OwnerApprovalStateHandler */
|
|
15
|
-
StateType["REQUIRE_OWNER_APPROVAL"] = "REQUIRE_OWNER_APPROVAL";
|
|
16
|
-
/**
|
|
17
|
-
* State that indicates a member waiting for verification, available action are: verifyDuringAuthentication or resendDuringAuthentication
|
|
18
|
-
* https://dev.wix.com/docs/rest/api-reference/auth-management/verification-v1/verify-during-authentication
|
|
19
|
-
*/
|
|
20
|
-
StateType["REQUIRE_EMAIL_VERIFICATION"] = "REQUIRE_EMAIL_VERIFICATION";
|
|
21
|
-
/** State that indicates checking that the status is not one of the `invalidStates` before proceeding. */
|
|
22
|
-
StateType["STATUS_CHECK"] = "STATUS_CHECK";
|
|
23
|
-
})(StateType || (StateType = {}));
|
|
24
|
-
export var PrivacyStatus;
|
|
25
|
-
(function (PrivacyStatus) {
|
|
26
|
-
PrivacyStatus["UNDEFINED"] = "UNDEFINED";
|
|
27
|
-
PrivacyStatus["PUBLIC"] = "PUBLIC";
|
|
28
|
-
PrivacyStatus["PRIVATE"] = "PRIVATE";
|
|
29
|
-
})(PrivacyStatus || (PrivacyStatus = {}));
|
|
30
|
-
export var EmailTag;
|
|
31
|
-
(function (EmailTag) {
|
|
32
|
-
EmailTag["UNTAGGED"] = "UNTAGGED";
|
|
33
|
-
EmailTag["MAIN"] = "MAIN";
|
|
34
|
-
EmailTag["HOME"] = "HOME";
|
|
35
|
-
EmailTag["WORK"] = "WORK";
|
|
36
|
-
})(EmailTag || (EmailTag = {}));
|
|
37
|
-
export var PhoneTag;
|
|
38
|
-
(function (PhoneTag) {
|
|
39
|
-
PhoneTag["UNTAGGED"] = "UNTAGGED";
|
|
40
|
-
PhoneTag["MAIN"] = "MAIN";
|
|
41
|
-
PhoneTag["HOME"] = "HOME";
|
|
42
|
-
PhoneTag["MOBILE"] = "MOBILE";
|
|
43
|
-
PhoneTag["WORK"] = "WORK";
|
|
44
|
-
PhoneTag["FAX"] = "FAX";
|
|
45
|
-
})(PhoneTag || (PhoneTag = {}));
|
|
46
|
-
export var AddressTag;
|
|
47
|
-
(function (AddressTag) {
|
|
48
|
-
AddressTag["UNTAGGED"] = "UNTAGGED";
|
|
49
|
-
AddressTag["HOME"] = "HOME";
|
|
50
|
-
AddressTag["WORK"] = "WORK";
|
|
51
|
-
AddressTag["BILLING"] = "BILLING";
|
|
52
|
-
AddressTag["SHIPPING"] = "SHIPPING";
|
|
53
|
-
})(AddressTag || (AddressTag = {}));
|
|
54
|
-
export var StatusName;
|
|
55
|
-
(function (StatusName) {
|
|
56
|
-
StatusName["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
57
|
-
StatusName["PENDING"] = "PENDING";
|
|
58
|
-
StatusName["ACTIVE"] = "ACTIVE";
|
|
59
|
-
StatusName["DELETED"] = "DELETED";
|
|
60
|
-
StatusName["BLOCKED"] = "BLOCKED";
|
|
61
|
-
StatusName["OFFLINE"] = "OFFLINE";
|
|
62
|
-
})(StatusName || (StatusName = {}));
|
|
63
|
-
export var Reason;
|
|
64
|
-
(function (Reason) {
|
|
65
|
-
Reason["UNKNOWN_REASON"] = "UNKNOWN_REASON";
|
|
66
|
-
Reason["PENDING_ADMIN_APPROVAL_REQUIRED"] = "PENDING_ADMIN_APPROVAL_REQUIRED";
|
|
67
|
-
Reason["PENDING_EMAIL_VERIFICATION_REQUIRED"] = "PENDING_EMAIL_VERIFICATION_REQUIRED";
|
|
68
|
-
})(Reason || (Reason = {}));
|
|
69
|
-
//# sourceMappingURL=iam-recovery-v1-recovery.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iam-recovery-v1-recovery.types.js","sourceRoot":"","sources":["../../../src/iam-recovery-v1-recovery.types.ts"],"names":[],"mappings":"AA6BA,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;AAwDD,MAAM,CAAN,IAAY,SAcX;AAdD,WAAY,SAAS;IACnB,6BAA6B;IAC7B,4CAA+B,CAAA;IAC/B,4CAA4C;IAC5C,gCAAmB,CAAA;IACnB,2HAA2H;IAC3H,8DAAiD,CAAA;IACjD;;;OAGG;IACH,sEAAyD,CAAA;IACzD,yGAAyG;IACzG,0CAA6B,CAAA;AAC/B,CAAC,EAdW,SAAS,KAAT,SAAS,QAcpB;AAmHD,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AAyDD,MAAM,CAAN,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,iCAAqB,CAAA;IACrB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,yBAAa,CAAA;AACf,CAAC,EALW,QAAQ,KAAR,QAAQ,QAKnB;AAWD,MAAM,CAAN,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,iCAAqB,CAAA;IACrB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,uBAAW,CAAA;AACb,CAAC,EAPW,QAAQ,KAAR,QAAQ,QAOnB;AAyBD,MAAM,CAAN,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,mCAAqB,CAAA;AACvB,CAAC,EANW,UAAU,KAAV,UAAU,QAMrB;AAoBD,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,+CAAiC,CAAA;IACjC,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;AACrB,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAED,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,6EAAmE,CAAA;IACnE,qFAA2E,CAAA;AAC7E,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB"}
|