@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 index_d$4_Authentication = Authentication;
1242
- type index_d$4_CallVerifyData = CallVerifyData;
1243
- type index_d$4_CaptchaToken = CaptchaToken;
1244
- type index_d$4_CaptchaTokenTokenOneOf = CaptchaTokenTokenOneOf;
1245
- type index_d$4_ChangePasswordRequest = ChangePasswordRequest;
1246
- type index_d$4_ChangePasswordResponse = ChangePasswordResponse;
1247
- type index_d$4_EmailVerifyData = EmailVerifyData;
1248
- type index_d$4_LoginCallbackOptions = LoginCallbackOptions;
1249
- type index_d$4_LoginCallbackRequest = LoginCallbackRequest;
1250
- type index_d$4_LoginId = LoginId;
1251
- type index_d$4_LoginIdTypeOneOf = LoginIdTypeOneOf;
1252
- type index_d$4_LoginV2Options = LoginV2Options;
1253
- type index_d$4_LoginV2Request = LoginV2Request;
1254
- type index_d$4_LoginWithIdpConnectionIdentifiers = LoginWithIdpConnectionIdentifiers;
1255
- type index_d$4_LoginWithIdpConnectionOptions = LoginWithIdpConnectionOptions;
1256
- type index_d$4_LoginWithIdpConnectionRequest = LoginWithIdpConnectionRequest;
1257
- type index_d$4_LoginWithIdpConnectionTokenParamsOptions = LoginWithIdpConnectionTokenParamsOptions;
1258
- type index_d$4_LoginWithIdpConnectionTokenParamsRequest = LoginWithIdpConnectionTokenParamsRequest;
1259
- type index_d$4_LogoutOptions = LogoutOptions;
1260
- type index_d$4_LogoutRequest = LogoutRequest;
1261
- type index_d$4_RegisterV2Options = RegisterV2Options;
1262
- type index_d$4_RegisterV2Request = RegisterV2Request;
1263
- type index_d$4_SignOnOptions = SignOnOptions;
1264
- type index_d$4_SignOnRequest = SignOnRequest;
1265
- type index_d$4_SignOnResponse = SignOnResponse;
1266
- type index_d$4_SignOnResponseNonNullableFields = SignOnResponseNonNullableFields;
1267
- type index_d$4_SmsVerifyData = SmsVerifyData;
1268
- type index_d$4_TotpVerifyData = TotpVerifyData;
1269
- type index_d$4_VerifyOptions = VerifyOptions;
1270
- type index_d$4_VerifyRequestFactorDataOneOf = VerifyRequestFactorDataOneOf;
1271
- declare const index_d$4_changePassword: typeof changePassword;
1272
- declare const index_d$4_loginCallback: typeof loginCallback;
1273
- declare const index_d$4_loginV2: typeof loginV2;
1274
- declare const index_d$4_loginWithIdpConnection: typeof loginWithIdpConnection;
1275
- declare const index_d$4_loginWithIdpConnectionTokenParams: typeof loginWithIdpConnectionTokenParams;
1276
- declare const index_d$4_logout: typeof logout;
1277
- declare const index_d$4_registerV2: typeof registerV2;
1278
- declare const index_d$4_signOn: typeof signOn;
1279
- declare const index_d$4_verify: typeof verify;
1280
- declare namespace index_d$4 {
1281
- export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type index_d$4_Authentication as Authentication, type AuthenticatorConnection$2 as AuthenticatorConnection, type index_d$4_CallVerifyData as CallVerifyData, type index_d$4_CaptchaToken as CaptchaToken, type index_d$4_CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOf, type index_d$4_ChangePasswordRequest as ChangePasswordRequest, type index_d$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 index_d$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 index_d$4_LoginCallbackOptions as LoginCallbackOptions, type index_d$4_LoginCallbackRequest as LoginCallbackRequest, type index_d$4_LoginId as LoginId, type index_d$4_LoginIdTypeOneOf as LoginIdTypeOneOf, type index_d$4_LoginV2Options as LoginV2Options, type index_d$4_LoginV2Request as LoginV2Request, type index_d$4_LoginWithIdpConnectionIdentifiers as LoginWithIdpConnectionIdentifiers, type index_d$4_LoginWithIdpConnectionOptions as LoginWithIdpConnectionOptions, type index_d$4_LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequest, type index_d$4_LoginWithIdpConnectionTokenParamsOptions as LoginWithIdpConnectionTokenParamsOptions, type index_d$4_LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequest, type index_d$4_LogoutOptions as LogoutOptions, type index_d$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 index_d$4_RegisterV2Options as RegisterV2Options, type index_d$4_RegisterV2Request as RegisterV2Request, type RequireMfaData$2 as RequireMfaData, type SecondaryEmail$2 as SecondaryEmail, type index_d$4_SignOnOptions as SignOnOptions, type index_d$4_SignOnRequest as SignOnRequest, type index_d$4_SignOnResponse as SignOnResponse, type index_d$4_SignOnResponseNonNullableFields as SignOnResponseNonNullableFields, type index_d$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 index_d$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 index_d$4_VerifyOptions as VerifyOptions, type VerifyRequest$1 as VerifyRequest, type index_d$4_VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOf, index_d$4_changePassword as changePassword, index_d$4_loginCallback as loginCallback, index_d$4_loginV2 as loginV2, index_d$4_loginWithIdpConnection as loginWithIdpConnection, index_d$4_loginWithIdpConnectionTokenParams as loginWithIdpConnectionTokenParams, index_d$4_logout as logout, index_d$4_registerV2 as registerV2, index_d$4_signOn as signOn, index_d$4_verify as verify };
1241
+ type index_d$3_Authentication = Authentication;
1242
+ type index_d$3_CallVerifyData = CallVerifyData;
1243
+ type index_d$3_CaptchaToken = CaptchaToken;
1244
+ type index_d$3_CaptchaTokenTokenOneOf = CaptchaTokenTokenOneOf;
1245
+ type index_d$3_ChangePasswordRequest = ChangePasswordRequest;
1246
+ type index_d$3_ChangePasswordResponse = ChangePasswordResponse;
1247
+ type index_d$3_EmailVerifyData = EmailVerifyData;
1248
+ type index_d$3_LoginCallbackOptions = LoginCallbackOptions;
1249
+ type index_d$3_LoginCallbackRequest = LoginCallbackRequest;
1250
+ type index_d$3_LoginId = LoginId;
1251
+ type index_d$3_LoginIdTypeOneOf = LoginIdTypeOneOf;
1252
+ type index_d$3_LoginV2Options = LoginV2Options;
1253
+ type index_d$3_LoginV2Request = LoginV2Request;
1254
+ type index_d$3_LoginWithIdpConnectionIdentifiers = LoginWithIdpConnectionIdentifiers;
1255
+ type index_d$3_LoginWithIdpConnectionOptions = LoginWithIdpConnectionOptions;
1256
+ type index_d$3_LoginWithIdpConnectionRequest = LoginWithIdpConnectionRequest;
1257
+ type index_d$3_LoginWithIdpConnectionTokenParamsOptions = LoginWithIdpConnectionTokenParamsOptions;
1258
+ type index_d$3_LoginWithIdpConnectionTokenParamsRequest = LoginWithIdpConnectionTokenParamsRequest;
1259
+ type index_d$3_LogoutOptions = LogoutOptions;
1260
+ type index_d$3_LogoutRequest = LogoutRequest;
1261
+ type index_d$3_RegisterV2Options = RegisterV2Options;
1262
+ type index_d$3_RegisterV2Request = RegisterV2Request;
1263
+ type index_d$3_SignOnOptions = SignOnOptions;
1264
+ type index_d$3_SignOnRequest = SignOnRequest;
1265
+ type index_d$3_SignOnResponse = SignOnResponse;
1266
+ type index_d$3_SignOnResponseNonNullableFields = SignOnResponseNonNullableFields;
1267
+ type index_d$3_SmsVerifyData = SmsVerifyData;
1268
+ type index_d$3_TotpVerifyData = TotpVerifyData;
1269
+ type index_d$3_VerifyOptions = VerifyOptions;
1270
+ type index_d$3_VerifyRequestFactorDataOneOf = VerifyRequestFactorDataOneOf;
1271
+ declare const index_d$3_changePassword: typeof changePassword;
1272
+ declare const index_d$3_loginCallback: typeof loginCallback;
1273
+ declare const index_d$3_loginV2: typeof loginV2;
1274
+ declare const index_d$3_loginWithIdpConnection: typeof loginWithIdpConnection;
1275
+ declare const index_d$3_loginWithIdpConnectionTokenParams: typeof loginWithIdpConnectionTokenParams;
1276
+ declare const index_d$3_logout: typeof logout;
1277
+ declare const index_d$3_registerV2: typeof registerV2;
1278
+ declare const index_d$3_signOn: typeof signOn;
1279
+ declare const index_d$3_verify: typeof verify;
1280
+ declare namespace index_d$3 {
1281
+ export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type index_d$3_Authentication as Authentication, type AuthenticatorConnection$2 as AuthenticatorConnection, type index_d$3_CallVerifyData as CallVerifyData, type index_d$3_CaptchaToken as CaptchaToken, type index_d$3_CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOf, type index_d$3_ChangePasswordRequest as ChangePasswordRequest, type index_d$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 index_d$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 index_d$3_LoginCallbackOptions as LoginCallbackOptions, type index_d$3_LoginCallbackRequest as LoginCallbackRequest, type index_d$3_LoginId as LoginId, type index_d$3_LoginIdTypeOneOf as LoginIdTypeOneOf, type index_d$3_LoginV2Options as LoginV2Options, type index_d$3_LoginV2Request as LoginV2Request, type index_d$3_LoginWithIdpConnectionIdentifiers as LoginWithIdpConnectionIdentifiers, type index_d$3_LoginWithIdpConnectionOptions as LoginWithIdpConnectionOptions, type index_d$3_LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequest, type index_d$3_LoginWithIdpConnectionTokenParamsOptions as LoginWithIdpConnectionTokenParamsOptions, type index_d$3_LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequest, type index_d$3_LogoutOptions as LogoutOptions, type index_d$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 index_d$3_RegisterV2Options as RegisterV2Options, type index_d$3_RegisterV2Request as RegisterV2Request, type RequireMfaData$2 as RequireMfaData, type SecondaryEmail$2 as SecondaryEmail, type index_d$3_SignOnOptions as SignOnOptions, type index_d$3_SignOnRequest as SignOnRequest, type index_d$3_SignOnResponse as SignOnResponse, type index_d$3_SignOnResponseNonNullableFields as SignOnResponseNonNullableFields, type index_d$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 index_d$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 index_d$3_VerifyOptions as VerifyOptions, type VerifyRequest$1 as VerifyRequest, type index_d$3_VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOf, index_d$3_changePassword as changePassword, index_d$3_loginCallback as loginCallback, index_d$3_loginV2 as loginV2, index_d$3_loginWithIdpConnection as loginWithIdpConnection, index_d$3_loginWithIdpConnectionTokenParams as loginWithIdpConnectionTokenParams, index_d$3_logout as logout, index_d$3_registerV2 as registerV2, index_d$3_signOn as signOn, index_d$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 index_d$3_EmailOptions = EmailOptions;
1836
- type index_d$3_RecoverOptions = RecoverOptions;
1837
- type index_d$3_RecoverRequest = RecoverRequest;
1838
- type index_d$3_RecoveryToken = RecoveryToken;
1839
- type index_d$3_Redirect = Redirect;
1840
- type index_d$3_SendActivationEmailOptions = SendActivationEmailOptions;
1841
- type index_d$3_SendActivationEmailRequest = SendActivationEmailRequest;
1842
- type index_d$3_SendActivationEmailResponse = SendActivationEmailResponse;
1843
- type index_d$3_SendRecoveryEmailOptions = SendRecoveryEmailOptions;
1844
- type index_d$3_SendRecoveryEmailRequest = SendRecoveryEmailRequest;
1845
- type index_d$3_SendRecoveryEmailResponse = SendRecoveryEmailResponse;
1846
- type index_d$3_TenantType = TenantType;
1847
- declare const index_d$3_TenantType: typeof TenantType;
1848
- declare const index_d$3_recover: typeof recover;
1849
- declare const index_d$3_sendActivationEmail: typeof sendActivationEmail;
1850
- declare const index_d$3_sendRecoveryEmail: typeof sendRecoveryEmail;
1851
- declare namespace index_d$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 index_d$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 index_d$3_RecoverOptions as RecoverOptions, type index_d$3_RecoverRequest as RecoverRequest, type index_d$3_RecoveryToken as RecoveryToken, type index_d$3_Redirect as Redirect, type RequireMfaData$1 as RequireMfaData, type SecondaryEmail$1 as SecondaryEmail, type index_d$3_SendActivationEmailOptions as SendActivationEmailOptions, type index_d$3_SendActivationEmailRequest as SendActivationEmailRequest, type index_d$3_SendActivationEmailResponse as SendActivationEmailResponse, type index_d$3_SendRecoveryEmailOptions as SendRecoveryEmailOptions, type index_d$3_SendRecoveryEmailRequest as SendRecoveryEmailRequest, type index_d$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, index_d$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, index_d$3_recover as recover, index_d$3_sendActivationEmail as sendActivationEmail, index_d$3_sendRecoveryEmail as sendRecoveryEmail };
1835
+ type index_d$2_EmailOptions = EmailOptions;
1836
+ type index_d$2_RecoverOptions = RecoverOptions;
1837
+ type index_d$2_RecoverRequest = RecoverRequest;
1838
+ type index_d$2_RecoveryToken = RecoveryToken;
1839
+ type index_d$2_Redirect = Redirect;
1840
+ type index_d$2_SendActivationEmailOptions = SendActivationEmailOptions;
1841
+ type index_d$2_SendActivationEmailRequest = SendActivationEmailRequest;
1842
+ type index_d$2_SendActivationEmailResponse = SendActivationEmailResponse;
1843
+ type index_d$2_SendRecoveryEmailOptions = SendRecoveryEmailOptions;
1844
+ type index_d$2_SendRecoveryEmailRequest = SendRecoveryEmailRequest;
1845
+ type index_d$2_SendRecoveryEmailResponse = SendRecoveryEmailResponse;
1846
+ type index_d$2_TenantType = TenantType;
1847
+ declare const index_d$2_TenantType: typeof TenantType;
1848
+ declare const index_d$2_recover: typeof recover;
1849
+ declare const index_d$2_sendActivationEmail: typeof sendActivationEmail;
1850
+ declare const index_d$2_sendRecoveryEmail: typeof sendRecoveryEmail;
1851
+ declare namespace index_d$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 index_d$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 index_d$2_RecoverOptions as RecoverOptions, type index_d$2_RecoverRequest as RecoverRequest, type index_d$2_RecoveryToken as RecoveryToken, type index_d$2_Redirect as Redirect, type RequireMfaData$1 as RequireMfaData, type SecondaryEmail$1 as SecondaryEmail, type index_d$2_SendActivationEmailOptions as SendActivationEmailOptions, type index_d$2_SendActivationEmailRequest as SendActivationEmailRequest, type index_d$2_SendActivationEmailResponse as SendActivationEmailResponse, type index_d$2_SendRecoveryEmailOptions as SendRecoveryEmailOptions, type index_d$2_SendRecoveryEmailRequest as SendRecoveryEmailRequest, type index_d$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, index_d$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, index_d$2_recover as recover, index_d$2_sendActivationEmail as sendActivationEmail, index_d$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 index_d$2_Address = Address;
2382
- type index_d$2_AddressTag = AddressTag;
2383
- declare const index_d$2_AddressTag: typeof AddressTag;
2384
- type index_d$2_AddressWrapper = AddressWrapper;
2385
- type index_d$2_AuthenticatorConnection = AuthenticatorConnection;
2386
- type index_d$2_Connection = Connection;
2387
- type index_d$2_ConnectionTypeOneOf = ConnectionTypeOneOf;
2388
- type index_d$2_CustomField = CustomField;
2389
- type index_d$2_CustomValue = CustomValue;
2390
- type index_d$2_CustomValueValueOneOf = CustomValueValueOneOf;
2391
- type index_d$2_EmailTag = EmailTag;
2392
- declare const index_d$2_EmailTag: typeof EmailTag;
2393
- type index_d$2_Factor = Factor;
2394
- type index_d$2_FactorType = FactorType;
2395
- declare const index_d$2_FactorType: typeof FactorType;
2396
- type index_d$2_Identity = Identity;
2397
- type index_d$2_IdentityProfile = IdentityProfile;
2398
- type index_d$2_IdpConnection = IdpConnection;
2399
- type index_d$2_ListValue = ListValue;
2400
- type index_d$2_MapValue = MapValue;
2401
- type index_d$2_Metadata = Metadata;
2402
- type index_d$2_MfaChallengeData = MfaChallengeData;
2403
- type index_d$2_Phone = Phone;
2404
- type index_d$2_PhoneTag = PhoneTag;
2405
- declare const index_d$2_PhoneTag: typeof PhoneTag;
2406
- type index_d$2_PrivacyStatus = PrivacyStatus;
2407
- declare const index_d$2_PrivacyStatus: typeof PrivacyStatus;
2408
- type index_d$2_Reason = Reason;
2409
- declare const index_d$2_Reason: typeof Reason;
2410
- type index_d$2_RequireMfaData = RequireMfaData;
2411
- type index_d$2_ResendDuringAuthenticationRequest = ResendDuringAuthenticationRequest;
2412
- type index_d$2_SecondaryEmail = SecondaryEmail;
2413
- type index_d$2_StartOptions = StartOptions;
2414
- type index_d$2_StartRequest = StartRequest;
2415
- type index_d$2_StartResponse = StartResponse;
2416
- type index_d$2_StartResponseNonNullableFields = StartResponseNonNullableFields;
2417
- type index_d$2_StateMachineResponse = StateMachineResponse;
2418
- type index_d$2_StateMachineResponseNonNullableFields = StateMachineResponseNonNullableFields;
2419
- type index_d$2_StateMachineResponseStateDataOneOf = StateMachineResponseStateDataOneOf;
2420
- type index_d$2_StateType = StateType;
2421
- declare const index_d$2_StateType: typeof StateType;
2422
- type index_d$2_Status = Status;
2423
- declare const index_d$2_Status: typeof Status;
2424
- type index_d$2_StatusName = StatusName;
2425
- declare const index_d$2_StatusName: typeof StatusName;
2426
- type index_d$2_StatusV2 = StatusV2;
2427
- type index_d$2_Target = Target;
2428
- declare const index_d$2_Target: typeof Target;
2429
- type index_d$2_V1CustomValue = V1CustomValue;
2430
- type index_d$2_V1CustomValueValueOneOf = V1CustomValueValueOneOf;
2431
- type index_d$2_V1Factor = V1Factor;
2432
- type index_d$2_V1ListValue = V1ListValue;
2433
- type index_d$2_V1MapValue = V1MapValue;
2434
- type index_d$2_VerificationChallenge = VerificationChallenge;
2435
- type index_d$2_VerifyDuringAuthenticationOptions = VerifyDuringAuthenticationOptions;
2436
- type index_d$2_VerifyDuringAuthenticationRequest = VerifyDuringAuthenticationRequest;
2437
- type index_d$2_VerifyRequest = VerifyRequest;
2438
- type index_d$2_VerifyResponse = VerifyResponse;
2439
- declare const index_d$2_resendDuringAuthentication: typeof resendDuringAuthentication;
2440
- declare const index_d$2_start: typeof start;
2441
- declare const index_d$2_verifyDuringAuthentication: typeof verifyDuringAuthentication;
2442
- declare namespace index_d$2 {
2443
- export { type index_d$2_Address as Address, index_d$2_AddressTag as AddressTag, type index_d$2_AddressWrapper as AddressWrapper, type index_d$2_AuthenticatorConnection as AuthenticatorConnection, type index_d$2_Connection as Connection, type index_d$2_ConnectionTypeOneOf as ConnectionTypeOneOf, type index_d$2_CustomField as CustomField, type index_d$2_CustomValue as CustomValue, type index_d$2_CustomValueValueOneOf as CustomValueValueOneOf, type Email$1 as Email, index_d$2_EmailTag as EmailTag, type index_d$2_Factor as Factor, index_d$2_FactorType as FactorType, type index_d$2_Identity as Identity, type index_d$2_IdentityProfile as IdentityProfile, type index_d$2_IdpConnection as IdpConnection, type index_d$2_ListValue as ListValue, type index_d$2_MapValue as MapValue, type index_d$2_Metadata as Metadata, type index_d$2_MfaChallengeData as MfaChallengeData, type index_d$2_Phone as Phone, index_d$2_PhoneTag as PhoneTag, index_d$2_PrivacyStatus as PrivacyStatus, index_d$2_Reason as Reason, type index_d$2_RequireMfaData as RequireMfaData, type index_d$2_ResendDuringAuthenticationRequest as ResendDuringAuthenticationRequest, type index_d$2_SecondaryEmail as SecondaryEmail, type index_d$2_StartOptions as StartOptions, type index_d$2_StartRequest as StartRequest, type index_d$2_StartResponse as StartResponse, type index_d$2_StartResponseNonNullableFields as StartResponseNonNullableFields, type index_d$2_StateMachineResponse as StateMachineResponse, type index_d$2_StateMachineResponseNonNullableFields as StateMachineResponseNonNullableFields, type index_d$2_StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOf, index_d$2_StateType as StateType, index_d$2_Status as Status, index_d$2_StatusName as StatusName, type index_d$2_StatusV2 as StatusV2, index_d$2_Target as Target, type index_d$2_V1CustomValue as V1CustomValue, type index_d$2_V1CustomValueValueOneOf as V1CustomValueValueOneOf, type index_d$2_V1Factor as V1Factor, type index_d$2_V1ListValue as V1ListValue, type index_d$2_V1MapValue as V1MapValue, type index_d$2_VerificationChallenge as VerificationChallenge, type index_d$2_VerifyDuringAuthenticationOptions as VerifyDuringAuthenticationOptions, type index_d$2_VerifyDuringAuthenticationRequest as VerifyDuringAuthenticationRequest, type index_d$2_VerifyRequest as VerifyRequest, type index_d$2_VerifyResponse as VerifyResponse, index_d$2_resendDuringAuthentication as resendDuringAuthentication, index_d$2_start as start, index_d$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 index_d$1_Account = Account;
2819
- type index_d$1_AccountInfo = AccountInfo;
2820
- type index_d$1_AccountProperties = AccountProperties;
2821
- type index_d$1_AccountResponse = AccountResponse;
2822
- type index_d$1_AccountStatus = AccountStatus;
2823
- declare const index_d$1_AccountStatus: typeof AccountStatus;
2824
- type index_d$1_AccountV2 = AccountV2;
2825
- type index_d$1_AccountsResponse = AccountsResponse;
2826
- type index_d$1_CoBranding = CoBranding;
2827
- declare const index_d$1_CoBranding: typeof CoBranding;
2828
- type index_d$1_CreateAccountAndAssignUserRequest = CreateAccountAndAssignUserRequest;
2829
- type index_d$1_CreateAccountForMyUserRequest = CreateAccountForMyUserRequest;
2830
- type index_d$1_CreateAccountOptions = CreateAccountOptions;
2831
- type index_d$1_CreateAccountRequest = CreateAccountRequest;
2832
- type index_d$1_CreateAccountResponse = CreateAccountResponse;
2833
- type index_d$1_CreateAccountResponseNonNullableFields = CreateAccountResponseNonNullableFields;
2834
- type index_d$1_CreateAccountTenantRequest = CreateAccountTenantRequest;
2835
- type index_d$1_CreateAccountTenantResponse = CreateAccountTenantResponse;
2836
- type index_d$1_DeleteAccountRequest = DeleteAccountRequest;
2381
+ type index_d$1_Address = Address;
2382
+ type index_d$1_AddressTag = AddressTag;
2383
+ declare const index_d$1_AddressTag: typeof AddressTag;
2384
+ type index_d$1_AddressWrapper = AddressWrapper;
2385
+ type index_d$1_AuthenticatorConnection = AuthenticatorConnection;
2386
+ type index_d$1_Connection = Connection;
2387
+ type index_d$1_ConnectionTypeOneOf = ConnectionTypeOneOf;
2388
+ type index_d$1_CustomField = CustomField;
2389
+ type index_d$1_CustomValue = CustomValue;
2390
+ type index_d$1_CustomValueValueOneOf = CustomValueValueOneOf;
2837
2391
  type index_d$1_Email = Email;
2838
- type index_d$1_EmptyResponse = EmptyResponse;
2839
- type index_d$1_GetAccountRequest = GetAccountRequest;
2840
- type index_d$1_GetAccountsRequest = GetAccountsRequest;
2841
- type index_d$1_GetMyAccountRequest = GetMyAccountRequest;
2842
- type index_d$1_GetMyUserAccountsRequest = GetMyUserAccountsRequest;
2843
- type index_d$1_GetParentAccountInfoRequest = GetParentAccountInfoRequest;
2844
- type index_d$1_GetParentAccountInfoResponse = GetParentAccountInfoResponse;
2845
- type index_d$1_GetSubAccountsRequest = GetSubAccountsRequest;
2846
- type index_d$1_GetSubAccountsResponse = GetSubAccountsResponse;
2847
- type index_d$1_GetUserAccountRequest = GetUserAccountRequest;
2848
- type index_d$1_GetUserAccountsRequest = GetUserAccountsRequest;
2849
- type index_d$1_IsTeamRequest = IsTeamRequest;
2850
- type index_d$1_IsTeamResponse = IsTeamResponse;
2851
- type index_d$1_ListChildAccountsOptions = ListChildAccountsOptions;
2852
- type index_d$1_ListChildAccountsRequest = ListChildAccountsRequest;
2853
- type index_d$1_ListChildAccountsResponse = ListChildAccountsResponse;
2854
- type index_d$1_ListChildAccountsResponseNonNullableFields = ListChildAccountsResponseNonNullableFields;
2855
- type index_d$1_MarkAccountFlagRequest = MarkAccountFlagRequest;
2856
- type index_d$1_MarkAccountFlagRequestFlagOneOf = MarkAccountFlagRequestFlagOneOf;
2857
- type index_d$1_Paging = Paging;
2858
- type index_d$1_PagingMetadata = PagingMetadata;
2859
- type index_d$1_RemoveParent = RemoveParent;
2860
- type index_d$1_SetIsReadOnlyAccountRequest = SetIsReadOnlyAccountRequest;
2861
- type index_d$1_SsoIdentity = SsoIdentity;
2862
- type index_d$1_SubAccountInfo = SubAccountInfo;
2863
- type index_d$1_UpdateAccountRequest = UpdateAccountRequest;
2864
- type index_d$1_UpdateParentAccountRequest = UpdateParentAccountRequest;
2865
- type index_d$1_UpdateParentAccountRequestUpdateOneOf = UpdateParentAccountRequestUpdateOneOf;
2866
- type index_d$1_UpdateParentAccountResponse = UpdateParentAccountResponse;
2867
- type index_d$1_UpdateSlugRequest = UpdateSlugRequest;
2868
- type index_d$1_User = User;
2869
- type index_d$1_UserDetails = UserDetails;
2870
- declare const index_d$1_createAccount: typeof createAccount;
2871
- declare const index_d$1_listChildAccounts: typeof listChildAccounts;
2392
+ type index_d$1_EmailTag = EmailTag;
2393
+ declare const index_d$1_EmailTag: typeof EmailTag;
2394
+ type index_d$1_Factor = Factor;
2395
+ type index_d$1_FactorType = FactorType;
2396
+ declare const index_d$1_FactorType: typeof FactorType;
2397
+ type index_d$1_Identity = Identity;
2398
+ type index_d$1_IdentityProfile = IdentityProfile;
2399
+ type index_d$1_IdpConnection = IdpConnection;
2400
+ type index_d$1_ListValue = ListValue;
2401
+ type index_d$1_MapValue = MapValue;
2402
+ type index_d$1_Metadata = Metadata;
2403
+ type index_d$1_MfaChallengeData = MfaChallengeData;
2404
+ type index_d$1_Phone = Phone;
2405
+ type index_d$1_PhoneTag = PhoneTag;
2406
+ declare const index_d$1_PhoneTag: typeof PhoneTag;
2407
+ type index_d$1_PrivacyStatus = PrivacyStatus;
2408
+ declare const index_d$1_PrivacyStatus: typeof PrivacyStatus;
2409
+ type index_d$1_Reason = Reason;
2410
+ declare const index_d$1_Reason: typeof Reason;
2411
+ type index_d$1_RequireMfaData = RequireMfaData;
2412
+ type index_d$1_ResendDuringAuthenticationRequest = ResendDuringAuthenticationRequest;
2413
+ type index_d$1_SecondaryEmail = SecondaryEmail;
2414
+ type index_d$1_StartOptions = StartOptions;
2415
+ type index_d$1_StartRequest = StartRequest;
2416
+ type index_d$1_StartResponse = StartResponse;
2417
+ type index_d$1_StartResponseNonNullableFields = StartResponseNonNullableFields;
2418
+ type index_d$1_StateMachineResponse = StateMachineResponse;
2419
+ type index_d$1_StateMachineResponseNonNullableFields = StateMachineResponseNonNullableFields;
2420
+ type index_d$1_StateMachineResponseStateDataOneOf = StateMachineResponseStateDataOneOf;
2421
+ type index_d$1_StateType = StateType;
2422
+ declare const index_d$1_StateType: typeof StateType;
2423
+ type index_d$1_Status = Status;
2424
+ declare const index_d$1_Status: typeof Status;
2425
+ type index_d$1_StatusName = StatusName;
2426
+ declare const index_d$1_StatusName: typeof StatusName;
2427
+ type index_d$1_StatusV2 = StatusV2;
2428
+ type index_d$1_Target = Target;
2429
+ declare const index_d$1_Target: typeof Target;
2430
+ type index_d$1_V1CustomValue = V1CustomValue;
2431
+ type index_d$1_V1CustomValueValueOneOf = V1CustomValueValueOneOf;
2432
+ type index_d$1_V1Factor = V1Factor;
2433
+ type index_d$1_V1ListValue = V1ListValue;
2434
+ type index_d$1_V1MapValue = V1MapValue;
2435
+ type index_d$1_VerificationChallenge = VerificationChallenge;
2436
+ type index_d$1_VerifyDuringAuthenticationOptions = VerifyDuringAuthenticationOptions;
2437
+ type index_d$1_VerifyDuringAuthenticationRequest = VerifyDuringAuthenticationRequest;
2438
+ type index_d$1_VerifyRequest = VerifyRequest;
2439
+ type index_d$1_VerifyResponse = VerifyResponse;
2440
+ declare const index_d$1_resendDuringAuthentication: typeof resendDuringAuthentication;
2441
+ declare const index_d$1_start: typeof start;
2442
+ declare const index_d$1_verifyDuringAuthentication: typeof verifyDuringAuthentication;
2872
2443
  declare namespace index_d$1 {
2873
- export { type index_d$1_Account as Account, type index_d$1_AccountInfo as AccountInfo, type index_d$1_AccountProperties as AccountProperties, type index_d$1_AccountResponse as AccountResponse, index_d$1_AccountStatus as AccountStatus, type index_d$1_AccountV2 as AccountV2, type index_d$1_AccountsResponse as AccountsResponse, index_d$1_CoBranding as CoBranding, type index_d$1_CreateAccountAndAssignUserRequest as CreateAccountAndAssignUserRequest, type index_d$1_CreateAccountForMyUserRequest as CreateAccountForMyUserRequest, type index_d$1_CreateAccountOptions as CreateAccountOptions, type index_d$1_CreateAccountRequest as CreateAccountRequest, type index_d$1_CreateAccountResponse as CreateAccountResponse, type index_d$1_CreateAccountResponseNonNullableFields as CreateAccountResponseNonNullableFields, type index_d$1_CreateAccountTenantRequest as CreateAccountTenantRequest, type index_d$1_CreateAccountTenantResponse as CreateAccountTenantResponse, type index_d$1_DeleteAccountRequest as DeleteAccountRequest, type index_d$1_Email as Email, type index_d$1_EmptyResponse as EmptyResponse, type index_d$1_GetAccountRequest as GetAccountRequest, type index_d$1_GetAccountsRequest as GetAccountsRequest, type index_d$1_GetMyAccountRequest as GetMyAccountRequest, type index_d$1_GetMyUserAccountsRequest as GetMyUserAccountsRequest, type index_d$1_GetParentAccountInfoRequest as GetParentAccountInfoRequest, type index_d$1_GetParentAccountInfoResponse as GetParentAccountInfoResponse, type index_d$1_GetSubAccountsRequest as GetSubAccountsRequest, type index_d$1_GetSubAccountsResponse as GetSubAccountsResponse, type index_d$1_GetUserAccountRequest as GetUserAccountRequest, type index_d$1_GetUserAccountsRequest as GetUserAccountsRequest, type index_d$1_IsTeamRequest as IsTeamRequest, type index_d$1_IsTeamResponse as IsTeamResponse, type index_d$1_ListChildAccountsOptions as ListChildAccountsOptions, type index_d$1_ListChildAccountsRequest as ListChildAccountsRequest, type index_d$1_ListChildAccountsResponse as ListChildAccountsResponse, type index_d$1_ListChildAccountsResponseNonNullableFields as ListChildAccountsResponseNonNullableFields, type index_d$1_MarkAccountFlagRequest as MarkAccountFlagRequest, type index_d$1_MarkAccountFlagRequestFlagOneOf as MarkAccountFlagRequestFlagOneOf, type index_d$1_Paging as Paging, type index_d$1_PagingMetadata as PagingMetadata, type index_d$1_RemoveParent as RemoveParent, type index_d$1_SetIsReadOnlyAccountRequest as SetIsReadOnlyAccountRequest, type index_d$1_SsoIdentity as SsoIdentity, type index_d$1_SubAccountInfo as SubAccountInfo, type index_d$1_UpdateAccountRequest as UpdateAccountRequest, type index_d$1_UpdateParentAccountRequest as UpdateParentAccountRequest, type index_d$1_UpdateParentAccountRequestUpdateOneOf as UpdateParentAccountRequestUpdateOneOf, type index_d$1_UpdateParentAccountResponse as UpdateParentAccountResponse, type index_d$1_UpdateSlugRequest as UpdateSlugRequest, type index_d$1_User as User, type index_d$1_UserDetails as UserDetails, index_d$1_createAccount as createAccount, index_d$1_listChildAccounts as listChildAccounts };
2444
+ export { type index_d$1_Address as Address, index_d$1_AddressTag as AddressTag, type index_d$1_AddressWrapper as AddressWrapper, type index_d$1_AuthenticatorConnection as AuthenticatorConnection, type index_d$1_Connection as Connection, type index_d$1_ConnectionTypeOneOf as ConnectionTypeOneOf, type index_d$1_CustomField as CustomField, type index_d$1_CustomValue as CustomValue, type index_d$1_CustomValueValueOneOf as CustomValueValueOneOf, type index_d$1_Email as Email, index_d$1_EmailTag as EmailTag, type index_d$1_Factor as Factor, index_d$1_FactorType as FactorType, type index_d$1_Identity as Identity, type index_d$1_IdentityProfile as IdentityProfile, type index_d$1_IdpConnection as IdpConnection, type index_d$1_ListValue as ListValue, type index_d$1_MapValue as MapValue, type index_d$1_Metadata as Metadata, type index_d$1_MfaChallengeData as MfaChallengeData, type index_d$1_Phone as Phone, index_d$1_PhoneTag as PhoneTag, index_d$1_PrivacyStatus as PrivacyStatus, index_d$1_Reason as Reason, type index_d$1_RequireMfaData as RequireMfaData, type index_d$1_ResendDuringAuthenticationRequest as ResendDuringAuthenticationRequest, type index_d$1_SecondaryEmail as SecondaryEmail, type index_d$1_StartOptions as StartOptions, type index_d$1_StartRequest as StartRequest, type index_d$1_StartResponse as StartResponse, type index_d$1_StartResponseNonNullableFields as StartResponseNonNullableFields, type index_d$1_StateMachineResponse as StateMachineResponse, type index_d$1_StateMachineResponseNonNullableFields as StateMachineResponseNonNullableFields, type index_d$1_StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOf, index_d$1_StateType as StateType, index_d$1_Status as Status, index_d$1_StatusName as StatusName, type index_d$1_StatusV2 as StatusV2, index_d$1_Target as Target, type index_d$1_V1CustomValue as V1CustomValue, type index_d$1_V1CustomValueValueOneOf as V1CustomValueValueOneOf, type index_d$1_V1Factor as V1Factor, type index_d$1_V1ListValue as V1ListValue, type index_d$1_V1MapValue as V1MapValue, type index_d$1_VerificationChallenge as VerificationChallenge, type index_d$1_VerifyDuringAuthenticationOptions as VerifyDuringAuthenticationOptions, type index_d$1_VerifyDuringAuthenticationRequest as VerifyDuringAuthenticationRequest, type index_d$1_VerifyRequest as VerifyRequest, type index_d$1_VerifyResponse as VerifyResponse, index_d$1_resendDuringAuthentication as resendDuringAuthentication, index_d$1_start as start, index_d$1_verifyDuringAuthentication as verifyDuringAuthentication };
2874
2445
  }
2875
2446
 
2876
2447
  interface RefreshToken {
@@ -3211,4 +2782,4 @@ declare namespace index_d {
3211
2782
  export { type index_d_ActionEvent as ActionEvent, type index_d_AuthorizeRequest as AuthorizeRequest, type index_d_DeviceCodeRequest as DeviceCodeRequest, type index_d_DeviceCodeResponse as DeviceCodeResponse, type index_d_DeviceVerifyRequest as DeviceVerifyRequest, type index_d_DeviceVerifyResponse as DeviceVerifyResponse, type index_d_DeviceVerifyV2Request as DeviceVerifyV2Request, type index_d_DeviceVerifyV2Response as DeviceVerifyV2Response, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_HeadersEntry as HeadersEntry, type index_d_InvalidateUserCodeRequest as InvalidateUserCodeRequest, type index_d_InvalidateUserCodeResponse as InvalidateUserCodeResponse, type index_d_PathParametersEntry as PathParametersEntry, type index_d_QueryParametersEntry as QueryParametersEntry, type index_d_RawHttpRequest as RawHttpRequest, type index_d_RawHttpResponse as RawHttpResponse, type index_d_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type index_d_RefreshToken as RefreshToken, type index_d_RestoreInfo as RestoreInfo, type index_d_RevokeRefreshTokenRequest as RevokeRefreshTokenRequest, type index_d_RevokeRefreshTokenResponse as RevokeRefreshTokenResponse, index_d_SubjectType as SubjectType, type index_d_TokenInfoOptions as TokenInfoOptions, type index_d_TokenInfoResponse as TokenInfoResponse, type index_d_TokenInfoResponseNonNullableFields as TokenInfoResponseNonNullableFields, type index_d_TokenOptions as TokenOptions, index_d_token as token, index_d_tokenInfo as tokenInfo };
3212
2783
  }
3213
2784
 
3214
- export { index_d$1 as account, index_d$4 as authentication, index_d as oauth, index_d$3 as recovery, index_d$2 as verification };
2785
+ export { index_d$3 as authentication, index_d as oauth, index_d$2 as recovery, index_d$1 as verification };