@wix/auto_sdk_identity_authentication 1.0.62 → 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.js +17 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +40 -20
- package/build/cjs/index.typings.js +17 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +30 -20
- package/build/cjs/meta.js +11 -11
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +17 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +40 -20
- package/build/es/index.typings.mjs +17 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +30 -20
- package/build/es/meta.mjs +11 -11
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +40 -20
- package/build/internal/cjs/meta.d.ts +30 -20
- package/build/internal/es/index.typings.d.mts +40 -20
- package/build/internal/es/meta.d.mts +30 -20
- package/package.json +2 -2
|
@@ -14,6 +14,16 @@ interface RegisterV2Request {
|
|
|
14
14
|
captchaTokens?: CaptchaToken[];
|
|
15
15
|
/** Additional data that's relevant for the flow. */
|
|
16
16
|
clientMetaData?: Record<string, any> | null;
|
|
17
|
+
/**
|
|
18
|
+
* The factor to register with: `PASSWORD`, the default, or `EMAIL`, which sends a code and returns
|
|
19
|
+
* `REQUIRE_REGISTRATION_FACTOR` until the code is submitted to `Verify`.
|
|
20
|
+
*/
|
|
21
|
+
factorType?: FactorTypeWithLiterals;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the organization the user registers into. The new user's account is created as a sub-account of this organization.
|
|
24
|
+
* @format GUID
|
|
25
|
+
*/
|
|
26
|
+
organizationId?: string | null;
|
|
17
27
|
}
|
|
18
28
|
interface LoginId extends LoginIdTypeOneOf {
|
|
19
29
|
/**
|
|
@@ -284,6 +294,26 @@ interface RecaptchaForClientSiteKey {
|
|
|
284
294
|
*/
|
|
285
295
|
siteKeyId?: string;
|
|
286
296
|
}
|
|
297
|
+
declare enum FactorType {
|
|
298
|
+
/** Requires a password. */
|
|
299
|
+
PASSWORD = "PASSWORD",
|
|
300
|
+
/** Requires a code sent via SMS. */
|
|
301
|
+
SMS = "SMS",
|
|
302
|
+
/** Requires a code sent by phone call. */
|
|
303
|
+
CALL = "CALL",
|
|
304
|
+
/** Requires a code sent by email. */
|
|
305
|
+
EMAIL = "EMAIL",
|
|
306
|
+
/** Requires authentication via an authenticator app. */
|
|
307
|
+
TOTP = "TOTP",
|
|
308
|
+
/** Requires authentication via a push notification. */
|
|
309
|
+
PUSH = "PUSH",
|
|
310
|
+
/** Requires authentication via WebAuthn/passkey. */
|
|
311
|
+
WEBAUTHN = "WEBAUTHN",
|
|
312
|
+
/** Requires a recovery code. */
|
|
313
|
+
RECOVERY_CODE = "RECOVERY_CODE"
|
|
314
|
+
}
|
|
315
|
+
/** @enumType */
|
|
316
|
+
type FactorTypeWithLiterals = FactorType | 'PASSWORD' | 'SMS' | 'CALL' | 'EMAIL' | 'TOTP' | 'PUSH' | 'WEBAUTHN' | 'RECOVERY_CODE';
|
|
287
317
|
interface StateMachineResponse extends StateMachineResponseStateDataOneOf {
|
|
288
318
|
/** @internal */
|
|
289
319
|
requireMfaData?: RequireMfaData;
|
|
@@ -491,26 +521,6 @@ interface Factor {
|
|
|
491
521
|
/** Factor status. */
|
|
492
522
|
status?: StatusWithLiterals;
|
|
493
523
|
}
|
|
494
|
-
declare enum FactorType {
|
|
495
|
-
/** Requires a password. */
|
|
496
|
-
PASSWORD = "PASSWORD",
|
|
497
|
-
/** Requires a code sent via SMS. */
|
|
498
|
-
SMS = "SMS",
|
|
499
|
-
/** Requires a code sent by phone call. */
|
|
500
|
-
CALL = "CALL",
|
|
501
|
-
/** Requires a code sent by email. */
|
|
502
|
-
EMAIL = "EMAIL",
|
|
503
|
-
/** Requires authentication via an authenticator app. */
|
|
504
|
-
TOTP = "TOTP",
|
|
505
|
-
/** Requires authentication via a push notification. */
|
|
506
|
-
PUSH = "PUSH",
|
|
507
|
-
/** Requires authentication via WebAuthn/passkey. */
|
|
508
|
-
WEBAUTHN = "WEBAUTHN",
|
|
509
|
-
/** Requires a recovery code. */
|
|
510
|
-
RECOVERY_CODE = "RECOVERY_CODE"
|
|
511
|
-
}
|
|
512
|
-
/** @enumType */
|
|
513
|
-
type FactorTypeWithLiterals = FactorType | 'PASSWORD' | 'SMS' | 'CALL' | 'EMAIL' | 'TOTP' | 'PUSH' | 'WEBAUTHN' | 'RECOVERY_CODE';
|
|
514
524
|
declare enum Status {
|
|
515
525
|
/** Factor requires activation. */
|
|
516
526
|
INACTIVE = "INACTIVE",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_identity_authentication",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.64",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.iam.authentication.v1.authentication"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "fcd9edc1b9fd94f9284241f0216e138c880aba10f66397a018eb17dc"
|
|
54
54
|
}
|