@wix/identity 1.0.96 → 1.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/context.d.ts +0 -1
- package/build/cjs/context.js +1 -2
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +1 -2
- package/build/cjs/index.js +1 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +1 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +0 -1
- package/build/es/context.js +0 -1
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +1 -2
- package/build/es/index.js +1 -2
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -1
- package/build/es/meta.js.map +1 -1
- package/package.json +2 -3
- package/type-bundles/context.bundle.d.ts +183 -496
- package/type-bundles/index.bundle.d.ts +183 -496
- package/type-bundles/meta.bundle.d.ts +45 -288
|
@@ -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$
|
|
1242
|
-
type context$
|
|
1243
|
-
type context$
|
|
1244
|
-
type context$
|
|
1245
|
-
type context$
|
|
1246
|
-
type context$
|
|
1247
|
-
type context$
|
|
1248
|
-
type context$
|
|
1249
|
-
type context$
|
|
1250
|
-
type context$
|
|
1251
|
-
type context$
|
|
1252
|
-
type context$
|
|
1253
|
-
type context$
|
|
1254
|
-
type context$
|
|
1255
|
-
type context$
|
|
1256
|
-
type context$
|
|
1257
|
-
type context$
|
|
1258
|
-
type context$
|
|
1259
|
-
type context$
|
|
1260
|
-
type context$
|
|
1261
|
-
type context$
|
|
1262
|
-
type context$
|
|
1263
|
-
type context$
|
|
1264
|
-
type context$
|
|
1265
|
-
type context$
|
|
1266
|
-
type context$
|
|
1267
|
-
type context$
|
|
1268
|
-
type context$
|
|
1269
|
-
type context$
|
|
1270
|
-
type context$
|
|
1271
|
-
declare const context$
|
|
1272
|
-
declare const context$
|
|
1273
|
-
declare const context$
|
|
1274
|
-
declare const context$
|
|
1275
|
-
declare const context$
|
|
1276
|
-
declare const context$
|
|
1277
|
-
declare const context$
|
|
1278
|
-
declare const context$
|
|
1279
|
-
declare const context$
|
|
1280
|
-
declare namespace context$
|
|
1281
|
-
export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type context$
|
|
1241
|
+
type context$4_Authentication = Authentication;
|
|
1242
|
+
type context$4_CallVerifyData = CallVerifyData;
|
|
1243
|
+
type context$4_CaptchaToken = CaptchaToken;
|
|
1244
|
+
type context$4_CaptchaTokenTokenOneOf = CaptchaTokenTokenOneOf;
|
|
1245
|
+
type context$4_ChangePasswordRequest = ChangePasswordRequest;
|
|
1246
|
+
type context$4_ChangePasswordResponse = ChangePasswordResponse;
|
|
1247
|
+
type context$4_EmailVerifyData = EmailVerifyData;
|
|
1248
|
+
type context$4_LoginCallbackOptions = LoginCallbackOptions;
|
|
1249
|
+
type context$4_LoginCallbackRequest = LoginCallbackRequest;
|
|
1250
|
+
type context$4_LoginId = LoginId;
|
|
1251
|
+
type context$4_LoginIdTypeOneOf = LoginIdTypeOneOf;
|
|
1252
|
+
type context$4_LoginV2Options = LoginV2Options;
|
|
1253
|
+
type context$4_LoginV2Request = LoginV2Request;
|
|
1254
|
+
type context$4_LoginWithIdpConnectionIdentifiers = LoginWithIdpConnectionIdentifiers;
|
|
1255
|
+
type context$4_LoginWithIdpConnectionOptions = LoginWithIdpConnectionOptions;
|
|
1256
|
+
type context$4_LoginWithIdpConnectionRequest = LoginWithIdpConnectionRequest;
|
|
1257
|
+
type context$4_LoginWithIdpConnectionTokenParamsOptions = LoginWithIdpConnectionTokenParamsOptions;
|
|
1258
|
+
type context$4_LoginWithIdpConnectionTokenParamsRequest = LoginWithIdpConnectionTokenParamsRequest;
|
|
1259
|
+
type context$4_LogoutOptions = LogoutOptions;
|
|
1260
|
+
type context$4_LogoutRequest = LogoutRequest;
|
|
1261
|
+
type context$4_RegisterV2Options = RegisterV2Options;
|
|
1262
|
+
type context$4_RegisterV2Request = RegisterV2Request;
|
|
1263
|
+
type context$4_SignOnOptions = SignOnOptions;
|
|
1264
|
+
type context$4_SignOnRequest = SignOnRequest;
|
|
1265
|
+
type context$4_SignOnResponse = SignOnResponse;
|
|
1266
|
+
type context$4_SignOnResponseNonNullableFields = SignOnResponseNonNullableFields;
|
|
1267
|
+
type context$4_SmsVerifyData = SmsVerifyData;
|
|
1268
|
+
type context$4_TotpVerifyData = TotpVerifyData;
|
|
1269
|
+
type context$4_VerifyOptions = VerifyOptions;
|
|
1270
|
+
type context$4_VerifyRequestFactorDataOneOf = VerifyRequestFactorDataOneOf;
|
|
1271
|
+
declare const context$4_changePassword: typeof changePassword;
|
|
1272
|
+
declare const context$4_loginCallback: typeof loginCallback;
|
|
1273
|
+
declare const context$4_loginV2: typeof loginV2;
|
|
1274
|
+
declare const context$4_loginWithIdpConnection: typeof loginWithIdpConnection;
|
|
1275
|
+
declare const context$4_loginWithIdpConnectionTokenParams: typeof loginWithIdpConnectionTokenParams;
|
|
1276
|
+
declare const context$4_logout: typeof logout;
|
|
1277
|
+
declare const context$4_registerV2: typeof registerV2;
|
|
1278
|
+
declare const context$4_signOn: typeof signOn;
|
|
1279
|
+
declare const context$4_verify: typeof verify;
|
|
1280
|
+
declare namespace context$4 {
|
|
1281
|
+
export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type context$4_Authentication as Authentication, type AuthenticatorConnection$2 as AuthenticatorConnection, type context$4_CallVerifyData as CallVerifyData, type context$4_CaptchaToken as CaptchaToken, type context$4_CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOf, type context$4_ChangePasswordRequest as ChangePasswordRequest, type context$4_ChangePasswordResponse as ChangePasswordResponse, type Connection$2 as Connection, type ConnectionTypeOneOf$2 as ConnectionTypeOneOf, type CustomField$2 as CustomField, type CustomValue$2 as CustomValue, type CustomValueValueOneOf$2 as CustomValueValueOneOf, type Email$3 as Email, EmailTag$2 as EmailTag, type context$4_EmailVerifyData as EmailVerifyData, type Factor$2 as Factor, FactorType$2 as FactorType, type HeadersEntry$1 as HeadersEntry, type Identity$2 as Identity, type IdentityProfile$2 as IdentityProfile, type IdpConnection$2 as IdpConnection, type ListValue$2 as ListValue, type context$4_LoginCallbackOptions as LoginCallbackOptions, type context$4_LoginCallbackRequest as LoginCallbackRequest, type context$4_LoginId as LoginId, type context$4_LoginIdTypeOneOf as LoginIdTypeOneOf, type context$4_LoginV2Options as LoginV2Options, type context$4_LoginV2Request as LoginV2Request, type context$4_LoginWithIdpConnectionIdentifiers as LoginWithIdpConnectionIdentifiers, type context$4_LoginWithIdpConnectionOptions as LoginWithIdpConnectionOptions, type context$4_LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequest, type context$4_LoginWithIdpConnectionTokenParamsOptions as LoginWithIdpConnectionTokenParamsOptions, type context$4_LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequest, type context$4_LogoutOptions as LogoutOptions, type context$4_LogoutRequest as LogoutRequest, type MapValue$2 as MapValue, type Metadata$2 as Metadata, type MfaChallengeData$2 as MfaChallengeData, type PathParametersEntry$1 as PathParametersEntry, type Phone$2 as Phone, PhoneTag$2 as PhoneTag, PrivacyStatus$2 as PrivacyStatus, type QueryParametersEntry$1 as QueryParametersEntry, type RawHttpRequest$1 as RawHttpRequest, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, Reason$2 as Reason, type context$4_RegisterV2Options as RegisterV2Options, type context$4_RegisterV2Request as RegisterV2Request, type RequireMfaData$2 as RequireMfaData, type SecondaryEmail$2 as SecondaryEmail, type context$4_SignOnOptions as SignOnOptions, type context$4_SignOnRequest as SignOnRequest, type context$4_SignOnResponse as SignOnResponse, type context$4_SignOnResponseNonNullableFields as SignOnResponseNonNullableFields, type context$4_SmsVerifyData as SmsVerifyData, type StateMachineResponse$2 as StateMachineResponse, type StateMachineResponseNonNullableFields$2 as StateMachineResponseNonNullableFields, type StateMachineResponseStateDataOneOf$2 as StateMachineResponseStateDataOneOf, StateType$2 as StateType, Status$2 as Status, StatusName$2 as StatusName, type StatusV2$2 as StatusV2, TenantType$1 as TenantType, type context$4_TotpVerifyData as TotpVerifyData, type V1CustomValue$2 as V1CustomValue, type V1CustomValueValueOneOf$2 as V1CustomValueValueOneOf, type V1Factor$2 as V1Factor, type V1ListValue$2 as V1ListValue, type V1MapValue$2 as V1MapValue, type VerificationChallenge$2 as VerificationChallenge, type context$4_VerifyOptions as VerifyOptions, type VerifyRequest$1 as VerifyRequest, type context$4_VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOf, context$4_changePassword as changePassword, context$4_loginCallback as loginCallback, context$4_loginV2 as loginV2, context$4_loginWithIdpConnection as loginWithIdpConnection, context$4_loginWithIdpConnectionTokenParams as loginWithIdpConnectionTokenParams, context$4_logout as logout, context$4_registerV2 as registerV2, context$4_signOn as signOn, context$4_verify as verify };
|
|
1282
1282
|
}
|
|
1283
1283
|
|
|
1284
1284
|
/** Recovery token proto is the saved data on the recovery token. */
|
|
@@ -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$
|
|
1836
|
-
type context$
|
|
1837
|
-
type context$
|
|
1838
|
-
type context$
|
|
1839
|
-
type context$
|
|
1840
|
-
type context$
|
|
1841
|
-
type context$
|
|
1842
|
-
type context$
|
|
1843
|
-
type context$
|
|
1844
|
-
type context$
|
|
1845
|
-
type context$
|
|
1846
|
-
type context$
|
|
1847
|
-
declare const context$
|
|
1848
|
-
declare const context$
|
|
1849
|
-
declare const context$
|
|
1850
|
-
declare const context$
|
|
1851
|
-
declare namespace context$
|
|
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$
|
|
1835
|
+
type context$3_EmailOptions = EmailOptions;
|
|
1836
|
+
type context$3_RecoverOptions = RecoverOptions;
|
|
1837
|
+
type context$3_RecoverRequest = RecoverRequest;
|
|
1838
|
+
type context$3_RecoveryToken = RecoveryToken;
|
|
1839
|
+
type context$3_Redirect = Redirect;
|
|
1840
|
+
type context$3_SendActivationEmailOptions = SendActivationEmailOptions;
|
|
1841
|
+
type context$3_SendActivationEmailRequest = SendActivationEmailRequest;
|
|
1842
|
+
type context$3_SendActivationEmailResponse = SendActivationEmailResponse;
|
|
1843
|
+
type context$3_SendRecoveryEmailOptions = SendRecoveryEmailOptions;
|
|
1844
|
+
type context$3_SendRecoveryEmailRequest = SendRecoveryEmailRequest;
|
|
1845
|
+
type context$3_SendRecoveryEmailResponse = SendRecoveryEmailResponse;
|
|
1846
|
+
type context$3_TenantType = TenantType;
|
|
1847
|
+
declare const context$3_TenantType: typeof TenantType;
|
|
1848
|
+
declare const context$3_recover: typeof recover;
|
|
1849
|
+
declare const context$3_sendActivationEmail: typeof sendActivationEmail;
|
|
1850
|
+
declare const context$3_sendRecoveryEmail: typeof sendRecoveryEmail;
|
|
1851
|
+
declare namespace context$3 {
|
|
1852
|
+
export { type Address$1 as Address, AddressTag$1 as AddressTag, type AddressWrapper$1 as AddressWrapper, type AuthenticatorConnection$1 as AuthenticatorConnection, type Connection$1 as Connection, type ConnectionTypeOneOf$1 as ConnectionTypeOneOf, type CustomField$1 as CustomField, type CustomValue$1 as CustomValue, type CustomValueValueOneOf$1 as CustomValueValueOneOf, type Email$2 as Email, type context$3_EmailOptions as EmailOptions, EmailTag$1 as EmailTag, type Factor$1 as Factor, FactorType$1 as FactorType, type Identity$1 as Identity, type IdentityProfile$1 as IdentityProfile, type IdpConnection$1 as IdpConnection, type ListValue$1 as ListValue, type MapValue$1 as MapValue, type Metadata$1 as Metadata, type MfaChallengeData$1 as MfaChallengeData, type Phone$1 as Phone, PhoneTag$1 as PhoneTag, PrivacyStatus$1 as PrivacyStatus, Reason$1 as Reason, type context$3_RecoverOptions as RecoverOptions, type context$3_RecoverRequest as RecoverRequest, type context$3_RecoveryToken as RecoveryToken, type context$3_Redirect as Redirect, type RequireMfaData$1 as RequireMfaData, type SecondaryEmail$1 as SecondaryEmail, type context$3_SendActivationEmailOptions as SendActivationEmailOptions, type context$3_SendActivationEmailRequest as SendActivationEmailRequest, type context$3_SendActivationEmailResponse as SendActivationEmailResponse, type context$3_SendRecoveryEmailOptions as SendRecoveryEmailOptions, type context$3_SendRecoveryEmailRequest as SendRecoveryEmailRequest, type context$3_SendRecoveryEmailResponse as SendRecoveryEmailResponse, type StateMachineResponse$1 as StateMachineResponse, type StateMachineResponseNonNullableFields$1 as StateMachineResponseNonNullableFields, type StateMachineResponseStateDataOneOf$1 as StateMachineResponseStateDataOneOf, StateType$1 as StateType, Status$1 as Status, StatusName$1 as StatusName, type StatusV2$1 as StatusV2, context$3_TenantType as TenantType, type V1CustomValue$1 as V1CustomValue, type V1CustomValueValueOneOf$1 as V1CustomValueValueOneOf, type V1Factor$1 as V1Factor, type V1ListValue$1 as V1ListValue, type V1MapValue$1 as V1MapValue, type VerificationChallenge$1 as VerificationChallenge, context$3_recover as recover, context$3_sendActivationEmail as sendActivationEmail, context$3_sendRecoveryEmail as sendRecoveryEmail };
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
1855
|
interface StartResponse {
|
|
@@ -2378,69 +2378,69 @@ 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$
|
|
2382
|
-
type context$
|
|
2383
|
-
declare const context$
|
|
2384
|
-
type context$
|
|
2385
|
-
type context$
|
|
2386
|
-
type context$
|
|
2387
|
-
type context$
|
|
2388
|
-
type context$
|
|
2389
|
-
type context$
|
|
2390
|
-
type context$
|
|
2391
|
-
type context$
|
|
2392
|
-
declare const context$
|
|
2393
|
-
type context$
|
|
2394
|
-
type context$
|
|
2395
|
-
declare const context$
|
|
2396
|
-
type context$
|
|
2397
|
-
type context$
|
|
2398
|
-
type context$
|
|
2399
|
-
type context$
|
|
2400
|
-
type context$
|
|
2401
|
-
type context$
|
|
2402
|
-
type context$
|
|
2403
|
-
type context$
|
|
2404
|
-
type context$
|
|
2405
|
-
declare const context$
|
|
2406
|
-
type context$
|
|
2407
|
-
declare const context$
|
|
2408
|
-
type context$
|
|
2409
|
-
declare const context$
|
|
2410
|
-
type context$
|
|
2411
|
-
type context$
|
|
2412
|
-
type context$
|
|
2413
|
-
type context$
|
|
2414
|
-
type context$
|
|
2415
|
-
type context$
|
|
2416
|
-
type context$
|
|
2417
|
-
type context$
|
|
2418
|
-
type context$
|
|
2419
|
-
type context$
|
|
2420
|
-
type context$
|
|
2421
|
-
declare const context$
|
|
2422
|
-
type context$
|
|
2423
|
-
declare const context$
|
|
2424
|
-
type context$
|
|
2425
|
-
declare const context$
|
|
2426
|
-
type context$
|
|
2427
|
-
type context$
|
|
2428
|
-
declare const context$
|
|
2429
|
-
type context$
|
|
2430
|
-
type context$
|
|
2431
|
-
type context$
|
|
2432
|
-
type context$
|
|
2433
|
-
type context$
|
|
2434
|
-
type context$
|
|
2435
|
-
type context$
|
|
2436
|
-
type context$
|
|
2437
|
-
type context$
|
|
2438
|
-
type context$
|
|
2439
|
-
declare const context$
|
|
2440
|
-
declare const context$
|
|
2441
|
-
declare const context$
|
|
2442
|
-
declare namespace context$
|
|
2443
|
-
export { type context$
|
|
2381
|
+
type context$2_Address = Address;
|
|
2382
|
+
type context$2_AddressTag = AddressTag;
|
|
2383
|
+
declare const context$2_AddressTag: typeof AddressTag;
|
|
2384
|
+
type context$2_AddressWrapper = AddressWrapper;
|
|
2385
|
+
type context$2_AuthenticatorConnection = AuthenticatorConnection;
|
|
2386
|
+
type context$2_Connection = Connection;
|
|
2387
|
+
type context$2_ConnectionTypeOneOf = ConnectionTypeOneOf;
|
|
2388
|
+
type context$2_CustomField = CustomField;
|
|
2389
|
+
type context$2_CustomValue = CustomValue;
|
|
2390
|
+
type context$2_CustomValueValueOneOf = CustomValueValueOneOf;
|
|
2391
|
+
type context$2_EmailTag = EmailTag;
|
|
2392
|
+
declare const context$2_EmailTag: typeof EmailTag;
|
|
2393
|
+
type context$2_Factor = Factor;
|
|
2394
|
+
type context$2_FactorType = FactorType;
|
|
2395
|
+
declare const context$2_FactorType: typeof FactorType;
|
|
2396
|
+
type context$2_Identity = Identity;
|
|
2397
|
+
type context$2_IdentityProfile = IdentityProfile;
|
|
2398
|
+
type context$2_IdpConnection = IdpConnection;
|
|
2399
|
+
type context$2_ListValue = ListValue;
|
|
2400
|
+
type context$2_MapValue = MapValue;
|
|
2401
|
+
type context$2_Metadata = Metadata;
|
|
2402
|
+
type context$2_MfaChallengeData = MfaChallengeData;
|
|
2403
|
+
type context$2_Phone = Phone;
|
|
2404
|
+
type context$2_PhoneTag = PhoneTag;
|
|
2405
|
+
declare const context$2_PhoneTag: typeof PhoneTag;
|
|
2406
|
+
type context$2_PrivacyStatus = PrivacyStatus;
|
|
2407
|
+
declare const context$2_PrivacyStatus: typeof PrivacyStatus;
|
|
2408
|
+
type context$2_Reason = Reason;
|
|
2409
|
+
declare const context$2_Reason: typeof Reason;
|
|
2410
|
+
type context$2_RequireMfaData = RequireMfaData;
|
|
2411
|
+
type context$2_ResendDuringAuthenticationRequest = ResendDuringAuthenticationRequest;
|
|
2412
|
+
type context$2_SecondaryEmail = SecondaryEmail;
|
|
2413
|
+
type context$2_StartOptions = StartOptions;
|
|
2414
|
+
type context$2_StartRequest = StartRequest;
|
|
2415
|
+
type context$2_StartResponse = StartResponse;
|
|
2416
|
+
type context$2_StartResponseNonNullableFields = StartResponseNonNullableFields;
|
|
2417
|
+
type context$2_StateMachineResponse = StateMachineResponse;
|
|
2418
|
+
type context$2_StateMachineResponseNonNullableFields = StateMachineResponseNonNullableFields;
|
|
2419
|
+
type context$2_StateMachineResponseStateDataOneOf = StateMachineResponseStateDataOneOf;
|
|
2420
|
+
type context$2_StateType = StateType;
|
|
2421
|
+
declare const context$2_StateType: typeof StateType;
|
|
2422
|
+
type context$2_Status = Status;
|
|
2423
|
+
declare const context$2_Status: typeof Status;
|
|
2424
|
+
type context$2_StatusName = StatusName;
|
|
2425
|
+
declare const context$2_StatusName: typeof StatusName;
|
|
2426
|
+
type context$2_StatusV2 = StatusV2;
|
|
2427
|
+
type context$2_Target = Target;
|
|
2428
|
+
declare const context$2_Target: typeof Target;
|
|
2429
|
+
type context$2_V1CustomValue = V1CustomValue;
|
|
2430
|
+
type context$2_V1CustomValueValueOneOf = V1CustomValueValueOneOf;
|
|
2431
|
+
type context$2_V1Factor = V1Factor;
|
|
2432
|
+
type context$2_V1ListValue = V1ListValue;
|
|
2433
|
+
type context$2_V1MapValue = V1MapValue;
|
|
2434
|
+
type context$2_VerificationChallenge = VerificationChallenge;
|
|
2435
|
+
type context$2_VerifyDuringAuthenticationOptions = VerifyDuringAuthenticationOptions;
|
|
2436
|
+
type context$2_VerifyDuringAuthenticationRequest = VerifyDuringAuthenticationRequest;
|
|
2437
|
+
type context$2_VerifyRequest = VerifyRequest;
|
|
2438
|
+
type context$2_VerifyResponse = VerifyResponse;
|
|
2439
|
+
declare const context$2_resendDuringAuthentication: typeof resendDuringAuthentication;
|
|
2440
|
+
declare const context$2_start: typeof start;
|
|
2441
|
+
declare const context$2_verifyDuringAuthentication: typeof verifyDuringAuthentication;
|
|
2442
|
+
declare namespace context$2 {
|
|
2443
|
+
export { type context$2_Address as Address, context$2_AddressTag as AddressTag, type context$2_AddressWrapper as AddressWrapper, type context$2_AuthenticatorConnection as AuthenticatorConnection, type context$2_Connection as Connection, type context$2_ConnectionTypeOneOf as ConnectionTypeOneOf, type context$2_CustomField as CustomField, type context$2_CustomValue as CustomValue, type context$2_CustomValueValueOneOf as CustomValueValueOneOf, type Email$1 as Email, context$2_EmailTag as EmailTag, type context$2_Factor as Factor, context$2_FactorType as FactorType, type context$2_Identity as Identity, type context$2_IdentityProfile as IdentityProfile, type context$2_IdpConnection as IdpConnection, type context$2_ListValue as ListValue, type context$2_MapValue as MapValue, type context$2_Metadata as Metadata, type context$2_MfaChallengeData as MfaChallengeData, type context$2_Phone as Phone, context$2_PhoneTag as PhoneTag, context$2_PrivacyStatus as PrivacyStatus, context$2_Reason as Reason, type context$2_RequireMfaData as RequireMfaData, type context$2_ResendDuringAuthenticationRequest as ResendDuringAuthenticationRequest, type context$2_SecondaryEmail as SecondaryEmail, type context$2_StartOptions as StartOptions, type context$2_StartRequest as StartRequest, type context$2_StartResponse as StartResponse, type context$2_StartResponseNonNullableFields as StartResponseNonNullableFields, type context$2_StateMachineResponse as StateMachineResponse, type context$2_StateMachineResponseNonNullableFields as StateMachineResponseNonNullableFields, type context$2_StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOf, context$2_StateType as StateType, context$2_Status as Status, context$2_StatusName as StatusName, type context$2_StatusV2 as StatusV2, context$2_Target as Target, type context$2_V1CustomValue as V1CustomValue, type context$2_V1CustomValueValueOneOf as V1CustomValueValueOneOf, type context$2_V1Factor as V1Factor, type context$2_V1ListValue as V1ListValue, type context$2_V1MapValue as V1MapValue, type context$2_VerificationChallenge as VerificationChallenge, type context$2_VerifyDuringAuthenticationOptions as VerifyDuringAuthenticationOptions, type context$2_VerifyDuringAuthenticationRequest as VerifyDuringAuthenticationRequest, type context$2_VerifyRequest as VerifyRequest, type context$2_VerifyResponse as VerifyResponse, context$2_resendDuringAuthentication as resendDuringAuthentication, context$2_start as start, context$2_verifyDuringAuthentication as verifyDuringAuthentication };
|
|
2444
2444
|
}
|
|
2445
2445
|
|
|
2446
2446
|
interface AccountV2 {
|
|
@@ -2524,9 +2524,9 @@ interface GetUserAccountsRequest {
|
|
|
2524
2524
|
/** the user id that his accounts we query */
|
|
2525
2525
|
userId?: string;
|
|
2526
2526
|
/** Limited to max 20 at a single request */
|
|
2527
|
-
paging?: Paging
|
|
2527
|
+
paging?: Paging;
|
|
2528
2528
|
}
|
|
2529
|
-
interface Paging
|
|
2529
|
+
interface Paging {
|
|
2530
2530
|
/** Number of items to load. */
|
|
2531
2531
|
limit?: number | null;
|
|
2532
2532
|
/** Number of items to skip in the current sort order. */
|
|
@@ -2537,7 +2537,7 @@ interface AccountsResponse {
|
|
|
2537
2537
|
}
|
|
2538
2538
|
interface GetMyUserAccountsRequest {
|
|
2539
2539
|
/** Limited to max 20 at a single request */
|
|
2540
|
-
paging?: Paging
|
|
2540
|
+
paging?: Paging;
|
|
2541
2541
|
}
|
|
2542
2542
|
interface GetAccountRequest {
|
|
2543
2543
|
/** the account id that it's data should be retrieved */
|
|
@@ -2725,7 +2725,7 @@ interface AccountInfo {
|
|
|
2725
2725
|
}
|
|
2726
2726
|
interface GetSubAccountsRequest {
|
|
2727
2727
|
/** Offset-based pagination for the response. Default page size is 20, max page size is 50 */
|
|
2728
|
-
paging?: Paging
|
|
2728
|
+
paging?: Paging;
|
|
2729
2729
|
}
|
|
2730
2730
|
interface GetSubAccountsResponse {
|
|
2731
2731
|
/** The sub accounts of the target account */
|
|
@@ -2752,7 +2752,7 @@ interface ListChildAccountsRequest {
|
|
|
2752
2752
|
* Paging options to limit and offset the number of items.
|
|
2753
2753
|
* Default: 20. Max: 50.
|
|
2754
2754
|
*/
|
|
2755
|
-
paging?: Paging
|
|
2755
|
+
paging?: Paging;
|
|
2756
2756
|
}
|
|
2757
2757
|
interface ListChildAccountsResponse {
|
|
2758
2758
|
/** The requested child accounts. */
|
|
@@ -2785,7 +2785,7 @@ interface ListChildAccountsOptions {
|
|
|
2785
2785
|
* Paging options to limit and offset the number of items.
|
|
2786
2786
|
* Default: 20. Max: 50.
|
|
2787
2787
|
*/
|
|
2788
|
-
paging?: Paging
|
|
2788
|
+
paging?: Paging;
|
|
2789
2789
|
}
|
|
2790
2790
|
|
|
2791
2791
|
declare function createAccount$1(httpClient: HttpClient): CreateAccountSignature;
|
|
@@ -2815,375 +2815,62 @@ interface ListChildAccountsSignature {
|
|
|
2815
2815
|
declare const createAccount: MaybeContext<BuildRESTFunction<typeof createAccount$1> & typeof createAccount$1>;
|
|
2816
2816
|
declare const listChildAccounts: MaybeContext<BuildRESTFunction<typeof listChildAccounts$1> & typeof listChildAccounts$1>;
|
|
2817
2817
|
|
|
2818
|
-
type context$
|
|
2819
|
-
type context$
|
|
2820
|
-
type context$
|
|
2821
|
-
type context$
|
|
2822
|
-
type context$
|
|
2823
|
-
declare const context$
|
|
2824
|
-
type context$
|
|
2825
|
-
type context$
|
|
2826
|
-
type context$
|
|
2827
|
-
declare const context$
|
|
2828
|
-
type context$
|
|
2829
|
-
type context$
|
|
2830
|
-
type context$
|
|
2831
|
-
type context$
|
|
2832
|
-
type context$
|
|
2833
|
-
type context$
|
|
2834
|
-
type context$
|
|
2835
|
-
type context$
|
|
2836
|
-
type context$
|
|
2837
|
-
type context$
|
|
2838
|
-
type context$
|
|
2839
|
-
type context$
|
|
2840
|
-
type context$
|
|
2841
|
-
type context$
|
|
2842
|
-
type context$
|
|
2843
|
-
type context$
|
|
2844
|
-
type context$
|
|
2845
|
-
type context$
|
|
2846
|
-
type context$
|
|
2847
|
-
type context$
|
|
2848
|
-
type context$
|
|
2849
|
-
type context$
|
|
2850
|
-
type context$
|
|
2851
|
-
type context$
|
|
2852
|
-
type context$
|
|
2853
|
-
type context$
|
|
2854
|
-
type context$
|
|
2855
|
-
type context$
|
|
2856
|
-
type context$
|
|
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;
|
|
2818
|
+
type context$1_Account = Account;
|
|
2819
|
+
type context$1_AccountInfo = AccountInfo;
|
|
2820
|
+
type context$1_AccountProperties = AccountProperties;
|
|
2821
|
+
type context$1_AccountResponse = AccountResponse;
|
|
2822
|
+
type context$1_AccountStatus = AccountStatus;
|
|
2823
|
+
declare const context$1_AccountStatus: typeof AccountStatus;
|
|
2824
|
+
type context$1_AccountV2 = AccountV2;
|
|
2825
|
+
type context$1_AccountsResponse = AccountsResponse;
|
|
2826
|
+
type context$1_CoBranding = CoBranding;
|
|
2827
|
+
declare const context$1_CoBranding: typeof CoBranding;
|
|
2828
|
+
type context$1_CreateAccountAndAssignUserRequest = CreateAccountAndAssignUserRequest;
|
|
2829
|
+
type context$1_CreateAccountForMyUserRequest = CreateAccountForMyUserRequest;
|
|
2830
|
+
type context$1_CreateAccountOptions = CreateAccountOptions;
|
|
2831
|
+
type context$1_CreateAccountRequest = CreateAccountRequest;
|
|
2832
|
+
type context$1_CreateAccountResponse = CreateAccountResponse;
|
|
2833
|
+
type context$1_CreateAccountResponseNonNullableFields = CreateAccountResponseNonNullableFields;
|
|
2834
|
+
type context$1_CreateAccountTenantRequest = CreateAccountTenantRequest;
|
|
2835
|
+
type context$1_CreateAccountTenantResponse = CreateAccountTenantResponse;
|
|
2836
|
+
type context$1_DeleteAccountRequest = DeleteAccountRequest;
|
|
2837
|
+
type context$1_Email = Email;
|
|
2838
|
+
type context$1_EmptyResponse = EmptyResponse;
|
|
2839
|
+
type context$1_GetAccountRequest = GetAccountRequest;
|
|
2840
|
+
type context$1_GetAccountsRequest = GetAccountsRequest;
|
|
2841
|
+
type context$1_GetMyAccountRequest = GetMyAccountRequest;
|
|
2842
|
+
type context$1_GetMyUserAccountsRequest = GetMyUserAccountsRequest;
|
|
2843
|
+
type context$1_GetParentAccountInfoRequest = GetParentAccountInfoRequest;
|
|
2844
|
+
type context$1_GetParentAccountInfoResponse = GetParentAccountInfoResponse;
|
|
2845
|
+
type context$1_GetSubAccountsRequest = GetSubAccountsRequest;
|
|
2846
|
+
type context$1_GetSubAccountsResponse = GetSubAccountsResponse;
|
|
2847
|
+
type context$1_GetUserAccountRequest = GetUserAccountRequest;
|
|
2848
|
+
type context$1_GetUserAccountsRequest = GetUserAccountsRequest;
|
|
2849
|
+
type context$1_IsTeamRequest = IsTeamRequest;
|
|
2850
|
+
type context$1_IsTeamResponse = IsTeamResponse;
|
|
2851
|
+
type context$1_ListChildAccountsOptions = ListChildAccountsOptions;
|
|
2852
|
+
type context$1_ListChildAccountsRequest = ListChildAccountsRequest;
|
|
2853
|
+
type context$1_ListChildAccountsResponse = ListChildAccountsResponse;
|
|
2854
|
+
type context$1_ListChildAccountsResponseNonNullableFields = ListChildAccountsResponseNonNullableFields;
|
|
2855
|
+
type context$1_MarkAccountFlagRequest = MarkAccountFlagRequest;
|
|
2856
|
+
type context$1_MarkAccountFlagRequestFlagOneOf = MarkAccountFlagRequestFlagOneOf;
|
|
3162
2857
|
type context$1_Paging = Paging;
|
|
3163
|
-
type context$
|
|
3164
|
-
type context$
|
|
3165
|
-
type context$
|
|
3166
|
-
type context$
|
|
3167
|
-
type context$
|
|
3168
|
-
type context$
|
|
3169
|
-
type context$
|
|
3170
|
-
type context$
|
|
3171
|
-
type context$
|
|
3172
|
-
type context$
|
|
3173
|
-
type context$
|
|
3174
|
-
type context$
|
|
3175
|
-
|
|
3176
|
-
|
|
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;
|
|
2858
|
+
type context$1_PagingMetadata = PagingMetadata;
|
|
2859
|
+
type context$1_RemoveParent = RemoveParent;
|
|
2860
|
+
type context$1_SetIsReadOnlyAccountRequest = SetIsReadOnlyAccountRequest;
|
|
2861
|
+
type context$1_SsoIdentity = SsoIdentity;
|
|
2862
|
+
type context$1_SubAccountInfo = SubAccountInfo;
|
|
2863
|
+
type context$1_UpdateAccountRequest = UpdateAccountRequest;
|
|
2864
|
+
type context$1_UpdateParentAccountRequest = UpdateParentAccountRequest;
|
|
2865
|
+
type context$1_UpdateParentAccountRequestUpdateOneOf = UpdateParentAccountRequestUpdateOneOf;
|
|
2866
|
+
type context$1_UpdateParentAccountResponse = UpdateParentAccountResponse;
|
|
2867
|
+
type context$1_UpdateSlugRequest = UpdateSlugRequest;
|
|
2868
|
+
type context$1_User = User;
|
|
2869
|
+
type context$1_UserDetails = UserDetails;
|
|
2870
|
+
declare const context$1_createAccount: typeof createAccount;
|
|
2871
|
+
declare const context$1_listChildAccounts: typeof listChildAccounts;
|
|
3185
2872
|
declare namespace context$1 {
|
|
3186
|
-
export { type context$
|
|
2873
|
+
export { type context$1_Account as Account, type context$1_AccountInfo as AccountInfo, type context$1_AccountProperties as AccountProperties, type context$1_AccountResponse as AccountResponse, context$1_AccountStatus as AccountStatus, type context$1_AccountV2 as AccountV2, type context$1_AccountsResponse as AccountsResponse, context$1_CoBranding as CoBranding, type context$1_CreateAccountAndAssignUserRequest as CreateAccountAndAssignUserRequest, type context$1_CreateAccountForMyUserRequest as CreateAccountForMyUserRequest, type context$1_CreateAccountOptions as CreateAccountOptions, type context$1_CreateAccountRequest as CreateAccountRequest, type context$1_CreateAccountResponse as CreateAccountResponse, type context$1_CreateAccountResponseNonNullableFields as CreateAccountResponseNonNullableFields, type context$1_CreateAccountTenantRequest as CreateAccountTenantRequest, type context$1_CreateAccountTenantResponse as CreateAccountTenantResponse, type context$1_DeleteAccountRequest as DeleteAccountRequest, type context$1_Email as Email, type context$1_EmptyResponse as EmptyResponse, type context$1_GetAccountRequest as GetAccountRequest, type context$1_GetAccountsRequest as GetAccountsRequest, type context$1_GetMyAccountRequest as GetMyAccountRequest, type context$1_GetMyUserAccountsRequest as GetMyUserAccountsRequest, type context$1_GetParentAccountInfoRequest as GetParentAccountInfoRequest, type context$1_GetParentAccountInfoResponse as GetParentAccountInfoResponse, type context$1_GetSubAccountsRequest as GetSubAccountsRequest, type context$1_GetSubAccountsResponse as GetSubAccountsResponse, type context$1_GetUserAccountRequest as GetUserAccountRequest, type context$1_GetUserAccountsRequest as GetUserAccountsRequest, type context$1_IsTeamRequest as IsTeamRequest, type context$1_IsTeamResponse as IsTeamResponse, type context$1_ListChildAccountsOptions as ListChildAccountsOptions, type context$1_ListChildAccountsRequest as ListChildAccountsRequest, type context$1_ListChildAccountsResponse as ListChildAccountsResponse, type context$1_ListChildAccountsResponseNonNullableFields as ListChildAccountsResponseNonNullableFields, type context$1_MarkAccountFlagRequest as MarkAccountFlagRequest, type context$1_MarkAccountFlagRequestFlagOneOf as MarkAccountFlagRequestFlagOneOf, type context$1_Paging as Paging, type context$1_PagingMetadata as PagingMetadata, type context$1_RemoveParent as RemoveParent, type context$1_SetIsReadOnlyAccountRequest as SetIsReadOnlyAccountRequest, type context$1_SsoIdentity as SsoIdentity, type context$1_SubAccountInfo as SubAccountInfo, type context$1_UpdateAccountRequest as UpdateAccountRequest, type context$1_UpdateParentAccountRequest as UpdateParentAccountRequest, type context$1_UpdateParentAccountRequestUpdateOneOf as UpdateParentAccountRequestUpdateOneOf, type context$1_UpdateParentAccountResponse as UpdateParentAccountResponse, type context$1_UpdateSlugRequest as UpdateSlugRequest, type context$1_User as User, type context$1_UserDetails as UserDetails, context$1_createAccount as createAccount, context$1_listChildAccounts as listChildAccounts };
|
|
3187
2874
|
}
|
|
3188
2875
|
|
|
3189
2876
|
interface RefreshToken {
|
|
@@ -3524,4 +3211,4 @@ declare namespace context {
|
|
|
3524
3211
|
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
3212
|
}
|
|
3526
3213
|
|
|
3527
|
-
export { context$
|
|
3214
|
+
export { context$1 as account, context$4 as authentication, context as oauth, context$3 as recovery, context$2 as verification };
|