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