@wix/auto_sdk_identity_authentication 1.0.68 → 1.0.70
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.d.ts +1 -1
- package/build/cjs/index.js +42 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +163 -12
- package/build/cjs/index.typings.js +42 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +163 -12
- package/build/cjs/meta.js +42 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +37 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +163 -12
- package/build/es/index.typings.mjs +37 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +163 -12
- package/build/es/meta.mjs +37 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +163 -12
- package/build/internal/cjs/meta.d.ts +163 -12
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +163 -12
- package/build/internal/es/meta.d.mts +163 -12
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -3,6 +3,77 @@ import '@wix/sdk-types';
|
|
|
3
3
|
|
|
4
4
|
interface Authentication {
|
|
5
5
|
}
|
|
6
|
+
/**
|
|
7
|
+
* Published for a passed check as well as a rejected one, so a consumer can tell a rejection rate
|
|
8
|
+
* from a rejection count.
|
|
9
|
+
*
|
|
10
|
+
* The caller's IP, geo and user agent are deliberately not fields: they travel as call-scope aspects
|
|
11
|
+
* in the message headers, which only reach a single-record subscription - a batch handler runs on an
|
|
12
|
+
* orphan CallScope and loses them.
|
|
13
|
+
*/
|
|
14
|
+
interface CaptchaVerification {
|
|
15
|
+
/** @format GUID */
|
|
16
|
+
eventId?: string;
|
|
17
|
+
/** When the check happened, not when this was published. */
|
|
18
|
+
eventTime?: Date | null;
|
|
19
|
+
flow?: CaptchaFlowWithLiterals;
|
|
20
|
+
identityType?: CaptchaIdentityTypeWithLiterals;
|
|
21
|
+
outcome?: CaptchaOutcomeWithLiterals;
|
|
22
|
+
captchaKind?: CaptchaKindWithLiterals;
|
|
23
|
+
/**
|
|
24
|
+
* How far the assessment landed from the minimum it was judged against, positive for a pass. A
|
|
25
|
+
* margin rather than a raw score because that minimum differs by surface and OS, so raw scores are
|
|
26
|
+
* not comparable across channels.
|
|
27
|
+
*
|
|
28
|
+
* Absent when no score decided the outcome - an inauthentic token, no token at all, or a
|
|
29
|
+
* PerimeterX escalation where reCAPTCHA itself passed.
|
|
30
|
+
* @min -1
|
|
31
|
+
* @max 1
|
|
32
|
+
*/
|
|
33
|
+
minScoreMargin?: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* Google's reasons for the score: AUTOMATION, UNEXPECTED_ENVIRONMENT, TOO_MUCH_TRAFFIC, ...
|
|
36
|
+
* @maxLength 100
|
|
37
|
+
* @maxSize 100
|
|
38
|
+
*/
|
|
39
|
+
reasons?: string[];
|
|
40
|
+
}
|
|
41
|
+
declare enum CaptchaFlow {
|
|
42
|
+
REGISTER = "REGISTER",
|
|
43
|
+
/** Not published yet. */
|
|
44
|
+
LOGIN = "LOGIN"
|
|
45
|
+
}
|
|
46
|
+
/** @enumType */
|
|
47
|
+
type CaptchaFlowWithLiterals = CaptchaFlow | 'REGISTER' | 'LOGIN';
|
|
48
|
+
declare enum CaptchaIdentityType {
|
|
49
|
+
USER = "USER",
|
|
50
|
+
/** Not published yet. */
|
|
51
|
+
MEMBER = "MEMBER"
|
|
52
|
+
}
|
|
53
|
+
/** @enumType */
|
|
54
|
+
type CaptchaIdentityTypeWithLiterals = CaptchaIdentityType | 'USER' | 'MEMBER';
|
|
55
|
+
declare enum CaptchaOutcome {
|
|
56
|
+
PASSED = "PASSED",
|
|
57
|
+
LOW_SCORE = "LOW_SCORE",
|
|
58
|
+
/** Rejected as inauthentic, which is independent of the score. */
|
|
59
|
+
INVALID_TOKEN = "INVALID_TOKEN",
|
|
60
|
+
MISSING_TOKEN = "MISSING_TOKEN",
|
|
61
|
+
/**
|
|
62
|
+
* Escalated to a visible challenge. PerimeterX can cause this while reCAPTCHA itself passed, so it
|
|
63
|
+
* does not on its own mean the captcha scored badly - `reasons` distinguishes them.
|
|
64
|
+
*/
|
|
65
|
+
VISIBLE_REQUIRED = "VISIBLE_REQUIRED"
|
|
66
|
+
}
|
|
67
|
+
/** @enumType */
|
|
68
|
+
type CaptchaOutcomeWithLiterals = CaptchaOutcome | 'PASSED' | 'LOW_SCORE' | 'INVALID_TOKEN' | 'MISSING_TOKEN' | 'VISIBLE_REQUIRED';
|
|
69
|
+
declare enum CaptchaKind {
|
|
70
|
+
INVISIBLE = "INVISIBLE",
|
|
71
|
+
VISIBLE = "VISIBLE",
|
|
72
|
+
/** Verified against a site key the client registered itself (branded and headless apps). */
|
|
73
|
+
CLIENT_SITE_KEY = "CLIENT_SITE_KEY"
|
|
74
|
+
}
|
|
75
|
+
/** @enumType */
|
|
76
|
+
type CaptchaKindWithLiterals = CaptchaKind | 'INVISIBLE' | 'VISIBLE' | 'CLIENT_SITE_KEY';
|
|
6
77
|
interface RegisterV2Request {
|
|
7
78
|
/** Identifier of the registering member. */
|
|
8
79
|
loginId: LoginId;
|
|
@@ -916,8 +987,6 @@ interface VerifyRequest extends VerifyRequestFactorDataOneOf {
|
|
|
916
987
|
webauthnData?: WebAuthnVerifyData;
|
|
917
988
|
/** RecoveryCode response from a one-time code. */
|
|
918
989
|
recoveryCodeData?: RecoveryCodeVerifyData;
|
|
919
|
-
/** Password for first factor verification. */
|
|
920
|
-
passwordData?: PasswordVerifyData;
|
|
921
990
|
/**
|
|
922
991
|
* State token from the initial authentication response.
|
|
923
992
|
*
|
|
@@ -955,8 +1024,6 @@ interface VerifyRequestFactorDataOneOf {
|
|
|
955
1024
|
webauthnData?: WebAuthnVerifyData;
|
|
956
1025
|
/** RecoveryCode response from a one-time code. */
|
|
957
1026
|
recoveryCodeData?: RecoveryCodeVerifyData;
|
|
958
|
-
/** Password for first factor verification. */
|
|
959
|
-
passwordData?: PasswordVerifyData;
|
|
960
1027
|
}
|
|
961
1028
|
interface SmsVerifyData {
|
|
962
1029
|
/**
|
|
@@ -1010,13 +1077,6 @@ interface RecoveryCodeVerifyData {
|
|
|
1010
1077
|
*/
|
|
1011
1078
|
code?: string | null;
|
|
1012
1079
|
}
|
|
1013
|
-
interface PasswordVerifyData {
|
|
1014
|
-
/**
|
|
1015
|
-
* @minLength 1
|
|
1016
|
-
* @maxLength 100
|
|
1017
|
-
*/
|
|
1018
|
-
password?: string;
|
|
1019
|
-
}
|
|
1020
1080
|
interface GetWebauthnChallengeRequest {
|
|
1021
1081
|
/**
|
|
1022
1082
|
* Identifier of the member requesting the WebAuthn challenge.
|
|
@@ -1029,6 +1089,97 @@ interface GetWebauthnChallengeResponse {
|
|
|
1029
1089
|
/** The challenge that will be used for a WebAuthn authentication ceremony. */
|
|
1030
1090
|
webauthn?: WebAuthnChallengeData;
|
|
1031
1091
|
}
|
|
1092
|
+
interface MessageEnvelope {
|
|
1093
|
+
/**
|
|
1094
|
+
* App instance ID.
|
|
1095
|
+
* @format GUID
|
|
1096
|
+
*/
|
|
1097
|
+
instanceId?: string | null;
|
|
1098
|
+
/**
|
|
1099
|
+
* Event type.
|
|
1100
|
+
* @maxLength 150
|
|
1101
|
+
*/
|
|
1102
|
+
eventType?: string;
|
|
1103
|
+
/** The identification type and identity data. */
|
|
1104
|
+
identity?: IdentificationData;
|
|
1105
|
+
/** Stringify payload. */
|
|
1106
|
+
data?: string;
|
|
1107
|
+
/** Details related to the account */
|
|
1108
|
+
accountInfo?: AccountInfo;
|
|
1109
|
+
}
|
|
1110
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1111
|
+
/**
|
|
1112
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1113
|
+
* @format GUID
|
|
1114
|
+
*/
|
|
1115
|
+
anonymousVisitorId?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* ID of a site visitor that has logged in to the site.
|
|
1118
|
+
* @format GUID
|
|
1119
|
+
*/
|
|
1120
|
+
memberId?: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1123
|
+
* @format GUID
|
|
1124
|
+
*/
|
|
1125
|
+
wixUserId?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* ID of an app.
|
|
1128
|
+
* @format GUID
|
|
1129
|
+
*/
|
|
1130
|
+
appId?: string;
|
|
1131
|
+
/** @readonly */
|
|
1132
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1133
|
+
}
|
|
1134
|
+
/** @oneof */
|
|
1135
|
+
interface IdentificationDataIdOneOf {
|
|
1136
|
+
/**
|
|
1137
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1138
|
+
* @format GUID
|
|
1139
|
+
*/
|
|
1140
|
+
anonymousVisitorId?: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* ID of a site visitor that has logged in to the site.
|
|
1143
|
+
* @format GUID
|
|
1144
|
+
*/
|
|
1145
|
+
memberId?: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1148
|
+
* @format GUID
|
|
1149
|
+
*/
|
|
1150
|
+
wixUserId?: string;
|
|
1151
|
+
/**
|
|
1152
|
+
* ID of an app.
|
|
1153
|
+
* @format GUID
|
|
1154
|
+
*/
|
|
1155
|
+
appId?: string;
|
|
1156
|
+
}
|
|
1157
|
+
declare enum WebhookIdentityType {
|
|
1158
|
+
UNKNOWN = "UNKNOWN",
|
|
1159
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1160
|
+
MEMBER = "MEMBER",
|
|
1161
|
+
WIX_USER = "WIX_USER",
|
|
1162
|
+
APP = "APP"
|
|
1163
|
+
}
|
|
1164
|
+
/** @enumType */
|
|
1165
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1166
|
+
interface AccountInfo {
|
|
1167
|
+
/**
|
|
1168
|
+
* ID of the Wix account associated with the event.
|
|
1169
|
+
* @format GUID
|
|
1170
|
+
*/
|
|
1171
|
+
accountId?: string | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
1174
|
+
* @format GUID
|
|
1175
|
+
*/
|
|
1176
|
+
parentAccountId?: string | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
1179
|
+
* @format GUID
|
|
1180
|
+
*/
|
|
1181
|
+
siteId?: string | null;
|
|
1182
|
+
}
|
|
1032
1183
|
/** @docsIgnore */
|
|
1033
1184
|
type RegisterV2ApplicationErrors = {
|
|
1034
1185
|
code?: 'UNIMPLEMENTED_FEATURE';
|
|
@@ -1161,4 +1312,4 @@ declare function changePassword(): __PublicMethodMetaInfo<'POST', {}, ChangePass
|
|
|
1161
1312
|
declare function signOn(): __PublicMethodMetaInfo<'POST', {}, SignOnRequest$1, SignOnRequest, SignOnResponse$1, SignOnResponse>;
|
|
1162
1313
|
declare function logout(): __PublicMethodMetaInfo<'GET', {}, LogoutRequest$1, LogoutRequest, RawHttpResponse$1, RawHttpResponse>;
|
|
1163
1314
|
|
|
1164
|
-
export { type Address as AddressOriginal, AddressTag as AddressTagOriginal, type AddressTagWithLiterals as AddressTagWithLiteralsOriginal, type AddressWrapper as AddressWrapperOriginal, type Authentication as AuthenticationOriginal, type AuthenticatorConnection as AuthenticatorConnectionOriginal, type CallVerifyData as CallVerifyDataOriginal, type CaptchaToken as CaptchaTokenOriginal, type CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOfOriginal, type ChangePasswordRequest as ChangePasswordRequestOriginal, type ChangePasswordResponse as ChangePasswordResponseOriginal, type ConnectIdpRequest as ConnectIdpRequestOriginal, type Connection as ConnectionOriginal, type ConnectionTypeOneOf as ConnectionTypeOneOfOriginal, type CustomField as CustomFieldOriginal, type CustomValue as CustomValueOriginal, type CustomValueValueOneOf as CustomValueValueOneOfOriginal, DeliveryMethod as DeliveryMethodOriginal, type DeliveryMethodWithLiterals as DeliveryMethodWithLiteralsOriginal, type Email as EmailOriginal, EmailTag as EmailTagOriginal, type EmailTagWithLiterals as EmailTagWithLiteralsOriginal, type EmailValidationFailure as EmailValidationFailureOriginal, type ExternalEmailVerifyData as ExternalEmailVerifyDataOriginal, type Factor as FactorOriginal, FactorStatus as FactorStatusOriginal, type FactorStatusWithLiterals as FactorStatusWithLiteralsOriginal, FactorType as FactorTypeOriginal, type FactorTypeWithLiterals as FactorTypeWithLiteralsOriginal, type GetWebauthnChallengeRequest as GetWebauthnChallengeRequestOriginal, type GetWebauthnChallengeResponse as GetWebauthnChallengeResponseOriginal, type HeadersEntry as HeadersEntryOriginal, type Identity as IdentityOriginal, type IdentityProfile as IdentityProfileOriginal, type IdpConnection as IdpConnectionOriginal, type ListValue as ListValueOriginal, type LoginCallbackRequest as LoginCallbackRequestOriginal, type LoginId as LoginIdOriginal, type LoginIdTypeOneOf as LoginIdTypeOneOfOriginal, type LoginV2ApplicationErrors as LoginV2ApplicationErrorsOriginal, type LoginV2Request as LoginV2RequestOriginal, type LoginV2ValidationErrors as LoginV2ValidationErrorsOriginal, type LoginWithIdpConnectionRedirectRequest as LoginWithIdpConnectionRedirectRequestOriginal, type LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequestOriginal, type LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequestOriginal, type LogoutRequest as LogoutRequestOriginal, type MapValue as MapValueOriginal, type Metadata as MetadataOriginal, type MfaChallengeData as MfaChallengeDataOriginal, MfaReason as MfaReasonOriginal, type MfaReasonWithLiterals as MfaReasonWithLiteralsOriginal, type
|
|
1315
|
+
export { type AccountInfo as AccountInfoOriginal, type Address as AddressOriginal, AddressTag as AddressTagOriginal, type AddressTagWithLiterals as AddressTagWithLiteralsOriginal, type AddressWrapper as AddressWrapperOriginal, type Authentication as AuthenticationOriginal, type AuthenticatorConnection as AuthenticatorConnectionOriginal, type CallVerifyData as CallVerifyDataOriginal, CaptchaFlow as CaptchaFlowOriginal, type CaptchaFlowWithLiterals as CaptchaFlowWithLiteralsOriginal, CaptchaIdentityType as CaptchaIdentityTypeOriginal, type CaptchaIdentityTypeWithLiterals as CaptchaIdentityTypeWithLiteralsOriginal, CaptchaKind as CaptchaKindOriginal, type CaptchaKindWithLiterals as CaptchaKindWithLiteralsOriginal, CaptchaOutcome as CaptchaOutcomeOriginal, type CaptchaOutcomeWithLiterals as CaptchaOutcomeWithLiteralsOriginal, type CaptchaToken as CaptchaTokenOriginal, type CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOfOriginal, type CaptchaVerification as CaptchaVerificationOriginal, type ChangePasswordRequest as ChangePasswordRequestOriginal, type ChangePasswordResponse as ChangePasswordResponseOriginal, type ConnectIdpRequest as ConnectIdpRequestOriginal, type Connection as ConnectionOriginal, type ConnectionTypeOneOf as ConnectionTypeOneOfOriginal, type CustomField as CustomFieldOriginal, type CustomValue as CustomValueOriginal, type CustomValueValueOneOf as CustomValueValueOneOfOriginal, DeliveryMethod as DeliveryMethodOriginal, type DeliveryMethodWithLiterals as DeliveryMethodWithLiteralsOriginal, type Email as EmailOriginal, EmailTag as EmailTagOriginal, type EmailTagWithLiterals as EmailTagWithLiteralsOriginal, type EmailValidationFailure as EmailValidationFailureOriginal, type ExternalEmailVerifyData as ExternalEmailVerifyDataOriginal, type Factor as FactorOriginal, FactorStatus as FactorStatusOriginal, type FactorStatusWithLiterals as FactorStatusWithLiteralsOriginal, FactorType as FactorTypeOriginal, type FactorTypeWithLiterals as FactorTypeWithLiteralsOriginal, type GetWebauthnChallengeRequest as GetWebauthnChallengeRequestOriginal, type GetWebauthnChallengeResponse as GetWebauthnChallengeResponseOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Identity as IdentityOriginal, type IdentityProfile as IdentityProfileOriginal, type IdpConnection as IdpConnectionOriginal, type ListValue as ListValueOriginal, type LoginCallbackRequest as LoginCallbackRequestOriginal, type LoginId as LoginIdOriginal, type LoginIdTypeOneOf as LoginIdTypeOneOfOriginal, type LoginV2ApplicationErrors as LoginV2ApplicationErrorsOriginal, type LoginV2Request as LoginV2RequestOriginal, type LoginV2ValidationErrors as LoginV2ValidationErrorsOriginal, type LoginWithIdpConnectionRedirectRequest as LoginWithIdpConnectionRedirectRequestOriginal, type LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequestOriginal, type LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequestOriginal, type LogoutRequest as LogoutRequestOriginal, type MapValue as MapValueOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Metadata as MetadataOriginal, type MfaChallengeData as MfaChallengeDataOriginal, MfaReason as MfaReasonOriginal, type MfaReasonWithLiterals as MfaReasonWithLiteralsOriginal, type PathParametersEntry as PathParametersEntryOriginal, type Phone as PhoneOriginal, PhoneTag as PhoneTagOriginal, type PhoneTagWithLiterals as PhoneTagWithLiteralsOriginal, PrivacyStatus as PrivacyStatusOriginal, type PrivacyStatusWithLiterals as PrivacyStatusWithLiteralsOriginal, type PushChallengeData as PushChallengeDataOriginal, type PushVerifyData as PushVerifyDataOriginal, type QueryParametersEntry as QueryParametersEntryOriginal, type RawHttpRequest as RawHttpRequestOriginal, type RawHttpResponse as RawHttpResponseOriginal, Reason as ReasonOriginal, type ReasonWithLiterals as ReasonWithLiteralsOriginal, type RecaptchaForClientSiteKey as RecaptchaForClientSiteKeyOriginal, type RecoveryCodeVerifyData as RecoveryCodeVerifyDataOriginal, type RegisterV2ApplicationErrors as RegisterV2ApplicationErrorsOriginal, type RegisterV2Request as RegisterV2RequestOriginal, type RegisterV2ValidationErrors as RegisterV2ValidationErrorsOriginal, type RequireMfaData as RequireMfaDataOriginal, type SecondaryEmail as SecondaryEmailOriginal, type SignOnRequest as SignOnRequestOriginal, type SignOnResponse as SignOnResponseOriginal, type SmsVerifyData as SmsVerifyDataOriginal, type StateMachineResponse as StateMachineResponseOriginal, type StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOfOriginal, StateType as StateTypeOriginal, type StateTypeWithLiterals as StateTypeWithLiteralsOriginal, StatusName as StatusNameOriginal, type StatusNameWithLiterals as StatusNameWithLiteralsOriginal, Status as StatusOriginal, type StatusV2 as StatusV2Original, type StatusWithLiterals as StatusWithLiteralsOriginal, TenantType as TenantTypeOriginal, type TenantTypeWithLiterals as TenantTypeWithLiteralsOriginal, type TotpVerifyData as TotpVerifyDataOriginal, type V1CustomValue as V1CustomValueOriginal, type V1CustomValueValueOneOf as V1CustomValueValueOneOfOriginal, type V1Factor as V1FactorOriginal, type V1ListValue as V1ListValueOriginal, type V1MapValue as V1MapValueOriginal, V1Reason as V1ReasonOriginal, type V1ReasonWithLiterals as V1ReasonWithLiteralsOriginal, type ValidateEmailRequest as ValidateEmailRequestOriginal, type ValidateEmailResponse as ValidateEmailResponseOriginal, type VerificationChallengeFactorChallengeDataOneOf as VerificationChallengeFactorChallengeDataOneOfOriginal, type VerificationChallenge as VerificationChallengeOriginal, type VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOfOriginal, type VerifyRequest as VerifyRequestOriginal, type WebAuthnChallengeData as WebAuthnChallengeDataOriginal, type WebAuthnVerifyData as WebAuthnVerifyDataOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, changePassword, loginV2, logout, registerV2, signOn, validateEmail };
|
package/build/es/meta.mjs
CHANGED
|
@@ -326,6 +326,30 @@ function logout(payload) {
|
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
// src/iam-authentication-v1-authentication-authentication.types.ts
|
|
329
|
+
var CaptchaFlow = /* @__PURE__ */ ((CaptchaFlow2) => {
|
|
330
|
+
CaptchaFlow2["REGISTER"] = "REGISTER";
|
|
331
|
+
CaptchaFlow2["LOGIN"] = "LOGIN";
|
|
332
|
+
return CaptchaFlow2;
|
|
333
|
+
})(CaptchaFlow || {});
|
|
334
|
+
var CaptchaIdentityType = /* @__PURE__ */ ((CaptchaIdentityType2) => {
|
|
335
|
+
CaptchaIdentityType2["USER"] = "USER";
|
|
336
|
+
CaptchaIdentityType2["MEMBER"] = "MEMBER";
|
|
337
|
+
return CaptchaIdentityType2;
|
|
338
|
+
})(CaptchaIdentityType || {});
|
|
339
|
+
var CaptchaOutcome = /* @__PURE__ */ ((CaptchaOutcome2) => {
|
|
340
|
+
CaptchaOutcome2["PASSED"] = "PASSED";
|
|
341
|
+
CaptchaOutcome2["LOW_SCORE"] = "LOW_SCORE";
|
|
342
|
+
CaptchaOutcome2["INVALID_TOKEN"] = "INVALID_TOKEN";
|
|
343
|
+
CaptchaOutcome2["MISSING_TOKEN"] = "MISSING_TOKEN";
|
|
344
|
+
CaptchaOutcome2["VISIBLE_REQUIRED"] = "VISIBLE_REQUIRED";
|
|
345
|
+
return CaptchaOutcome2;
|
|
346
|
+
})(CaptchaOutcome || {});
|
|
347
|
+
var CaptchaKind = /* @__PURE__ */ ((CaptchaKind2) => {
|
|
348
|
+
CaptchaKind2["INVISIBLE"] = "INVISIBLE";
|
|
349
|
+
CaptchaKind2["VISIBLE"] = "VISIBLE";
|
|
350
|
+
CaptchaKind2["CLIENT_SITE_KEY"] = "CLIENT_SITE_KEY";
|
|
351
|
+
return CaptchaKind2;
|
|
352
|
+
})(CaptchaKind || {});
|
|
329
353
|
var PrivacyStatus = /* @__PURE__ */ ((PrivacyStatus2) => {
|
|
330
354
|
PrivacyStatus2["UNDEFINED"] = "UNDEFINED";
|
|
331
355
|
PrivacyStatus2["PUBLIC"] = "PUBLIC";
|
|
@@ -436,6 +460,14 @@ var DeliveryMethod = /* @__PURE__ */ ((DeliveryMethod2) => {
|
|
|
436
460
|
DeliveryMethod2["WHATSAPP"] = "WHATSAPP";
|
|
437
461
|
return DeliveryMethod2;
|
|
438
462
|
})(DeliveryMethod || {});
|
|
463
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
464
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
465
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
466
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
467
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
468
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
469
|
+
return WebhookIdentityType2;
|
|
470
|
+
})(WebhookIdentityType || {});
|
|
439
471
|
|
|
440
472
|
// src/iam-authentication-v1-authentication-authentication.meta.ts
|
|
441
473
|
function registerV22() {
|
|
@@ -548,6 +580,10 @@ function logout2() {
|
|
|
548
580
|
}
|
|
549
581
|
export {
|
|
550
582
|
AddressTag as AddressTagOriginal,
|
|
583
|
+
CaptchaFlow as CaptchaFlowOriginal,
|
|
584
|
+
CaptchaIdentityType as CaptchaIdentityTypeOriginal,
|
|
585
|
+
CaptchaKind as CaptchaKindOriginal,
|
|
586
|
+
CaptchaOutcome as CaptchaOutcomeOriginal,
|
|
551
587
|
DeliveryMethod as DeliveryMethodOriginal,
|
|
552
588
|
EmailTag as EmailTagOriginal,
|
|
553
589
|
FactorStatus as FactorStatusOriginal,
|
|
@@ -561,6 +597,7 @@ export {
|
|
|
561
597
|
Status as StatusOriginal,
|
|
562
598
|
TenantType as TenantTypeOriginal,
|
|
563
599
|
V1Reason as V1ReasonOriginal,
|
|
600
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
564
601
|
changePassword2 as changePassword,
|
|
565
602
|
loginV22 as loginV2,
|
|
566
603
|
logout2 as logout,
|