@wix/auto_sdk_identity_authentication 1.0.12 → 1.0.13
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-authentication.types.d.ts → iam-authentication-v1-authentication-authentication.universal-D-41C26U.d.ts} +170 -94
- package/build/cjs/index.d.ts +71 -1
- package/build/cjs/index.js +856 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +635 -1
- package/build/cjs/meta.js +515 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts → es/iam-authentication-v1-authentication-authentication.universal-D-41C26U.d.mts} +170 -94
- package/build/es/index.d.mts +71 -0
- package/build/es/index.mjs +816 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/meta.d.mts +635 -0
- package/build/es/meta.mjs +485 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/internal/{es/src/iam-authentication-v1-authentication-authentication.types.d.ts → cjs/iam-authentication-v1-authentication-authentication.universal-D-41C26U.d.ts} +170 -94
- package/build/internal/cjs/index.d.ts +71 -1
- package/build/internal/cjs/index.js +856 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +635 -1
- package/build/internal/cjs/meta.js +515 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{es/src/iam-authentication-v1-authentication-authentication.types.d.ts → internal/es/iam-authentication-v1-authentication-authentication.universal-D-41C26U.d.mts} +170 -94
- package/build/internal/es/index.d.mts +71 -0
- package/build/internal/es/index.mjs +816 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +635 -0
- package/build/internal/es/meta.mjs +485 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +9 -8
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js +0 -27
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js +0 -376
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +0 -161
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js +0 -62
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js +0 -131
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -948
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +0 -468
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
- package/build/es/src/iam-authentication-v1-authentication-authentication.context.js +0 -11
- package/build/es/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
- package/build/es/src/iam-authentication-v1-authentication-authentication.http.js +0 -366
- package/build/es/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
- package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js +0 -128
- package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
- package/build/es/src/iam-authentication-v1-authentication-authentication.public.js +0 -39
- package/build/es/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.types.js +0 -128
- package/build/es/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -948
- package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js +0 -435
- package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js +0 -27
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js +0 -376
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +0 -161
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js +0 -62
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js +0 -131
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -948
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +0 -468
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js +0 -11
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js +0 -366
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js +0 -128
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js +0 -39
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js +0 -128
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +0 -948
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js +0 -435
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { FactorTypeWithLiterals, LoginCallbackOptions, LoginId, LoginV2Options, LogoutOptions, RawHttpResponse, RegisterV2Options, SignOnOptions, SignOnResponse, StateMachineResponse, VerifyOptions } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
3
|
-
export declare const __metadata: {
|
|
4
|
-
PACKAGE_NAME: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function registerV2(httpClient: HttpClient): RegisterV2Signature;
|
|
7
|
-
interface RegisterV2Signature {
|
|
8
|
-
/**
|
|
9
|
-
* Registers a new member.
|
|
10
|
-
*
|
|
11
|
-
* Typically, after a successful registration, you generate and use member tokens for the
|
|
12
|
-
* registered member so that subsequent API calls are called as part of a member session.
|
|
13
|
-
* Use the `sessionToken` in the response to [get the site member's access and refresh tokens](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/handle-members-with-custom-login#get-the-site-members-access-and-refresh-tokens).
|
|
14
|
-
*
|
|
15
|
-
* If the email used to register the member already exists as a contact email, the registering
|
|
16
|
-
* member need to verify the email address using a code that is sent to the address.
|
|
17
|
-
* @param - Identifier of the registering member.
|
|
18
|
-
*/
|
|
19
|
-
(loginId: LoginId, options?: RegisterV2Options | undefined): Promise<StateMachineResponse>;
|
|
20
|
-
}
|
|
21
|
-
export declare function loginV2(httpClient: HttpClient): LoginV2Signature;
|
|
22
|
-
interface LoginV2Signature {
|
|
23
|
-
/**
|
|
24
|
-
* Logs in an existing member.
|
|
25
|
-
*
|
|
26
|
-
* Typically, after a successful login, you generate and use member tokens for the
|
|
27
|
-
* logged-in member so that subsequent API calls are called as part of a member session.
|
|
28
|
-
* Use the `sessionToken` in the response to [get the site member's access and refresh tokens](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/handle-members-with-custom-login#get-the-site-members-access-and-refresh-tokens).
|
|
29
|
-
* @param - Identifier of identity logging in.
|
|
30
|
-
*/
|
|
31
|
-
(loginId: LoginId, options?: LoginV2Options | undefined): Promise<StateMachineResponse>;
|
|
32
|
-
}
|
|
33
|
-
export declare function changePassword(httpClient: HttpClient): ChangePasswordSignature;
|
|
34
|
-
interface ChangePasswordSignature {
|
|
35
|
-
/**
|
|
36
|
-
* Changes the password of a logged in user.
|
|
37
|
-
* @param - The new password to set for the logged in user
|
|
38
|
-
*/
|
|
39
|
-
(newPassword: string): Promise<void>;
|
|
40
|
-
}
|
|
41
|
-
export declare function loginCallback(httpClient: HttpClient): LoginCallbackSignature;
|
|
42
|
-
interface LoginCallbackSignature {
|
|
43
|
-
/** */
|
|
44
|
-
(options?: LoginCallbackOptions | undefined): Promise<RawHttpResponse>;
|
|
45
|
-
}
|
|
46
|
-
export declare function signOn(httpClient: HttpClient): SignOnSignature;
|
|
47
|
-
interface SignOnSignature {
|
|
48
|
-
/** @param - the identifier of the identity */
|
|
49
|
-
(loginId: LoginId, options?: SignOnOptions | undefined): Promise<SignOnResponse>;
|
|
50
|
-
}
|
|
51
|
-
export declare function logout(httpClient: HttpClient): LogoutSignature;
|
|
52
|
-
interface LogoutSignature {
|
|
53
|
-
/**
|
|
54
|
-
* Logs out a member.
|
|
55
|
-
*/
|
|
56
|
-
(options?: LogoutOptions | undefined): Promise<RawHttpResponse>;
|
|
57
|
-
}
|
|
58
|
-
export declare function verify(httpClient: HttpClient): VerifySignature;
|
|
59
|
-
interface VerifySignature {
|
|
60
|
-
/** */
|
|
61
|
-
(factorType: FactorTypeWithLiterals, options?: VerifyOptions | undefined): Promise<StateMachineResponse>;
|
|
62
|
-
}
|
|
63
|
-
export { Address, AddressTag, AddressWrapper, Authentication, AuthenticationExtensionInputs, AuthenticationExtensionInputsLargeBlobOperationOneOf, AuthenticatorConnection, CallVerifyData, CaptchaToken, CaptchaTokenTokenOneOf, ChangePasswordRequest, ChangePasswordResponse, Connection, ConnectionTypeOneOf, CustomField, CustomValue, CustomValueValueOneOf, Email, EmailTag, ExternalEmailVerifyData, Factor, FactorStatus, FactorType, HeadersEntry, Identity, IdentityProfile, IdpConnection, ListValue, LoginCallbackOptions, LoginCallbackRequest, LoginId, LoginIdTypeOneOf, LoginV2Options, LoginV2Request, LoginWithIdpConnectionRequest, LoginWithIdpConnectionTokenParamsRequest, LogoutOptions, LogoutRequest, MapValue, Metadata, MfaChallengeData, MfaReason, PathParametersEntry, Phone, PhoneTag, PrivacyStatus, PublicKeyCredentialDescriptor, PushChallengeData, PushVerifyData, QueryParametersEntry, RawHttpRequest, RawHttpResponse, Reason, RegisterV2Options, RegisterV2Request, RequireMfaData, SecondaryEmail, SignOnOptions, SignOnRequest, SignOnResponse, SmsVerifyData, StateMachineResponse, StateMachineResponseStateDataOneOf, StateType, Status, StatusName, StatusV2, TenantType, TotpVerifyData, UserVerificationRequirement, V1CustomValue, V1CustomValueValueOneOf, V1Factor, V1ListValue, V1MapValue, VerificationChallenge, VerificationChallengeFactorChallengeDataOneOf, VerifyOptions, VerifyOptionsFactorDataOneOf, VerifyRequest, VerifyRequestFactorDataOneOf, WebAuthnChallengeData, WebAuthnVerifyData, } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserVerificationRequirement = exports.TenantType = exports.StatusName = exports.Status = exports.StateType = exports.Reason = exports.PrivacyStatus = exports.PhoneTag = exports.MfaReason = exports.FactorType = exports.FactorStatus = exports.EmailTag = exports.AddressTag = exports.verify = exports.logout = exports.signOn = exports.loginCallback = exports.changePassword = exports.loginV2 = exports.registerV2 = exports.__metadata = void 0;
|
|
4
|
-
const iam_authentication_v1_authentication_authentication_universal_js_1 = require("./iam-authentication-v1-authentication-authentication.universal.js");
|
|
5
|
-
exports.__metadata = { PACKAGE_NAME: '@wix/identity' };
|
|
6
|
-
function registerV2(httpClient) {
|
|
7
|
-
return (loginId, options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.registerV2)(loginId, options,
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
{ httpClient });
|
|
10
|
-
}
|
|
11
|
-
exports.registerV2 = registerV2;
|
|
12
|
-
function loginV2(httpClient) {
|
|
13
|
-
return (loginId, options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.loginV2)(loginId, options,
|
|
14
|
-
// @ts-ignore
|
|
15
|
-
{ httpClient });
|
|
16
|
-
}
|
|
17
|
-
exports.loginV2 = loginV2;
|
|
18
|
-
function changePassword(httpClient) {
|
|
19
|
-
return (newPassword) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.changePassword)(newPassword,
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
{ httpClient });
|
|
22
|
-
}
|
|
23
|
-
exports.changePassword = changePassword;
|
|
24
|
-
function loginCallback(httpClient) {
|
|
25
|
-
return (options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.loginCallback)(options,
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
{ httpClient });
|
|
28
|
-
}
|
|
29
|
-
exports.loginCallback = loginCallback;
|
|
30
|
-
function signOn(httpClient) {
|
|
31
|
-
return (loginId, options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.signOn)(loginId, options,
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
{ httpClient });
|
|
34
|
-
}
|
|
35
|
-
exports.signOn = signOn;
|
|
36
|
-
function logout(httpClient) {
|
|
37
|
-
return (options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.logout)(options,
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
{ httpClient });
|
|
40
|
-
}
|
|
41
|
-
exports.logout = logout;
|
|
42
|
-
function verify(httpClient) {
|
|
43
|
-
return (factorType, options) => (0, iam_authentication_v1_authentication_authentication_universal_js_1.verify)(factorType, options,
|
|
44
|
-
// @ts-ignore
|
|
45
|
-
{ httpClient });
|
|
46
|
-
}
|
|
47
|
-
exports.verify = verify;
|
|
48
|
-
var iam_authentication_v1_authentication_authentication_universal_js_2 = require("./iam-authentication-v1-authentication-authentication.universal.js");
|
|
49
|
-
Object.defineProperty(exports, "AddressTag", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.AddressTag; } });
|
|
50
|
-
Object.defineProperty(exports, "EmailTag", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.EmailTag; } });
|
|
51
|
-
Object.defineProperty(exports, "FactorStatus", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.FactorStatus; } });
|
|
52
|
-
Object.defineProperty(exports, "FactorType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.FactorType; } });
|
|
53
|
-
Object.defineProperty(exports, "MfaReason", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.MfaReason; } });
|
|
54
|
-
Object.defineProperty(exports, "PhoneTag", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.PhoneTag; } });
|
|
55
|
-
Object.defineProperty(exports, "PrivacyStatus", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.PrivacyStatus; } });
|
|
56
|
-
Object.defineProperty(exports, "Reason", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.Reason; } });
|
|
57
|
-
Object.defineProperty(exports, "StateType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.StateType; } });
|
|
58
|
-
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.Status; } });
|
|
59
|
-
Object.defineProperty(exports, "StatusName", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.StatusName; } });
|
|
60
|
-
Object.defineProperty(exports, "TenantType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.TenantType; } });
|
|
61
|
-
Object.defineProperty(exports, "UserVerificationRequirement", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.UserVerificationRequirement; } });
|
|
62
|
-
//# sourceMappingURL=iam-authentication-v1-authentication-authentication.public.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.public.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.public.ts"],"names":[],"mappings":";;;AACA,yJAmB4E;AAE/D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,OAAgB,EAAE,OAA2B,EAAE,EAAE,CACvD,IAAA,6EAAmB,EACjB,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,gCAQC;AAoBD,SAAgB,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,OAAgB,EAAE,OAAwB,EAAE,EAAE,CACpD,IAAA,0EAAgB,EACd,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,0BAQC;AAiBD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,WAAmB,EAAE,EAAE,CAC7B,IAAA,iFAAuB,EACrB,WAAW;IACX,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAUD,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAA8B,EAAE,EAAE,CACxC,IAAA,gFAAsB,EACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAOD,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,OAAgB,EAAE,OAAuB,EAAE,EAAE,CACnD,IAAA,yEAAe,EACb,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAUD,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,OAAuB,EAAE,EAAE,CACjC,IAAA,yEAAe,EACb,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,wBAOC;AASD,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,UAAkC,EAAE,OAAuB,EAAE,EAAE,CACrE,IAAA,yEAAe,EACb,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAUD,uJAoF4E;AAlF1E,8JAAA,UAAU,OAAA;AAiBV,4JAAA,QAAQ,OAAA;AAGR,gKAAA,YAAY,OAAA;AACZ,8JAAA,UAAU,OAAA;AAmBV,6JAAA,SAAS,OAAA;AAGT,4JAAA,QAAQ,OAAA;AACR,iKAAA,aAAa,OAAA;AAOb,0JAAA,MAAM,OAAA;AAWN,6JAAA,SAAS,OAAA;AACT,0JAAA,MAAM,OAAA;AACN,8JAAA,UAAU,OAAA;AAEV,8JAAA,UAAU,OAAA;AAEV,+KAAA,2BAA2B,OAAA"}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TenantType = exports.UserVerificationRequirement = exports.MfaReason = exports.FactorStatus = exports.Status = exports.FactorType = exports.Reason = exports.StatusName = exports.StateType = exports.AddressTag = exports.PhoneTag = exports.EmailTag = exports.PrivacyStatus = void 0;
|
|
4
|
-
var PrivacyStatus;
|
|
5
|
-
(function (PrivacyStatus) {
|
|
6
|
-
/** No defined privacy status. */
|
|
7
|
-
PrivacyStatus["UNDEFINED"] = "UNDEFINED";
|
|
8
|
-
/** Profile details, such as profile name and profile picture, are visible to other members. */
|
|
9
|
-
PrivacyStatus["PUBLIC"] = "PUBLIC";
|
|
10
|
-
/** Profile details aren't visible to other members. */
|
|
11
|
-
PrivacyStatus["PRIVATE"] = "PRIVATE";
|
|
12
|
-
})(PrivacyStatus || (exports.PrivacyStatus = PrivacyStatus = {}));
|
|
13
|
-
var EmailTag;
|
|
14
|
-
(function (EmailTag) {
|
|
15
|
-
EmailTag["UNTAGGED"] = "UNTAGGED";
|
|
16
|
-
EmailTag["MAIN"] = "MAIN";
|
|
17
|
-
EmailTag["HOME"] = "HOME";
|
|
18
|
-
EmailTag["WORK"] = "WORK";
|
|
19
|
-
})(EmailTag || (exports.EmailTag = EmailTag = {}));
|
|
20
|
-
var PhoneTag;
|
|
21
|
-
(function (PhoneTag) {
|
|
22
|
-
PhoneTag["UNTAGGED"] = "UNTAGGED";
|
|
23
|
-
PhoneTag["MAIN"] = "MAIN";
|
|
24
|
-
PhoneTag["HOME"] = "HOME";
|
|
25
|
-
PhoneTag["MOBILE"] = "MOBILE";
|
|
26
|
-
PhoneTag["WORK"] = "WORK";
|
|
27
|
-
PhoneTag["FAX"] = "FAX";
|
|
28
|
-
})(PhoneTag || (exports.PhoneTag = PhoneTag = {}));
|
|
29
|
-
var AddressTag;
|
|
30
|
-
(function (AddressTag) {
|
|
31
|
-
AddressTag["UNTAGGED"] = "UNTAGGED";
|
|
32
|
-
AddressTag["HOME"] = "HOME";
|
|
33
|
-
AddressTag["WORK"] = "WORK";
|
|
34
|
-
AddressTag["BILLING"] = "BILLING";
|
|
35
|
-
AddressTag["SHIPPING"] = "SHIPPING";
|
|
36
|
-
})(AddressTag || (exports.AddressTag = AddressTag = {}));
|
|
37
|
-
var StateType;
|
|
38
|
-
(function (StateType) {
|
|
39
|
-
/** Initial unknown state. */
|
|
40
|
-
StateType["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
41
|
-
/** Login completed successfully. */
|
|
42
|
-
StateType["SUCCESS"] = "SUCCESS";
|
|
43
|
-
/** Indicates that the member needs the owner to approve their registration. */
|
|
44
|
-
StateType["REQUIRE_OWNER_APPROVAL"] = "REQUIRE_OWNER_APPROVAL";
|
|
45
|
-
/** Indicates that the member needs to verify their email. */
|
|
46
|
-
StateType["REQUIRE_EMAIL_VERIFICATION"] = "REQUIRE_EMAIL_VERIFICATION";
|
|
47
|
-
/** Indicates that the `status` is not one that prevents the member logging in, meaning it's not `OFFLINE`, `BLOCKED`, or `DELETED`. */
|
|
48
|
-
StateType["STATUS_CHECK"] = "STATUS_CHECK";
|
|
49
|
-
})(StateType || (exports.StateType = StateType = {}));
|
|
50
|
-
var StatusName;
|
|
51
|
-
(function (StatusName) {
|
|
52
|
-
StatusName["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
53
|
-
StatusName["PENDING"] = "PENDING";
|
|
54
|
-
StatusName["ACTIVE"] = "ACTIVE";
|
|
55
|
-
StatusName["DELETED"] = "DELETED";
|
|
56
|
-
StatusName["BLOCKED"] = "BLOCKED";
|
|
57
|
-
StatusName["OFFLINE"] = "OFFLINE";
|
|
58
|
-
})(StatusName || (exports.StatusName = StatusName = {}));
|
|
59
|
-
var Reason;
|
|
60
|
-
(function (Reason) {
|
|
61
|
-
Reason["UNKNOWN_REASON"] = "UNKNOWN_REASON";
|
|
62
|
-
Reason["PENDING_ADMIN_APPROVAL_REQUIRED"] = "PENDING_ADMIN_APPROVAL_REQUIRED";
|
|
63
|
-
Reason["PENDING_EMAIL_VERIFICATION_REQUIRED"] = "PENDING_EMAIL_VERIFICATION_REQUIRED";
|
|
64
|
-
})(Reason || (exports.Reason = Reason = {}));
|
|
65
|
-
var FactorType;
|
|
66
|
-
(function (FactorType) {
|
|
67
|
-
/** Unknown factor type. */
|
|
68
|
-
FactorType["UNKNOWN_FACTOR_TYPE"] = "UNKNOWN_FACTOR_TYPE";
|
|
69
|
-
/** Requires a password. */
|
|
70
|
-
FactorType["PASSWORD"] = "PASSWORD";
|
|
71
|
-
/** Requires a code sent via SMS. */
|
|
72
|
-
FactorType["SMS"] = "SMS";
|
|
73
|
-
/** Requires a code sent by phone call. */
|
|
74
|
-
FactorType["CALL"] = "CALL";
|
|
75
|
-
/** Requires a code sent by email. */
|
|
76
|
-
FactorType["EMAIL"] = "EMAIL";
|
|
77
|
-
/** Requires authentication via an authenticator app. */
|
|
78
|
-
FactorType["TOTP"] = "TOTP";
|
|
79
|
-
/** Requires authentication via a push notification. */
|
|
80
|
-
FactorType["PUSH"] = "PUSH";
|
|
81
|
-
/** Requires authentication via WebAuthn/passkey. */
|
|
82
|
-
FactorType["WEBAUTHN"] = "WEBAUTHN";
|
|
83
|
-
})(FactorType || (exports.FactorType = FactorType = {}));
|
|
84
|
-
var Status;
|
|
85
|
-
(function (Status) {
|
|
86
|
-
/** Factor requires activation. */
|
|
87
|
-
Status["INACTIVE"] = "INACTIVE";
|
|
88
|
-
/** Factor is active and can be used for authentication. */
|
|
89
|
-
Status["ACTIVE"] = "ACTIVE";
|
|
90
|
-
/** Factor is blocked and cannot be used for authentication. The user should reenroll the factor. */
|
|
91
|
-
Status["REQUIRE_REENROLL"] = "REQUIRE_REENROLL";
|
|
92
|
-
})(Status || (exports.Status = Status = {}));
|
|
93
|
-
var FactorStatus;
|
|
94
|
-
(function (FactorStatus) {
|
|
95
|
-
FactorStatus["UNKNOWN_FACTOR_STATUS"] = "UNKNOWN_FACTOR_STATUS";
|
|
96
|
-
FactorStatus["ENABLED"] = "ENABLED";
|
|
97
|
-
FactorStatus["REQUIRE_ACTIVATION"] = "REQUIRE_ACTIVATION";
|
|
98
|
-
FactorStatus["REQUIRE_REENROLL"] = "REQUIRE_REENROLL";
|
|
99
|
-
FactorStatus["ENABLED_BY_RULE"] = "ENABLED_BY_RULE";
|
|
100
|
-
FactorStatus["DISABLED_BY_RULE"] = "DISABLED_BY_RULE";
|
|
101
|
-
})(FactorStatus || (exports.FactorStatus = FactorStatus = {}));
|
|
102
|
-
var MfaReason;
|
|
103
|
-
(function (MfaReason) {
|
|
104
|
-
MfaReason["UNKNOWN_MFA_REASON"] = "UNKNOWN_MFA_REASON";
|
|
105
|
-
/** Mfa is required due to user settings */
|
|
106
|
-
MfaReason["USER_SETTINGS"] = "USER_SETTINGS";
|
|
107
|
-
/** Mfa is required due to high risk login */
|
|
108
|
-
MfaReason["HIGH_RISK_LOGIN"] = "HIGH_RISK_LOGIN";
|
|
109
|
-
})(MfaReason || (exports.MfaReason = MfaReason = {}));
|
|
110
|
-
var UserVerificationRequirement;
|
|
111
|
-
(function (UserVerificationRequirement) {
|
|
112
|
-
/** Default unspecified value */
|
|
113
|
-
UserVerificationRequirement["USER_VERIFICATION_UNSPECIFIED"] = "USER_VERIFICATION_UNSPECIFIED";
|
|
114
|
-
/**
|
|
115
|
-
* The Relying Party requires user verification and will fail the operation if the response doesn't have the UV flag
|
|
116
|
-
* set
|
|
117
|
-
*/
|
|
118
|
-
UserVerificationRequirement["USER_VERIFICATION_REQUIRED"] = "USER_VERIFICATION_REQUIRED";
|
|
119
|
-
/** The Relying Party prefers user verification but will not fail the operation if unavailable */
|
|
120
|
-
UserVerificationRequirement["USER_VERIFICATION_PREFERRED"] = "USER_VERIFICATION_PREFERRED";
|
|
121
|
-
/** The Relying Party does not want user verification employed (e.g., to minimize disruption to the user experience) */
|
|
122
|
-
UserVerificationRequirement["USER_VERIFICATION_DISCOURAGED"] = "USER_VERIFICATION_DISCOURAGED";
|
|
123
|
-
})(UserVerificationRequirement || (exports.UserVerificationRequirement = UserVerificationRequirement = {}));
|
|
124
|
-
var TenantType;
|
|
125
|
-
(function (TenantType) {
|
|
126
|
-
TenantType["UNKNOWN_TENANT_TYPE"] = "UNKNOWN_TENANT_TYPE";
|
|
127
|
-
TenantType["ACCOUNT"] = "ACCOUNT";
|
|
128
|
-
TenantType["SITE"] = "SITE";
|
|
129
|
-
TenantType["ROOT"] = "ROOT";
|
|
130
|
-
})(TenantType || (exports.TenantType = TenantType = {}));
|
|
131
|
-
//# sourceMappingURL=iam-authentication-v1-authentication-authentication.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.types.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.types.ts"],"names":[],"mappings":"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"}
|