@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 +1,71 @@
|
|
|
1
|
-
|
|
1
|
+
import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
+
import { L as LoginId, R as RegisterV2Options, S as StateMachineResponse, a as LoginV2Options, b as LoginCallbackOptions, c as RawHttpResponse, d as SignOnOptions, e as SignOnResponse, f as LogoutOptions, F as FactorTypeWithLiterals, V as VerifyOptions } from './iam-authentication-v1-authentication-authentication.universal-D-41C26U.js';
|
|
3
|
+
export { x as Address, A as AddressTag, w as AddressWrapper, n as Authentication, a7 as AuthenticationExtensionInputs, a8 as AuthenticationExtensionInputsLargeBlobOperationOneOf, K as AuthenticatorConnection, ao as CallVerifyData, y as CaptchaToken, z as CaptchaTokenTokenOneOf, aa as ChangePasswordRequest, ab as ChangePasswordResponse, G as Connection, H as ConnectionTypeOneOf, C as CustomField, X as CustomValue, Y as CustomValueValueOneOf, O as Email, E as EmailTag, ap as ExternalEmailVerifyData, W as Factor, m as FactorStatus, k as FactorType, ad as HeadersEntry, D as Identity, I as IdentityProfile, J as IdpConnection, Z as ListValue, ah as LoginCallbackRequest, p as LoginIdTypeOneOf, a9 as LoginV2Request, ac as LoginWithIdpConnectionRequest, ai as LoginWithIdpConnectionTokenParamsRequest, ak as LogoutRequest, _ as MapValue, N as Metadata, a1 as MfaChallengeData, M as MfaReason, af as PathParametersEntry, v as Phone, g as PhoneTag, P as PrivacyStatus, a6 as PublicKeyCredentialDescriptor, a4 as PushChallengeData, ar as PushVerifyData, ag as QueryParametersEntry, ae as RawHttpRequest, j as Reason, o as RegisterV2Request, $ as RequireMfaData, u as SecondaryEmail, aj as SignOnRequest, an as SmsVerifyData, B as StateMachineResponseStateDataOneOf, h as StateType, l as Status, i as StatusName, Q as StatusV2, T as TenantType, aq as TotpVerifyData, U as UserVerificationRequirement, q as V1CustomValue, r as V1CustomValueValueOneOf, a0 as V1Factor, s as V1ListValue, t as V1MapValue, a2 as VerificationChallenge, a3 as VerificationChallengeFactorChallengeDataOneOf, at as VerifyOptionsFactorDataOneOf, al as VerifyRequest, am as VerifyRequestFactorDataOneOf, a5 as WebAuthnChallengeData, as as WebAuthnVerifyData } from './iam-authentication-v1-authentication-authentication.universal-D-41C26U.js';
|
|
4
|
+
|
|
5
|
+
declare function registerV2$1(httpClient: HttpClient): RegisterV2Signature;
|
|
6
|
+
interface RegisterV2Signature {
|
|
7
|
+
/**
|
|
8
|
+
* Registers a new member.
|
|
9
|
+
*
|
|
10
|
+
* Typically, after a successful registration, you generate and use member tokens for the
|
|
11
|
+
* registered member so that subsequent API calls are called as part of a member session.
|
|
12
|
+
* 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).
|
|
13
|
+
*
|
|
14
|
+
* If the email used to register the member already exists as a contact email, the registering
|
|
15
|
+
* member need to verify the email address using a code that is sent to the address.
|
|
16
|
+
* @param - Identifier of the registering member.
|
|
17
|
+
*/
|
|
18
|
+
(loginId: LoginId, options?: RegisterV2Options | undefined): Promise<StateMachineResponse>;
|
|
19
|
+
}
|
|
20
|
+
declare function loginV2$1(httpClient: HttpClient): LoginV2Signature;
|
|
21
|
+
interface LoginV2Signature {
|
|
22
|
+
/**
|
|
23
|
+
* Logs in an existing member.
|
|
24
|
+
*
|
|
25
|
+
* Typically, after a successful login, you generate and use member tokens for the
|
|
26
|
+
* logged-in member so that subsequent API calls are called as part of a member session.
|
|
27
|
+
* 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).
|
|
28
|
+
* @param - Identifier of identity logging in.
|
|
29
|
+
*/
|
|
30
|
+
(loginId: LoginId, options?: LoginV2Options | undefined): Promise<StateMachineResponse>;
|
|
31
|
+
}
|
|
32
|
+
declare function changePassword$1(httpClient: HttpClient): ChangePasswordSignature;
|
|
33
|
+
interface ChangePasswordSignature {
|
|
34
|
+
/**
|
|
35
|
+
* Changes the password of a logged in user.
|
|
36
|
+
* @param - The new password to set for the logged in user
|
|
37
|
+
*/
|
|
38
|
+
(newPassword: string): Promise<void>;
|
|
39
|
+
}
|
|
40
|
+
declare function loginCallback$1(httpClient: HttpClient): LoginCallbackSignature;
|
|
41
|
+
interface LoginCallbackSignature {
|
|
42
|
+
/** */
|
|
43
|
+
(options?: LoginCallbackOptions | undefined): Promise<RawHttpResponse>;
|
|
44
|
+
}
|
|
45
|
+
declare function signOn$1(httpClient: HttpClient): SignOnSignature;
|
|
46
|
+
interface SignOnSignature {
|
|
47
|
+
/** @param - the identifier of the identity */
|
|
48
|
+
(loginId: LoginId, options?: SignOnOptions | undefined): Promise<SignOnResponse>;
|
|
49
|
+
}
|
|
50
|
+
declare function logout$1(httpClient: HttpClient): LogoutSignature;
|
|
51
|
+
interface LogoutSignature {
|
|
52
|
+
/**
|
|
53
|
+
* Logs out a member.
|
|
54
|
+
*/
|
|
55
|
+
(options?: LogoutOptions | undefined): Promise<RawHttpResponse>;
|
|
56
|
+
}
|
|
57
|
+
declare function verify$1(httpClient: HttpClient): VerifySignature;
|
|
58
|
+
interface VerifySignature {
|
|
59
|
+
/** */
|
|
60
|
+
(factorType: FactorTypeWithLiterals, options?: VerifyOptions | undefined): Promise<StateMachineResponse>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
declare const registerV2: MaybeContext<BuildRESTFunction<typeof registerV2$1> & typeof registerV2$1>;
|
|
64
|
+
declare const loginV2: MaybeContext<BuildRESTFunction<typeof loginV2$1> & typeof loginV2$1>;
|
|
65
|
+
declare const changePassword: MaybeContext<BuildRESTFunction<typeof changePassword$1> & typeof changePassword$1>;
|
|
66
|
+
declare const loginCallback: MaybeContext<BuildRESTFunction<typeof loginCallback$1> & typeof loginCallback$1>;
|
|
67
|
+
declare const signOn: MaybeContext<BuildRESTFunction<typeof signOn$1> & typeof signOn$1>;
|
|
68
|
+
declare const logout: MaybeContext<BuildRESTFunction<typeof logout$1> & typeof logout$1>;
|
|
69
|
+
declare const verify: MaybeContext<BuildRESTFunction<typeof verify$1> & typeof verify$1>;
|
|
70
|
+
|
|
71
|
+
export { LoginCallbackOptions, LoginId, LoginV2Options, LogoutOptions, RawHttpResponse, RegisterV2Options, SignOnOptions, SignOnResponse, StateMachineResponse, VerifyOptions, changePassword, loginCallback, loginV2, logout, registerV2, signOn, verify };
|