@wix/identity 1.0.97 → 1.0.98

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.
@@ -727,7 +727,7 @@ interface Identity$2 {
727
727
  */
728
728
  metadata?: Metadata$2;
729
729
  /** Identity email address. */
730
- email?: Email$3;
730
+ email?: Email$2;
731
731
  /** Identity's current status. */
732
732
  status?: StatusV2$2;
733
733
  /** filled by pre registered spi */
@@ -770,7 +770,7 @@ interface Metadata$2 {
770
770
  */
771
771
  tags?: string[];
772
772
  }
773
- interface Email$3 {
773
+ interface Email$2 {
774
774
  address?: string;
775
775
  isVerified?: boolean;
776
776
  }
@@ -1238,47 +1238,47 @@ declare const signOn: MaybeContext<BuildRESTFunction<typeof signOn$1> & typeof s
1238
1238
  declare const logout: MaybeContext<BuildRESTFunction<typeof logout$1> & typeof logout$1>;
1239
1239
  declare const verify: MaybeContext<BuildRESTFunction<typeof verify$1> & typeof verify$1>;
1240
1240
 
1241
- type context$4_Authentication = Authentication;
1242
- type context$4_CallVerifyData = CallVerifyData;
1243
- type context$4_CaptchaToken = CaptchaToken;
1244
- type context$4_CaptchaTokenTokenOneOf = CaptchaTokenTokenOneOf;
1245
- type context$4_ChangePasswordRequest = ChangePasswordRequest;
1246
- type context$4_ChangePasswordResponse = ChangePasswordResponse;
1247
- type context$4_EmailVerifyData = EmailVerifyData;
1248
- type context$4_LoginCallbackOptions = LoginCallbackOptions;
1249
- type context$4_LoginCallbackRequest = LoginCallbackRequest;
1250
- type context$4_LoginId = LoginId;
1251
- type context$4_LoginIdTypeOneOf = LoginIdTypeOneOf;
1252
- type context$4_LoginV2Options = LoginV2Options;
1253
- type context$4_LoginV2Request = LoginV2Request;
1254
- type context$4_LoginWithIdpConnectionIdentifiers = LoginWithIdpConnectionIdentifiers;
1255
- type context$4_LoginWithIdpConnectionOptions = LoginWithIdpConnectionOptions;
1256
- type context$4_LoginWithIdpConnectionRequest = LoginWithIdpConnectionRequest;
1257
- type context$4_LoginWithIdpConnectionTokenParamsOptions = LoginWithIdpConnectionTokenParamsOptions;
1258
- type context$4_LoginWithIdpConnectionTokenParamsRequest = LoginWithIdpConnectionTokenParamsRequest;
1259
- type context$4_LogoutOptions = LogoutOptions;
1260
- type context$4_LogoutRequest = LogoutRequest;
1261
- type context$4_RegisterV2Options = RegisterV2Options;
1262
- type context$4_RegisterV2Request = RegisterV2Request;
1263
- type context$4_SignOnOptions = SignOnOptions;
1264
- type context$4_SignOnRequest = SignOnRequest;
1265
- type context$4_SignOnResponse = SignOnResponse;
1266
- type context$4_SignOnResponseNonNullableFields = SignOnResponseNonNullableFields;
1267
- type context$4_SmsVerifyData = SmsVerifyData;
1268
- type context$4_TotpVerifyData = TotpVerifyData;
1269
- type context$4_VerifyOptions = VerifyOptions;
1270
- type context$4_VerifyRequestFactorDataOneOf = VerifyRequestFactorDataOneOf;
1271
- declare const context$4_changePassword: typeof changePassword;
1272
- declare const context$4_loginCallback: typeof loginCallback;
1273
- declare const context$4_loginV2: typeof loginV2;
1274
- declare const context$4_loginWithIdpConnection: typeof loginWithIdpConnection;
1275
- declare const context$4_loginWithIdpConnectionTokenParams: typeof loginWithIdpConnectionTokenParams;
1276
- declare const context$4_logout: typeof logout;
1277
- declare const context$4_registerV2: typeof registerV2;
1278
- declare const context$4_signOn: typeof signOn;
1279
- declare const context$4_verify: typeof verify;
1280
- declare namespace context$4 {
1281
- export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type context$4_Authentication as Authentication, type AuthenticatorConnection$2 as AuthenticatorConnection, type context$4_CallVerifyData as CallVerifyData, type context$4_CaptchaToken as CaptchaToken, type context$4_CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOf, type context$4_ChangePasswordRequest as ChangePasswordRequest, type context$4_ChangePasswordResponse as ChangePasswordResponse, type Connection$2 as Connection, type ConnectionTypeOneOf$2 as ConnectionTypeOneOf, type CustomField$2 as CustomField, type CustomValue$2 as CustomValue, type CustomValueValueOneOf$2 as CustomValueValueOneOf, type Email$3 as Email, EmailTag$2 as EmailTag, type context$4_EmailVerifyData as EmailVerifyData, type Factor$2 as Factor, FactorType$2 as FactorType, type HeadersEntry$1 as HeadersEntry, type Identity$2 as Identity, type IdentityProfile$2 as IdentityProfile, type IdpConnection$2 as IdpConnection, type ListValue$2 as ListValue, type context$4_LoginCallbackOptions as LoginCallbackOptions, type context$4_LoginCallbackRequest as LoginCallbackRequest, type context$4_LoginId as LoginId, type context$4_LoginIdTypeOneOf as LoginIdTypeOneOf, type context$4_LoginV2Options as LoginV2Options, type context$4_LoginV2Request as LoginV2Request, type context$4_LoginWithIdpConnectionIdentifiers as LoginWithIdpConnectionIdentifiers, type context$4_LoginWithIdpConnectionOptions as LoginWithIdpConnectionOptions, type context$4_LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequest, type context$4_LoginWithIdpConnectionTokenParamsOptions as LoginWithIdpConnectionTokenParamsOptions, type context$4_LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequest, type context$4_LogoutOptions as LogoutOptions, type context$4_LogoutRequest as LogoutRequest, type MapValue$2 as MapValue, type Metadata$2 as Metadata, type MfaChallengeData$2 as MfaChallengeData, type PathParametersEntry$1 as PathParametersEntry, type Phone$2 as Phone, PhoneTag$2 as PhoneTag, PrivacyStatus$2 as PrivacyStatus, type QueryParametersEntry$1 as QueryParametersEntry, type RawHttpRequest$1 as RawHttpRequest, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, Reason$2 as Reason, type context$4_RegisterV2Options as RegisterV2Options, type context$4_RegisterV2Request as RegisterV2Request, type RequireMfaData$2 as RequireMfaData, type SecondaryEmail$2 as SecondaryEmail, type context$4_SignOnOptions as SignOnOptions, type context$4_SignOnRequest as SignOnRequest, type context$4_SignOnResponse as SignOnResponse, type context$4_SignOnResponseNonNullableFields as SignOnResponseNonNullableFields, type context$4_SmsVerifyData as SmsVerifyData, type StateMachineResponse$2 as StateMachineResponse, type StateMachineResponseNonNullableFields$2 as StateMachineResponseNonNullableFields, type StateMachineResponseStateDataOneOf$2 as StateMachineResponseStateDataOneOf, StateType$2 as StateType, Status$2 as Status, StatusName$2 as StatusName, type StatusV2$2 as StatusV2, TenantType$1 as TenantType, type context$4_TotpVerifyData as TotpVerifyData, type V1CustomValue$2 as V1CustomValue, type V1CustomValueValueOneOf$2 as V1CustomValueValueOneOf, type V1Factor$2 as V1Factor, type V1ListValue$2 as V1ListValue, type V1MapValue$2 as V1MapValue, type VerificationChallenge$2 as VerificationChallenge, type context$4_VerifyOptions as VerifyOptions, type VerifyRequest$1 as VerifyRequest, type context$4_VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOf, context$4_changePassword as changePassword, context$4_loginCallback as loginCallback, context$4_loginV2 as loginV2, context$4_loginWithIdpConnection as loginWithIdpConnection, context$4_loginWithIdpConnectionTokenParams as loginWithIdpConnectionTokenParams, context$4_logout as logout, context$4_registerV2 as registerV2, context$4_signOn as signOn, context$4_verify as verify };
1241
+ type context$3_Authentication = Authentication;
1242
+ type context$3_CallVerifyData = CallVerifyData;
1243
+ type context$3_CaptchaToken = CaptchaToken;
1244
+ type context$3_CaptchaTokenTokenOneOf = CaptchaTokenTokenOneOf;
1245
+ type context$3_ChangePasswordRequest = ChangePasswordRequest;
1246
+ type context$3_ChangePasswordResponse = ChangePasswordResponse;
1247
+ type context$3_EmailVerifyData = EmailVerifyData;
1248
+ type context$3_LoginCallbackOptions = LoginCallbackOptions;
1249
+ type context$3_LoginCallbackRequest = LoginCallbackRequest;
1250
+ type context$3_LoginId = LoginId;
1251
+ type context$3_LoginIdTypeOneOf = LoginIdTypeOneOf;
1252
+ type context$3_LoginV2Options = LoginV2Options;
1253
+ type context$3_LoginV2Request = LoginV2Request;
1254
+ type context$3_LoginWithIdpConnectionIdentifiers = LoginWithIdpConnectionIdentifiers;
1255
+ type context$3_LoginWithIdpConnectionOptions = LoginWithIdpConnectionOptions;
1256
+ type context$3_LoginWithIdpConnectionRequest = LoginWithIdpConnectionRequest;
1257
+ type context$3_LoginWithIdpConnectionTokenParamsOptions = LoginWithIdpConnectionTokenParamsOptions;
1258
+ type context$3_LoginWithIdpConnectionTokenParamsRequest = LoginWithIdpConnectionTokenParamsRequest;
1259
+ type context$3_LogoutOptions = LogoutOptions;
1260
+ type context$3_LogoutRequest = LogoutRequest;
1261
+ type context$3_RegisterV2Options = RegisterV2Options;
1262
+ type context$3_RegisterV2Request = RegisterV2Request;
1263
+ type context$3_SignOnOptions = SignOnOptions;
1264
+ type context$3_SignOnRequest = SignOnRequest;
1265
+ type context$3_SignOnResponse = SignOnResponse;
1266
+ type context$3_SignOnResponseNonNullableFields = SignOnResponseNonNullableFields;
1267
+ type context$3_SmsVerifyData = SmsVerifyData;
1268
+ type context$3_TotpVerifyData = TotpVerifyData;
1269
+ type context$3_VerifyOptions = VerifyOptions;
1270
+ type context$3_VerifyRequestFactorDataOneOf = VerifyRequestFactorDataOneOf;
1271
+ declare const context$3_changePassword: typeof changePassword;
1272
+ declare const context$3_loginCallback: typeof loginCallback;
1273
+ declare const context$3_loginV2: typeof loginV2;
1274
+ declare const context$3_loginWithIdpConnection: typeof loginWithIdpConnection;
1275
+ declare const context$3_loginWithIdpConnectionTokenParams: typeof loginWithIdpConnectionTokenParams;
1276
+ declare const context$3_logout: typeof logout;
1277
+ declare const context$3_registerV2: typeof registerV2;
1278
+ declare const context$3_signOn: typeof signOn;
1279
+ declare const context$3_verify: typeof verify;
1280
+ declare namespace context$3 {
1281
+ export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type context$3_Authentication as Authentication, type AuthenticatorConnection$2 as AuthenticatorConnection, type context$3_CallVerifyData as CallVerifyData, type context$3_CaptchaToken as CaptchaToken, type context$3_CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOf, type context$3_ChangePasswordRequest as ChangePasswordRequest, type context$3_ChangePasswordResponse as ChangePasswordResponse, type Connection$2 as Connection, type ConnectionTypeOneOf$2 as ConnectionTypeOneOf, type CustomField$2 as CustomField, type CustomValue$2 as CustomValue, type CustomValueValueOneOf$2 as CustomValueValueOneOf, type Email$2 as Email, EmailTag$2 as EmailTag, type context$3_EmailVerifyData as EmailVerifyData, type Factor$2 as Factor, FactorType$2 as FactorType, type HeadersEntry$1 as HeadersEntry, type Identity$2 as Identity, type IdentityProfile$2 as IdentityProfile, type IdpConnection$2 as IdpConnection, type ListValue$2 as ListValue, type context$3_LoginCallbackOptions as LoginCallbackOptions, type context$3_LoginCallbackRequest as LoginCallbackRequest, type context$3_LoginId as LoginId, type context$3_LoginIdTypeOneOf as LoginIdTypeOneOf, type context$3_LoginV2Options as LoginV2Options, type context$3_LoginV2Request as LoginV2Request, type context$3_LoginWithIdpConnectionIdentifiers as LoginWithIdpConnectionIdentifiers, type context$3_LoginWithIdpConnectionOptions as LoginWithIdpConnectionOptions, type context$3_LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequest, type context$3_LoginWithIdpConnectionTokenParamsOptions as LoginWithIdpConnectionTokenParamsOptions, type context$3_LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequest, type context$3_LogoutOptions as LogoutOptions, type context$3_LogoutRequest as LogoutRequest, type MapValue$2 as MapValue, type Metadata$2 as Metadata, type MfaChallengeData$2 as MfaChallengeData, type PathParametersEntry$1 as PathParametersEntry, type Phone$2 as Phone, PhoneTag$2 as PhoneTag, PrivacyStatus$2 as PrivacyStatus, type QueryParametersEntry$1 as QueryParametersEntry, type RawHttpRequest$1 as RawHttpRequest, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, Reason$2 as Reason, type context$3_RegisterV2Options as RegisterV2Options, type context$3_RegisterV2Request as RegisterV2Request, type RequireMfaData$2 as RequireMfaData, type SecondaryEmail$2 as SecondaryEmail, type context$3_SignOnOptions as SignOnOptions, type context$3_SignOnRequest as SignOnRequest, type context$3_SignOnResponse as SignOnResponse, type context$3_SignOnResponseNonNullableFields as SignOnResponseNonNullableFields, type context$3_SmsVerifyData as SmsVerifyData, type StateMachineResponse$2 as StateMachineResponse, type StateMachineResponseNonNullableFields$2 as StateMachineResponseNonNullableFields, type StateMachineResponseStateDataOneOf$2 as StateMachineResponseStateDataOneOf, StateType$2 as StateType, Status$2 as Status, StatusName$2 as StatusName, type StatusV2$2 as StatusV2, TenantType$1 as TenantType, type context$3_TotpVerifyData as TotpVerifyData, type V1CustomValue$2 as V1CustomValue, type V1CustomValueValueOneOf$2 as V1CustomValueValueOneOf, type V1Factor$2 as V1Factor, type V1ListValue$2 as V1ListValue, type V1MapValue$2 as V1MapValue, type VerificationChallenge$2 as VerificationChallenge, type context$3_VerifyOptions as VerifyOptions, type VerifyRequest$1 as VerifyRequest, type context$3_VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOf, context$3_changePassword as changePassword, context$3_loginCallback as loginCallback, context$3_loginV2 as loginV2, context$3_loginWithIdpConnection as loginWithIdpConnection, context$3_loginWithIdpConnectionTokenParams as loginWithIdpConnectionTokenParams, context$3_logout as logout, context$3_registerV2 as registerV2, context$3_signOn as signOn, context$3_verify as verify };
1282
1282
  }
1283
1283
 
1284
1284
  /** Recovery token proto is the saved data on the recovery token. */
@@ -1415,7 +1415,7 @@ interface Identity$1 {
1415
1415
  */
1416
1416
  metadata?: Metadata$1;
1417
1417
  /** Identity email address. */
1418
- email?: Email$2;
1418
+ email?: Email$1;
1419
1419
  /** Identity's current status. */
1420
1420
  status?: StatusV2$1;
1421
1421
  /** filled by pre registered spi */
@@ -1611,7 +1611,7 @@ interface Metadata$1 {
1611
1611
  */
1612
1612
  tags?: string[];
1613
1613
  }
1614
- interface Email$2 {
1614
+ interface Email$1 {
1615
1615
  address?: string;
1616
1616
  isVerified?: boolean;
1617
1617
  }
@@ -1832,24 +1832,24 @@ declare const sendRecoveryEmail: MaybeContext<BuildRESTFunction<typeof sendRecov
1832
1832
  declare const sendActivationEmail: MaybeContext<BuildRESTFunction<typeof sendActivationEmail$1> & typeof sendActivationEmail$1>;
1833
1833
  declare const recover: MaybeContext<BuildRESTFunction<typeof recover$1> & typeof recover$1>;
1834
1834
 
1835
- type context$3_EmailOptions = EmailOptions;
1836
- type context$3_RecoverOptions = RecoverOptions;
1837
- type context$3_RecoverRequest = RecoverRequest;
1838
- type context$3_RecoveryToken = RecoveryToken;
1839
- type context$3_Redirect = Redirect;
1840
- type context$3_SendActivationEmailOptions = SendActivationEmailOptions;
1841
- type context$3_SendActivationEmailRequest = SendActivationEmailRequest;
1842
- type context$3_SendActivationEmailResponse = SendActivationEmailResponse;
1843
- type context$3_SendRecoveryEmailOptions = SendRecoveryEmailOptions;
1844
- type context$3_SendRecoveryEmailRequest = SendRecoveryEmailRequest;
1845
- type context$3_SendRecoveryEmailResponse = SendRecoveryEmailResponse;
1846
- type context$3_TenantType = TenantType;
1847
- declare const context$3_TenantType: typeof TenantType;
1848
- declare const context$3_recover: typeof recover;
1849
- declare const context$3_sendActivationEmail: typeof sendActivationEmail;
1850
- declare const context$3_sendRecoveryEmail: typeof sendRecoveryEmail;
1851
- declare namespace context$3 {
1852
- export { type Address$1 as Address, AddressTag$1 as AddressTag, type AddressWrapper$1 as AddressWrapper, type AuthenticatorConnection$1 as AuthenticatorConnection, type Connection$1 as Connection, type ConnectionTypeOneOf$1 as ConnectionTypeOneOf, type CustomField$1 as CustomField, type CustomValue$1 as CustomValue, type CustomValueValueOneOf$1 as CustomValueValueOneOf, type Email$2 as Email, type context$3_EmailOptions as EmailOptions, EmailTag$1 as EmailTag, type Factor$1 as Factor, FactorType$1 as FactorType, type Identity$1 as Identity, type IdentityProfile$1 as IdentityProfile, type IdpConnection$1 as IdpConnection, type ListValue$1 as ListValue, type MapValue$1 as MapValue, type Metadata$1 as Metadata, type MfaChallengeData$1 as MfaChallengeData, type Phone$1 as Phone, PhoneTag$1 as PhoneTag, PrivacyStatus$1 as PrivacyStatus, Reason$1 as Reason, type context$3_RecoverOptions as RecoverOptions, type context$3_RecoverRequest as RecoverRequest, type context$3_RecoveryToken as RecoveryToken, type context$3_Redirect as Redirect, type RequireMfaData$1 as RequireMfaData, type SecondaryEmail$1 as SecondaryEmail, type context$3_SendActivationEmailOptions as SendActivationEmailOptions, type context$3_SendActivationEmailRequest as SendActivationEmailRequest, type context$3_SendActivationEmailResponse as SendActivationEmailResponse, type context$3_SendRecoveryEmailOptions as SendRecoveryEmailOptions, type context$3_SendRecoveryEmailRequest as SendRecoveryEmailRequest, type context$3_SendRecoveryEmailResponse as SendRecoveryEmailResponse, type StateMachineResponse$1 as StateMachineResponse, type StateMachineResponseNonNullableFields$1 as StateMachineResponseNonNullableFields, type StateMachineResponseStateDataOneOf$1 as StateMachineResponseStateDataOneOf, StateType$1 as StateType, Status$1 as Status, StatusName$1 as StatusName, type StatusV2$1 as StatusV2, context$3_TenantType as TenantType, type V1CustomValue$1 as V1CustomValue, type V1CustomValueValueOneOf$1 as V1CustomValueValueOneOf, type V1Factor$1 as V1Factor, type V1ListValue$1 as V1ListValue, type V1MapValue$1 as V1MapValue, type VerificationChallenge$1 as VerificationChallenge, context$3_recover as recover, context$3_sendActivationEmail as sendActivationEmail, context$3_sendRecoveryEmail as sendRecoveryEmail };
1835
+ type context$2_EmailOptions = EmailOptions;
1836
+ type context$2_RecoverOptions = RecoverOptions;
1837
+ type context$2_RecoverRequest = RecoverRequest;
1838
+ type context$2_RecoveryToken = RecoveryToken;
1839
+ type context$2_Redirect = Redirect;
1840
+ type context$2_SendActivationEmailOptions = SendActivationEmailOptions;
1841
+ type context$2_SendActivationEmailRequest = SendActivationEmailRequest;
1842
+ type context$2_SendActivationEmailResponse = SendActivationEmailResponse;
1843
+ type context$2_SendRecoveryEmailOptions = SendRecoveryEmailOptions;
1844
+ type context$2_SendRecoveryEmailRequest = SendRecoveryEmailRequest;
1845
+ type context$2_SendRecoveryEmailResponse = SendRecoveryEmailResponse;
1846
+ type context$2_TenantType = TenantType;
1847
+ declare const context$2_TenantType: typeof TenantType;
1848
+ declare const context$2_recover: typeof recover;
1849
+ declare const context$2_sendActivationEmail: typeof sendActivationEmail;
1850
+ declare const context$2_sendRecoveryEmail: typeof sendRecoveryEmail;
1851
+ declare namespace context$2 {
1852
+ export { type Address$1 as Address, AddressTag$1 as AddressTag, type AddressWrapper$1 as AddressWrapper, type AuthenticatorConnection$1 as AuthenticatorConnection, type Connection$1 as Connection, type ConnectionTypeOneOf$1 as ConnectionTypeOneOf, type CustomField$1 as CustomField, type CustomValue$1 as CustomValue, type CustomValueValueOneOf$1 as CustomValueValueOneOf, type Email$1 as Email, type context$2_EmailOptions as EmailOptions, EmailTag$1 as EmailTag, type Factor$1 as Factor, FactorType$1 as FactorType, type Identity$1 as Identity, type IdentityProfile$1 as IdentityProfile, type IdpConnection$1 as IdpConnection, type ListValue$1 as ListValue, type MapValue$1 as MapValue, type Metadata$1 as Metadata, type MfaChallengeData$1 as MfaChallengeData, type Phone$1 as Phone, PhoneTag$1 as PhoneTag, PrivacyStatus$1 as PrivacyStatus, Reason$1 as Reason, type context$2_RecoverOptions as RecoverOptions, type context$2_RecoverRequest as RecoverRequest, type context$2_RecoveryToken as RecoveryToken, type context$2_Redirect as Redirect, type RequireMfaData$1 as RequireMfaData, type SecondaryEmail$1 as SecondaryEmail, type context$2_SendActivationEmailOptions as SendActivationEmailOptions, type context$2_SendActivationEmailRequest as SendActivationEmailRequest, type context$2_SendActivationEmailResponse as SendActivationEmailResponse, type context$2_SendRecoveryEmailOptions as SendRecoveryEmailOptions, type context$2_SendRecoveryEmailRequest as SendRecoveryEmailRequest, type context$2_SendRecoveryEmailResponse as SendRecoveryEmailResponse, type StateMachineResponse$1 as StateMachineResponse, type StateMachineResponseNonNullableFields$1 as StateMachineResponseNonNullableFields, type StateMachineResponseStateDataOneOf$1 as StateMachineResponseStateDataOneOf, StateType$1 as StateType, Status$1 as Status, StatusName$1 as StatusName, type StatusV2$1 as StatusV2, context$2_TenantType as TenantType, type V1CustomValue$1 as V1CustomValue, type V1CustomValueValueOneOf$1 as V1CustomValueValueOneOf, type V1Factor$1 as V1Factor, type V1ListValue$1 as V1ListValue, type V1MapValue$1 as V1MapValue, type VerificationChallenge$1 as VerificationChallenge, context$2_recover as recover, context$2_sendActivationEmail as sendActivationEmail, context$2_sendRecoveryEmail as sendRecoveryEmail };
1853
1853
  }
1854
1854
 
1855
1855
  interface StartResponse {
@@ -1947,7 +1947,7 @@ interface Identity {
1947
1947
  */
1948
1948
  metadata?: Metadata;
1949
1949
  /** Identity email address. */
1950
- email?: Email$1;
1950
+ email?: Email;
1951
1951
  /** Identity's current status. */
1952
1952
  status?: StatusV2;
1953
1953
  /** filled by pre registered spi */
@@ -2143,7 +2143,7 @@ interface Metadata {
2143
2143
  */
2144
2144
  tags?: string[];
2145
2145
  }
2146
- interface Email$1 {
2146
+ interface Email {
2147
2147
  address?: string;
2148
2148
  isVerified?: boolean;
2149
2149
  }
@@ -2378,499 +2378,70 @@ declare const start: MaybeContext<BuildRESTFunction<typeof start$1> & typeof sta
2378
2378
  declare const verifyDuringAuthentication: MaybeContext<BuildRESTFunction<typeof verifyDuringAuthentication$1> & typeof verifyDuringAuthentication$1>;
2379
2379
  declare const resendDuringAuthentication: MaybeContext<BuildRESTFunction<typeof resendDuringAuthentication$1> & typeof resendDuringAuthentication$1>;
2380
2380
 
2381
- type context$2_Address = Address;
2382
- type context$2_AddressTag = AddressTag;
2383
- declare const context$2_AddressTag: typeof AddressTag;
2384
- type context$2_AddressWrapper = AddressWrapper;
2385
- type context$2_AuthenticatorConnection = AuthenticatorConnection;
2386
- type context$2_Connection = Connection;
2387
- type context$2_ConnectionTypeOneOf = ConnectionTypeOneOf;
2388
- type context$2_CustomField = CustomField;
2389
- type context$2_CustomValue = CustomValue;
2390
- type context$2_CustomValueValueOneOf = CustomValueValueOneOf;
2391
- type context$2_EmailTag = EmailTag;
2392
- declare const context$2_EmailTag: typeof EmailTag;
2393
- type context$2_Factor = Factor;
2394
- type context$2_FactorType = FactorType;
2395
- declare const context$2_FactorType: typeof FactorType;
2396
- type context$2_Identity = Identity;
2397
- type context$2_IdentityProfile = IdentityProfile;
2398
- type context$2_IdpConnection = IdpConnection;
2399
- type context$2_ListValue = ListValue;
2400
- type context$2_MapValue = MapValue;
2401
- type context$2_Metadata = Metadata;
2402
- type context$2_MfaChallengeData = MfaChallengeData;
2403
- type context$2_Phone = Phone;
2404
- type context$2_PhoneTag = PhoneTag;
2405
- declare const context$2_PhoneTag: typeof PhoneTag;
2406
- type context$2_PrivacyStatus = PrivacyStatus;
2407
- declare const context$2_PrivacyStatus: typeof PrivacyStatus;
2408
- type context$2_Reason = Reason;
2409
- declare const context$2_Reason: typeof Reason;
2410
- type context$2_RequireMfaData = RequireMfaData;
2411
- type context$2_ResendDuringAuthenticationRequest = ResendDuringAuthenticationRequest;
2412
- type context$2_SecondaryEmail = SecondaryEmail;
2413
- type context$2_StartOptions = StartOptions;
2414
- type context$2_StartRequest = StartRequest;
2415
- type context$2_StartResponse = StartResponse;
2416
- type context$2_StartResponseNonNullableFields = StartResponseNonNullableFields;
2417
- type context$2_StateMachineResponse = StateMachineResponse;
2418
- type context$2_StateMachineResponseNonNullableFields = StateMachineResponseNonNullableFields;
2419
- type context$2_StateMachineResponseStateDataOneOf = StateMachineResponseStateDataOneOf;
2420
- type context$2_StateType = StateType;
2421
- declare const context$2_StateType: typeof StateType;
2422
- type context$2_Status = Status;
2423
- declare const context$2_Status: typeof Status;
2424
- type context$2_StatusName = StatusName;
2425
- declare const context$2_StatusName: typeof StatusName;
2426
- type context$2_StatusV2 = StatusV2;
2427
- type context$2_Target = Target;
2428
- declare const context$2_Target: typeof Target;
2429
- type context$2_V1CustomValue = V1CustomValue;
2430
- type context$2_V1CustomValueValueOneOf = V1CustomValueValueOneOf;
2431
- type context$2_V1Factor = V1Factor;
2432
- type context$2_V1ListValue = V1ListValue;
2433
- type context$2_V1MapValue = V1MapValue;
2434
- type context$2_VerificationChallenge = VerificationChallenge;
2435
- type context$2_VerifyDuringAuthenticationOptions = VerifyDuringAuthenticationOptions;
2436
- type context$2_VerifyDuringAuthenticationRequest = VerifyDuringAuthenticationRequest;
2437
- type context$2_VerifyRequest = VerifyRequest;
2438
- type context$2_VerifyResponse = VerifyResponse;
2439
- declare const context$2_resendDuringAuthentication: typeof resendDuringAuthentication;
2440
- declare const context$2_start: typeof start;
2441
- declare const context$2_verifyDuringAuthentication: typeof verifyDuringAuthentication;
2442
- declare namespace context$2 {
2443
- export { type context$2_Address as Address, context$2_AddressTag as AddressTag, type context$2_AddressWrapper as AddressWrapper, type context$2_AuthenticatorConnection as AuthenticatorConnection, type context$2_Connection as Connection, type context$2_ConnectionTypeOneOf as ConnectionTypeOneOf, type context$2_CustomField as CustomField, type context$2_CustomValue as CustomValue, type context$2_CustomValueValueOneOf as CustomValueValueOneOf, type Email$1 as Email, context$2_EmailTag as EmailTag, type context$2_Factor as Factor, context$2_FactorType as FactorType, type context$2_Identity as Identity, type context$2_IdentityProfile as IdentityProfile, type context$2_IdpConnection as IdpConnection, type context$2_ListValue as ListValue, type context$2_MapValue as MapValue, type context$2_Metadata as Metadata, type context$2_MfaChallengeData as MfaChallengeData, type context$2_Phone as Phone, context$2_PhoneTag as PhoneTag, context$2_PrivacyStatus as PrivacyStatus, context$2_Reason as Reason, type context$2_RequireMfaData as RequireMfaData, type context$2_ResendDuringAuthenticationRequest as ResendDuringAuthenticationRequest, type context$2_SecondaryEmail as SecondaryEmail, type context$2_StartOptions as StartOptions, type context$2_StartRequest as StartRequest, type context$2_StartResponse as StartResponse, type context$2_StartResponseNonNullableFields as StartResponseNonNullableFields, type context$2_StateMachineResponse as StateMachineResponse, type context$2_StateMachineResponseNonNullableFields as StateMachineResponseNonNullableFields, type context$2_StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOf, context$2_StateType as StateType, context$2_Status as Status, context$2_StatusName as StatusName, type context$2_StatusV2 as StatusV2, context$2_Target as Target, type context$2_V1CustomValue as V1CustomValue, type context$2_V1CustomValueValueOneOf as V1CustomValueValueOneOf, type context$2_V1Factor as V1Factor, type context$2_V1ListValue as V1ListValue, type context$2_V1MapValue as V1MapValue, type context$2_VerificationChallenge as VerificationChallenge, type context$2_VerifyDuringAuthenticationOptions as VerifyDuringAuthenticationOptions, type context$2_VerifyDuringAuthenticationRequest as VerifyDuringAuthenticationRequest, type context$2_VerifyRequest as VerifyRequest, type context$2_VerifyResponse as VerifyResponse, context$2_resendDuringAuthentication as resendDuringAuthentication, context$2_start as start, context$2_verifyDuringAuthentication as verifyDuringAuthentication };
2444
- }
2445
-
2446
- interface AccountV2 {
2447
- /** Account ID. */
2448
- accountId?: string;
2449
- }
2450
- interface GetUserAccountRequest {
2451
- /** the user id that his account we query */
2452
- userId?: string;
2453
- }
2454
- interface Account {
2455
- /** Account ID. */
2456
- accountId?: string;
2457
- /** Account slug - used in the free URL prefix */
2458
- slug?: string;
2459
- /** Account name (display) */
2460
- accountName?: string | null;
2461
- /**
2462
- * DEPRECATED field of account image
2463
- * @deprecated
2464
- */
2465
- accountImg?: string | null;
2466
- /** account status */
2467
- status?: AccountStatus;
2468
- /** account owner user id */
2469
- accountOwner?: string;
2470
- /** account extra properties */
2471
- accountProperties?: AccountProperties;
2472
- /** the account creation date */
2473
- dateCreated?: Date | null;
2474
- /** last time account was updated */
2475
- dateUpdated?: Date | null;
2476
- }
2477
- /** enum with all available statuses of account */
2478
- declare enum AccountStatus {
2479
- ACTIVE = "ACTIVE",
2480
- BLOCKED = "BLOCKED",
2481
- DELETED = "DELETED"
2482
- }
2483
- /** All relevant account properties */
2484
- interface AccountProperties {
2485
- /** Whether this account is a team account. */
2486
- isTeam?: boolean;
2487
- /**
2488
- * Account image (display)
2489
- * relevant mainly for CoBranded accounts
2490
- */
2491
- accountImg?: string | null;
2492
- /**
2493
- * the account banner (display)
2494
- * relevant mainly for CoBranded accounts
2495
- */
2496
- accountBanner?: string | null;
2497
- /**
2498
- * the account logo (display)
2499
- * wll be shown as the account logo in the UI (top right corner, contributor list etc..)
2500
- */
2501
- accountLogo?: string | null;
2502
- /**
2503
- * account co branding flag (if exists)
2504
- * an enum for CoBranding flag contains 4 possible options:
2505
- * None - the account is not CoBranded
2506
- * CoBranded - the account has a CoBranding flag
2507
- * CoBranded_Customer_New - the account is a contributor of a CoBranded account. This account was created because of the contributor invite
2508
- * CoBranded_Customer_Existing - the account is a contributor of a CoBranded account. This account was created before the invite of the contributor invite
2509
- */
2510
- coBranding?: CoBranding;
2511
- /** account's website URL (shown on co branding customers sites) */
2512
- websiteUrl?: string | null;
2513
- /** the id of the parent account of this account, if it has a parent */
2514
- parentAccountId?: string | null;
2515
- }
2516
- /** co branding flag options for account */
2517
- declare enum CoBranding {
2518
- None = "None",
2519
- CoBranded = "CoBranded",
2520
- CoBranded_Customer_New = "CoBranded_Customer_New",
2521
- CoBranded_Customer_Existing = "CoBranded_Customer_Existing"
2522
- }
2523
- interface GetUserAccountsRequest {
2524
- /** the user id that his accounts we query */
2525
- userId?: string;
2526
- /** Limited to max 20 at a single request */
2527
- paging?: Paging;
2528
- }
2529
- interface Paging {
2530
- /** Number of items to load. */
2531
- limit?: number | null;
2532
- /** Number of items to skip in the current sort order. */
2533
- offset?: number | null;
2534
- }
2535
- interface AccountsResponse {
2536
- accounts?: Account[];
2537
- }
2538
- interface GetMyUserAccountsRequest {
2539
- /** Limited to max 20 at a single request */
2540
- paging?: Paging;
2541
- }
2542
- interface GetAccountRequest {
2543
- /** the account id that it's data should be retrieved */
2544
- accountId?: string;
2545
- }
2546
- interface AccountResponse {
2547
- account?: Account;
2548
- }
2549
- interface GetMyAccountRequest {
2550
- }
2551
- interface GetAccountsRequest {
2552
- /** the account id to retrieve */
2553
- accountIds?: string[];
2554
- }
2555
- interface CreateAccountRequest {
2556
- /** The user to create under the new account, with the roles defined in `roles`. */
2557
- user: User;
2558
- /**
2559
- * Roles to be assigned to the user in the new account. To retrieve all available roles, call Get Roles Info in the Users API.
2560
- * Default: OWNER.
2561
- */
2562
- roles?: string[] | null;
2563
- }
2564
- /** A User to be created under an implicitly provided accountId: must have a unique email. */
2565
- interface User {
2566
- /** User's unique email address details. Required. */
2567
- email?: Email;
2568
- /** User's single sign on identity, when the user is identified via SSO authentication response token params, as specified by [OpenID Connect](https://openid.net/developers/how-connect-works/) (aka. OIDC) protocol. */
2569
- ssoIdentities?: SsoIdentity[];
2570
- /** Additional user details. */
2571
- userDetails?: UserDetails;
2572
- }
2573
- /** User's email address. */
2574
- interface Email {
2575
- /** User's email address. */
2576
- emailAddress?: string;
2577
- /** Whether the caller has verified the user's email address. */
2578
- isVerified?: boolean;
2579
- }
2580
- /** Single Sign On (aka. SSO) identity; user is identified via SSO authentication response token params, as specified by OpenID Connect (aka. OIDC) protocol */
2581
- interface SsoIdentity {
2582
- /** An SSO setting (URLs, clientId, secret, etc. as required by OIDC protocol) for a specific Identity-Provider (aka. IdP) for a specific Wix account. */
2583
- ssoId?: string;
2584
- /**
2585
- * User ID as stored in IdP. For example a "sub" claim of OIDC protocol,
2586
- * or any other alternative, specified by IdP (Identity Provider).
2587
- */
2588
- userId?: string;
2589
- }
2590
- /** additional user details */
2591
- interface UserDetails {
2592
- /** User's first name. */
2593
- firstName?: string | null;
2594
- /** User's last name. */
2595
- lastName?: string | null;
2596
- /** URL to location of user's profile picture. */
2597
- profilePictureUrl?: string | null;
2598
- /** User's preferred language in [ISO 639-1:2002](https://en.wikipedia.org/wiki/ISO_639-1) format. For example, "en", "es". */
2599
- language?: string | null;
2600
- /**
2601
- * Original Client IP from which a request was made.
2602
- * This is useful in case where a createUser API is called by some server call, which, in turn, has been called by some client from another IP.
2603
- * Wix checks this IP against the [OFAC sanctioned countries](https://ofac.treasury.gov/sanctions-programs-and-country-information).
2604
- */
2605
- clientIp?: string | null;
2606
- }
2607
- interface CreateAccountResponse {
2608
- /** The created account. */
2609
- account?: AccountV2;
2610
- }
2611
- interface CreateAccountForMyUserRequest {
2612
- /** the account name */
2613
- accountName?: string | null;
2614
- /** account image url */
2615
- accountImg?: string | null;
2616
- /** whether to mark the account as `studio` */
2617
- studio?: boolean;
2618
- }
2619
- interface CreateAccountTenantRequest {
2620
- slug?: string | null;
2621
- }
2622
- interface CreateAccountTenantResponse {
2623
- account?: AccountV2;
2624
- }
2625
- interface CreateAccountAndAssignUserRequest {
2626
- /** the user id for which we are creating the account */
2627
- userId?: string;
2628
- /** the user name of the user for which the account is created */
2629
- userName?: string;
2630
- /** the parent account of the created account */
2631
- parentAccountId?: string | null;
2632
- /** whether to mark the account as `studio` */
2633
- studio?: boolean;
2634
- }
2635
- interface UpdateAccountRequest {
2636
- /** the account id to update */
2637
- accountId?: string;
2638
- /**
2639
- * DEPRECATED field of image
2640
- * @deprecated
2641
- */
2642
- accountImg?: string | null;
2643
- /** optional - new account name */
2644
- accountName?: string | null;
2645
- /**
2646
- * the new properties for the account.
2647
- * can be passed partially - and only relevant fields will be updated
2648
- */
2649
- accountProperties?: AccountProperties;
2650
- }
2651
- interface UpdateParentAccountRequest extends UpdateParentAccountRequestUpdateOneOf {
2652
- /** Removes the parent account */
2653
- remove?: RemoveParent;
2654
- }
2655
- /** @oneof */
2656
- interface UpdateParentAccountRequestUpdateOneOf {
2657
- /** Removes the parent account */
2658
- remove?: RemoveParent;
2659
- }
2660
- interface RemoveParent {
2661
- }
2662
- interface UpdateParentAccountResponse {
2663
- newParentAccountId?: string | null;
2664
- }
2665
- interface DeleteAccountRequest {
2666
- /** the account id to delete */
2667
- accountId?: string;
2668
- /** will throw exception if trying to delete the account of the last user when the value is true */
2669
- shouldNotDeleteLastAccount?: boolean;
2670
- }
2671
- interface EmptyResponse {
2672
- }
2673
- interface UpdateSlugRequest {
2674
- /** account id */
2675
- accountId?: string;
2676
- /** new slug */
2677
- newSlugName?: string;
2678
- }
2679
- interface IsTeamRequest {
2680
- /** the account id to check if it's a team account */
2681
- accountId?: string;
2682
- }
2683
- interface IsTeamResponse {
2684
- /** true if the account is marked as a team account, false if not */
2685
- isTeamAccount?: boolean;
2686
- }
2687
- interface MarkAccountFlagRequest extends MarkAccountFlagRequestFlagOneOf {
2688
- /**
2689
- * account co branding flag (if exists)
2690
- * an enum for CoBranding flag contains 4 possible options:
2691
- * None - the account is not CoBranded
2692
- * CoBranded - the account has a CoBranding flag
2693
- * CoBranded_Customer_New - the account is a contributor of a CoBranded account. This account was created because of the contributor invite
2694
- * CoBranded_Customer_Existing - the account is a contributor of a CoBranded account. This account was created before the invite of the contributor invite
2695
- */
2696
- coBranding?: CoBranding;
2697
- /** the account id to mark */
2698
- accountId?: string;
2699
- /** the inviting account id in case the flag is given by an invite */
2700
- invitedByAccountId?: string | null;
2701
- }
2702
- /** @oneof */
2703
- interface MarkAccountFlagRequestFlagOneOf {
2704
- /**
2705
- * account co branding flag (if exists)
2706
- * an enum for CoBranding flag contains 4 possible options:
2707
- * None - the account is not CoBranded
2708
- * CoBranded - the account has a CoBranding flag
2709
- * CoBranded_Customer_New - the account is a contributor of a CoBranded account. This account was created because of the contributor invite
2710
- * CoBranded_Customer_Existing - the account is a contributor of a CoBranded account. This account was created before the invite of the contributor invite
2711
- */
2712
- coBranding?: CoBranding;
2713
- }
2714
- interface GetParentAccountInfoRequest {
2715
- }
2716
- interface GetParentAccountInfoResponse {
2717
- /** The info of the parent account, if the account has a parent */
2718
- parentAccountInfo?: AccountInfo;
2719
- }
2720
- interface AccountInfo {
2721
- /** The name of the account */
2722
- name?: string | null;
2723
- /** The url of the image of the account */
2724
- image?: string | null;
2725
- }
2726
- interface GetSubAccountsRequest {
2727
- /** Offset-based pagination for the response. Default page size is 20, max page size is 50 */
2728
- paging?: Paging;
2729
- }
2730
- interface GetSubAccountsResponse {
2731
- /** The sub accounts of the target account */
2732
- subAccounts?: SubAccountInfo[];
2733
- /** Metadata of the response pagination */
2734
- pagingMetadata?: PagingMetadata;
2735
- }
2736
- interface SubAccountInfo {
2737
- /** The id of the sub account */
2738
- accountId?: string;
2739
- }
2740
- interface PagingMetadata {
2741
- /** Number of items returned in the response. */
2742
- count?: number | null;
2743
- /** Offset that was requested. */
2744
- offset?: number | null;
2745
- /** Total number of items that match the query. */
2746
- total?: number | null;
2747
- /** Flag that indicates the server failed to calculate the `total` field. */
2748
- tooManyToCount?: boolean | null;
2749
- }
2750
- interface ListChildAccountsRequest {
2751
- /**
2752
- * Paging options to limit and offset the number of items.
2753
- * Default: 20. Max: 50.
2754
- */
2755
- paging?: Paging;
2756
- }
2757
- interface ListChildAccountsResponse {
2758
- /** The requested child accounts. */
2759
- childAccounts?: AccountV2[];
2760
- /** Metadata of the response pagination. */
2761
- pagingMetadata?: PagingMetadata;
2762
- }
2763
- interface SetIsReadOnlyAccountRequest {
2764
- accountId?: string;
2765
- isReadOnly?: boolean;
2766
- }
2767
- interface AccountV2NonNullableFields {
2768
- accountId: string;
2769
- }
2770
- interface CreateAccountResponseNonNullableFields {
2771
- account?: AccountV2NonNullableFields;
2772
- }
2773
- interface ListChildAccountsResponseNonNullableFields {
2774
- childAccounts: AccountV2NonNullableFields[];
2775
- }
2776
- interface CreateAccountOptions {
2777
- /**
2778
- * Roles to be assigned to the user in the new account. To retrieve all available roles, call Get Roles Info in the Users API.
2779
- * Default: OWNER.
2780
- */
2781
- roles?: string[] | null;
2782
- }
2783
- interface ListChildAccountsOptions {
2784
- /**
2785
- * Paging options to limit and offset the number of items.
2786
- * Default: 20. Max: 50.
2787
- */
2788
- paging?: Paging;
2789
- }
2790
-
2791
- declare function createAccount$1(httpClient: HttpClient): CreateAccountSignature;
2792
- interface CreateAccountSignature {
2793
- /**
2794
- * Creates a new Wix account, and creates a new Wix user as the account owner.
2795
- * The newly created account is a child account of the account used to create it, making that account its parent.
2796
- *
2797
- * > **Important**: This call requires an account level API key and cannot be authenticated with the standard authorization header. API keys are currently available to selected beta users only.
2798
- * @param - The user to create under the new account, with the roles defined in `roles`.
2799
- * @param - Filter options.
2800
- */
2801
- (user: User, options?: CreateAccountOptions | undefined): Promise<CreateAccountResponse & CreateAccountResponseNonNullableFields>;
2802
- }
2803
- declare function listChildAccounts$1(httpClient: HttpClient): ListChildAccountsSignature;
2804
- interface ListChildAccountsSignature {
2805
- /**
2806
- * Retrieves a list of child account IDs for the requesting account.
2807
- * If no child accounts exist, an empty list will be returned.
2808
- *
2809
- * > **Important**: This call requires an account level API key and cannot be authenticated with the standard authorization header. API keys are currently available to selected beta users only.
2810
- * @param - Filter options.
2811
- */
2812
- (options?: ListChildAccountsOptions | undefined): Promise<ListChildAccountsResponse & ListChildAccountsResponseNonNullableFields>;
2813
- }
2814
-
2815
- declare const createAccount: MaybeContext<BuildRESTFunction<typeof createAccount$1> & typeof createAccount$1>;
2816
- declare const listChildAccounts: MaybeContext<BuildRESTFunction<typeof listChildAccounts$1> & typeof listChildAccounts$1>;
2817
-
2818
- type context$1_Account = Account;
2819
- type context$1_AccountInfo = AccountInfo;
2820
- type context$1_AccountProperties = AccountProperties;
2821
- type context$1_AccountResponse = AccountResponse;
2822
- type context$1_AccountStatus = AccountStatus;
2823
- declare const context$1_AccountStatus: typeof AccountStatus;
2824
- type context$1_AccountV2 = AccountV2;
2825
- type context$1_AccountsResponse = AccountsResponse;
2826
- type context$1_CoBranding = CoBranding;
2827
- declare const context$1_CoBranding: typeof CoBranding;
2828
- type context$1_CreateAccountAndAssignUserRequest = CreateAccountAndAssignUserRequest;
2829
- type context$1_CreateAccountForMyUserRequest = CreateAccountForMyUserRequest;
2830
- type context$1_CreateAccountOptions = CreateAccountOptions;
2831
- type context$1_CreateAccountRequest = CreateAccountRequest;
2832
- type context$1_CreateAccountResponse = CreateAccountResponse;
2833
- type context$1_CreateAccountResponseNonNullableFields = CreateAccountResponseNonNullableFields;
2834
- type context$1_CreateAccountTenantRequest = CreateAccountTenantRequest;
2835
- type context$1_CreateAccountTenantResponse = CreateAccountTenantResponse;
2836
- type context$1_DeleteAccountRequest = DeleteAccountRequest;
2381
+ type context$1_Address = Address;
2382
+ type context$1_AddressTag = AddressTag;
2383
+ declare const context$1_AddressTag: typeof AddressTag;
2384
+ type context$1_AddressWrapper = AddressWrapper;
2385
+ type context$1_AuthenticatorConnection = AuthenticatorConnection;
2386
+ type context$1_Connection = Connection;
2387
+ type context$1_ConnectionTypeOneOf = ConnectionTypeOneOf;
2388
+ type context$1_CustomField = CustomField;
2389
+ type context$1_CustomValue = CustomValue;
2390
+ type context$1_CustomValueValueOneOf = CustomValueValueOneOf;
2837
2391
  type context$1_Email = Email;
2838
- type context$1_EmptyResponse = EmptyResponse;
2839
- type context$1_GetAccountRequest = GetAccountRequest;
2840
- type context$1_GetAccountsRequest = GetAccountsRequest;
2841
- type context$1_GetMyAccountRequest = GetMyAccountRequest;
2842
- type context$1_GetMyUserAccountsRequest = GetMyUserAccountsRequest;
2843
- type context$1_GetParentAccountInfoRequest = GetParentAccountInfoRequest;
2844
- type context$1_GetParentAccountInfoResponse = GetParentAccountInfoResponse;
2845
- type context$1_GetSubAccountsRequest = GetSubAccountsRequest;
2846
- type context$1_GetSubAccountsResponse = GetSubAccountsResponse;
2847
- type context$1_GetUserAccountRequest = GetUserAccountRequest;
2848
- type context$1_GetUserAccountsRequest = GetUserAccountsRequest;
2849
- type context$1_IsTeamRequest = IsTeamRequest;
2850
- type context$1_IsTeamResponse = IsTeamResponse;
2851
- type context$1_ListChildAccountsOptions = ListChildAccountsOptions;
2852
- type context$1_ListChildAccountsRequest = ListChildAccountsRequest;
2853
- type context$1_ListChildAccountsResponse = ListChildAccountsResponse;
2854
- type context$1_ListChildAccountsResponseNonNullableFields = ListChildAccountsResponseNonNullableFields;
2855
- type context$1_MarkAccountFlagRequest = MarkAccountFlagRequest;
2856
- type context$1_MarkAccountFlagRequestFlagOneOf = MarkAccountFlagRequestFlagOneOf;
2857
- type context$1_Paging = Paging;
2858
- type context$1_PagingMetadata = PagingMetadata;
2859
- type context$1_RemoveParent = RemoveParent;
2860
- type context$1_SetIsReadOnlyAccountRequest = SetIsReadOnlyAccountRequest;
2861
- type context$1_SsoIdentity = SsoIdentity;
2862
- type context$1_SubAccountInfo = SubAccountInfo;
2863
- type context$1_UpdateAccountRequest = UpdateAccountRequest;
2864
- type context$1_UpdateParentAccountRequest = UpdateParentAccountRequest;
2865
- type context$1_UpdateParentAccountRequestUpdateOneOf = UpdateParentAccountRequestUpdateOneOf;
2866
- type context$1_UpdateParentAccountResponse = UpdateParentAccountResponse;
2867
- type context$1_UpdateSlugRequest = UpdateSlugRequest;
2868
- type context$1_User = User;
2869
- type context$1_UserDetails = UserDetails;
2870
- declare const context$1_createAccount: typeof createAccount;
2871
- declare const context$1_listChildAccounts: typeof listChildAccounts;
2392
+ type context$1_EmailTag = EmailTag;
2393
+ declare const context$1_EmailTag: typeof EmailTag;
2394
+ type context$1_Factor = Factor;
2395
+ type context$1_FactorType = FactorType;
2396
+ declare const context$1_FactorType: typeof FactorType;
2397
+ type context$1_Identity = Identity;
2398
+ type context$1_IdentityProfile = IdentityProfile;
2399
+ type context$1_IdpConnection = IdpConnection;
2400
+ type context$1_ListValue = ListValue;
2401
+ type context$1_MapValue = MapValue;
2402
+ type context$1_Metadata = Metadata;
2403
+ type context$1_MfaChallengeData = MfaChallengeData;
2404
+ type context$1_Phone = Phone;
2405
+ type context$1_PhoneTag = PhoneTag;
2406
+ declare const context$1_PhoneTag: typeof PhoneTag;
2407
+ type context$1_PrivacyStatus = PrivacyStatus;
2408
+ declare const context$1_PrivacyStatus: typeof PrivacyStatus;
2409
+ type context$1_Reason = Reason;
2410
+ declare const context$1_Reason: typeof Reason;
2411
+ type context$1_RequireMfaData = RequireMfaData;
2412
+ type context$1_ResendDuringAuthenticationRequest = ResendDuringAuthenticationRequest;
2413
+ type context$1_SecondaryEmail = SecondaryEmail;
2414
+ type context$1_StartOptions = StartOptions;
2415
+ type context$1_StartRequest = StartRequest;
2416
+ type context$1_StartResponse = StartResponse;
2417
+ type context$1_StartResponseNonNullableFields = StartResponseNonNullableFields;
2418
+ type context$1_StateMachineResponse = StateMachineResponse;
2419
+ type context$1_StateMachineResponseNonNullableFields = StateMachineResponseNonNullableFields;
2420
+ type context$1_StateMachineResponseStateDataOneOf = StateMachineResponseStateDataOneOf;
2421
+ type context$1_StateType = StateType;
2422
+ declare const context$1_StateType: typeof StateType;
2423
+ type context$1_Status = Status;
2424
+ declare const context$1_Status: typeof Status;
2425
+ type context$1_StatusName = StatusName;
2426
+ declare const context$1_StatusName: typeof StatusName;
2427
+ type context$1_StatusV2 = StatusV2;
2428
+ type context$1_Target = Target;
2429
+ declare const context$1_Target: typeof Target;
2430
+ type context$1_V1CustomValue = V1CustomValue;
2431
+ type context$1_V1CustomValueValueOneOf = V1CustomValueValueOneOf;
2432
+ type context$1_V1Factor = V1Factor;
2433
+ type context$1_V1ListValue = V1ListValue;
2434
+ type context$1_V1MapValue = V1MapValue;
2435
+ type context$1_VerificationChallenge = VerificationChallenge;
2436
+ type context$1_VerifyDuringAuthenticationOptions = VerifyDuringAuthenticationOptions;
2437
+ type context$1_VerifyDuringAuthenticationRequest = VerifyDuringAuthenticationRequest;
2438
+ type context$1_VerifyRequest = VerifyRequest;
2439
+ type context$1_VerifyResponse = VerifyResponse;
2440
+ declare const context$1_resendDuringAuthentication: typeof resendDuringAuthentication;
2441
+ declare const context$1_start: typeof start;
2442
+ declare const context$1_verifyDuringAuthentication: typeof verifyDuringAuthentication;
2872
2443
  declare namespace context$1 {
2873
- export { type context$1_Account as Account, type context$1_AccountInfo as AccountInfo, type context$1_AccountProperties as AccountProperties, type context$1_AccountResponse as AccountResponse, context$1_AccountStatus as AccountStatus, type context$1_AccountV2 as AccountV2, type context$1_AccountsResponse as AccountsResponse, context$1_CoBranding as CoBranding, type context$1_CreateAccountAndAssignUserRequest as CreateAccountAndAssignUserRequest, type context$1_CreateAccountForMyUserRequest as CreateAccountForMyUserRequest, type context$1_CreateAccountOptions as CreateAccountOptions, type context$1_CreateAccountRequest as CreateAccountRequest, type context$1_CreateAccountResponse as CreateAccountResponse, type context$1_CreateAccountResponseNonNullableFields as CreateAccountResponseNonNullableFields, type context$1_CreateAccountTenantRequest as CreateAccountTenantRequest, type context$1_CreateAccountTenantResponse as CreateAccountTenantResponse, type context$1_DeleteAccountRequest as DeleteAccountRequest, type context$1_Email as Email, type context$1_EmptyResponse as EmptyResponse, type context$1_GetAccountRequest as GetAccountRequest, type context$1_GetAccountsRequest as GetAccountsRequest, type context$1_GetMyAccountRequest as GetMyAccountRequest, type context$1_GetMyUserAccountsRequest as GetMyUserAccountsRequest, type context$1_GetParentAccountInfoRequest as GetParentAccountInfoRequest, type context$1_GetParentAccountInfoResponse as GetParentAccountInfoResponse, type context$1_GetSubAccountsRequest as GetSubAccountsRequest, type context$1_GetSubAccountsResponse as GetSubAccountsResponse, type context$1_GetUserAccountRequest as GetUserAccountRequest, type context$1_GetUserAccountsRequest as GetUserAccountsRequest, type context$1_IsTeamRequest as IsTeamRequest, type context$1_IsTeamResponse as IsTeamResponse, type context$1_ListChildAccountsOptions as ListChildAccountsOptions, type context$1_ListChildAccountsRequest as ListChildAccountsRequest, type context$1_ListChildAccountsResponse as ListChildAccountsResponse, type context$1_ListChildAccountsResponseNonNullableFields as ListChildAccountsResponseNonNullableFields, type context$1_MarkAccountFlagRequest as MarkAccountFlagRequest, type context$1_MarkAccountFlagRequestFlagOneOf as MarkAccountFlagRequestFlagOneOf, type context$1_Paging as Paging, type context$1_PagingMetadata as PagingMetadata, type context$1_RemoveParent as RemoveParent, type context$1_SetIsReadOnlyAccountRequest as SetIsReadOnlyAccountRequest, type context$1_SsoIdentity as SsoIdentity, type context$1_SubAccountInfo as SubAccountInfo, type context$1_UpdateAccountRequest as UpdateAccountRequest, type context$1_UpdateParentAccountRequest as UpdateParentAccountRequest, type context$1_UpdateParentAccountRequestUpdateOneOf as UpdateParentAccountRequestUpdateOneOf, type context$1_UpdateParentAccountResponse as UpdateParentAccountResponse, type context$1_UpdateSlugRequest as UpdateSlugRequest, type context$1_User as User, type context$1_UserDetails as UserDetails, context$1_createAccount as createAccount, context$1_listChildAccounts as listChildAccounts };
2444
+ export { type context$1_Address as Address, context$1_AddressTag as AddressTag, type context$1_AddressWrapper as AddressWrapper, type context$1_AuthenticatorConnection as AuthenticatorConnection, type context$1_Connection as Connection, type context$1_ConnectionTypeOneOf as ConnectionTypeOneOf, type context$1_CustomField as CustomField, type context$1_CustomValue as CustomValue, type context$1_CustomValueValueOneOf as CustomValueValueOneOf, type context$1_Email as Email, context$1_EmailTag as EmailTag, type context$1_Factor as Factor, context$1_FactorType as FactorType, type context$1_Identity as Identity, type context$1_IdentityProfile as IdentityProfile, type context$1_IdpConnection as IdpConnection, type context$1_ListValue as ListValue, type context$1_MapValue as MapValue, type context$1_Metadata as Metadata, type context$1_MfaChallengeData as MfaChallengeData, type context$1_Phone as Phone, context$1_PhoneTag as PhoneTag, context$1_PrivacyStatus as PrivacyStatus, context$1_Reason as Reason, type context$1_RequireMfaData as RequireMfaData, type context$1_ResendDuringAuthenticationRequest as ResendDuringAuthenticationRequest, type context$1_SecondaryEmail as SecondaryEmail, type context$1_StartOptions as StartOptions, type context$1_StartRequest as StartRequest, type context$1_StartResponse as StartResponse, type context$1_StartResponseNonNullableFields as StartResponseNonNullableFields, type context$1_StateMachineResponse as StateMachineResponse, type context$1_StateMachineResponseNonNullableFields as StateMachineResponseNonNullableFields, type context$1_StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOf, context$1_StateType as StateType, context$1_Status as Status, context$1_StatusName as StatusName, type context$1_StatusV2 as StatusV2, context$1_Target as Target, type context$1_V1CustomValue as V1CustomValue, type context$1_V1CustomValueValueOneOf as V1CustomValueValueOneOf, type context$1_V1Factor as V1Factor, type context$1_V1ListValue as V1ListValue, type context$1_V1MapValue as V1MapValue, type context$1_VerificationChallenge as VerificationChallenge, type context$1_VerifyDuringAuthenticationOptions as VerifyDuringAuthenticationOptions, type context$1_VerifyDuringAuthenticationRequest as VerifyDuringAuthenticationRequest, type context$1_VerifyRequest as VerifyRequest, type context$1_VerifyResponse as VerifyResponse, context$1_resendDuringAuthentication as resendDuringAuthentication, context$1_start as start, context$1_verifyDuringAuthentication as verifyDuringAuthentication };
2874
2445
  }
2875
2446
 
2876
2447
  interface RefreshToken {
@@ -3211,4 +2782,4 @@ declare namespace context {
3211
2782
  export { type context_ActionEvent as ActionEvent, type context_AuthorizeRequest as AuthorizeRequest, type context_DeviceCodeRequest as DeviceCodeRequest, type context_DeviceCodeResponse as DeviceCodeResponse, type context_DeviceVerifyRequest as DeviceVerifyRequest, type context_DeviceVerifyResponse as DeviceVerifyResponse, type context_DeviceVerifyV2Request as DeviceVerifyV2Request, type context_DeviceVerifyV2Response as DeviceVerifyV2Response, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_HeadersEntry as HeadersEntry, type context_InvalidateUserCodeRequest as InvalidateUserCodeRequest, type context_InvalidateUserCodeResponse as InvalidateUserCodeResponse, type context_PathParametersEntry as PathParametersEntry, type context_QueryParametersEntry as QueryParametersEntry, type context_RawHttpRequest as RawHttpRequest, type context_RawHttpResponse as RawHttpResponse, type context_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type context_RefreshToken as RefreshToken, type context_RestoreInfo as RestoreInfo, type context_RevokeRefreshTokenRequest as RevokeRefreshTokenRequest, type context_RevokeRefreshTokenResponse as RevokeRefreshTokenResponse, context_SubjectType as SubjectType, type context_TokenInfoOptions as TokenInfoOptions, type context_TokenInfoResponse as TokenInfoResponse, type context_TokenInfoResponseNonNullableFields as TokenInfoResponseNonNullableFields, type context_TokenOptions as TokenOptions, context_token as token, context_tokenInfo as tokenInfo };
3212
2783
  }
3213
2784
 
3214
- export { context$1 as account, context$4 as authentication, context as oauth, context$3 as recovery, context$2 as verification };
2785
+ export { context$3 as authentication, context as oauth, context$2 as recovery, context$1 as verification };