@wix/identity 1.0.96 → 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$5_Authentication = Authentication;
1242
- type context$5_CallVerifyData = CallVerifyData;
1243
- type context$5_CaptchaToken = CaptchaToken;
1244
- type context$5_CaptchaTokenTokenOneOf = CaptchaTokenTokenOneOf;
1245
- type context$5_ChangePasswordRequest = ChangePasswordRequest;
1246
- type context$5_ChangePasswordResponse = ChangePasswordResponse;
1247
- type context$5_EmailVerifyData = EmailVerifyData;
1248
- type context$5_LoginCallbackOptions = LoginCallbackOptions;
1249
- type context$5_LoginCallbackRequest = LoginCallbackRequest;
1250
- type context$5_LoginId = LoginId;
1251
- type context$5_LoginIdTypeOneOf = LoginIdTypeOneOf;
1252
- type context$5_LoginV2Options = LoginV2Options;
1253
- type context$5_LoginV2Request = LoginV2Request;
1254
- type context$5_LoginWithIdpConnectionIdentifiers = LoginWithIdpConnectionIdentifiers;
1255
- type context$5_LoginWithIdpConnectionOptions = LoginWithIdpConnectionOptions;
1256
- type context$5_LoginWithIdpConnectionRequest = LoginWithIdpConnectionRequest;
1257
- type context$5_LoginWithIdpConnectionTokenParamsOptions = LoginWithIdpConnectionTokenParamsOptions;
1258
- type context$5_LoginWithIdpConnectionTokenParamsRequest = LoginWithIdpConnectionTokenParamsRequest;
1259
- type context$5_LogoutOptions = LogoutOptions;
1260
- type context$5_LogoutRequest = LogoutRequest;
1261
- type context$5_RegisterV2Options = RegisterV2Options;
1262
- type context$5_RegisterV2Request = RegisterV2Request;
1263
- type context$5_SignOnOptions = SignOnOptions;
1264
- type context$5_SignOnRequest = SignOnRequest;
1265
- type context$5_SignOnResponse = SignOnResponse;
1266
- type context$5_SignOnResponseNonNullableFields = SignOnResponseNonNullableFields;
1267
- type context$5_SmsVerifyData = SmsVerifyData;
1268
- type context$5_TotpVerifyData = TotpVerifyData;
1269
- type context$5_VerifyOptions = VerifyOptions;
1270
- type context$5_VerifyRequestFactorDataOneOf = VerifyRequestFactorDataOneOf;
1271
- declare const context$5_changePassword: typeof changePassword;
1272
- declare const context$5_loginCallback: typeof loginCallback;
1273
- declare const context$5_loginV2: typeof loginV2;
1274
- declare const context$5_loginWithIdpConnection: typeof loginWithIdpConnection;
1275
- declare const context$5_loginWithIdpConnectionTokenParams: typeof loginWithIdpConnectionTokenParams;
1276
- declare const context$5_logout: typeof logout;
1277
- declare const context$5_registerV2: typeof registerV2;
1278
- declare const context$5_signOn: typeof signOn;
1279
- declare const context$5_verify: typeof verify;
1280
- declare namespace context$5 {
1281
- export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type context$5_Authentication as Authentication, type AuthenticatorConnection$2 as AuthenticatorConnection, type context$5_CallVerifyData as CallVerifyData, type context$5_CaptchaToken as CaptchaToken, type context$5_CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOf, type context$5_ChangePasswordRequest as ChangePasswordRequest, type context$5_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$5_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$5_LoginCallbackOptions as LoginCallbackOptions, type context$5_LoginCallbackRequest as LoginCallbackRequest, type context$5_LoginId as LoginId, type context$5_LoginIdTypeOneOf as LoginIdTypeOneOf, type context$5_LoginV2Options as LoginV2Options, type context$5_LoginV2Request as LoginV2Request, type context$5_LoginWithIdpConnectionIdentifiers as LoginWithIdpConnectionIdentifiers, type context$5_LoginWithIdpConnectionOptions as LoginWithIdpConnectionOptions, type context$5_LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequest, type context$5_LoginWithIdpConnectionTokenParamsOptions as LoginWithIdpConnectionTokenParamsOptions, type context$5_LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequest, type context$5_LogoutOptions as LogoutOptions, type context$5_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$5_RegisterV2Options as RegisterV2Options, type context$5_RegisterV2Request as RegisterV2Request, type RequireMfaData$2 as RequireMfaData, type SecondaryEmail$2 as SecondaryEmail, type context$5_SignOnOptions as SignOnOptions, type context$5_SignOnRequest as SignOnRequest, type context$5_SignOnResponse as SignOnResponse, type context$5_SignOnResponseNonNullableFields as SignOnResponseNonNullableFields, type context$5_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$5_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$5_VerifyOptions as VerifyOptions, type VerifyRequest$1 as VerifyRequest, type context$5_VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOf, context$5_changePassword as changePassword, context$5_loginCallback as loginCallback, context$5_loginV2 as loginV2, context$5_loginWithIdpConnection as loginWithIdpConnection, context$5_loginWithIdpConnectionTokenParams as loginWithIdpConnectionTokenParams, context$5_logout as logout, context$5_registerV2 as registerV2, context$5_signOn as signOn, context$5_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$4_EmailOptions = EmailOptions;
1836
- type context$4_RecoverOptions = RecoverOptions;
1837
- type context$4_RecoverRequest = RecoverRequest;
1838
- type context$4_RecoveryToken = RecoveryToken;
1839
- type context$4_Redirect = Redirect;
1840
- type context$4_SendActivationEmailOptions = SendActivationEmailOptions;
1841
- type context$4_SendActivationEmailRequest = SendActivationEmailRequest;
1842
- type context$4_SendActivationEmailResponse = SendActivationEmailResponse;
1843
- type context$4_SendRecoveryEmailOptions = SendRecoveryEmailOptions;
1844
- type context$4_SendRecoveryEmailRequest = SendRecoveryEmailRequest;
1845
- type context$4_SendRecoveryEmailResponse = SendRecoveryEmailResponse;
1846
- type context$4_TenantType = TenantType;
1847
- declare const context$4_TenantType: typeof TenantType;
1848
- declare const context$4_recover: typeof recover;
1849
- declare const context$4_sendActivationEmail: typeof sendActivationEmail;
1850
- declare const context$4_sendRecoveryEmail: typeof sendRecoveryEmail;
1851
- declare namespace context$4 {
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$4_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$4_RecoverOptions as RecoverOptions, type context$4_RecoverRequest as RecoverRequest, type context$4_RecoveryToken as RecoveryToken, type context$4_Redirect as Redirect, type RequireMfaData$1 as RequireMfaData, type SecondaryEmail$1 as SecondaryEmail, type context$4_SendActivationEmailOptions as SendActivationEmailOptions, type context$4_SendActivationEmailRequest as SendActivationEmailRequest, type context$4_SendActivationEmailResponse as SendActivationEmailResponse, type context$4_SendRecoveryEmailOptions as SendRecoveryEmailOptions, type context$4_SendRecoveryEmailRequest as SendRecoveryEmailRequest, type context$4_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$4_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$4_recover as recover, context$4_sendActivationEmail as sendActivationEmail, context$4_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,812 +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$3_Address = Address;
2382
- type context$3_AddressTag = AddressTag;
2383
- declare const context$3_AddressTag: typeof AddressTag;
2384
- type context$3_AddressWrapper = AddressWrapper;
2385
- type context$3_AuthenticatorConnection = AuthenticatorConnection;
2386
- type context$3_Connection = Connection;
2387
- type context$3_ConnectionTypeOneOf = ConnectionTypeOneOf;
2388
- type context$3_CustomField = CustomField;
2389
- type context$3_CustomValue = CustomValue;
2390
- type context$3_CustomValueValueOneOf = CustomValueValueOneOf;
2391
- type context$3_EmailTag = EmailTag;
2392
- declare const context$3_EmailTag: typeof EmailTag;
2393
- type context$3_Factor = Factor;
2394
- type context$3_FactorType = FactorType;
2395
- declare const context$3_FactorType: typeof FactorType;
2396
- type context$3_Identity = Identity;
2397
- type context$3_IdentityProfile = IdentityProfile;
2398
- type context$3_IdpConnection = IdpConnection;
2399
- type context$3_ListValue = ListValue;
2400
- type context$3_MapValue = MapValue;
2401
- type context$3_Metadata = Metadata;
2402
- type context$3_MfaChallengeData = MfaChallengeData;
2403
- type context$3_Phone = Phone;
2404
- type context$3_PhoneTag = PhoneTag;
2405
- declare const context$3_PhoneTag: typeof PhoneTag;
2406
- type context$3_PrivacyStatus = PrivacyStatus;
2407
- declare const context$3_PrivacyStatus: typeof PrivacyStatus;
2408
- type context$3_Reason = Reason;
2409
- declare const context$3_Reason: typeof Reason;
2410
- type context$3_RequireMfaData = RequireMfaData;
2411
- type context$3_ResendDuringAuthenticationRequest = ResendDuringAuthenticationRequest;
2412
- type context$3_SecondaryEmail = SecondaryEmail;
2413
- type context$3_StartOptions = StartOptions;
2414
- type context$3_StartRequest = StartRequest;
2415
- type context$3_StartResponse = StartResponse;
2416
- type context$3_StartResponseNonNullableFields = StartResponseNonNullableFields;
2417
- type context$3_StateMachineResponse = StateMachineResponse;
2418
- type context$3_StateMachineResponseNonNullableFields = StateMachineResponseNonNullableFields;
2419
- type context$3_StateMachineResponseStateDataOneOf = StateMachineResponseStateDataOneOf;
2420
- type context$3_StateType = StateType;
2421
- declare const context$3_StateType: typeof StateType;
2422
- type context$3_Status = Status;
2423
- declare const context$3_Status: typeof Status;
2424
- type context$3_StatusName = StatusName;
2425
- declare const context$3_StatusName: typeof StatusName;
2426
- type context$3_StatusV2 = StatusV2;
2427
- type context$3_Target = Target;
2428
- declare const context$3_Target: typeof Target;
2429
- type context$3_V1CustomValue = V1CustomValue;
2430
- type context$3_V1CustomValueValueOneOf = V1CustomValueValueOneOf;
2431
- type context$3_V1Factor = V1Factor;
2432
- type context$3_V1ListValue = V1ListValue;
2433
- type context$3_V1MapValue = V1MapValue;
2434
- type context$3_VerificationChallenge = VerificationChallenge;
2435
- type context$3_VerifyDuringAuthenticationOptions = VerifyDuringAuthenticationOptions;
2436
- type context$3_VerifyDuringAuthenticationRequest = VerifyDuringAuthenticationRequest;
2437
- type context$3_VerifyRequest = VerifyRequest;
2438
- type context$3_VerifyResponse = VerifyResponse;
2439
- declare const context$3_resendDuringAuthentication: typeof resendDuringAuthentication;
2440
- declare const context$3_start: typeof start;
2441
- declare const context$3_verifyDuringAuthentication: typeof verifyDuringAuthentication;
2442
- declare namespace context$3 {
2443
- export { type context$3_Address as Address, context$3_AddressTag as AddressTag, type context$3_AddressWrapper as AddressWrapper, type context$3_AuthenticatorConnection as AuthenticatorConnection, type context$3_Connection as Connection, type context$3_ConnectionTypeOneOf as ConnectionTypeOneOf, type context$3_CustomField as CustomField, type context$3_CustomValue as CustomValue, type context$3_CustomValueValueOneOf as CustomValueValueOneOf, type Email$1 as Email, context$3_EmailTag as EmailTag, type context$3_Factor as Factor, context$3_FactorType as FactorType, type context$3_Identity as Identity, type context$3_IdentityProfile as IdentityProfile, type context$3_IdpConnection as IdpConnection, type context$3_ListValue as ListValue, type context$3_MapValue as MapValue, type context$3_Metadata as Metadata, type context$3_MfaChallengeData as MfaChallengeData, type context$3_Phone as Phone, context$3_PhoneTag as PhoneTag, context$3_PrivacyStatus as PrivacyStatus, context$3_Reason as Reason, type context$3_RequireMfaData as RequireMfaData, type context$3_ResendDuringAuthenticationRequest as ResendDuringAuthenticationRequest, type context$3_SecondaryEmail as SecondaryEmail, type context$3_StartOptions as StartOptions, type context$3_StartRequest as StartRequest, type context$3_StartResponse as StartResponse, type context$3_StartResponseNonNullableFields as StartResponseNonNullableFields, type context$3_StateMachineResponse as StateMachineResponse, type context$3_StateMachineResponseNonNullableFields as StateMachineResponseNonNullableFields, type context$3_StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOf, context$3_StateType as StateType, context$3_Status as Status, context$3_StatusName as StatusName, type context$3_StatusV2 as StatusV2, context$3_Target as Target, type context$3_V1CustomValue as V1CustomValue, type context$3_V1CustomValueValueOneOf as V1CustomValueValueOneOf, type context$3_V1Factor as V1Factor, type context$3_V1ListValue as V1ListValue, type context$3_V1MapValue as V1MapValue, type context$3_VerificationChallenge as VerificationChallenge, type context$3_VerifyDuringAuthenticationOptions as VerifyDuringAuthenticationOptions, type context$3_VerifyDuringAuthenticationRequest as VerifyDuringAuthenticationRequest, type context$3_VerifyRequest as VerifyRequest, type context$3_VerifyResponse as VerifyResponse, context$3_resendDuringAuthentication as resendDuringAuthentication, context$3_start as start, context$3_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$1;
2528
- }
2529
- interface Paging$1 {
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$1;
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$1;
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$1;
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$1;
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$2_Account = Account;
2819
- type context$2_AccountInfo = AccountInfo;
2820
- type context$2_AccountProperties = AccountProperties;
2821
- type context$2_AccountResponse = AccountResponse;
2822
- type context$2_AccountStatus = AccountStatus;
2823
- declare const context$2_AccountStatus: typeof AccountStatus;
2824
- type context$2_AccountV2 = AccountV2;
2825
- type context$2_AccountsResponse = AccountsResponse;
2826
- type context$2_CoBranding = CoBranding;
2827
- declare const context$2_CoBranding: typeof CoBranding;
2828
- type context$2_CreateAccountAndAssignUserRequest = CreateAccountAndAssignUserRequest;
2829
- type context$2_CreateAccountForMyUserRequest = CreateAccountForMyUserRequest;
2830
- type context$2_CreateAccountOptions = CreateAccountOptions;
2831
- type context$2_CreateAccountRequest = CreateAccountRequest;
2832
- type context$2_CreateAccountResponse = CreateAccountResponse;
2833
- type context$2_CreateAccountResponseNonNullableFields = CreateAccountResponseNonNullableFields;
2834
- type context$2_CreateAccountTenantRequest = CreateAccountTenantRequest;
2835
- type context$2_CreateAccountTenantResponse = CreateAccountTenantResponse;
2836
- type context$2_DeleteAccountRequest = DeleteAccountRequest;
2837
- type context$2_Email = Email;
2838
- type context$2_EmptyResponse = EmptyResponse;
2839
- type context$2_GetAccountRequest = GetAccountRequest;
2840
- type context$2_GetAccountsRequest = GetAccountsRequest;
2841
- type context$2_GetMyAccountRequest = GetMyAccountRequest;
2842
- type context$2_GetMyUserAccountsRequest = GetMyUserAccountsRequest;
2843
- type context$2_GetParentAccountInfoRequest = GetParentAccountInfoRequest;
2844
- type context$2_GetParentAccountInfoResponse = GetParentAccountInfoResponse;
2845
- type context$2_GetSubAccountsRequest = GetSubAccountsRequest;
2846
- type context$2_GetSubAccountsResponse = GetSubAccountsResponse;
2847
- type context$2_GetUserAccountRequest = GetUserAccountRequest;
2848
- type context$2_GetUserAccountsRequest = GetUserAccountsRequest;
2849
- type context$2_IsTeamRequest = IsTeamRequest;
2850
- type context$2_IsTeamResponse = IsTeamResponse;
2851
- type context$2_ListChildAccountsOptions = ListChildAccountsOptions;
2852
- type context$2_ListChildAccountsRequest = ListChildAccountsRequest;
2853
- type context$2_ListChildAccountsResponse = ListChildAccountsResponse;
2854
- type context$2_ListChildAccountsResponseNonNullableFields = ListChildAccountsResponseNonNullableFields;
2855
- type context$2_MarkAccountFlagRequest = MarkAccountFlagRequest;
2856
- type context$2_MarkAccountFlagRequestFlagOneOf = MarkAccountFlagRequestFlagOneOf;
2857
- type context$2_PagingMetadata = PagingMetadata;
2858
- type context$2_RemoveParent = RemoveParent;
2859
- type context$2_SetIsReadOnlyAccountRequest = SetIsReadOnlyAccountRequest;
2860
- type context$2_SsoIdentity = SsoIdentity;
2861
- type context$2_SubAccountInfo = SubAccountInfo;
2862
- type context$2_UpdateAccountRequest = UpdateAccountRequest;
2863
- type context$2_UpdateParentAccountRequest = UpdateParentAccountRequest;
2864
- type context$2_UpdateParentAccountRequestUpdateOneOf = UpdateParentAccountRequestUpdateOneOf;
2865
- type context$2_UpdateParentAccountResponse = UpdateParentAccountResponse;
2866
- type context$2_UpdateSlugRequest = UpdateSlugRequest;
2867
- type context$2_User = User;
2868
- type context$2_UserDetails = UserDetails;
2869
- declare const context$2_createAccount: typeof createAccount;
2870
- declare const context$2_listChildAccounts: typeof listChildAccounts;
2871
- declare namespace context$2 {
2872
- export { type context$2_Account as Account, type context$2_AccountInfo as AccountInfo, type context$2_AccountProperties as AccountProperties, type context$2_AccountResponse as AccountResponse, context$2_AccountStatus as AccountStatus, type context$2_AccountV2 as AccountV2, type context$2_AccountsResponse as AccountsResponse, context$2_CoBranding as CoBranding, type context$2_CreateAccountAndAssignUserRequest as CreateAccountAndAssignUserRequest, type context$2_CreateAccountForMyUserRequest as CreateAccountForMyUserRequest, type context$2_CreateAccountOptions as CreateAccountOptions, type context$2_CreateAccountRequest as CreateAccountRequest, type context$2_CreateAccountResponse as CreateAccountResponse, type context$2_CreateAccountResponseNonNullableFields as CreateAccountResponseNonNullableFields, type context$2_CreateAccountTenantRequest as CreateAccountTenantRequest, type context$2_CreateAccountTenantResponse as CreateAccountTenantResponse, type context$2_DeleteAccountRequest as DeleteAccountRequest, type context$2_Email as Email, type context$2_EmptyResponse as EmptyResponse, type context$2_GetAccountRequest as GetAccountRequest, type context$2_GetAccountsRequest as GetAccountsRequest, type context$2_GetMyAccountRequest as GetMyAccountRequest, type context$2_GetMyUserAccountsRequest as GetMyUserAccountsRequest, type context$2_GetParentAccountInfoRequest as GetParentAccountInfoRequest, type context$2_GetParentAccountInfoResponse as GetParentAccountInfoResponse, type context$2_GetSubAccountsRequest as GetSubAccountsRequest, type context$2_GetSubAccountsResponse as GetSubAccountsResponse, type context$2_GetUserAccountRequest as GetUserAccountRequest, type context$2_GetUserAccountsRequest as GetUserAccountsRequest, type context$2_IsTeamRequest as IsTeamRequest, type context$2_IsTeamResponse as IsTeamResponse, type context$2_ListChildAccountsOptions as ListChildAccountsOptions, type context$2_ListChildAccountsRequest as ListChildAccountsRequest, type context$2_ListChildAccountsResponse as ListChildAccountsResponse, type context$2_ListChildAccountsResponseNonNullableFields as ListChildAccountsResponseNonNullableFields, type context$2_MarkAccountFlagRequest as MarkAccountFlagRequest, type context$2_MarkAccountFlagRequestFlagOneOf as MarkAccountFlagRequestFlagOneOf, type Paging$1 as Paging, type context$2_PagingMetadata as PagingMetadata, type context$2_RemoveParent as RemoveParent, type context$2_SetIsReadOnlyAccountRequest as SetIsReadOnlyAccountRequest, type context$2_SsoIdentity as SsoIdentity, type context$2_SubAccountInfo as SubAccountInfo, type context$2_UpdateAccountRequest as UpdateAccountRequest, type context$2_UpdateParentAccountRequest as UpdateParentAccountRequest, type context$2_UpdateParentAccountRequestUpdateOneOf as UpdateParentAccountRequestUpdateOneOf, type context$2_UpdateParentAccountResponse as UpdateParentAccountResponse, type context$2_UpdateSlugRequest as UpdateSlugRequest, type context$2_User as User, type context$2_UserDetails as UserDetails, context$2_createAccount as createAccount, context$2_listChildAccounts as listChildAccounts };
2873
- }
2874
-
2875
- interface SiteInvite {
2876
- /**
2877
- * Invite ID.
2878
- * @readonly
2879
- */
2880
- _id?: string;
2881
- /**
2882
- * Site ID the user is invited to as a collaborator.
2883
- * @readonly
2884
- */
2885
- siteId?: string;
2886
- /** Email address where the invite was sent. */
2887
- email?: string;
2888
- /** Role IDs included in the invite. */
2889
- policyIds?: string[];
2890
- /**
2891
- * Deprecated. Use `inviterAccountId`.
2892
- * @readonly
2893
- * @deprecated
2894
- */
2895
- inviterId?: string;
2896
- /**
2897
- * Invite Status.
2898
- *
2899
- * Supported values:
2900
- * - **Pending:** The invite has been sent and is valid, waiting for the user's response.
2901
- * - **Used:** The invite has been accepted.
2902
- * - **Deleted:** The invite has been deleted or revoked.
2903
- * - **Declined:** The user declined the invite.
2904
- * - **Expired:** The invite has expired without being accepted.
2905
- */
2906
- status?: InviteStatus;
2907
- /** Link to accept the invite. */
2908
- acceptLink?: string;
2909
- /**
2910
- * Inviting account ID.
2911
- * @readonly
2912
- */
2913
- inviterAccountId?: string;
2914
- /**
2915
- * Account ID that accepted the invite. Populated only once the invite is accepted.
2916
- * @readonly
2917
- */
2918
- acceptedByAccountId?: string | null;
2919
- /** Date the invite was created. */
2920
- dateCreated?: Date | null;
2921
- /** User's Wix Bookings staff ID, if relevant. */
2922
- staffId?: string | null;
2923
- /** Invite expiration date */
2924
- expirationDate?: Date | null;
2925
- }
2926
- /** Invite status stating whether the invite was accepted, waiting to be accepted, deleted etc.. */
2927
- declare enum InviteStatus {
2928
- Pending = "Pending",
2929
- Used = "Used",
2930
- Deleted = "Deleted",
2931
- Declined = "Declined",
2932
- Expired = "Expired"
2933
- }
2934
- interface GetSiteInvitesRequest {
2935
- }
2936
- interface GetSiteInvitesResponse {
2937
- invites?: SiteInvite[];
2938
- }
2939
- interface QuerySiteInvitesRequest {
2940
- /**
2941
- * Supports only `filter` field with
2942
- * `"filter" : {
2943
- * "acceptedByAccountId":{"$in": [<id1>, <id2>, ...]}
2944
- * }`
2945
- */
2946
- query?: QueryV2;
2947
- }
2948
- interface QueryV2 extends QueryV2PagingMethodOneOf {
2949
- /** Paging options to limit and skip the number of items. */
2950
- paging?: Paging;
2951
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
2952
- cursorPaging?: CursorPaging;
2953
- /**
2954
- * Filter object.
2955
- *
2956
- * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
2957
- */
2958
- filter?: Record<string, any> | null;
2959
- /**
2960
- * Sort object.
2961
- *
2962
- * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
2963
- */
2964
- sort?: Sorting[];
2965
- /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
2966
- fields?: string[];
2967
- /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
2968
- fieldsets?: string[];
2969
- }
2970
- /** @oneof */
2971
- interface QueryV2PagingMethodOneOf {
2972
- /** Paging options to limit and skip the number of items. */
2973
- paging?: Paging;
2974
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
2975
- cursorPaging?: CursorPaging;
2976
- }
2977
- interface Sorting {
2978
- /** Name of the field to sort by. */
2979
- fieldName?: string;
2980
- /** Sort order. */
2981
- order?: SortOrder;
2982
- }
2983
- declare enum SortOrder {
2984
- ASC = "ASC",
2985
- DESC = "DESC"
2986
- }
2987
- interface Paging {
2988
- /** Number of items to load. */
2989
- limit?: number | null;
2990
- /** Number of items to skip in the current sort order. */
2991
- offset?: number | null;
2992
- }
2993
- interface CursorPaging {
2994
- /** Maximum number of items to return in the results. */
2995
- limit?: number | null;
2996
- /**
2997
- * Pointer to the next or previous page in the list of results.
2998
- *
2999
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
3000
- * Not relevant for the first request.
3001
- */
3002
- cursor?: string | null;
3003
- }
3004
- interface QuerySiteInvitesResponse {
3005
- invites?: SiteInvite[];
3006
- }
3007
- interface GetSiteInviteRequest {
3008
- _id?: string;
3009
- }
3010
- interface GetSiteInviteResponse {
3011
- invite?: SiteInvite;
3012
- }
3013
- interface SiteInviteRequest {
3014
- /** The role ids to be assigned */
3015
- policyIds?: string[];
3016
- /** Invitee email */
3017
- email?: string;
3018
- /** The language of emails that will be used only for recipients that don't have a user, in case this parameter is unspecified, the sender's language will be used instead */
3019
- defaultEmailLanguage?: string | null;
3020
- }
3021
- interface SiteInviteResponse {
3022
- /** Invites that were sent. */
3023
- invite?: SiteInvite;
3024
- }
3025
- interface BulkSiteInviteRequest {
3026
- /** Role IDs, referred to as policy IDs, to assign to the contributors. */
3027
- policyIds: string[];
3028
- /** Email addresses to which the invites should be sent. */
3029
- emails: string[];
3030
- /** Details explaining the purpose of the invite. */
3031
- invitePurpose?: string | null;
3032
- /** Language of emails to send. Relevant only for recipients that don't currently have a Wix user ID. Default: Site owner's language. */
3033
- defaultEmailLanguage?: string | null;
3034
- }
3035
- interface BulkSiteInviteResponse {
3036
- /** Invites that were sent successfully. */
3037
- invites?: SiteInvite[];
3038
- /** Invites that failed. */
3039
- failedEmails?: string[];
3040
- }
3041
- interface ResendSiteInviteRequest {
3042
- /** Invite ID. */
3043
- inviteId: string;
3044
- /** Language of emails to send. Relevant only for recipients that don't currently have a Wix user ID. Default: Site owner's language. */
3045
- defaultEmailLanguage?: string | null;
3046
- }
3047
- interface AcceptSiteInviteRequest {
3048
- inviteToken?: string;
3049
- }
3050
- interface AcceptSiteInviteResponse {
3051
- }
3052
- interface RevokeSiteInviteRequest {
3053
- /** Invite ID. */
3054
- inviteId: string;
3055
- }
3056
- interface RevokeSiteInviteResponse {
3057
- }
3058
- interface UpdateSiteInviteRequest {
3059
- inviteId?: string;
3060
- policyIds?: string[];
3061
- staffId?: string | null;
3062
- }
3063
- interface UpdateSiteInviteResponse {
3064
- }
3065
- interface GetContributorLimitRequest {
3066
- }
3067
- interface GetContributorLimitResponse {
3068
- contributorLimitation?: ContributorLimitation;
3069
- }
3070
- interface ContributorLimitation {
3071
- contributorLimit?: number;
3072
- leftInvites?: number;
3073
- }
3074
- interface ParseSiteInviteTokenRequest {
3075
- inviteToken?: string;
3076
- }
3077
- interface ParseSiteInviteTokenResponse {
3078
- inviteId?: string;
3079
- siteId?: string;
3080
- status?: InviteStatus;
3081
- }
3082
- interface SiteInviteNonNullableFields {
3083
- _id: string;
3084
- siteId: string;
3085
- email: string;
3086
- policyIds: string[];
3087
- inviterId: string;
3088
- status: InviteStatus;
3089
- acceptLink: string;
3090
- inviterAccountId: string;
3091
- }
3092
- interface BulkSiteInviteResponseNonNullableFields {
3093
- invites: SiteInviteNonNullableFields[];
3094
- failedEmails: string[];
3095
- }
3096
- interface SiteInviteResponseNonNullableFields {
3097
- invite?: SiteInviteNonNullableFields;
3098
- }
3099
- interface BulkInviteOptions {
3100
- /** Email addresses to which the invites should be sent. */
3101
- emails: string[];
3102
- /** Details explaining the purpose of the invite. */
3103
- invitePurpose?: string | null;
3104
- /** Language of emails to send. Relevant only for recipients that don't currently have a Wix user ID. Default: Site owner's language. */
3105
- defaultEmailLanguage?: string | null;
3106
- }
3107
- interface ResendInviteOptions {
3108
- /** Language of emails to send. Relevant only for recipients that don't currently have a Wix user ID. Default: Site owner's language. */
3109
- defaultEmailLanguage?: string | null;
3110
- }
3111
-
3112
- declare function bulkInvite$1(httpClient: HttpClient): BulkInviteSignature;
3113
- interface BulkInviteSignature {
3114
- /**
3115
- * Creates and sends emails inviting potential site contributors to become contributors in the requesting site.
3116
- * > **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.
3117
- * @param - Role IDs, referred to as policy IDs, to assign to the contributors.
3118
- * @param - Filter options.
3119
- */
3120
- (policyIds: string[], options?: BulkInviteOptions | undefined): Promise<BulkSiteInviteResponse & BulkSiteInviteResponseNonNullableFields>;
3121
- }
3122
- declare function resendInvite$1(httpClient: HttpClient): ResendInviteSignature;
3123
- interface ResendInviteSignature {
3124
- /**
3125
- * Resends the email invitation to a potential site contributor.
3126
- * > **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.
3127
- * @param - Invite ID.
3128
- * @param - Filter options.
3129
- */
3130
- (inviteId: string, options?: ResendInviteOptions | undefined): Promise<SiteInviteResponse & SiteInviteResponseNonNullableFields>;
3131
- }
3132
- declare function revokeInvite$1(httpClient: HttpClient): RevokeInviteSignature;
3133
- interface RevokeInviteSignature {
3134
- /**
3135
- * Revokes a pending site contributor invite.
3136
- * > **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.
3137
- * @param - Invite ID.
3138
- */
3139
- (inviteId: string): Promise<void>;
3140
- }
3141
-
3142
- declare const bulkInvite: MaybeContext<BuildRESTFunction<typeof bulkInvite$1> & typeof bulkInvite$1>;
3143
- declare const resendInvite: MaybeContext<BuildRESTFunction<typeof resendInvite$1> & typeof resendInvite$1>;
3144
- declare const revokeInvite: MaybeContext<BuildRESTFunction<typeof revokeInvite$1> & typeof revokeInvite$1>;
3145
-
3146
- type context$1_AcceptSiteInviteRequest = AcceptSiteInviteRequest;
3147
- type context$1_AcceptSiteInviteResponse = AcceptSiteInviteResponse;
3148
- type context$1_BulkInviteOptions = BulkInviteOptions;
3149
- type context$1_BulkSiteInviteRequest = BulkSiteInviteRequest;
3150
- type context$1_BulkSiteInviteResponse = BulkSiteInviteResponse;
3151
- type context$1_BulkSiteInviteResponseNonNullableFields = BulkSiteInviteResponseNonNullableFields;
3152
- type context$1_ContributorLimitation = ContributorLimitation;
3153
- type context$1_CursorPaging = CursorPaging;
3154
- type context$1_GetContributorLimitRequest = GetContributorLimitRequest;
3155
- type context$1_GetContributorLimitResponse = GetContributorLimitResponse;
3156
- type context$1_GetSiteInviteRequest = GetSiteInviteRequest;
3157
- type context$1_GetSiteInviteResponse = GetSiteInviteResponse;
3158
- type context$1_GetSiteInvitesRequest = GetSiteInvitesRequest;
3159
- type context$1_GetSiteInvitesResponse = GetSiteInvitesResponse;
3160
- type context$1_InviteStatus = InviteStatus;
3161
- declare const context$1_InviteStatus: typeof InviteStatus;
3162
- type context$1_Paging = Paging;
3163
- type context$1_ParseSiteInviteTokenRequest = ParseSiteInviteTokenRequest;
3164
- type context$1_ParseSiteInviteTokenResponse = ParseSiteInviteTokenResponse;
3165
- type context$1_QuerySiteInvitesRequest = QuerySiteInvitesRequest;
3166
- type context$1_QuerySiteInvitesResponse = QuerySiteInvitesResponse;
3167
- type context$1_QueryV2 = QueryV2;
3168
- type context$1_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
3169
- type context$1_ResendInviteOptions = ResendInviteOptions;
3170
- type context$1_ResendSiteInviteRequest = ResendSiteInviteRequest;
3171
- type context$1_RevokeSiteInviteRequest = RevokeSiteInviteRequest;
3172
- type context$1_RevokeSiteInviteResponse = RevokeSiteInviteResponse;
3173
- type context$1_SiteInvite = SiteInvite;
3174
- type context$1_SiteInviteRequest = SiteInviteRequest;
3175
- type context$1_SiteInviteResponse = SiteInviteResponse;
3176
- type context$1_SiteInviteResponseNonNullableFields = SiteInviteResponseNonNullableFields;
3177
- type context$1_SortOrder = SortOrder;
3178
- declare const context$1_SortOrder: typeof SortOrder;
3179
- type context$1_Sorting = Sorting;
3180
- type context$1_UpdateSiteInviteRequest = UpdateSiteInviteRequest;
3181
- type context$1_UpdateSiteInviteResponse = UpdateSiteInviteResponse;
3182
- declare const context$1_bulkInvite: typeof bulkInvite;
3183
- declare const context$1_resendInvite: typeof resendInvite;
3184
- declare const context$1_revokeInvite: typeof revokeInvite;
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;
2391
+ type context$1_Email = Email;
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;
3185
2443
  declare namespace context$1 {
3186
- export { type context$1_AcceptSiteInviteRequest as AcceptSiteInviteRequest, type context$1_AcceptSiteInviteResponse as AcceptSiteInviteResponse, type context$1_BulkInviteOptions as BulkInviteOptions, type context$1_BulkSiteInviteRequest as BulkSiteInviteRequest, type context$1_BulkSiteInviteResponse as BulkSiteInviteResponse, type context$1_BulkSiteInviteResponseNonNullableFields as BulkSiteInviteResponseNonNullableFields, type context$1_ContributorLimitation as ContributorLimitation, type context$1_CursorPaging as CursorPaging, type context$1_GetContributorLimitRequest as GetContributorLimitRequest, type context$1_GetContributorLimitResponse as GetContributorLimitResponse, type context$1_GetSiteInviteRequest as GetSiteInviteRequest, type context$1_GetSiteInviteResponse as GetSiteInviteResponse, type context$1_GetSiteInvitesRequest as GetSiteInvitesRequest, type context$1_GetSiteInvitesResponse as GetSiteInvitesResponse, context$1_InviteStatus as InviteStatus, type context$1_Paging as Paging, type context$1_ParseSiteInviteTokenRequest as ParseSiteInviteTokenRequest, type context$1_ParseSiteInviteTokenResponse as ParseSiteInviteTokenResponse, type context$1_QuerySiteInvitesRequest as QuerySiteInvitesRequest, type context$1_QuerySiteInvitesResponse as QuerySiteInvitesResponse, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_ResendInviteOptions as ResendInviteOptions, type context$1_ResendSiteInviteRequest as ResendSiteInviteRequest, type context$1_RevokeSiteInviteRequest as RevokeSiteInviteRequest, type context$1_RevokeSiteInviteResponse as RevokeSiteInviteResponse, type context$1_SiteInvite as SiteInvite, type context$1_SiteInviteRequest as SiteInviteRequest, type context$1_SiteInviteResponse as SiteInviteResponse, type context$1_SiteInviteResponseNonNullableFields as SiteInviteResponseNonNullableFields, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, type context$1_UpdateSiteInviteRequest as UpdateSiteInviteRequest, type context$1_UpdateSiteInviteResponse as UpdateSiteInviteResponse, context$1_bulkInvite as bulkInvite, context$1_resendInvite as resendInvite, context$1_revokeInvite as revokeInvite };
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 };
3187
2445
  }
3188
2446
 
3189
2447
  interface RefreshToken {
@@ -3524,4 +2782,4 @@ declare namespace context {
3524
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 };
3525
2783
  }
3526
2784
 
3527
- export { context$2 as account, context$5 as authentication, context as oauth, context$4 as recovery, context$1 as siteInvite, context$3 as verification };
2785
+ export { context$3 as authentication, context as oauth, context$2 as recovery, context$1 as verification };