@wix/identity 1.0.93 → 1.0.95
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 +1 -0
- package/build/cjs/context.js +2 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +2 -1
- package/build/cjs/index.js +3 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +1 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +2 -1
- package/build/es/index.js +2 -1
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +4 -3
- package/type-bundles/context.bundle.d.ts +1608 -411
- package/type-bundles/index.bundle.d.ts +1608 -411
- package/type-bundles/meta.bundle.d.ts +857 -92
|
@@ -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$8_Authentication = Authentication;
|
|
1242
|
+
type context$8_CallVerifyData = CallVerifyData;
|
|
1243
|
+
type context$8_CaptchaToken = CaptchaToken;
|
|
1244
|
+
type context$8_CaptchaTokenTokenOneOf = CaptchaTokenTokenOneOf;
|
|
1245
|
+
type context$8_ChangePasswordRequest = ChangePasswordRequest;
|
|
1246
|
+
type context$8_ChangePasswordResponse = ChangePasswordResponse;
|
|
1247
|
+
type context$8_EmailVerifyData = EmailVerifyData;
|
|
1248
|
+
type context$8_LoginCallbackOptions = LoginCallbackOptions;
|
|
1249
|
+
type context$8_LoginCallbackRequest = LoginCallbackRequest;
|
|
1250
|
+
type context$8_LoginId = LoginId;
|
|
1251
|
+
type context$8_LoginIdTypeOneOf = LoginIdTypeOneOf;
|
|
1252
|
+
type context$8_LoginV2Options = LoginV2Options;
|
|
1253
|
+
type context$8_LoginV2Request = LoginV2Request;
|
|
1254
|
+
type context$8_LoginWithIdpConnectionIdentifiers = LoginWithIdpConnectionIdentifiers;
|
|
1255
|
+
type context$8_LoginWithIdpConnectionOptions = LoginWithIdpConnectionOptions;
|
|
1256
|
+
type context$8_LoginWithIdpConnectionRequest = LoginWithIdpConnectionRequest;
|
|
1257
|
+
type context$8_LoginWithIdpConnectionTokenParamsOptions = LoginWithIdpConnectionTokenParamsOptions;
|
|
1258
|
+
type context$8_LoginWithIdpConnectionTokenParamsRequest = LoginWithIdpConnectionTokenParamsRequest;
|
|
1259
|
+
type context$8_LogoutOptions = LogoutOptions;
|
|
1260
|
+
type context$8_LogoutRequest = LogoutRequest;
|
|
1261
|
+
type context$8_RegisterV2Options = RegisterV2Options;
|
|
1262
|
+
type context$8_RegisterV2Request = RegisterV2Request;
|
|
1263
|
+
type context$8_SignOnOptions = SignOnOptions;
|
|
1264
|
+
type context$8_SignOnRequest = SignOnRequest;
|
|
1265
|
+
type context$8_SignOnResponse = SignOnResponse;
|
|
1266
|
+
type context$8_SignOnResponseNonNullableFields = SignOnResponseNonNullableFields;
|
|
1267
|
+
type context$8_SmsVerifyData = SmsVerifyData;
|
|
1268
|
+
type context$8_TotpVerifyData = TotpVerifyData;
|
|
1269
|
+
type context$8_VerifyOptions = VerifyOptions;
|
|
1270
|
+
type context$8_VerifyRequestFactorDataOneOf = VerifyRequestFactorDataOneOf;
|
|
1271
|
+
declare const context$8_changePassword: typeof changePassword;
|
|
1272
|
+
declare const context$8_loginCallback: typeof loginCallback;
|
|
1273
|
+
declare const context$8_loginV2: typeof loginV2;
|
|
1274
|
+
declare const context$8_loginWithIdpConnection: typeof loginWithIdpConnection;
|
|
1275
|
+
declare const context$8_loginWithIdpConnectionTokenParams: typeof loginWithIdpConnectionTokenParams;
|
|
1276
|
+
declare const context$8_logout: typeof logout;
|
|
1277
|
+
declare const context$8_registerV2: typeof registerV2;
|
|
1278
|
+
declare const context$8_signOn: typeof signOn;
|
|
1279
|
+
declare const context$8_verify: typeof verify;
|
|
1280
|
+
declare namespace context$8 {
|
|
1281
|
+
export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type context$8_Authentication as Authentication, type AuthenticatorConnection$2 as AuthenticatorConnection, type context$8_CallVerifyData as CallVerifyData, type context$8_CaptchaToken as CaptchaToken, type context$8_CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOf, type context$8_ChangePasswordRequest as ChangePasswordRequest, type context$8_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$8_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$8_LoginCallbackOptions as LoginCallbackOptions, type context$8_LoginCallbackRequest as LoginCallbackRequest, type context$8_LoginId as LoginId, type context$8_LoginIdTypeOneOf as LoginIdTypeOneOf, type context$8_LoginV2Options as LoginV2Options, type context$8_LoginV2Request as LoginV2Request, type context$8_LoginWithIdpConnectionIdentifiers as LoginWithIdpConnectionIdentifiers, type context$8_LoginWithIdpConnectionOptions as LoginWithIdpConnectionOptions, type context$8_LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequest, type context$8_LoginWithIdpConnectionTokenParamsOptions as LoginWithIdpConnectionTokenParamsOptions, type context$8_LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequest, type context$8_LogoutOptions as LogoutOptions, type context$8_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$8_RegisterV2Options as RegisterV2Options, type context$8_RegisterV2Request as RegisterV2Request, type RequireMfaData$2 as RequireMfaData, type SecondaryEmail$2 as SecondaryEmail, type context$8_SignOnOptions as SignOnOptions, type context$8_SignOnRequest as SignOnRequest, type context$8_SignOnResponse as SignOnResponse, type context$8_SignOnResponseNonNullableFields as SignOnResponseNonNullableFields, type context$8_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$8_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$8_VerifyOptions as VerifyOptions, type VerifyRequest$1 as VerifyRequest, type context$8_VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOf, context$8_changePassword as changePassword, context$8_loginCallback as loginCallback, context$8_loginV2 as loginV2, context$8_loginWithIdpConnection as loginWithIdpConnection, context$8_loginWithIdpConnectionTokenParams as loginWithIdpConnectionTokenParams, context$8_logout as logout, context$8_registerV2 as registerV2, context$8_signOn as signOn, context$8_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$7_EmailOptions = EmailOptions;
|
|
1836
|
+
type context$7_RecoverOptions = RecoverOptions;
|
|
1837
|
+
type context$7_RecoverRequest = RecoverRequest;
|
|
1838
|
+
type context$7_RecoveryToken = RecoveryToken;
|
|
1839
|
+
type context$7_Redirect = Redirect;
|
|
1840
|
+
type context$7_SendActivationEmailOptions = SendActivationEmailOptions;
|
|
1841
|
+
type context$7_SendActivationEmailRequest = SendActivationEmailRequest;
|
|
1842
|
+
type context$7_SendActivationEmailResponse = SendActivationEmailResponse;
|
|
1843
|
+
type context$7_SendRecoveryEmailOptions = SendRecoveryEmailOptions;
|
|
1844
|
+
type context$7_SendRecoveryEmailRequest = SendRecoveryEmailRequest;
|
|
1845
|
+
type context$7_SendRecoveryEmailResponse = SendRecoveryEmailResponse;
|
|
1846
|
+
type context$7_TenantType = TenantType;
|
|
1847
|
+
declare const context$7_TenantType: typeof TenantType;
|
|
1848
|
+
declare const context$7_recover: typeof recover;
|
|
1849
|
+
declare const context$7_sendActivationEmail: typeof sendActivationEmail;
|
|
1850
|
+
declare const context$7_sendRecoveryEmail: typeof sendRecoveryEmail;
|
|
1851
|
+
declare namespace context$7 {
|
|
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$7_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$7_RecoverOptions as RecoverOptions, type context$7_RecoverRequest as RecoverRequest, type context$7_RecoveryToken as RecoveryToken, type context$7_Redirect as Redirect, type RequireMfaData$1 as RequireMfaData, type SecondaryEmail$1 as SecondaryEmail, type context$7_SendActivationEmailOptions as SendActivationEmailOptions, type context$7_SendActivationEmailRequest as SendActivationEmailRequest, type context$7_SendActivationEmailResponse as SendActivationEmailResponse, type context$7_SendRecoveryEmailOptions as SendRecoveryEmailOptions, type context$7_SendRecoveryEmailRequest as SendRecoveryEmailRequest, type context$7_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$7_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$7_recover as recover, context$7_sendActivationEmail as sendActivationEmail, context$7_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$6_Address = Address;
|
|
2382
|
+
type context$6_AddressTag = AddressTag;
|
|
2383
|
+
declare const context$6_AddressTag: typeof AddressTag;
|
|
2384
|
+
type context$6_AddressWrapper = AddressWrapper;
|
|
2385
|
+
type context$6_AuthenticatorConnection = AuthenticatorConnection;
|
|
2386
|
+
type context$6_Connection = Connection;
|
|
2387
|
+
type context$6_ConnectionTypeOneOf = ConnectionTypeOneOf;
|
|
2388
|
+
type context$6_CustomField = CustomField;
|
|
2389
|
+
type context$6_CustomValue = CustomValue;
|
|
2390
|
+
type context$6_CustomValueValueOneOf = CustomValueValueOneOf;
|
|
2391
|
+
type context$6_EmailTag = EmailTag;
|
|
2392
|
+
declare const context$6_EmailTag: typeof EmailTag;
|
|
2393
|
+
type context$6_Factor = Factor;
|
|
2394
|
+
type context$6_FactorType = FactorType;
|
|
2395
|
+
declare const context$6_FactorType: typeof FactorType;
|
|
2396
|
+
type context$6_Identity = Identity;
|
|
2397
|
+
type context$6_IdentityProfile = IdentityProfile;
|
|
2398
|
+
type context$6_IdpConnection = IdpConnection;
|
|
2399
|
+
type context$6_ListValue = ListValue;
|
|
2400
|
+
type context$6_MapValue = MapValue;
|
|
2401
|
+
type context$6_Metadata = Metadata;
|
|
2402
|
+
type context$6_MfaChallengeData = MfaChallengeData;
|
|
2403
|
+
type context$6_Phone = Phone;
|
|
2404
|
+
type context$6_PhoneTag = PhoneTag;
|
|
2405
|
+
declare const context$6_PhoneTag: typeof PhoneTag;
|
|
2406
|
+
type context$6_PrivacyStatus = PrivacyStatus;
|
|
2407
|
+
declare const context$6_PrivacyStatus: typeof PrivacyStatus;
|
|
2408
|
+
type context$6_Reason = Reason;
|
|
2409
|
+
declare const context$6_Reason: typeof Reason;
|
|
2410
|
+
type context$6_RequireMfaData = RequireMfaData;
|
|
2411
|
+
type context$6_ResendDuringAuthenticationRequest = ResendDuringAuthenticationRequest;
|
|
2412
|
+
type context$6_SecondaryEmail = SecondaryEmail;
|
|
2413
|
+
type context$6_StartOptions = StartOptions;
|
|
2414
|
+
type context$6_StartRequest = StartRequest;
|
|
2415
|
+
type context$6_StartResponse = StartResponse;
|
|
2416
|
+
type context$6_StartResponseNonNullableFields = StartResponseNonNullableFields;
|
|
2417
|
+
type context$6_StateMachineResponse = StateMachineResponse;
|
|
2418
|
+
type context$6_StateMachineResponseNonNullableFields = StateMachineResponseNonNullableFields;
|
|
2419
|
+
type context$6_StateMachineResponseStateDataOneOf = StateMachineResponseStateDataOneOf;
|
|
2420
|
+
type context$6_StateType = StateType;
|
|
2421
|
+
declare const context$6_StateType: typeof StateType;
|
|
2422
|
+
type context$6_Status = Status;
|
|
2423
|
+
declare const context$6_Status: typeof Status;
|
|
2424
|
+
type context$6_StatusName = StatusName;
|
|
2425
|
+
declare const context$6_StatusName: typeof StatusName;
|
|
2426
|
+
type context$6_StatusV2 = StatusV2;
|
|
2427
|
+
type context$6_Target = Target;
|
|
2428
|
+
declare const context$6_Target: typeof Target;
|
|
2429
|
+
type context$6_V1CustomValue = V1CustomValue;
|
|
2430
|
+
type context$6_V1CustomValueValueOneOf = V1CustomValueValueOneOf;
|
|
2431
|
+
type context$6_V1Factor = V1Factor;
|
|
2432
|
+
type context$6_V1ListValue = V1ListValue;
|
|
2433
|
+
type context$6_V1MapValue = V1MapValue;
|
|
2434
|
+
type context$6_VerificationChallenge = VerificationChallenge;
|
|
2435
|
+
type context$6_VerifyDuringAuthenticationOptions = VerifyDuringAuthenticationOptions;
|
|
2436
|
+
type context$6_VerifyDuringAuthenticationRequest = VerifyDuringAuthenticationRequest;
|
|
2437
|
+
type context$6_VerifyRequest = VerifyRequest;
|
|
2438
|
+
type context$6_VerifyResponse = VerifyResponse;
|
|
2439
|
+
declare const context$6_resendDuringAuthentication: typeof resendDuringAuthentication;
|
|
2440
|
+
declare const context$6_start: typeof start;
|
|
2441
|
+
declare const context$6_verifyDuringAuthentication: typeof verifyDuringAuthentication;
|
|
2442
|
+
declare namespace context$6 {
|
|
2443
|
+
export { type context$6_Address as Address, context$6_AddressTag as AddressTag, type context$6_AddressWrapper as AddressWrapper, type context$6_AuthenticatorConnection as AuthenticatorConnection, type context$6_Connection as Connection, type context$6_ConnectionTypeOneOf as ConnectionTypeOneOf, type context$6_CustomField as CustomField, type context$6_CustomValue as CustomValue, type context$6_CustomValueValueOneOf as CustomValueValueOneOf, type Email$1 as Email, context$6_EmailTag as EmailTag, type context$6_Factor as Factor, context$6_FactorType as FactorType, type context$6_Identity as Identity, type context$6_IdentityProfile as IdentityProfile, type context$6_IdpConnection as IdpConnection, type context$6_ListValue as ListValue, type context$6_MapValue as MapValue, type context$6_Metadata as Metadata, type context$6_MfaChallengeData as MfaChallengeData, type context$6_Phone as Phone, context$6_PhoneTag as PhoneTag, context$6_PrivacyStatus as PrivacyStatus, context$6_Reason as Reason, type context$6_RequireMfaData as RequireMfaData, type context$6_ResendDuringAuthenticationRequest as ResendDuringAuthenticationRequest, type context$6_SecondaryEmail as SecondaryEmail, type context$6_StartOptions as StartOptions, type context$6_StartRequest as StartRequest, type context$6_StartResponse as StartResponse, type context$6_StartResponseNonNullableFields as StartResponseNonNullableFields, type context$6_StateMachineResponse as StateMachineResponse, type context$6_StateMachineResponseNonNullableFields as StateMachineResponseNonNullableFields, type context$6_StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOf, context$6_StateType as StateType, context$6_Status as Status, context$6_StatusName as StatusName, type context$6_StatusV2 as StatusV2, context$6_Target as Target, type context$6_V1CustomValue as V1CustomValue, type context$6_V1CustomValueValueOneOf as V1CustomValueValueOneOf, type context$6_V1Factor as V1Factor, type context$6_V1ListValue as V1ListValue, type context$6_V1MapValue as V1MapValue, type context$6_VerificationChallenge as VerificationChallenge, type context$6_VerifyDuringAuthenticationOptions as VerifyDuringAuthenticationOptions, type context$6_VerifyDuringAuthenticationRequest as VerifyDuringAuthenticationRequest, type context$6_VerifyRequest as VerifyRequest, type context$6_VerifyResponse as VerifyResponse, context$6_resendDuringAuthentication as resendDuringAuthentication, context$6_start as start, context$6_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$2;
|
|
2528
2528
|
}
|
|
2529
|
-
interface Paging$
|
|
2529
|
+
interface Paging$2 {
|
|
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$2;
|
|
2541
2541
|
}
|
|
2542
2542
|
interface GetAccountRequest {
|
|
2543
2543
|
/** the account id that it's data should be retrieved */
|
|
@@ -2554,7 +2554,7 @@ interface GetAccountsRequest {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
interface CreateAccountRequest {
|
|
2556
2556
|
/** The user to create under the new account, with the roles defined in `roles`. */
|
|
2557
|
-
user: User$
|
|
2557
|
+
user: User$2;
|
|
2558
2558
|
/**
|
|
2559
2559
|
* Roles to be assigned to the user in the new account. To retrieve all available roles, call Get Roles Info in the Users API.
|
|
2560
2560
|
* Default: OWNER.
|
|
@@ -2562,7 +2562,7 @@ interface CreateAccountRequest {
|
|
|
2562
2562
|
roles?: string[] | null;
|
|
2563
2563
|
}
|
|
2564
2564
|
/** A User to be created under an implicitly provided accountId: must have a unique email. */
|
|
2565
|
-
interface User$
|
|
2565
|
+
interface User$2 {
|
|
2566
2566
|
/** User's unique email address details. Required. */
|
|
2567
2567
|
email?: Email;
|
|
2568
2568
|
/** User's single sign on identity, when the user is identified via SSO authentication response token params, as specified by [OpenID Connect](https://openid.net/developers/how-connect-works/) (aka. OIDC) protocol. */
|
|
@@ -2715,9 +2715,9 @@ interface GetParentAccountInfoRequest {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
interface GetParentAccountInfoResponse {
|
|
2717
2717
|
/** The info of the parent account, if the account has a parent */
|
|
2718
|
-
parentAccountInfo?: AccountInfo$
|
|
2718
|
+
parentAccountInfo?: AccountInfo$2;
|
|
2719
2719
|
}
|
|
2720
|
-
interface AccountInfo$
|
|
2720
|
+
interface AccountInfo$2 {
|
|
2721
2721
|
/** The name of the account */
|
|
2722
2722
|
name?: string | null;
|
|
2723
2723
|
/** The url of the image of the account */
|
|
@@ -2725,7 +2725,7 @@ interface AccountInfo$1 {
|
|
|
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$2;
|
|
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$2;
|
|
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$2;
|
|
2789
2789
|
}
|
|
2790
2790
|
|
|
2791
2791
|
declare function createAccount$1(httpClient: HttpClient): CreateAccountSignature;
|
|
@@ -2798,7 +2798,7 @@ interface CreateAccountSignature {
|
|
|
2798
2798
|
* @param - The user to create under the new account, with the roles defined in `roles`.
|
|
2799
2799
|
* @param - Filter options.
|
|
2800
2800
|
*/
|
|
2801
|
-
(user: User$
|
|
2801
|
+
(user: User$2, options?: CreateAccountOptions | undefined): Promise<CreateAccountResponse & CreateAccountResponseNonNullableFields>;
|
|
2802
2802
|
}
|
|
2803
2803
|
declare function listChildAccounts$1(httpClient: HttpClient): ListChildAccountsSignature;
|
|
2804
2804
|
interface ListChildAccountsSignature {
|
|
@@ -2815,62 +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
|
-
declare const context$
|
|
2823
|
-
type context$
|
|
2824
|
-
type context$
|
|
2825
|
-
type context$
|
|
2826
|
-
declare const context$
|
|
2827
|
-
type 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$
|
|
2858
|
-
type context$
|
|
2859
|
-
type context$
|
|
2860
|
-
type context$
|
|
2861
|
-
type context$
|
|
2862
|
-
type context$
|
|
2863
|
-
type context$
|
|
2864
|
-
type context$
|
|
2865
|
-
type context$
|
|
2866
|
-
type context$
|
|
2867
|
-
declare const context$
|
|
2868
|
-
declare const context$
|
|
2869
|
-
declare namespace context$
|
|
2870
|
-
export { type context$
|
|
2818
|
+
type context$5_Account = Account;
|
|
2819
|
+
type context$5_AccountProperties = AccountProperties;
|
|
2820
|
+
type context$5_AccountResponse = AccountResponse;
|
|
2821
|
+
type context$5_AccountStatus = AccountStatus;
|
|
2822
|
+
declare const context$5_AccountStatus: typeof AccountStatus;
|
|
2823
|
+
type context$5_AccountV2 = AccountV2;
|
|
2824
|
+
type context$5_AccountsResponse = AccountsResponse;
|
|
2825
|
+
type context$5_CoBranding = CoBranding;
|
|
2826
|
+
declare const context$5_CoBranding: typeof CoBranding;
|
|
2827
|
+
type context$5_CreateAccountAndAssignUserRequest = CreateAccountAndAssignUserRequest;
|
|
2828
|
+
type context$5_CreateAccountForMyUserRequest = CreateAccountForMyUserRequest;
|
|
2829
|
+
type context$5_CreateAccountOptions = CreateAccountOptions;
|
|
2830
|
+
type context$5_CreateAccountRequest = CreateAccountRequest;
|
|
2831
|
+
type context$5_CreateAccountResponse = CreateAccountResponse;
|
|
2832
|
+
type context$5_CreateAccountResponseNonNullableFields = CreateAccountResponseNonNullableFields;
|
|
2833
|
+
type context$5_CreateAccountTenantRequest = CreateAccountTenantRequest;
|
|
2834
|
+
type context$5_CreateAccountTenantResponse = CreateAccountTenantResponse;
|
|
2835
|
+
type context$5_DeleteAccountRequest = DeleteAccountRequest;
|
|
2836
|
+
type context$5_Email = Email;
|
|
2837
|
+
type context$5_EmptyResponse = EmptyResponse;
|
|
2838
|
+
type context$5_GetAccountRequest = GetAccountRequest;
|
|
2839
|
+
type context$5_GetAccountsRequest = GetAccountsRequest;
|
|
2840
|
+
type context$5_GetMyAccountRequest = GetMyAccountRequest;
|
|
2841
|
+
type context$5_GetMyUserAccountsRequest = GetMyUserAccountsRequest;
|
|
2842
|
+
type context$5_GetParentAccountInfoRequest = GetParentAccountInfoRequest;
|
|
2843
|
+
type context$5_GetParentAccountInfoResponse = GetParentAccountInfoResponse;
|
|
2844
|
+
type context$5_GetSubAccountsRequest = GetSubAccountsRequest;
|
|
2845
|
+
type context$5_GetSubAccountsResponse = GetSubAccountsResponse;
|
|
2846
|
+
type context$5_GetUserAccountRequest = GetUserAccountRequest;
|
|
2847
|
+
type context$5_GetUserAccountsRequest = GetUserAccountsRequest;
|
|
2848
|
+
type context$5_IsTeamRequest = IsTeamRequest;
|
|
2849
|
+
type context$5_IsTeamResponse = IsTeamResponse;
|
|
2850
|
+
type context$5_ListChildAccountsOptions = ListChildAccountsOptions;
|
|
2851
|
+
type context$5_ListChildAccountsRequest = ListChildAccountsRequest;
|
|
2852
|
+
type context$5_ListChildAccountsResponse = ListChildAccountsResponse;
|
|
2853
|
+
type context$5_ListChildAccountsResponseNonNullableFields = ListChildAccountsResponseNonNullableFields;
|
|
2854
|
+
type context$5_MarkAccountFlagRequest = MarkAccountFlagRequest;
|
|
2855
|
+
type context$5_MarkAccountFlagRequestFlagOneOf = MarkAccountFlagRequestFlagOneOf;
|
|
2856
|
+
type context$5_PagingMetadata = PagingMetadata;
|
|
2857
|
+
type context$5_RemoveParent = RemoveParent;
|
|
2858
|
+
type context$5_SetIsReadOnlyAccountRequest = SetIsReadOnlyAccountRequest;
|
|
2859
|
+
type context$5_SsoIdentity = SsoIdentity;
|
|
2860
|
+
type context$5_SubAccountInfo = SubAccountInfo;
|
|
2861
|
+
type context$5_UpdateAccountRequest = UpdateAccountRequest;
|
|
2862
|
+
type context$5_UpdateParentAccountRequest = UpdateParentAccountRequest;
|
|
2863
|
+
type context$5_UpdateParentAccountRequestUpdateOneOf = UpdateParentAccountRequestUpdateOneOf;
|
|
2864
|
+
type context$5_UpdateParentAccountResponse = UpdateParentAccountResponse;
|
|
2865
|
+
type context$5_UpdateSlugRequest = UpdateSlugRequest;
|
|
2866
|
+
type context$5_UserDetails = UserDetails;
|
|
2867
|
+
declare const context$5_createAccount: typeof createAccount;
|
|
2868
|
+
declare const context$5_listChildAccounts: typeof listChildAccounts;
|
|
2869
|
+
declare namespace context$5 {
|
|
2870
|
+
export { type context$5_Account as Account, type AccountInfo$2 as AccountInfo, type context$5_AccountProperties as AccountProperties, type context$5_AccountResponse as AccountResponse, context$5_AccountStatus as AccountStatus, type context$5_AccountV2 as AccountV2, type context$5_AccountsResponse as AccountsResponse, context$5_CoBranding as CoBranding, type context$5_CreateAccountAndAssignUserRequest as CreateAccountAndAssignUserRequest, type context$5_CreateAccountForMyUserRequest as CreateAccountForMyUserRequest, type context$5_CreateAccountOptions as CreateAccountOptions, type context$5_CreateAccountRequest as CreateAccountRequest, type context$5_CreateAccountResponse as CreateAccountResponse, type context$5_CreateAccountResponseNonNullableFields as CreateAccountResponseNonNullableFields, type context$5_CreateAccountTenantRequest as CreateAccountTenantRequest, type context$5_CreateAccountTenantResponse as CreateAccountTenantResponse, type context$5_DeleteAccountRequest as DeleteAccountRequest, type context$5_Email as Email, type context$5_EmptyResponse as EmptyResponse, type context$5_GetAccountRequest as GetAccountRequest, type context$5_GetAccountsRequest as GetAccountsRequest, type context$5_GetMyAccountRequest as GetMyAccountRequest, type context$5_GetMyUserAccountsRequest as GetMyUserAccountsRequest, type context$5_GetParentAccountInfoRequest as GetParentAccountInfoRequest, type context$5_GetParentAccountInfoResponse as GetParentAccountInfoResponse, type context$5_GetSubAccountsRequest as GetSubAccountsRequest, type context$5_GetSubAccountsResponse as GetSubAccountsResponse, type context$5_GetUserAccountRequest as GetUserAccountRequest, type context$5_GetUserAccountsRequest as GetUserAccountsRequest, type context$5_IsTeamRequest as IsTeamRequest, type context$5_IsTeamResponse as IsTeamResponse, type context$5_ListChildAccountsOptions as ListChildAccountsOptions, type context$5_ListChildAccountsRequest as ListChildAccountsRequest, type context$5_ListChildAccountsResponse as ListChildAccountsResponse, type context$5_ListChildAccountsResponseNonNullableFields as ListChildAccountsResponseNonNullableFields, type context$5_MarkAccountFlagRequest as MarkAccountFlagRequest, type context$5_MarkAccountFlagRequestFlagOneOf as MarkAccountFlagRequestFlagOneOf, type Paging$2 as Paging, type context$5_PagingMetadata as PagingMetadata, type context$5_RemoveParent as RemoveParent, type context$5_SetIsReadOnlyAccountRequest as SetIsReadOnlyAccountRequest, type context$5_SsoIdentity as SsoIdentity, type context$5_SubAccountInfo as SubAccountInfo, type context$5_UpdateAccountRequest as UpdateAccountRequest, type context$5_UpdateParentAccountRequest as UpdateParentAccountRequest, type context$5_UpdateParentAccountRequestUpdateOneOf as UpdateParentAccountRequestUpdateOneOf, type context$5_UpdateParentAccountResponse as UpdateParentAccountResponse, type context$5_UpdateSlugRequest as UpdateSlugRequest, type User$2 as User, type context$5_UserDetails as UserDetails, context$5_createAccount as createAccount, context$5_listChildAccounts as listChildAccounts };
|
|
2871
2871
|
}
|
|
2872
2872
|
|
|
2873
|
-
interface AccountInvite {
|
|
2873
|
+
interface AccountInvite$1 {
|
|
2874
2874
|
/**
|
|
2875
2875
|
* Invite ID.
|
|
2876
2876
|
* @readonly
|
|
@@ -2904,7 +2904,7 @@ interface AccountInvite {
|
|
|
2904
2904
|
* - **Declined:** The user has declined the invite.
|
|
2905
2905
|
* - **Expired:** The invite has expired without being accepted.
|
|
2906
2906
|
*/
|
|
2907
|
-
status?: InviteStatus$
|
|
2907
|
+
status?: InviteStatus$3;
|
|
2908
2908
|
/** Link to accept the invite. */
|
|
2909
2909
|
acceptLink?: string;
|
|
2910
2910
|
/**
|
|
@@ -2924,166 +2924,166 @@ interface AccountInvite {
|
|
|
2924
2924
|
/** Date the invite was last updated. */
|
|
2925
2925
|
dateUpdated?: Date | null;
|
|
2926
2926
|
/** Assets the users are invited to join. */
|
|
2927
|
-
assignments?: InviteResourceAssignment[];
|
|
2927
|
+
assignments?: InviteResourceAssignment$1[];
|
|
2928
2928
|
/** Invite expiration date. */
|
|
2929
2929
|
expirationDate?: Date | null;
|
|
2930
2930
|
}
|
|
2931
2931
|
/** Invite status stating whether the invite was accepted, waiting to be accepted, deleted etc.. */
|
|
2932
|
-
declare enum InviteStatus$
|
|
2932
|
+
declare enum InviteStatus$3 {
|
|
2933
2933
|
Pending = "Pending",
|
|
2934
2934
|
Used = "Used",
|
|
2935
2935
|
Deleted = "Deleted",
|
|
2936
2936
|
Declined = "Declined",
|
|
2937
2937
|
Expired = "Expired"
|
|
2938
2938
|
}
|
|
2939
|
-
interface InviteResourceAssignment {
|
|
2939
|
+
interface InviteResourceAssignment$1 {
|
|
2940
2940
|
/** Role ID. */
|
|
2941
2941
|
policyId?: string;
|
|
2942
2942
|
/** Resources the user will be able to access. */
|
|
2943
|
-
assignments?: InviteAssignment[];
|
|
2943
|
+
assignments?: InviteAssignment$1[];
|
|
2944
2944
|
}
|
|
2945
|
-
interface InviteAssignment {
|
|
2945
|
+
interface InviteAssignment$1 {
|
|
2946
2946
|
/** Full name of resource to be assigned. */
|
|
2947
|
-
fullNameResource?: FullNameResource;
|
|
2947
|
+
fullNameResource?: FullNameResource$1;
|
|
2948
2948
|
}
|
|
2949
|
-
interface FullNameResource extends FullNameResourceResourceContextOneOf {
|
|
2949
|
+
interface FullNameResource$1 extends FullNameResourceResourceContextOneOf$1 {
|
|
2950
2950
|
/** Specific site details. */
|
|
2951
|
-
siteContext?: SiteResourceContext;
|
|
2951
|
+
siteContext?: SiteResourceContext$1;
|
|
2952
2952
|
/** Specific account details. */
|
|
2953
|
-
accountContext?: AccountResourceContext;
|
|
2953
|
+
accountContext?: AccountResourceContext$1;
|
|
2954
2954
|
}
|
|
2955
2955
|
/** @oneof */
|
|
2956
|
-
interface FullNameResourceResourceContextOneOf {
|
|
2956
|
+
interface FullNameResourceResourceContextOneOf$1 {
|
|
2957
2957
|
/** Specific site details. */
|
|
2958
|
-
siteContext?: SiteResourceContext;
|
|
2958
|
+
siteContext?: SiteResourceContext$1;
|
|
2959
2959
|
/** Specific account details. */
|
|
2960
|
-
accountContext?: AccountResourceContext;
|
|
2960
|
+
accountContext?: AccountResourceContext$1;
|
|
2961
2961
|
}
|
|
2962
2962
|
/** Site resource context. It indicates that the resource is under a site (can be the site itself or some asset of a site, like a blog post) */
|
|
2963
|
-
interface SiteResourceContext {
|
|
2963
|
+
interface SiteResourceContext$1 {
|
|
2964
2964
|
/** Site ID. */
|
|
2965
2965
|
metasiteId?: string;
|
|
2966
2966
|
}
|
|
2967
2967
|
/** Account resource contexts. It indicates that the resource is under the account (can be the account itself or some asset of an account, like a logo or a domain) */
|
|
2968
|
-
interface AccountResourceContext {
|
|
2968
|
+
interface AccountResourceContext$1 {
|
|
2969
2969
|
/** Account ID. */
|
|
2970
2970
|
accountId?: string;
|
|
2971
2971
|
}
|
|
2972
|
-
interface OrganizationResourceContext {
|
|
2972
|
+
interface OrganizationResourceContext$1 {
|
|
2973
2973
|
}
|
|
2974
2974
|
/**
|
|
2975
2975
|
* A custom resource. Is used to represent some asset that is not a direct resource context (site or account), but something custom.
|
|
2976
2976
|
* For example: payment method, blog post, domain, logo.
|
|
2977
2977
|
*/
|
|
2978
|
-
interface Resource$
|
|
2978
|
+
interface Resource$2 {
|
|
2979
2979
|
/** The resource id. */
|
|
2980
2980
|
_id?: string | null;
|
|
2981
2981
|
/** The resource type */
|
|
2982
2982
|
type?: string | null;
|
|
2983
2983
|
}
|
|
2984
|
-
interface PolicyCondition {
|
|
2984
|
+
interface PolicyCondition$1 {
|
|
2985
2985
|
/** The type of the condition */
|
|
2986
|
-
condition?: ConditionType;
|
|
2986
|
+
condition?: ConditionType$1;
|
|
2987
2987
|
}
|
|
2988
|
-
interface ConditionType extends ConditionTypeOfOneOf {
|
|
2988
|
+
interface ConditionType$1 extends ConditionTypeOfOneOf$1 {
|
|
2989
2989
|
/** @deprecated */
|
|
2990
|
-
simpleCondition?: SimpleCondition;
|
|
2990
|
+
simpleCondition?: SimpleCondition$1;
|
|
2991
2991
|
/** A logic combination between several conditions, with an operator between them */
|
|
2992
|
-
joinedConditions?: JoinedCondition;
|
|
2992
|
+
joinedConditions?: JoinedCondition$1;
|
|
2993
2993
|
/** @deprecated */
|
|
2994
|
-
environmentCondition?: EnvironmentCondition;
|
|
2994
|
+
environmentCondition?: EnvironmentCondition$1;
|
|
2995
2995
|
/** A single condition */
|
|
2996
|
-
condition?: Condition$
|
|
2996
|
+
condition?: Condition$2;
|
|
2997
2997
|
}
|
|
2998
2998
|
/** @oneof */
|
|
2999
|
-
interface ConditionTypeOfOneOf {
|
|
2999
|
+
interface ConditionTypeOfOneOf$1 {
|
|
3000
3000
|
/** @deprecated */
|
|
3001
|
-
simpleCondition?: SimpleCondition;
|
|
3001
|
+
simpleCondition?: SimpleCondition$1;
|
|
3002
3002
|
/** A logic combination between several conditions, with an operator between them */
|
|
3003
|
-
joinedConditions?: JoinedCondition;
|
|
3003
|
+
joinedConditions?: JoinedCondition$1;
|
|
3004
3004
|
/** @deprecated */
|
|
3005
|
-
environmentCondition?: EnvironmentCondition;
|
|
3005
|
+
environmentCondition?: EnvironmentCondition$1;
|
|
3006
3006
|
/** A single condition */
|
|
3007
|
-
condition?: Condition$
|
|
3007
|
+
condition?: Condition$2;
|
|
3008
3008
|
}
|
|
3009
|
-
interface SimpleCondition {
|
|
3009
|
+
interface SimpleCondition$1 {
|
|
3010
3010
|
attrName?: string;
|
|
3011
|
-
value?: SimpleConditionValue;
|
|
3012
|
-
op?: SimpleConditionOperator;
|
|
3011
|
+
value?: SimpleConditionValue$1;
|
|
3012
|
+
op?: SimpleConditionOperator$1;
|
|
3013
3013
|
conditionModelId?: string;
|
|
3014
3014
|
}
|
|
3015
|
-
interface SimpleConditionValue extends SimpleConditionValueValueOneOf {
|
|
3015
|
+
interface SimpleConditionValue$1 extends SimpleConditionValueValueOneOf$1 {
|
|
3016
3016
|
attrName?: string;
|
|
3017
3017
|
stringValue?: string;
|
|
3018
3018
|
boolValue?: boolean;
|
|
3019
3019
|
}
|
|
3020
3020
|
/** @oneof */
|
|
3021
|
-
interface SimpleConditionValueValueOneOf {
|
|
3021
|
+
interface SimpleConditionValueValueOneOf$1 {
|
|
3022
3022
|
attrName?: string;
|
|
3023
3023
|
stringValue?: string;
|
|
3024
3024
|
boolValue?: boolean;
|
|
3025
3025
|
}
|
|
3026
|
-
declare enum SimpleConditionOperator {
|
|
3026
|
+
declare enum SimpleConditionOperator$1 {
|
|
3027
3027
|
UNKNOWN_SIMPLE_OP = "UNKNOWN_SIMPLE_OP",
|
|
3028
3028
|
EQUAL = "EQUAL"
|
|
3029
3029
|
}
|
|
3030
|
-
interface JoinedCondition {
|
|
3030
|
+
interface JoinedCondition$1 {
|
|
3031
3031
|
/** The operator that should be used when evaluating the condition */
|
|
3032
|
-
op?: JoinedConditionOperator;
|
|
3032
|
+
op?: JoinedConditionOperator$1;
|
|
3033
3033
|
/** The conditions that should be evaluated, and then joined using the operator provided */
|
|
3034
|
-
conditions?: ConditionType[];
|
|
3034
|
+
conditions?: ConditionType$1[];
|
|
3035
3035
|
}
|
|
3036
|
-
declare enum JoinedConditionOperator {
|
|
3036
|
+
declare enum JoinedConditionOperator$1 {
|
|
3037
3037
|
UNKNOWN_JOIN_OP = "UNKNOWN_JOIN_OP",
|
|
3038
3038
|
OR = "OR",
|
|
3039
3039
|
AND = "AND"
|
|
3040
3040
|
}
|
|
3041
|
-
interface EnvironmentCondition extends EnvironmentConditionConditionOneOf {
|
|
3042
|
-
experimentCondition?: ExperimentCondition;
|
|
3041
|
+
interface EnvironmentCondition$1 extends EnvironmentConditionConditionOneOf$1 {
|
|
3042
|
+
experimentCondition?: ExperimentCondition$1;
|
|
3043
3043
|
}
|
|
3044
3044
|
/** @oneof */
|
|
3045
|
-
interface EnvironmentConditionConditionOneOf {
|
|
3046
|
-
experimentCondition?: ExperimentCondition;
|
|
3045
|
+
interface EnvironmentConditionConditionOneOf$1 {
|
|
3046
|
+
experimentCondition?: ExperimentCondition$1;
|
|
3047
3047
|
}
|
|
3048
|
-
interface ExperimentCondition {
|
|
3048
|
+
interface ExperimentCondition$1 {
|
|
3049
3049
|
spec?: string;
|
|
3050
3050
|
fallbackValue?: string;
|
|
3051
3051
|
expectedValue?: string;
|
|
3052
3052
|
}
|
|
3053
|
-
interface Condition$
|
|
3053
|
+
interface Condition$2 {
|
|
3054
3054
|
/** The unique identifier of the condition model. Indicates which actions the condition is working on */
|
|
3055
3055
|
conditionModelId?: string;
|
|
3056
3056
|
/** The operator that should be evaluated */
|
|
3057
|
-
operator?: ConditionOperator;
|
|
3057
|
+
operator?: ConditionOperator$1;
|
|
3058
3058
|
}
|
|
3059
|
-
interface ConditionOperator extends ConditionOperatorOperatorsOneOf {
|
|
3059
|
+
interface ConditionOperator$1 extends ConditionOperatorOperatorsOneOf$1 {
|
|
3060
3060
|
/** Comparison of equality - will be evaluated to true if the given parties are equal */
|
|
3061
|
-
equals?: EqualOperator;
|
|
3061
|
+
equals?: EqualOperator$1;
|
|
3062
3062
|
/** Regex operator - will be evaluated to true if the given value matches the provided regex */
|
|
3063
|
-
like?: LikeOperator;
|
|
3063
|
+
like?: LikeOperator$1;
|
|
3064
3064
|
/** Petri experiment - will be evaluated using petri. */
|
|
3065
|
-
experiment?: ExperimentOperator;
|
|
3065
|
+
experiment?: ExperimentOperator$1;
|
|
3066
3066
|
/** Operator that indicates a dependency on another subject being allowed to perform something. */
|
|
3067
|
-
dependOn?: DependOnOperator;
|
|
3067
|
+
dependOn?: DependOnOperator$1;
|
|
3068
3068
|
}
|
|
3069
3069
|
/** @oneof */
|
|
3070
|
-
interface ConditionOperatorOperatorsOneOf {
|
|
3070
|
+
interface ConditionOperatorOperatorsOneOf$1 {
|
|
3071
3071
|
/** Comparison of equality - will be evaluated to true if the given parties are equal */
|
|
3072
|
-
equals?: EqualOperator;
|
|
3072
|
+
equals?: EqualOperator$1;
|
|
3073
3073
|
/** Regex operator - will be evaluated to true if the given value matches the provided regex */
|
|
3074
|
-
like?: LikeOperator;
|
|
3074
|
+
like?: LikeOperator$1;
|
|
3075
3075
|
/** Petri experiment - will be evaluated using petri. */
|
|
3076
|
-
experiment?: ExperimentOperator;
|
|
3076
|
+
experiment?: ExperimentOperator$1;
|
|
3077
3077
|
/** Operator that indicates a dependency on another subject being allowed to perform something. */
|
|
3078
|
-
dependOn?: DependOnOperator;
|
|
3078
|
+
dependOn?: DependOnOperator$1;
|
|
3079
3079
|
}
|
|
3080
|
-
interface EqualOperator {
|
|
3080
|
+
interface EqualOperator$1 {
|
|
3081
3081
|
/** The attribute which should be compared. The attribute will be first evaluated to a value, and then compared the other side (attribute/value) */
|
|
3082
3082
|
attrName?: string;
|
|
3083
3083
|
/** The value to compare to. If the two parties are equal - we will return true. */
|
|
3084
|
-
value?: ConditionValue;
|
|
3084
|
+
value?: ConditionValue$1;
|
|
3085
3085
|
}
|
|
3086
|
-
interface ConditionValue extends ConditionValueValueOneOf {
|
|
3086
|
+
interface ConditionValue$1 extends ConditionValueValueOneOf$1 {
|
|
3087
3087
|
/** an attribute. We'll first retrieve the value of the attribute (from the request or from pre-indexed values), and then compare to what it needs to be compared with. */
|
|
3088
3088
|
attrName?: string;
|
|
3089
3089
|
/** a value with a string type. Will be compared to the attribute provided, and be true only if they match the operator. */
|
|
@@ -3092,7 +3092,7 @@ interface ConditionValue extends ConditionValueValueOneOf {
|
|
|
3092
3092
|
boolValue?: boolean;
|
|
3093
3093
|
}
|
|
3094
3094
|
/** @oneof */
|
|
3095
|
-
interface ConditionValueValueOneOf {
|
|
3095
|
+
interface ConditionValueValueOneOf$1 {
|
|
3096
3096
|
/** an attribute. We'll first retrieve the value of the attribute (from the request or from pre-indexed values), and then compare to what it needs to be compared with. */
|
|
3097
3097
|
attrName?: string;
|
|
3098
3098
|
/** a value with a string type. Will be compared to the attribute provided, and be true only if they match the operator. */
|
|
@@ -3100,13 +3100,13 @@ interface ConditionValueValueOneOf {
|
|
|
3100
3100
|
/** a value with a boolean type. Will be compared to the attribute provided, and be true only if they match the operator. */
|
|
3101
3101
|
boolValue?: boolean;
|
|
3102
3102
|
}
|
|
3103
|
-
interface LikeOperator {
|
|
3103
|
+
interface LikeOperator$1 {
|
|
3104
3104
|
/** The attribute which should be compared. The attribute will be first evaluated to a value, and then compared the regex values provided. */
|
|
3105
3105
|
attrName?: string;
|
|
3106
3106
|
/** The regex values which the attribute value should be evaluated on. If the attribute value matches at least one of the regular expressions provided - we will return true */
|
|
3107
3107
|
values?: string[];
|
|
3108
3108
|
}
|
|
3109
|
-
interface ExperimentOperator {
|
|
3109
|
+
interface ExperimentOperator$1 {
|
|
3110
3110
|
/** The spec to conduct the experiment on. */
|
|
3111
3111
|
spec?: string;
|
|
3112
3112
|
/** The value to use if the experiment could not be conducted */
|
|
@@ -3115,19 +3115,19 @@ interface ExperimentOperator {
|
|
|
3115
3115
|
expectedValue?: string;
|
|
3116
3116
|
}
|
|
3117
3117
|
/** Implies that the policy takes affect only if the depend on subject is permitted as well. */
|
|
3118
|
-
interface DependOnOperator {
|
|
3118
|
+
interface DependOnOperator$1 {
|
|
3119
3119
|
/** The subject on which the current entry depends on. If the subject is allowed to perform what the query was about - the condition will be evaluated to true. Otherwise - false */
|
|
3120
|
-
dependOnSubject?: Subject$
|
|
3120
|
+
dependOnSubject?: Subject$2;
|
|
3121
3121
|
}
|
|
3122
|
-
interface Subject$
|
|
3122
|
+
interface Subject$2 {
|
|
3123
3123
|
/** ID of identity assigned to the asset. */
|
|
3124
3124
|
_id?: string;
|
|
3125
3125
|
/** Type of identity assigned to the asset. Supported subject types include user IDs, account IDs, and app IDs. */
|
|
3126
|
-
subjectType?: SubjectType$
|
|
3126
|
+
subjectType?: SubjectType$3;
|
|
3127
3127
|
/** Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. */
|
|
3128
|
-
context?: SubjectContext$
|
|
3128
|
+
context?: SubjectContext$2;
|
|
3129
3129
|
}
|
|
3130
|
-
declare enum SubjectType$
|
|
3130
|
+
declare enum SubjectType$3 {
|
|
3131
3131
|
UNKNOWN = "UNKNOWN",
|
|
3132
3132
|
ACCOUNT = "ACCOUNT",
|
|
3133
3133
|
USER = "USER",
|
|
@@ -3138,11 +3138,11 @@ declare enum SubjectType$2 {
|
|
|
3138
3138
|
ACCOUNT_GROUP = "ACCOUNT_GROUP",
|
|
3139
3139
|
WIX_APP = "WIX_APP"
|
|
3140
3140
|
}
|
|
3141
|
-
interface SubjectContext$
|
|
3141
|
+
interface SubjectContext$2 {
|
|
3142
3142
|
_id?: string;
|
|
3143
|
-
contextType?: SubjectContextType$
|
|
3143
|
+
contextType?: SubjectContextType$2;
|
|
3144
3144
|
}
|
|
3145
|
-
declare enum SubjectContextType$
|
|
3145
|
+
declare enum SubjectContextType$2 {
|
|
3146
3146
|
UNKNOWN_CTX = "UNKNOWN_CTX",
|
|
3147
3147
|
ORG_CTX = "ORG_CTX",
|
|
3148
3148
|
ACCOUNT_CTX = "ACCOUNT_CTX"
|
|
@@ -3150,13 +3150,13 @@ declare enum SubjectContextType$1 {
|
|
|
3150
3150
|
interface GetAccountInvitesRequest {
|
|
3151
3151
|
}
|
|
3152
3152
|
interface GetAccountInvitesResponse {
|
|
3153
|
-
invites?: AccountInvite[];
|
|
3153
|
+
invites?: AccountInvite$1[];
|
|
3154
3154
|
}
|
|
3155
3155
|
interface GetAccountInviteRequest {
|
|
3156
3156
|
_id?: string;
|
|
3157
3157
|
}
|
|
3158
3158
|
interface GetAccountInviteResponse {
|
|
3159
|
-
invite?: AccountInvite;
|
|
3159
|
+
invite?: AccountInvite$1;
|
|
3160
3160
|
}
|
|
3161
3161
|
interface AccountInviteRequest {
|
|
3162
3162
|
role?: string;
|
|
@@ -3164,7 +3164,7 @@ interface AccountInviteRequest {
|
|
|
3164
3164
|
policyIds?: string[];
|
|
3165
3165
|
}
|
|
3166
3166
|
interface AccountInviteResponse {
|
|
3167
|
-
invite?: AccountInvite;
|
|
3167
|
+
invite?: AccountInvite$1;
|
|
3168
3168
|
}
|
|
3169
3169
|
interface CreateInviteRequest {
|
|
3170
3170
|
/** Array of potential team members' email addresses and their corresponding assignments (how they will be assigned when they accept the invite). */
|
|
@@ -3176,11 +3176,11 @@ interface SubjectInviteAssignments {
|
|
|
3176
3176
|
/** Invitee's email address. */
|
|
3177
3177
|
subjectEmail?: string;
|
|
3178
3178
|
/** Mapping of roles (referred to here as policies) and assets (referred to here as resources) that will be assigned to the invitee when they accept the invite. When no resources are specified, the invitee will be given access to everything within the account. */
|
|
3179
|
-
assignments?: InviteResourceAssignment[];
|
|
3179
|
+
assignments?: InviteResourceAssignment$1[];
|
|
3180
3180
|
}
|
|
3181
3181
|
interface CreateInviteResponse {
|
|
3182
3182
|
/** Invites that were sent successfully. */
|
|
3183
|
-
successfulInvites?: AccountInvite[];
|
|
3183
|
+
successfulInvites?: AccountInvite$1[];
|
|
3184
3184
|
/** Invites that failed. */
|
|
3185
3185
|
failedInvites?: InviteFailure[];
|
|
3186
3186
|
}
|
|
@@ -3196,7 +3196,7 @@ interface BulkAccountInviteRequest {
|
|
|
3196
3196
|
policyIds?: string[];
|
|
3197
3197
|
}
|
|
3198
3198
|
interface BulkAccountInviteResponse {
|
|
3199
|
-
invites?: AccountInvite[];
|
|
3199
|
+
invites?: AccountInvite$1[];
|
|
3200
3200
|
failedEmails?: string[];
|
|
3201
3201
|
}
|
|
3202
3202
|
interface ResendAccountInviteRequest {
|
|
@@ -3223,7 +3223,7 @@ interface UpdateAccountInviteResponse {
|
|
|
3223
3223
|
}
|
|
3224
3224
|
interface UpdateAccountInviteAssignmentsRequest {
|
|
3225
3225
|
inviteId?: string;
|
|
3226
|
-
assignments?: InviteResourceAssignment[];
|
|
3226
|
+
assignments?: InviteResourceAssignment$1[];
|
|
3227
3227
|
}
|
|
3228
3228
|
interface UpdateAccountInviteAssignmentsResponse {
|
|
3229
3229
|
}
|
|
@@ -3233,7 +3233,7 @@ interface ParseAccountInviteTokenRequest {
|
|
|
3233
3233
|
interface ParseAccountInviteTokenResponse {
|
|
3234
3234
|
inviteId?: string;
|
|
3235
3235
|
accountId?: string;
|
|
3236
|
-
status?: InviteStatus$
|
|
3236
|
+
status?: InviteStatus$3;
|
|
3237
3237
|
}
|
|
3238
3238
|
interface SiteResourceContextNonNullableFields {
|
|
3239
3239
|
metasiteId: string;
|
|
@@ -3253,11 +3253,11 @@ interface SimpleConditionValueNonNullableFields {
|
|
|
3253
3253
|
interface SimpleConditionNonNullableFields {
|
|
3254
3254
|
attrName: string;
|
|
3255
3255
|
value?: SimpleConditionValueNonNullableFields;
|
|
3256
|
-
op: SimpleConditionOperator;
|
|
3256
|
+
op: SimpleConditionOperator$1;
|
|
3257
3257
|
conditionModelId: string;
|
|
3258
3258
|
}
|
|
3259
3259
|
interface JoinedConditionNonNullableFields {
|
|
3260
|
-
op: JoinedConditionOperator;
|
|
3260
|
+
op: JoinedConditionOperator$1;
|
|
3261
3261
|
conditions: ConditionTypeNonNullableFields[];
|
|
3262
3262
|
}
|
|
3263
3263
|
interface ExperimentConditionNonNullableFields {
|
|
@@ -3288,11 +3288,11 @@ interface ExperimentOperatorNonNullableFields {
|
|
|
3288
3288
|
}
|
|
3289
3289
|
interface SubjectContextNonNullableFields {
|
|
3290
3290
|
_id: string;
|
|
3291
|
-
contextType: SubjectContextType$
|
|
3291
|
+
contextType: SubjectContextType$2;
|
|
3292
3292
|
}
|
|
3293
3293
|
interface SubjectNonNullableFields {
|
|
3294
3294
|
_id: string;
|
|
3295
|
-
subjectType: SubjectType$
|
|
3295
|
+
subjectType: SubjectType$3;
|
|
3296
3296
|
context?: SubjectContextNonNullableFields;
|
|
3297
3297
|
}
|
|
3298
3298
|
interface DependOnOperatorNonNullableFields {
|
|
@@ -3331,7 +3331,7 @@ interface AccountInviteNonNullableFields {
|
|
|
3331
3331
|
email: string;
|
|
3332
3332
|
role: string;
|
|
3333
3333
|
inviterId: string;
|
|
3334
|
-
status: InviteStatus$
|
|
3334
|
+
status: InviteStatus$3;
|
|
3335
3335
|
acceptLink: string;
|
|
3336
3336
|
inviterAccountId: string;
|
|
3337
3337
|
policyIds: string[];
|
|
@@ -3366,64 +3366,34 @@ interface CreateInviteSignature {
|
|
|
3366
3366
|
|
|
3367
3367
|
declare const createInvite: MaybeContext<BuildRESTFunction<typeof createInvite$1> & typeof createInvite$1>;
|
|
3368
3368
|
|
|
3369
|
-
type context$
|
|
3370
|
-
type context$
|
|
3371
|
-
type context$
|
|
3372
|
-
type context$
|
|
3373
|
-
type context$
|
|
3374
|
-
type context$
|
|
3375
|
-
type context$
|
|
3376
|
-
type context$
|
|
3377
|
-
type context$
|
|
3378
|
-
type context$
|
|
3379
|
-
type context$
|
|
3380
|
-
type context$
|
|
3381
|
-
type context$
|
|
3382
|
-
type context$
|
|
3383
|
-
type context$
|
|
3384
|
-
type context$
|
|
3385
|
-
type context$
|
|
3386
|
-
type context$
|
|
3387
|
-
type context$
|
|
3388
|
-
type context$
|
|
3389
|
-
type context$
|
|
3390
|
-
type context$
|
|
3391
|
-
type context$
|
|
3392
|
-
type context$
|
|
3393
|
-
type context$
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
type context$
|
|
3397
|
-
type context$3_GetAccountInvitesRequest = GetAccountInvitesRequest;
|
|
3398
|
-
type context$3_GetAccountInvitesResponse = GetAccountInvitesResponse;
|
|
3399
|
-
type context$3_InviteAssignment = InviteAssignment;
|
|
3400
|
-
type context$3_InviteFailure = InviteFailure;
|
|
3401
|
-
type context$3_InviteResourceAssignment = InviteResourceAssignment;
|
|
3402
|
-
type context$3_JoinedCondition = JoinedCondition;
|
|
3403
|
-
type context$3_JoinedConditionOperator = JoinedConditionOperator;
|
|
3404
|
-
declare const context$3_JoinedConditionOperator: typeof JoinedConditionOperator;
|
|
3405
|
-
type context$3_LikeOperator = LikeOperator;
|
|
3406
|
-
type context$3_OrganizationResourceContext = OrganizationResourceContext;
|
|
3407
|
-
type context$3_ParseAccountInviteTokenRequest = ParseAccountInviteTokenRequest;
|
|
3408
|
-
type context$3_ParseAccountInviteTokenResponse = ParseAccountInviteTokenResponse;
|
|
3409
|
-
type context$3_PolicyCondition = PolicyCondition;
|
|
3410
|
-
type context$3_ResendAccountInviteRequest = ResendAccountInviteRequest;
|
|
3411
|
-
type context$3_RevokeAccountInviteRequest = RevokeAccountInviteRequest;
|
|
3412
|
-
type context$3_RevokeAccountInviteResponse = RevokeAccountInviteResponse;
|
|
3413
|
-
type context$3_SimpleCondition = SimpleCondition;
|
|
3414
|
-
type context$3_SimpleConditionOperator = SimpleConditionOperator;
|
|
3415
|
-
declare const context$3_SimpleConditionOperator: typeof SimpleConditionOperator;
|
|
3416
|
-
type context$3_SimpleConditionValue = SimpleConditionValue;
|
|
3417
|
-
type context$3_SimpleConditionValueValueOneOf = SimpleConditionValueValueOneOf;
|
|
3418
|
-
type context$3_SiteResourceContext = SiteResourceContext;
|
|
3419
|
-
type context$3_SubjectInviteAssignments = SubjectInviteAssignments;
|
|
3420
|
-
type context$3_UpdateAccountInviteAssignmentsRequest = UpdateAccountInviteAssignmentsRequest;
|
|
3421
|
-
type context$3_UpdateAccountInviteAssignmentsResponse = UpdateAccountInviteAssignmentsResponse;
|
|
3422
|
-
type context$3_UpdateAccountInviteRequest = UpdateAccountInviteRequest;
|
|
3423
|
-
type context$3_UpdateAccountInviteResponse = UpdateAccountInviteResponse;
|
|
3424
|
-
declare const context$3_createInvite: typeof createInvite;
|
|
3425
|
-
declare namespace context$3 {
|
|
3426
|
-
export { type context$3_AcceptAccountInviteRequest as AcceptAccountInviteRequest, type context$3_AcceptAccountInviteResponse as AcceptAccountInviteResponse, type context$3_AccountInvite as AccountInvite, type context$3_AccountInviteRequest as AccountInviteRequest, type context$3_AccountInviteResponse as AccountInviteResponse, type context$3_AccountResourceContext as AccountResourceContext, type context$3_BulkAccountInviteRequest as BulkAccountInviteRequest, type context$3_BulkAccountInviteResponse as BulkAccountInviteResponse, type Condition$1 as Condition, type context$3_ConditionOperator as ConditionOperator, type context$3_ConditionOperatorOperatorsOneOf as ConditionOperatorOperatorsOneOf, type context$3_ConditionType as ConditionType, type context$3_ConditionTypeOfOneOf as ConditionTypeOfOneOf, type context$3_ConditionValue as ConditionValue, type context$3_ConditionValueValueOneOf as ConditionValueValueOneOf, type context$3_CreateInviteOptions as CreateInviteOptions, type context$3_CreateInviteRequest as CreateInviteRequest, type context$3_CreateInviteResponse as CreateInviteResponse, type context$3_CreateInviteResponseNonNullableFields as CreateInviteResponseNonNullableFields, type context$3_DependOnOperator as DependOnOperator, type context$3_EnvironmentCondition as EnvironmentCondition, type context$3_EnvironmentConditionConditionOneOf as EnvironmentConditionConditionOneOf, type context$3_EqualOperator as EqualOperator, type context$3_ExperimentCondition as ExperimentCondition, type context$3_ExperimentOperator as ExperimentOperator, type context$3_FullNameResource as FullNameResource, type context$3_FullNameResourceResourceContextOneOf as FullNameResourceResourceContextOneOf, type context$3_GetAccountInviteRequest as GetAccountInviteRequest, type context$3_GetAccountInviteResponse as GetAccountInviteResponse, type context$3_GetAccountInvitesRequest as GetAccountInvitesRequest, type context$3_GetAccountInvitesResponse as GetAccountInvitesResponse, type context$3_InviteAssignment as InviteAssignment, type context$3_InviteFailure as InviteFailure, type context$3_InviteResourceAssignment as InviteResourceAssignment, InviteStatus$2 as InviteStatus, type context$3_JoinedCondition as JoinedCondition, context$3_JoinedConditionOperator as JoinedConditionOperator, type context$3_LikeOperator as LikeOperator, type context$3_OrganizationResourceContext as OrganizationResourceContext, type context$3_ParseAccountInviteTokenRequest as ParseAccountInviteTokenRequest, type context$3_ParseAccountInviteTokenResponse as ParseAccountInviteTokenResponse, type context$3_PolicyCondition as PolicyCondition, type context$3_ResendAccountInviteRequest as ResendAccountInviteRequest, type Resource$1 as Resource, type context$3_RevokeAccountInviteRequest as RevokeAccountInviteRequest, type context$3_RevokeAccountInviteResponse as RevokeAccountInviteResponse, type context$3_SimpleCondition as SimpleCondition, context$3_SimpleConditionOperator as SimpleConditionOperator, type context$3_SimpleConditionValue as SimpleConditionValue, type context$3_SimpleConditionValueValueOneOf as SimpleConditionValueValueOneOf, type context$3_SiteResourceContext as SiteResourceContext, type Subject$1 as Subject, type SubjectContext$1 as SubjectContext, SubjectContextType$1 as SubjectContextType, type context$3_SubjectInviteAssignments as SubjectInviteAssignments, SubjectType$2 as SubjectType, type context$3_UpdateAccountInviteAssignmentsRequest as UpdateAccountInviteAssignmentsRequest, type context$3_UpdateAccountInviteAssignmentsResponse as UpdateAccountInviteAssignmentsResponse, type context$3_UpdateAccountInviteRequest as UpdateAccountInviteRequest, type context$3_UpdateAccountInviteResponse as UpdateAccountInviteResponse, context$3_createInvite as createInvite };
|
|
3369
|
+
type context$4_AcceptAccountInviteRequest = AcceptAccountInviteRequest;
|
|
3370
|
+
type context$4_AcceptAccountInviteResponse = AcceptAccountInviteResponse;
|
|
3371
|
+
type context$4_AccountInviteRequest = AccountInviteRequest;
|
|
3372
|
+
type context$4_AccountInviteResponse = AccountInviteResponse;
|
|
3373
|
+
type context$4_BulkAccountInviteRequest = BulkAccountInviteRequest;
|
|
3374
|
+
type context$4_BulkAccountInviteResponse = BulkAccountInviteResponse;
|
|
3375
|
+
type context$4_CreateInviteOptions = CreateInviteOptions;
|
|
3376
|
+
type context$4_CreateInviteRequest = CreateInviteRequest;
|
|
3377
|
+
type context$4_CreateInviteResponse = CreateInviteResponse;
|
|
3378
|
+
type context$4_CreateInviteResponseNonNullableFields = CreateInviteResponseNonNullableFields;
|
|
3379
|
+
type context$4_GetAccountInviteRequest = GetAccountInviteRequest;
|
|
3380
|
+
type context$4_GetAccountInviteResponse = GetAccountInviteResponse;
|
|
3381
|
+
type context$4_GetAccountInvitesRequest = GetAccountInvitesRequest;
|
|
3382
|
+
type context$4_GetAccountInvitesResponse = GetAccountInvitesResponse;
|
|
3383
|
+
type context$4_InviteFailure = InviteFailure;
|
|
3384
|
+
type context$4_ParseAccountInviteTokenRequest = ParseAccountInviteTokenRequest;
|
|
3385
|
+
type context$4_ParseAccountInviteTokenResponse = ParseAccountInviteTokenResponse;
|
|
3386
|
+
type context$4_ResendAccountInviteRequest = ResendAccountInviteRequest;
|
|
3387
|
+
type context$4_RevokeAccountInviteRequest = RevokeAccountInviteRequest;
|
|
3388
|
+
type context$4_RevokeAccountInviteResponse = RevokeAccountInviteResponse;
|
|
3389
|
+
type context$4_SubjectInviteAssignments = SubjectInviteAssignments;
|
|
3390
|
+
type context$4_UpdateAccountInviteAssignmentsRequest = UpdateAccountInviteAssignmentsRequest;
|
|
3391
|
+
type context$4_UpdateAccountInviteAssignmentsResponse = UpdateAccountInviteAssignmentsResponse;
|
|
3392
|
+
type context$4_UpdateAccountInviteRequest = UpdateAccountInviteRequest;
|
|
3393
|
+
type context$4_UpdateAccountInviteResponse = UpdateAccountInviteResponse;
|
|
3394
|
+
declare const context$4_createInvite: typeof createInvite;
|
|
3395
|
+
declare namespace context$4 {
|
|
3396
|
+
export { type context$4_AcceptAccountInviteRequest as AcceptAccountInviteRequest, type context$4_AcceptAccountInviteResponse as AcceptAccountInviteResponse, type AccountInvite$1 as AccountInvite, type context$4_AccountInviteRequest as AccountInviteRequest, type context$4_AccountInviteResponse as AccountInviteResponse, type AccountResourceContext$1 as AccountResourceContext, type context$4_BulkAccountInviteRequest as BulkAccountInviteRequest, type context$4_BulkAccountInviteResponse as BulkAccountInviteResponse, type Condition$2 as Condition, type ConditionOperator$1 as ConditionOperator, type ConditionOperatorOperatorsOneOf$1 as ConditionOperatorOperatorsOneOf, type ConditionType$1 as ConditionType, type ConditionTypeOfOneOf$1 as ConditionTypeOfOneOf, type ConditionValue$1 as ConditionValue, type ConditionValueValueOneOf$1 as ConditionValueValueOneOf, type context$4_CreateInviteOptions as CreateInviteOptions, type context$4_CreateInviteRequest as CreateInviteRequest, type context$4_CreateInviteResponse as CreateInviteResponse, type context$4_CreateInviteResponseNonNullableFields as CreateInviteResponseNonNullableFields, type DependOnOperator$1 as DependOnOperator, type EnvironmentCondition$1 as EnvironmentCondition, type EnvironmentConditionConditionOneOf$1 as EnvironmentConditionConditionOneOf, type EqualOperator$1 as EqualOperator, type ExperimentCondition$1 as ExperimentCondition, type ExperimentOperator$1 as ExperimentOperator, type FullNameResource$1 as FullNameResource, type FullNameResourceResourceContextOneOf$1 as FullNameResourceResourceContextOneOf, type context$4_GetAccountInviteRequest as GetAccountInviteRequest, type context$4_GetAccountInviteResponse as GetAccountInviteResponse, type context$4_GetAccountInvitesRequest as GetAccountInvitesRequest, type context$4_GetAccountInvitesResponse as GetAccountInvitesResponse, type InviteAssignment$1 as InviteAssignment, type context$4_InviteFailure as InviteFailure, type InviteResourceAssignment$1 as InviteResourceAssignment, InviteStatus$3 as InviteStatus, type JoinedCondition$1 as JoinedCondition, JoinedConditionOperator$1 as JoinedConditionOperator, type LikeOperator$1 as LikeOperator, type OrganizationResourceContext$1 as OrganizationResourceContext, type context$4_ParseAccountInviteTokenRequest as ParseAccountInviteTokenRequest, type context$4_ParseAccountInviteTokenResponse as ParseAccountInviteTokenResponse, type PolicyCondition$1 as PolicyCondition, type context$4_ResendAccountInviteRequest as ResendAccountInviteRequest, type Resource$2 as Resource, type context$4_RevokeAccountInviteRequest as RevokeAccountInviteRequest, type context$4_RevokeAccountInviteResponse as RevokeAccountInviteResponse, type SimpleCondition$1 as SimpleCondition, SimpleConditionOperator$1 as SimpleConditionOperator, type SimpleConditionValue$1 as SimpleConditionValue, type SimpleConditionValueValueOneOf$1 as SimpleConditionValueValueOneOf, type SiteResourceContext$1 as SiteResourceContext, type Subject$2 as Subject, type SubjectContext$2 as SubjectContext, SubjectContextType$2 as SubjectContextType, type context$4_SubjectInviteAssignments as SubjectInviteAssignments, SubjectType$3 as SubjectType, type context$4_UpdateAccountInviteAssignmentsRequest as UpdateAccountInviteAssignmentsRequest, type context$4_UpdateAccountInviteAssignmentsResponse as UpdateAccountInviteAssignmentsResponse, type context$4_UpdateAccountInviteRequest as UpdateAccountInviteRequest, type context$4_UpdateAccountInviteResponse as UpdateAccountInviteResponse, context$4_createInvite as createInvite };
|
|
3427
3397
|
}
|
|
3428
3398
|
|
|
3429
3399
|
interface SiteInvite$1 {
|
|
@@ -3457,7 +3427,7 @@ interface SiteInvite$1 {
|
|
|
3457
3427
|
* - **Declined:** The user declined the invite.
|
|
3458
3428
|
* - **Expired:** The invite has expired without being accepted.
|
|
3459
3429
|
*/
|
|
3460
|
-
status?: InviteStatus$
|
|
3430
|
+
status?: InviteStatus$2;
|
|
3461
3431
|
/** Link to accept the invite. */
|
|
3462
3432
|
acceptLink?: string;
|
|
3463
3433
|
/**
|
|
@@ -3478,7 +3448,7 @@ interface SiteInvite$1 {
|
|
|
3478
3448
|
expirationDate?: Date | null;
|
|
3479
3449
|
}
|
|
3480
3450
|
/** Invite status stating whether the invite was accepted, waiting to be accepted, deleted etc.. */
|
|
3481
|
-
declare enum InviteStatus$
|
|
3451
|
+
declare enum InviteStatus$2 {
|
|
3482
3452
|
Pending = "Pending",
|
|
3483
3453
|
Used = "Used",
|
|
3484
3454
|
Deleted = "Deleted",
|
|
@@ -3501,7 +3471,7 @@ interface QuerySiteInvitesRequest {
|
|
|
3501
3471
|
}
|
|
3502
3472
|
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
3503
3473
|
/** Paging options to limit and skip the number of items. */
|
|
3504
|
-
paging?: Paging;
|
|
3474
|
+
paging?: Paging$1;
|
|
3505
3475
|
/** 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`. */
|
|
3506
3476
|
cursorPaging?: CursorPaging;
|
|
3507
3477
|
/**
|
|
@@ -3524,7 +3494,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
3524
3494
|
/** @oneof */
|
|
3525
3495
|
interface QueryV2PagingMethodOneOf {
|
|
3526
3496
|
/** Paging options to limit and skip the number of items. */
|
|
3527
|
-
paging?: Paging;
|
|
3497
|
+
paging?: Paging$1;
|
|
3528
3498
|
/** 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`. */
|
|
3529
3499
|
cursorPaging?: CursorPaging;
|
|
3530
3500
|
}
|
|
@@ -3538,7 +3508,7 @@ declare enum SortOrder {
|
|
|
3538
3508
|
ASC = "ASC",
|
|
3539
3509
|
DESC = "DESC"
|
|
3540
3510
|
}
|
|
3541
|
-
interface Paging {
|
|
3511
|
+
interface Paging$1 {
|
|
3542
3512
|
/** Number of items to load. */
|
|
3543
3513
|
limit?: number | null;
|
|
3544
3514
|
/** Number of items to skip in the current sort order. */
|
|
@@ -3631,7 +3601,7 @@ interface ParseSiteInviteTokenRequest {
|
|
|
3631
3601
|
interface ParseSiteInviteTokenResponse {
|
|
3632
3602
|
inviteId?: string;
|
|
3633
3603
|
siteId?: string;
|
|
3634
|
-
status?: InviteStatus$
|
|
3604
|
+
status?: InviteStatus$2;
|
|
3635
3605
|
}
|
|
3636
3606
|
interface SiteInviteNonNullableFields {
|
|
3637
3607
|
_id: string;
|
|
@@ -3639,7 +3609,7 @@ interface SiteInviteNonNullableFields {
|
|
|
3639
3609
|
email: string;
|
|
3640
3610
|
policyIds: string[];
|
|
3641
3611
|
inviterId: string;
|
|
3642
|
-
status: InviteStatus$
|
|
3612
|
+
status: InviteStatus$2;
|
|
3643
3613
|
acceptLink: string;
|
|
3644
3614
|
inviterAccountId: string;
|
|
3645
3615
|
}
|
|
@@ -3697,44 +3667,43 @@ declare const bulkInvite: MaybeContext<BuildRESTFunction<typeof bulkInvite$1> &
|
|
|
3697
3667
|
declare const resendInvite: MaybeContext<BuildRESTFunction<typeof resendInvite$1> & typeof resendInvite$1>;
|
|
3698
3668
|
declare const revokeInvite: MaybeContext<BuildRESTFunction<typeof revokeInvite$1> & typeof revokeInvite$1>;
|
|
3699
3669
|
|
|
3700
|
-
type context$
|
|
3701
|
-
type context$
|
|
3702
|
-
type context$
|
|
3703
|
-
type context$
|
|
3704
|
-
type context$
|
|
3705
|
-
type context$
|
|
3706
|
-
type context$
|
|
3707
|
-
type context$
|
|
3708
|
-
type context$
|
|
3709
|
-
type context$
|
|
3710
|
-
type context$
|
|
3711
|
-
type context$
|
|
3712
|
-
type context$
|
|
3713
|
-
type context$
|
|
3714
|
-
type context$
|
|
3715
|
-
type context$
|
|
3716
|
-
type context$
|
|
3717
|
-
type context$
|
|
3718
|
-
type context$
|
|
3719
|
-
type context$
|
|
3720
|
-
type context$
|
|
3721
|
-
type context$
|
|
3722
|
-
type context$
|
|
3723
|
-
type context$
|
|
3724
|
-
type context$
|
|
3725
|
-
type context$
|
|
3726
|
-
type context$
|
|
3727
|
-
type context$
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
type context$
|
|
3731
|
-
type context$
|
|
3732
|
-
|
|
3733
|
-
declare const context$
|
|
3734
|
-
declare const context$
|
|
3735
|
-
declare
|
|
3736
|
-
|
|
3737
|
-
export { type context$2_AcceptSiteInviteRequest as AcceptSiteInviteRequest, type context$2_AcceptSiteInviteResponse as AcceptSiteInviteResponse, type context$2_BulkInviteOptions as BulkInviteOptions, type context$2_BulkSiteInviteRequest as BulkSiteInviteRequest, type context$2_BulkSiteInviteResponse as BulkSiteInviteResponse, type context$2_BulkSiteInviteResponseNonNullableFields as BulkSiteInviteResponseNonNullableFields, type context$2_ContributorLimitation as ContributorLimitation, type context$2_CursorPaging as CursorPaging, type context$2_GetContributorLimitRequest as GetContributorLimitRequest, type context$2_GetContributorLimitResponse as GetContributorLimitResponse, type context$2_GetSiteInviteRequest as GetSiteInviteRequest, type context$2_GetSiteInviteResponse as GetSiteInviteResponse, type context$2_GetSiteInvitesRequest as GetSiteInvitesRequest, type context$2_GetSiteInvitesResponse as GetSiteInvitesResponse, InviteStatus$1 as InviteStatus, type context$2_Paging as Paging, type context$2_ParseSiteInviteTokenRequest as ParseSiteInviteTokenRequest, type context$2_ParseSiteInviteTokenResponse as ParseSiteInviteTokenResponse, type context$2_QuerySiteInvitesRequest as QuerySiteInvitesRequest, type context$2_QuerySiteInvitesResponse as QuerySiteInvitesResponse, type context$2_QueryV2 as QueryV2, type context$2_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$2_ResendInviteOptions as ResendInviteOptions, type context$2_ResendSiteInviteRequest as ResendSiteInviteRequest, type context$2_RevokeSiteInviteRequest as RevokeSiteInviteRequest, type context$2_RevokeSiteInviteResponse as RevokeSiteInviteResponse, type SiteInvite$1 as SiteInvite, type context$2_SiteInviteRequest as SiteInviteRequest, type context$2_SiteInviteResponse as SiteInviteResponse, type context$2_SiteInviteResponseNonNullableFields as SiteInviteResponseNonNullableFields, context$2_SortOrder as SortOrder, type context$2_Sorting as Sorting, type context$2_UpdateSiteInviteRequest as UpdateSiteInviteRequest, type context$2_UpdateSiteInviteResponse as UpdateSiteInviteResponse, context$2_bulkInvite as bulkInvite, context$2_resendInvite as resendInvite, context$2_revokeInvite as revokeInvite };
|
|
3670
|
+
type context$3_AcceptSiteInviteRequest = AcceptSiteInviteRequest;
|
|
3671
|
+
type context$3_AcceptSiteInviteResponse = AcceptSiteInviteResponse;
|
|
3672
|
+
type context$3_BulkInviteOptions = BulkInviteOptions;
|
|
3673
|
+
type context$3_BulkSiteInviteRequest = BulkSiteInviteRequest;
|
|
3674
|
+
type context$3_BulkSiteInviteResponse = BulkSiteInviteResponse;
|
|
3675
|
+
type context$3_BulkSiteInviteResponseNonNullableFields = BulkSiteInviteResponseNonNullableFields;
|
|
3676
|
+
type context$3_ContributorLimitation = ContributorLimitation;
|
|
3677
|
+
type context$3_CursorPaging = CursorPaging;
|
|
3678
|
+
type context$3_GetContributorLimitRequest = GetContributorLimitRequest;
|
|
3679
|
+
type context$3_GetContributorLimitResponse = GetContributorLimitResponse;
|
|
3680
|
+
type context$3_GetSiteInviteRequest = GetSiteInviteRequest;
|
|
3681
|
+
type context$3_GetSiteInviteResponse = GetSiteInviteResponse;
|
|
3682
|
+
type context$3_GetSiteInvitesRequest = GetSiteInvitesRequest;
|
|
3683
|
+
type context$3_GetSiteInvitesResponse = GetSiteInvitesResponse;
|
|
3684
|
+
type context$3_ParseSiteInviteTokenRequest = ParseSiteInviteTokenRequest;
|
|
3685
|
+
type context$3_ParseSiteInviteTokenResponse = ParseSiteInviteTokenResponse;
|
|
3686
|
+
type context$3_QuerySiteInvitesRequest = QuerySiteInvitesRequest;
|
|
3687
|
+
type context$3_QuerySiteInvitesResponse = QuerySiteInvitesResponse;
|
|
3688
|
+
type context$3_QueryV2 = QueryV2;
|
|
3689
|
+
type context$3_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
3690
|
+
type context$3_ResendInviteOptions = ResendInviteOptions;
|
|
3691
|
+
type context$3_ResendSiteInviteRequest = ResendSiteInviteRequest;
|
|
3692
|
+
type context$3_RevokeSiteInviteRequest = RevokeSiteInviteRequest;
|
|
3693
|
+
type context$3_RevokeSiteInviteResponse = RevokeSiteInviteResponse;
|
|
3694
|
+
type context$3_SiteInviteRequest = SiteInviteRequest;
|
|
3695
|
+
type context$3_SiteInviteResponse = SiteInviteResponse;
|
|
3696
|
+
type context$3_SiteInviteResponseNonNullableFields = SiteInviteResponseNonNullableFields;
|
|
3697
|
+
type context$3_SortOrder = SortOrder;
|
|
3698
|
+
declare const context$3_SortOrder: typeof SortOrder;
|
|
3699
|
+
type context$3_Sorting = Sorting;
|
|
3700
|
+
type context$3_UpdateSiteInviteRequest = UpdateSiteInviteRequest;
|
|
3701
|
+
type context$3_UpdateSiteInviteResponse = UpdateSiteInviteResponse;
|
|
3702
|
+
declare const context$3_bulkInvite: typeof bulkInvite;
|
|
3703
|
+
declare const context$3_resendInvite: typeof resendInvite;
|
|
3704
|
+
declare const context$3_revokeInvite: typeof revokeInvite;
|
|
3705
|
+
declare namespace context$3 {
|
|
3706
|
+
export { type context$3_AcceptSiteInviteRequest as AcceptSiteInviteRequest, type context$3_AcceptSiteInviteResponse as AcceptSiteInviteResponse, type context$3_BulkInviteOptions as BulkInviteOptions, type context$3_BulkSiteInviteRequest as BulkSiteInviteRequest, type context$3_BulkSiteInviteResponse as BulkSiteInviteResponse, type context$3_BulkSiteInviteResponseNonNullableFields as BulkSiteInviteResponseNonNullableFields, type context$3_ContributorLimitation as ContributorLimitation, type context$3_CursorPaging as CursorPaging, type context$3_GetContributorLimitRequest as GetContributorLimitRequest, type context$3_GetContributorLimitResponse as GetContributorLimitResponse, type context$3_GetSiteInviteRequest as GetSiteInviteRequest, type context$3_GetSiteInviteResponse as GetSiteInviteResponse, type context$3_GetSiteInvitesRequest as GetSiteInvitesRequest, type context$3_GetSiteInvitesResponse as GetSiteInvitesResponse, InviteStatus$2 as InviteStatus, type Paging$1 as Paging, type context$3_ParseSiteInviteTokenRequest as ParseSiteInviteTokenRequest, type context$3_ParseSiteInviteTokenResponse as ParseSiteInviteTokenResponse, type context$3_QuerySiteInvitesRequest as QuerySiteInvitesRequest, type context$3_QuerySiteInvitesResponse as QuerySiteInvitesResponse, type context$3_QueryV2 as QueryV2, type context$3_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$3_ResendInviteOptions as ResendInviteOptions, type context$3_ResendSiteInviteRequest as ResendSiteInviteRequest, type context$3_RevokeSiteInviteRequest as RevokeSiteInviteRequest, type context$3_RevokeSiteInviteResponse as RevokeSiteInviteResponse, type SiteInvite$1 as SiteInvite, type context$3_SiteInviteRequest as SiteInviteRequest, type context$3_SiteInviteResponse as SiteInviteResponse, type context$3_SiteInviteResponseNonNullableFields as SiteInviteResponseNonNullableFields, context$3_SortOrder as SortOrder, type context$3_Sorting as Sorting, type context$3_UpdateSiteInviteRequest as UpdateSiteInviteRequest, type context$3_UpdateSiteInviteResponse as UpdateSiteInviteResponse, context$3_bulkInvite as bulkInvite, context$3_resendInvite as resendInvite, context$3_revokeInvite as revokeInvite };
|
|
3738
3707
|
}
|
|
3739
3708
|
|
|
3740
3709
|
interface RefreshToken {
|
|
@@ -3870,7 +3839,7 @@ interface RevokeRefreshTokenResponse {
|
|
|
3870
3839
|
interface TokenInfoResponse {
|
|
3871
3840
|
active?: boolean;
|
|
3872
3841
|
/** subject type. */
|
|
3873
|
-
subjectType?: SubjectType$
|
|
3842
|
+
subjectType?: SubjectType$2;
|
|
3874
3843
|
/** subject id */
|
|
3875
3844
|
subjectId?: string;
|
|
3876
3845
|
/** Expiration time of the token */
|
|
@@ -3888,7 +3857,7 @@ interface TokenInfoResponse {
|
|
|
3888
3857
|
/** Vendor Product Id */
|
|
3889
3858
|
vendorProductId?: string | null;
|
|
3890
3859
|
}
|
|
3891
|
-
declare enum SubjectType$
|
|
3860
|
+
declare enum SubjectType$2 {
|
|
3892
3861
|
/** unknown subject type */
|
|
3893
3862
|
UNKNOWN = "UNKNOWN",
|
|
3894
3863
|
/** user subject type */
|
|
@@ -3982,7 +3951,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
3982
3951
|
}
|
|
3983
3952
|
interface TokenInfoResponseNonNullableFields {
|
|
3984
3953
|
active: boolean;
|
|
3985
|
-
subjectType: SubjectType$
|
|
3954
|
+
subjectType: SubjectType$2;
|
|
3986
3955
|
subjectId: string;
|
|
3987
3956
|
clientId: string;
|
|
3988
3957
|
}
|
|
@@ -4037,40 +4006,1268 @@ interface TokenInfoSignature {
|
|
|
4037
4006
|
declare const token: MaybeContext<BuildRESTFunction<typeof token$1> & typeof token$1>;
|
|
4038
4007
|
declare const tokenInfo: MaybeContext<BuildRESTFunction<typeof tokenInfo$1> & typeof tokenInfo$1>;
|
|
4039
4008
|
|
|
4040
|
-
type context$
|
|
4041
|
-
type context$
|
|
4042
|
-
type context$
|
|
4043
|
-
type context$
|
|
4044
|
-
type context$
|
|
4045
|
-
type context$
|
|
4046
|
-
type context$
|
|
4047
|
-
type context$
|
|
4048
|
-
type context$
|
|
4049
|
-
type context$
|
|
4050
|
-
type context$
|
|
4051
|
-
type context$
|
|
4052
|
-
type context$
|
|
4053
|
-
type context$
|
|
4054
|
-
type context$
|
|
4055
|
-
type context$
|
|
4056
|
-
type context$
|
|
4057
|
-
type context$
|
|
4058
|
-
type context$
|
|
4059
|
-
type context$
|
|
4060
|
-
type context$
|
|
4061
|
-
type context$
|
|
4062
|
-
type context$
|
|
4063
|
-
type context$
|
|
4064
|
-
type context$
|
|
4065
|
-
type context$
|
|
4066
|
-
type context$
|
|
4067
|
-
type context$
|
|
4068
|
-
type context$
|
|
4069
|
-
type context$
|
|
4070
|
-
declare const context$
|
|
4071
|
-
declare const context$
|
|
4009
|
+
type context$2_ActionEvent = ActionEvent;
|
|
4010
|
+
type context$2_AuthorizeRequest = AuthorizeRequest;
|
|
4011
|
+
type context$2_DeviceCodeRequest = DeviceCodeRequest;
|
|
4012
|
+
type context$2_DeviceCodeResponse = DeviceCodeResponse;
|
|
4013
|
+
type context$2_DeviceVerifyRequest = DeviceVerifyRequest;
|
|
4014
|
+
type context$2_DeviceVerifyResponse = DeviceVerifyResponse;
|
|
4015
|
+
type context$2_DeviceVerifyV2Request = DeviceVerifyV2Request;
|
|
4016
|
+
type context$2_DeviceVerifyV2Response = DeviceVerifyV2Response;
|
|
4017
|
+
type context$2_DomainEvent = DomainEvent;
|
|
4018
|
+
type context$2_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
4019
|
+
type context$2_Empty = Empty;
|
|
4020
|
+
type context$2_EntityCreatedEvent = EntityCreatedEvent;
|
|
4021
|
+
type context$2_EntityDeletedEvent = EntityDeletedEvent;
|
|
4022
|
+
type context$2_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
4023
|
+
type context$2_HeadersEntry = HeadersEntry;
|
|
4024
|
+
type context$2_InvalidateUserCodeRequest = InvalidateUserCodeRequest;
|
|
4025
|
+
type context$2_InvalidateUserCodeResponse = InvalidateUserCodeResponse;
|
|
4026
|
+
type context$2_PathParametersEntry = PathParametersEntry;
|
|
4027
|
+
type context$2_QueryParametersEntry = QueryParametersEntry;
|
|
4028
|
+
type context$2_RawHttpRequest = RawHttpRequest;
|
|
4029
|
+
type context$2_RawHttpResponse = RawHttpResponse;
|
|
4030
|
+
type context$2_RawHttpResponseNonNullableFields = RawHttpResponseNonNullableFields;
|
|
4031
|
+
type context$2_RefreshToken = RefreshToken;
|
|
4032
|
+
type context$2_RestoreInfo = RestoreInfo;
|
|
4033
|
+
type context$2_RevokeRefreshTokenRequest = RevokeRefreshTokenRequest;
|
|
4034
|
+
type context$2_RevokeRefreshTokenResponse = RevokeRefreshTokenResponse;
|
|
4035
|
+
type context$2_TokenInfoOptions = TokenInfoOptions;
|
|
4036
|
+
type context$2_TokenInfoResponse = TokenInfoResponse;
|
|
4037
|
+
type context$2_TokenInfoResponseNonNullableFields = TokenInfoResponseNonNullableFields;
|
|
4038
|
+
type context$2_TokenOptions = TokenOptions;
|
|
4039
|
+
declare const context$2_token: typeof token;
|
|
4040
|
+
declare const context$2_tokenInfo: typeof tokenInfo;
|
|
4041
|
+
declare namespace context$2 {
|
|
4042
|
+
export { type context$2_ActionEvent as ActionEvent, type context$2_AuthorizeRequest as AuthorizeRequest, type context$2_DeviceCodeRequest as DeviceCodeRequest, type context$2_DeviceCodeResponse as DeviceCodeResponse, type context$2_DeviceVerifyRequest as DeviceVerifyRequest, type context$2_DeviceVerifyResponse as DeviceVerifyResponse, type context$2_DeviceVerifyV2Request as DeviceVerifyV2Request, type context$2_DeviceVerifyV2Response as DeviceVerifyV2Response, type context$2_DomainEvent as DomainEvent, type context$2_DomainEventBodyOneOf as DomainEventBodyOneOf, type context$2_Empty as Empty, type context$2_EntityCreatedEvent as EntityCreatedEvent, type context$2_EntityDeletedEvent as EntityDeletedEvent, type context$2_EntityUpdatedEvent as EntityUpdatedEvent, type context$2_HeadersEntry as HeadersEntry, type context$2_InvalidateUserCodeRequest as InvalidateUserCodeRequest, type context$2_InvalidateUserCodeResponse as InvalidateUserCodeResponse, type context$2_PathParametersEntry as PathParametersEntry, type context$2_QueryParametersEntry as QueryParametersEntry, type context$2_RawHttpRequest as RawHttpRequest, type context$2_RawHttpResponse as RawHttpResponse, type context$2_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type context$2_RefreshToken as RefreshToken, type context$2_RestoreInfo as RestoreInfo, type context$2_RevokeRefreshTokenRequest as RevokeRefreshTokenRequest, type context$2_RevokeRefreshTokenResponse as RevokeRefreshTokenResponse, SubjectType$2 as SubjectType, type context$2_TokenInfoOptions as TokenInfoOptions, type context$2_TokenInfoResponse as TokenInfoResponse, type context$2_TokenInfoResponseNonNullableFields as TokenInfoResponseNonNullableFields, type context$2_TokenOptions as TokenOptions, context$2_token as token, context$2_tokenInfo as tokenInfo };
|
|
4043
|
+
}
|
|
4044
|
+
|
|
4045
|
+
interface User$1 {
|
|
4046
|
+
/** User ID. */
|
|
4047
|
+
_id?: string;
|
|
4048
|
+
/**
|
|
4049
|
+
* Deprecated.
|
|
4050
|
+
* @deprecated
|
|
4051
|
+
*/
|
|
4052
|
+
roles?: string[];
|
|
4053
|
+
/** User's email address. */
|
|
4054
|
+
email?: string;
|
|
4055
|
+
/** User's name. */
|
|
4056
|
+
name?: Name$1;
|
|
4057
|
+
/** URL to user's profile image, when provided. */
|
|
4058
|
+
profileImage?: string | null;
|
|
4059
|
+
/** Date the user joined the team. */
|
|
4060
|
+
joinedTeamAt?: Date | null;
|
|
4061
|
+
/**
|
|
4062
|
+
* Deprecated.
|
|
4063
|
+
* @deprecated
|
|
4064
|
+
*/
|
|
4065
|
+
policyIds?: string[];
|
|
4066
|
+
/** Resources the user can access. */
|
|
4067
|
+
assignments?: Assignment$1[];
|
|
4068
|
+
}
|
|
4069
|
+
interface Name$1 {
|
|
4070
|
+
/** User's first name. */
|
|
4071
|
+
firstName?: string;
|
|
4072
|
+
/** User's last name. */
|
|
4073
|
+
lastName?: string;
|
|
4074
|
+
}
|
|
4075
|
+
interface Assignment$1 {
|
|
4076
|
+
/** Role assigned to the user. */
|
|
4077
|
+
policy?: AssignedPolicy$1;
|
|
4078
|
+
/** Unique ID for this specific assignment. */
|
|
4079
|
+
assignmentId?: string;
|
|
4080
|
+
/** Identity assigned to the asset in an assignment, referred to as subject. Supported subjects include user IDs, account IDs, and app IDs. */
|
|
4081
|
+
subject?: Subject$1;
|
|
4082
|
+
}
|
|
4083
|
+
interface AssignedPolicy$1 {
|
|
4084
|
+
/** Role ID. */
|
|
4085
|
+
policyId?: string;
|
|
4086
|
+
/** Role title. */
|
|
4087
|
+
title?: string | null;
|
|
4088
|
+
/** Role description. */
|
|
4089
|
+
description?: string | null;
|
|
4090
|
+
}
|
|
4091
|
+
interface Restriction$1 extends RestrictionRestrictionsOneOf$1 {
|
|
4092
|
+
/**
|
|
4093
|
+
* Deprecated.
|
|
4094
|
+
* @deprecated
|
|
4095
|
+
*/
|
|
4096
|
+
resource?: ApiResource;
|
|
4097
|
+
/** List of conditions restricting the user's access. Currently only folder conditions are supported. */
|
|
4098
|
+
conditions?: Conditions$1;
|
|
4099
|
+
/** Site where the assignment restrictions apply. */
|
|
4100
|
+
site?: SiteRestriction$1;
|
|
4101
|
+
}
|
|
4102
|
+
/** @oneof */
|
|
4103
|
+
interface RestrictionRestrictionsOneOf$1 {
|
|
4104
|
+
/**
|
|
4105
|
+
* Deprecated.
|
|
4106
|
+
* @deprecated
|
|
4107
|
+
*/
|
|
4108
|
+
resource?: ApiResource;
|
|
4109
|
+
/** List of conditions restricting the user's access. Currently only folder conditions are supported. */
|
|
4110
|
+
conditions?: Conditions$1;
|
|
4111
|
+
/** Site where the assignment restrictions apply. */
|
|
4112
|
+
site?: SiteRestriction$1;
|
|
4113
|
+
}
|
|
4114
|
+
interface ApiResource {
|
|
4115
|
+
/** Resource type. */
|
|
4116
|
+
resourceType?: ResourceType$1;
|
|
4117
|
+
/** Resource ID. */
|
|
4118
|
+
_id?: string;
|
|
4119
|
+
value?: string | null;
|
|
4120
|
+
}
|
|
4121
|
+
declare enum ResourceType$1 {
|
|
4122
|
+
UNKNOWN_RESOURCE_TYPE = "UNKNOWN_RESOURCE_TYPE",
|
|
4123
|
+
SITE = "SITE"
|
|
4124
|
+
}
|
|
4125
|
+
interface Conditions$1 {
|
|
4126
|
+
/** List of conditions. */
|
|
4127
|
+
conditions?: ApiCondition[];
|
|
4128
|
+
}
|
|
4129
|
+
interface ApiCondition {
|
|
4130
|
+
/** Condition type. */
|
|
4131
|
+
conditionType?: ConditionAttributeType$1;
|
|
4132
|
+
/** Condition ID. */
|
|
4133
|
+
_id?: string;
|
|
4134
|
+
/** Expected value of the condition. When `conditionType` = "FOLDER", this is the folder path. */
|
|
4135
|
+
value?: string | null;
|
|
4136
|
+
}
|
|
4137
|
+
declare enum ConditionAttributeType$1 {
|
|
4138
|
+
UNKNOWN_CONDITION_TYPE = "UNKNOWN_CONDITION_TYPE",
|
|
4139
|
+
FOLDER = "FOLDER"
|
|
4140
|
+
}
|
|
4141
|
+
interface SiteRestriction$1 {
|
|
4142
|
+
/** Site ID. */
|
|
4143
|
+
_id?: string;
|
|
4144
|
+
/** Site name. */
|
|
4145
|
+
value?: string | null;
|
|
4146
|
+
}
|
|
4147
|
+
interface CompanionResource$1 {
|
|
4148
|
+
/** Asset ID (referred to here as resource ID). */
|
|
4149
|
+
_id?: string;
|
|
4150
|
+
/** Asset type (referred to here as resource type). as predefined in the authorization system */
|
|
4151
|
+
resourceType?: string;
|
|
4152
|
+
}
|
|
4153
|
+
interface Subject$1 {
|
|
4154
|
+
/** ID of identity assigned to the asset. */
|
|
4155
|
+
_id?: string;
|
|
4156
|
+
/** Type of identity assigned to the asset. Supported subject types include user IDs, account IDs, and app IDs. */
|
|
4157
|
+
subjectType?: SubjectType$1;
|
|
4158
|
+
/** Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. */
|
|
4159
|
+
context?: SubjectContext$1;
|
|
4160
|
+
}
|
|
4161
|
+
declare enum SubjectType$1 {
|
|
4162
|
+
UNKNOWN = "UNKNOWN",
|
|
4163
|
+
ACCOUNT = "ACCOUNT",
|
|
4164
|
+
USER = "USER",
|
|
4165
|
+
USER_GROUP = "USER_GROUP",
|
|
4166
|
+
MEMBER_GROUP = "MEMBER_GROUP",
|
|
4167
|
+
VISITOR_GROUP = "VISITOR_GROUP",
|
|
4168
|
+
EXTERNAL_APP = "EXTERNAL_APP",
|
|
4169
|
+
ACCOUNT_GROUP = "ACCOUNT_GROUP",
|
|
4170
|
+
WIX_APP = "WIX_APP"
|
|
4171
|
+
}
|
|
4172
|
+
interface SubjectContext$1 {
|
|
4173
|
+
_id?: string;
|
|
4174
|
+
contextType?: SubjectContextType$1;
|
|
4175
|
+
}
|
|
4176
|
+
declare enum SubjectContextType$1 {
|
|
4177
|
+
UNKNOWN_CTX = "UNKNOWN_CTX",
|
|
4178
|
+
ORG_CTX = "ORG_CTX",
|
|
4179
|
+
ACCOUNT_CTX = "ACCOUNT_CTX"
|
|
4180
|
+
}
|
|
4181
|
+
interface GetTeamRequest {
|
|
4182
|
+
/** @deprecated */
|
|
4183
|
+
usersLimit?: number | null;
|
|
4184
|
+
/** The locale of the request. Defaults to en */
|
|
4185
|
+
locale?: string | null;
|
|
4186
|
+
paging?: Paging;
|
|
4187
|
+
}
|
|
4188
|
+
interface Paging {
|
|
4189
|
+
/** Number of items to load. */
|
|
4190
|
+
limit?: number | null;
|
|
4191
|
+
/** Number of items to skip in the current sort order. */
|
|
4192
|
+
offset?: number | null;
|
|
4193
|
+
}
|
|
4194
|
+
interface GetTeamResponse {
|
|
4195
|
+
users?: User$1[];
|
|
4196
|
+
invites?: AccountInvite[];
|
|
4197
|
+
accountInfo?: AccountInfo$1;
|
|
4198
|
+
permissions?: string[];
|
|
4199
|
+
userId?: string;
|
|
4200
|
+
targetAccountId?: string;
|
|
4201
|
+
policies?: ApiPolicy[];
|
|
4202
|
+
totalUsersInAccount?: string;
|
|
4203
|
+
predefinedRoles?: PredefinedRoles$1;
|
|
4204
|
+
}
|
|
4205
|
+
interface AccountInvite {
|
|
4206
|
+
/**
|
|
4207
|
+
* Invite ID.
|
|
4208
|
+
* @readonly
|
|
4209
|
+
*/
|
|
4210
|
+
_id?: string;
|
|
4211
|
+
/**
|
|
4212
|
+
* Account ID.
|
|
4213
|
+
* @readonly
|
|
4214
|
+
*/
|
|
4215
|
+
accountId?: string;
|
|
4216
|
+
/** Email address where the invite was sent. */
|
|
4217
|
+
email?: string;
|
|
4218
|
+
/**
|
|
4219
|
+
* Deprecated. Use `policyIds`.
|
|
4220
|
+
* @deprecated
|
|
4221
|
+
*/
|
|
4222
|
+
role?: string;
|
|
4223
|
+
/**
|
|
4224
|
+
* Deprecated. Use `inviterAccountId`.
|
|
4225
|
+
* @readonly
|
|
4226
|
+
* @deprecated
|
|
4227
|
+
*/
|
|
4228
|
+
inviterId?: string;
|
|
4229
|
+
/**
|
|
4230
|
+
* Invite status.
|
|
4231
|
+
*
|
|
4232
|
+
* Supported values:
|
|
4233
|
+
* - **Pending:** The invite has been sent and is valid, waiting for the user's response.
|
|
4234
|
+
* - **Used:** The invite has been accepted.
|
|
4235
|
+
* - **Deleted:** The invite has been deleted or revoked.
|
|
4236
|
+
* - **Declined:** The user has declined the invite.
|
|
4237
|
+
* - **Expired:** The invite has expired without being accepted.
|
|
4238
|
+
*/
|
|
4239
|
+
status?: InviteStatus$1;
|
|
4240
|
+
/** Link to accept the invite. */
|
|
4241
|
+
acceptLink?: string;
|
|
4242
|
+
/**
|
|
4243
|
+
* Inviting account ID.
|
|
4244
|
+
* @readonly
|
|
4245
|
+
*/
|
|
4246
|
+
inviterAccountId?: string;
|
|
4247
|
+
/**
|
|
4248
|
+
* Account ID that accepted the invite. Populated only once the invite is accepted.
|
|
4249
|
+
* @readonly
|
|
4250
|
+
*/
|
|
4251
|
+
acceptedByAccountId?: string | null;
|
|
4252
|
+
/** Date the invite was created. */
|
|
4253
|
+
dateCreated?: Date | null;
|
|
4254
|
+
/** Role IDs included in the invite. */
|
|
4255
|
+
policyIds?: string[];
|
|
4256
|
+
/** Date the invite was last updated. */
|
|
4257
|
+
dateUpdated?: Date | null;
|
|
4258
|
+
/** Assets the users are invited to join. */
|
|
4259
|
+
assignments?: InviteResourceAssignment[];
|
|
4260
|
+
/** Invite expiration date. */
|
|
4261
|
+
expirationDate?: Date | null;
|
|
4262
|
+
}
|
|
4263
|
+
/** Invite status stating whether the invite was accepted, waiting to be accepted, deleted etc.. */
|
|
4264
|
+
declare enum InviteStatus$1 {
|
|
4265
|
+
Pending = "Pending",
|
|
4266
|
+
Used = "Used",
|
|
4267
|
+
Deleted = "Deleted",
|
|
4268
|
+
Declined = "Declined",
|
|
4269
|
+
Expired = "Expired"
|
|
4270
|
+
}
|
|
4271
|
+
interface InviteResourceAssignment {
|
|
4272
|
+
/** Role ID. */
|
|
4273
|
+
policyId?: string;
|
|
4274
|
+
/** Resources the user will be able to access. */
|
|
4275
|
+
assignments?: InviteAssignment[];
|
|
4276
|
+
}
|
|
4277
|
+
interface InviteAssignment {
|
|
4278
|
+
/** Full name of resource to be assigned. */
|
|
4279
|
+
fullNameResource?: FullNameResource;
|
|
4280
|
+
}
|
|
4281
|
+
interface FullNameResource extends FullNameResourceResourceContextOneOf {
|
|
4282
|
+
/** Specific site details. */
|
|
4283
|
+
siteContext?: SiteResourceContext;
|
|
4284
|
+
/** Specific account details. */
|
|
4285
|
+
accountContext?: AccountResourceContext;
|
|
4286
|
+
}
|
|
4287
|
+
/** @oneof */
|
|
4288
|
+
interface FullNameResourceResourceContextOneOf {
|
|
4289
|
+
/** Specific site details. */
|
|
4290
|
+
siteContext?: SiteResourceContext;
|
|
4291
|
+
/** Specific account details. */
|
|
4292
|
+
accountContext?: AccountResourceContext;
|
|
4293
|
+
}
|
|
4294
|
+
/** Site resource context. It indicates that the resource is under a site (can be the site itself or some asset of a site, like a blog post) */
|
|
4295
|
+
interface SiteResourceContext {
|
|
4296
|
+
/** Site ID. */
|
|
4297
|
+
metasiteId?: string;
|
|
4298
|
+
}
|
|
4299
|
+
/** Account resource contexts. It indicates that the resource is under the account (can be the account itself or some asset of an account, like a logo or a domain) */
|
|
4300
|
+
interface AccountResourceContext {
|
|
4301
|
+
/** Account ID. */
|
|
4302
|
+
accountId?: string;
|
|
4303
|
+
}
|
|
4304
|
+
interface OrganizationResourceContext {
|
|
4305
|
+
}
|
|
4306
|
+
/**
|
|
4307
|
+
* A custom resource. Is used to represent some asset that is not a direct resource context (site or account), but something custom.
|
|
4308
|
+
* For example: payment method, blog post, domain, logo.
|
|
4309
|
+
*/
|
|
4310
|
+
interface Resource$1 {
|
|
4311
|
+
/** The resource id. */
|
|
4312
|
+
_id?: string | null;
|
|
4313
|
+
/** The resource type */
|
|
4314
|
+
type?: string | null;
|
|
4315
|
+
}
|
|
4316
|
+
interface PolicyCondition {
|
|
4317
|
+
/** The type of the condition */
|
|
4318
|
+
condition?: ConditionType;
|
|
4319
|
+
}
|
|
4320
|
+
interface ConditionType extends ConditionTypeOfOneOf {
|
|
4321
|
+
/** @deprecated */
|
|
4322
|
+
simpleCondition?: SimpleCondition;
|
|
4323
|
+
/** A logic combination between several conditions, with an operator between them */
|
|
4324
|
+
joinedConditions?: JoinedCondition;
|
|
4325
|
+
/** @deprecated */
|
|
4326
|
+
environmentCondition?: EnvironmentCondition;
|
|
4327
|
+
/** A single condition */
|
|
4328
|
+
condition?: Condition$1;
|
|
4329
|
+
}
|
|
4330
|
+
/** @oneof */
|
|
4331
|
+
interface ConditionTypeOfOneOf {
|
|
4332
|
+
/** @deprecated */
|
|
4333
|
+
simpleCondition?: SimpleCondition;
|
|
4334
|
+
/** A logic combination between several conditions, with an operator between them */
|
|
4335
|
+
joinedConditions?: JoinedCondition;
|
|
4336
|
+
/** @deprecated */
|
|
4337
|
+
environmentCondition?: EnvironmentCondition;
|
|
4338
|
+
/** A single condition */
|
|
4339
|
+
condition?: Condition$1;
|
|
4340
|
+
}
|
|
4341
|
+
interface SimpleCondition {
|
|
4342
|
+
attrName?: string;
|
|
4343
|
+
value?: SimpleConditionValue;
|
|
4344
|
+
op?: SimpleConditionOperator;
|
|
4345
|
+
conditionModelId?: string;
|
|
4346
|
+
}
|
|
4347
|
+
interface SimpleConditionValue extends SimpleConditionValueValueOneOf {
|
|
4348
|
+
attrName?: string;
|
|
4349
|
+
stringValue?: string;
|
|
4350
|
+
boolValue?: boolean;
|
|
4351
|
+
}
|
|
4352
|
+
/** @oneof */
|
|
4353
|
+
interface SimpleConditionValueValueOneOf {
|
|
4354
|
+
attrName?: string;
|
|
4355
|
+
stringValue?: string;
|
|
4356
|
+
boolValue?: boolean;
|
|
4357
|
+
}
|
|
4358
|
+
declare enum SimpleConditionOperator {
|
|
4359
|
+
UNKNOWN_SIMPLE_OP = "UNKNOWN_SIMPLE_OP",
|
|
4360
|
+
EQUAL = "EQUAL"
|
|
4361
|
+
}
|
|
4362
|
+
interface JoinedCondition {
|
|
4363
|
+
/** The operator that should be used when evaluating the condition */
|
|
4364
|
+
op?: JoinedConditionOperator;
|
|
4365
|
+
/** The conditions that should be evaluated, and then joined using the operator provided */
|
|
4366
|
+
conditions?: ConditionType[];
|
|
4367
|
+
}
|
|
4368
|
+
declare enum JoinedConditionOperator {
|
|
4369
|
+
UNKNOWN_JOIN_OP = "UNKNOWN_JOIN_OP",
|
|
4370
|
+
OR = "OR",
|
|
4371
|
+
AND = "AND"
|
|
4372
|
+
}
|
|
4373
|
+
interface EnvironmentCondition extends EnvironmentConditionConditionOneOf {
|
|
4374
|
+
experimentCondition?: ExperimentCondition;
|
|
4375
|
+
}
|
|
4376
|
+
/** @oneof */
|
|
4377
|
+
interface EnvironmentConditionConditionOneOf {
|
|
4378
|
+
experimentCondition?: ExperimentCondition;
|
|
4379
|
+
}
|
|
4380
|
+
interface ExperimentCondition {
|
|
4381
|
+
spec?: string;
|
|
4382
|
+
fallbackValue?: string;
|
|
4383
|
+
expectedValue?: string;
|
|
4384
|
+
}
|
|
4385
|
+
interface Condition$1 {
|
|
4386
|
+
/** The unique identifier of the condition model. Indicates which actions the condition is working on */
|
|
4387
|
+
conditionModelId?: string;
|
|
4388
|
+
/** The operator that should be evaluated */
|
|
4389
|
+
operator?: ConditionOperator;
|
|
4390
|
+
}
|
|
4391
|
+
interface ConditionOperator extends ConditionOperatorOperatorsOneOf {
|
|
4392
|
+
/** Comparison of equality - will be evaluated to true if the given parties are equal */
|
|
4393
|
+
equals?: EqualOperator;
|
|
4394
|
+
/** Regex operator - will be evaluated to true if the given value matches the provided regex */
|
|
4395
|
+
like?: LikeOperator;
|
|
4396
|
+
/** Petri experiment - will be evaluated using petri. */
|
|
4397
|
+
experiment?: ExperimentOperator;
|
|
4398
|
+
/** Operator that indicates a dependency on another subject being allowed to perform something. */
|
|
4399
|
+
dependOn?: DependOnOperator;
|
|
4400
|
+
}
|
|
4401
|
+
/** @oneof */
|
|
4402
|
+
interface ConditionOperatorOperatorsOneOf {
|
|
4403
|
+
/** Comparison of equality - will be evaluated to true if the given parties are equal */
|
|
4404
|
+
equals?: EqualOperator;
|
|
4405
|
+
/** Regex operator - will be evaluated to true if the given value matches the provided regex */
|
|
4406
|
+
like?: LikeOperator;
|
|
4407
|
+
/** Petri experiment - will be evaluated using petri. */
|
|
4408
|
+
experiment?: ExperimentOperator;
|
|
4409
|
+
/** Operator that indicates a dependency on another subject being allowed to perform something. */
|
|
4410
|
+
dependOn?: DependOnOperator;
|
|
4411
|
+
}
|
|
4412
|
+
interface EqualOperator {
|
|
4413
|
+
/** The attribute which should be compared. The attribute will be first evaluated to a value, and then compared the other side (attribute/value) */
|
|
4414
|
+
attrName?: string;
|
|
4415
|
+
/** The value to compare to. If the two parties are equal - we will return true. */
|
|
4416
|
+
value?: ConditionValue;
|
|
4417
|
+
}
|
|
4418
|
+
interface ConditionValue extends ConditionValueValueOneOf {
|
|
4419
|
+
/** an attribute. We'll first retrieve the value of the attribute (from the request or from pre-indexed values), and then compare to what it needs to be compared with. */
|
|
4420
|
+
attrName?: string;
|
|
4421
|
+
/** a value with a string type. Will be compared to the attribute provided, and be true only if they match the operator. */
|
|
4422
|
+
stringValue?: string;
|
|
4423
|
+
/** a value with a boolean type. Will be compared to the attribute provided, and be true only if they match the operator. */
|
|
4424
|
+
boolValue?: boolean;
|
|
4425
|
+
}
|
|
4426
|
+
/** @oneof */
|
|
4427
|
+
interface ConditionValueValueOneOf {
|
|
4428
|
+
/** an attribute. We'll first retrieve the value of the attribute (from the request or from pre-indexed values), and then compare to what it needs to be compared with. */
|
|
4429
|
+
attrName?: string;
|
|
4430
|
+
/** a value with a string type. Will be compared to the attribute provided, and be true only if they match the operator. */
|
|
4431
|
+
stringValue?: string;
|
|
4432
|
+
/** a value with a boolean type. Will be compared to the attribute provided, and be true only if they match the operator. */
|
|
4433
|
+
boolValue?: boolean;
|
|
4434
|
+
}
|
|
4435
|
+
interface LikeOperator {
|
|
4436
|
+
/** The attribute which should be compared. The attribute will be first evaluated to a value, and then compared the regex values provided. */
|
|
4437
|
+
attrName?: string;
|
|
4438
|
+
/** The regex values which the attribute value should be evaluated on. If the attribute value matches at least one of the regular expressions provided - we will return true */
|
|
4439
|
+
values?: string[];
|
|
4440
|
+
}
|
|
4441
|
+
interface ExperimentOperator {
|
|
4442
|
+
/** The spec to conduct the experiment on. */
|
|
4443
|
+
spec?: string;
|
|
4444
|
+
/** The value to use if the experiment could not be conducted */
|
|
4445
|
+
fallbackValue?: string;
|
|
4446
|
+
/** The expected value of the experiment conduction. If it matches the actual value - true will be returned. Otherwise - false. */
|
|
4447
|
+
expectedValue?: string;
|
|
4448
|
+
}
|
|
4449
|
+
/** Implies that the policy takes affect only if the depend on subject is permitted as well. */
|
|
4450
|
+
interface DependOnOperator {
|
|
4451
|
+
/** The subject on which the current entry depends on. If the subject is allowed to perform what the query was about - the condition will be evaluated to true. Otherwise - false */
|
|
4452
|
+
dependOnSubject?: Subject$1;
|
|
4453
|
+
}
|
|
4454
|
+
interface AccountInfo$1 {
|
|
4455
|
+
accountName?: string;
|
|
4456
|
+
accountImage?: string;
|
|
4457
|
+
isTeam?: boolean;
|
|
4458
|
+
}
|
|
4459
|
+
interface ApiPolicy {
|
|
4460
|
+
_id?: string;
|
|
4461
|
+
description?: string | null;
|
|
4462
|
+
name?: string | null;
|
|
4463
|
+
isCustom?: boolean;
|
|
4464
|
+
scopes?: string[];
|
|
4465
|
+
}
|
|
4466
|
+
interface PredefinedRoles$1 {
|
|
4467
|
+
roles?: PredefinedRole$1[];
|
|
4468
|
+
}
|
|
4469
|
+
interface PredefinedRole$1 {
|
|
4470
|
+
titleKey?: string;
|
|
4471
|
+
roles?: Role$1[];
|
|
4472
|
+
title?: string | null;
|
|
4473
|
+
areaId?: string;
|
|
4474
|
+
}
|
|
4475
|
+
interface Role$1 {
|
|
4476
|
+
_id?: string;
|
|
4477
|
+
deprecatedKey?: string;
|
|
4478
|
+
/** @deprecated */
|
|
4479
|
+
titleKey?: string;
|
|
4480
|
+
/** @deprecated */
|
|
4481
|
+
descriptionKey?: string;
|
|
4482
|
+
deprecated?: boolean;
|
|
4483
|
+
restrictFromLevel?: string;
|
|
4484
|
+
experiments?: string[];
|
|
4485
|
+
appDefIds?: string[];
|
|
4486
|
+
title?: string | null;
|
|
4487
|
+
description?: string | null;
|
|
4488
|
+
isCustom?: boolean;
|
|
4489
|
+
scopes?: string[];
|
|
4490
|
+
availableResourceTypes?: ResourceType$1[];
|
|
4491
|
+
availableConditions?: ConditionAttributeType$1[];
|
|
4492
|
+
limitToEditorTypes?: string[];
|
|
4493
|
+
}
|
|
4494
|
+
interface ChangeRoleRequest {
|
|
4495
|
+
/** User ID. */
|
|
4496
|
+
_id?: string;
|
|
4497
|
+
/**
|
|
4498
|
+
* Deprecated. Use `policyIds`.
|
|
4499
|
+
* @deprecated
|
|
4500
|
+
*/
|
|
4501
|
+
role?: string;
|
|
4502
|
+
/** Role IDs to be assigned. */
|
|
4503
|
+
policyIds?: string[];
|
|
4504
|
+
}
|
|
4505
|
+
interface ChangeRoleResponse {
|
|
4506
|
+
}
|
|
4507
|
+
interface RemoveMemberRequest {
|
|
4508
|
+
/** User ID of the team member to remove. */
|
|
4509
|
+
userId: string;
|
|
4510
|
+
}
|
|
4511
|
+
interface RemoveMemberResponse {
|
|
4512
|
+
}
|
|
4513
|
+
interface GetUsersRequest {
|
|
4514
|
+
/** The number of items to load */
|
|
4515
|
+
limit?: number | null;
|
|
4516
|
+
/** number of items to skip in the current sort order */
|
|
4517
|
+
offset?: number | null;
|
|
4518
|
+
}
|
|
4519
|
+
interface GetUsersResponse {
|
|
4520
|
+
users?: User$1[];
|
|
4521
|
+
}
|
|
4522
|
+
interface GetScopesRequest {
|
|
4523
|
+
/** The locale of the request. Defaults to en */
|
|
4524
|
+
locale?: string | null;
|
|
4525
|
+
}
|
|
4526
|
+
interface GetScopesResponse {
|
|
4527
|
+
scopeAreas?: ScopeArea[];
|
|
4528
|
+
}
|
|
4529
|
+
interface ScopeArea {
|
|
4530
|
+
title?: string;
|
|
4531
|
+
appDefIds?: string[];
|
|
4532
|
+
scopes?: PermissionScope[];
|
|
4533
|
+
restrictFromLevel?: ScopeLevel;
|
|
4534
|
+
}
|
|
4535
|
+
interface PermissionScope {
|
|
4536
|
+
_id?: string;
|
|
4537
|
+
title?: string;
|
|
4538
|
+
description?: string;
|
|
4539
|
+
level?: ScopeLevel;
|
|
4540
|
+
experiments?: string[];
|
|
4541
|
+
dependantScopes?: string[];
|
|
4542
|
+
restrictFromLevel?: ScopeLevel;
|
|
4543
|
+
deprecated?: boolean | null;
|
|
4544
|
+
/** The visibility of the scope for the caller */
|
|
4545
|
+
visibility?: Visibility;
|
|
4546
|
+
appDefIds?: string[];
|
|
4547
|
+
}
|
|
4548
|
+
declare enum ScopeLevel {
|
|
4549
|
+
None = "None",
|
|
4550
|
+
SITE = "SITE",
|
|
4551
|
+
ACCOUNT = "ACCOUNT"
|
|
4552
|
+
}
|
|
4553
|
+
declare enum Visibility {
|
|
4554
|
+
/** The scope should be visible to the caller */
|
|
4555
|
+
VISIBLE = "VISIBLE",
|
|
4556
|
+
/** The scope shouldn't be visible for the caller, because the capability that blocks it is turned on for the caller */
|
|
4557
|
+
BLOCKED_BY_CAPABILITY = "BLOCKED_BY_CAPABILITY"
|
|
4558
|
+
}
|
|
4559
|
+
interface GetPeopleRequest {
|
|
4560
|
+
resource?: PeopleResource;
|
|
4561
|
+
peopleType?: PeopleType;
|
|
4562
|
+
paging?: Paging;
|
|
4563
|
+
/** The locale of the request. Defaults to en */
|
|
4564
|
+
locale?: string | null;
|
|
4565
|
+
}
|
|
4566
|
+
interface PeopleResource extends PeopleResourceResourceTypeOneOf {
|
|
4567
|
+
site?: string;
|
|
4568
|
+
folder?: FolderResource;
|
|
4569
|
+
}
|
|
4570
|
+
/** @oneof */
|
|
4571
|
+
interface PeopleResourceResourceTypeOneOf {
|
|
4572
|
+
site?: string;
|
|
4573
|
+
folder?: FolderResource;
|
|
4574
|
+
}
|
|
4575
|
+
interface FolderResource {
|
|
4576
|
+
folderId?: string;
|
|
4577
|
+
folderFullPath?: string;
|
|
4578
|
+
}
|
|
4579
|
+
declare enum PeopleType {
|
|
4580
|
+
UNDEF_PEOPLE_TYPE = "UNDEF_PEOPLE_TYPE",
|
|
4581
|
+
CONTRIBUTOR = "CONTRIBUTOR",
|
|
4582
|
+
TEAM_MEMBER = "TEAM_MEMBER"
|
|
4583
|
+
}
|
|
4584
|
+
interface GetPeopleResponse {
|
|
4585
|
+
people?: People;
|
|
4586
|
+
}
|
|
4587
|
+
interface People {
|
|
4588
|
+
people?: Person[];
|
|
4589
|
+
totalPeople?: number;
|
|
4590
|
+
}
|
|
4591
|
+
interface Person extends PersonPersonOneOf {
|
|
4592
|
+
contributor?: Contributor$1;
|
|
4593
|
+
teamMember?: TeamMember;
|
|
4594
|
+
}
|
|
4595
|
+
/** @oneof */
|
|
4596
|
+
interface PersonPersonOneOf {
|
|
4597
|
+
contributor?: Contributor$1;
|
|
4598
|
+
teamMember?: TeamMember;
|
|
4599
|
+
}
|
|
4600
|
+
interface Contributor$1 {
|
|
4601
|
+
/** Contributor's metadata. */
|
|
4602
|
+
metaData?: PersonMetaData$1;
|
|
4603
|
+
/** Whether the contributor account is a team account. */
|
|
4604
|
+
isTeam?: boolean | null;
|
|
4605
|
+
/** Date that the contributor joined the site. */
|
|
4606
|
+
joinedAt?: Date | null;
|
|
4607
|
+
/** Email address that received the invite. */
|
|
4608
|
+
invitedEmail?: string | null;
|
|
4609
|
+
/** Whether the contributor account is a client account. */
|
|
4610
|
+
isClient?: boolean | null;
|
|
4611
|
+
/**
|
|
4612
|
+
* Contributor's user ID.
|
|
4613
|
+
* @readonly
|
|
4614
|
+
*/
|
|
4615
|
+
_id?: string;
|
|
4616
|
+
}
|
|
4617
|
+
interface PersonMetaData$1 {
|
|
4618
|
+
/** Contributor's account ID. */
|
|
4619
|
+
_id?: string;
|
|
4620
|
+
/** Contributor's full name. */
|
|
4621
|
+
fullName?: string | null;
|
|
4622
|
+
/** URL for contributor's profile image. */
|
|
4623
|
+
imageUrl?: string | null;
|
|
4624
|
+
/** Contributor's email address. */
|
|
4625
|
+
email?: string | null;
|
|
4626
|
+
/** Contributor's access to assets and their assigned role (`policy`) for that asset. */
|
|
4627
|
+
assignments?: Assignment$1[];
|
|
4628
|
+
}
|
|
4629
|
+
interface TeamMember {
|
|
4630
|
+
metaData?: PersonMetaData$1;
|
|
4631
|
+
}
|
|
4632
|
+
interface GetTeamV2Response {
|
|
4633
|
+
users?: User$1[];
|
|
4634
|
+
totalUsersInAccount?: string;
|
|
4635
|
+
}
|
|
4636
|
+
interface GetTeamInvitesRequest {
|
|
4637
|
+
/** The locale of the request. Defaults to en */
|
|
4638
|
+
locale?: string | null;
|
|
4639
|
+
}
|
|
4640
|
+
interface GetTeamInvitesResponse {
|
|
4641
|
+
invites?: Invite[];
|
|
4642
|
+
}
|
|
4643
|
+
interface Invite {
|
|
4644
|
+
/** @readonly */
|
|
4645
|
+
_id?: string;
|
|
4646
|
+
/** @readonly */
|
|
4647
|
+
accountId?: string;
|
|
4648
|
+
email?: string;
|
|
4649
|
+
status?: InviteStatus$1;
|
|
4650
|
+
acceptLink?: string;
|
|
4651
|
+
dateCreated?: Date | null;
|
|
4652
|
+
dateUpdated?: Date | null;
|
|
4653
|
+
assignments?: ApiInviteAssignment[];
|
|
4654
|
+
/** Invite expiration date */
|
|
4655
|
+
expirationDate?: Date | null;
|
|
4656
|
+
}
|
|
4657
|
+
interface ApiInviteAssignment {
|
|
4658
|
+
policy?: AssignedPolicy$1;
|
|
4659
|
+
restrictions?: Restriction$1;
|
|
4660
|
+
}
|
|
4661
|
+
interface GetPoliciesRequest {
|
|
4662
|
+
/** The locale of the request. Defaults to en */
|
|
4663
|
+
locale?: string | null;
|
|
4664
|
+
/** Areas filter to include only roles from areas that pass this filter. When not provided, roles from all areas will be returned */
|
|
4665
|
+
areasFilter?: AreasFilter;
|
|
4666
|
+
/** Role level filter to include only roles that are not restricted from the requested resource level (site/account). When set to ALL, all levels are returned */
|
|
4667
|
+
roleLevel?: RoleLevel;
|
|
4668
|
+
}
|
|
4669
|
+
interface AreasFilter {
|
|
4670
|
+
/** A list of role area ids, to filter only roles belonging to these areas */
|
|
4671
|
+
areaIds?: string[];
|
|
4672
|
+
}
|
|
4673
|
+
declare enum RoleLevel {
|
|
4674
|
+
ALL = "ALL",
|
|
4675
|
+
SITE_LEVEL = "SITE_LEVEL",
|
|
4676
|
+
ACCOUNT_LEVEL = "ACCOUNT_LEVEL"
|
|
4677
|
+
}
|
|
4678
|
+
interface GetPoliciesResponse {
|
|
4679
|
+
policies?: PredefinedRoles$1;
|
|
4680
|
+
}
|
|
4681
|
+
interface SearchTeamRequest {
|
|
4682
|
+
/** Free text to search for within team member name and email address fields. */
|
|
4683
|
+
query?: string | null;
|
|
4684
|
+
/** Sort data. */
|
|
4685
|
+
orderBy?: Ordering[];
|
|
4686
|
+
/**
|
|
4687
|
+
* Filter object. Supported values: `inviteType` and `roleId`. For example, `{'inviteType': {'$eq': 'Expired'}}`.
|
|
4688
|
+
* See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more information.
|
|
4689
|
+
*/
|
|
4690
|
+
filter?: Record<string, any> | null;
|
|
4691
|
+
/**
|
|
4692
|
+
* A list of facets to return in the response. Facets count the items within logical groupings.
|
|
4693
|
+
* See [Filters and Facets: An Explainer](https://medium.com/@westontt/filters-and-facets-an-explainer-3b73a9538eca) for more information.
|
|
4694
|
+
*/
|
|
4695
|
+
facets?: FacetType[];
|
|
4696
|
+
/** Pagination. */
|
|
4697
|
+
paging?: Paging;
|
|
4698
|
+
}
|
|
4699
|
+
interface Ordering {
|
|
4700
|
+
/** Field to sort by. */
|
|
4701
|
+
fieldName?: OrderField;
|
|
4702
|
+
/** Sort order. */
|
|
4703
|
+
direction?: Direction;
|
|
4704
|
+
}
|
|
4705
|
+
declare enum OrderField {
|
|
4706
|
+
/** For internal use. */
|
|
4707
|
+
Undefined = "Undefined",
|
|
4708
|
+
/** Team member name. */
|
|
4709
|
+
Name = "Name",
|
|
4710
|
+
/** Date team member joined the account. */
|
|
4711
|
+
JoinedAt = "JoinedAt"
|
|
4712
|
+
}
|
|
4713
|
+
declare enum Direction {
|
|
4714
|
+
/** For internal use. */
|
|
4715
|
+
UninitializedDirection = "UninitializedDirection",
|
|
4716
|
+
/** Ascending. */
|
|
4717
|
+
ASC = "ASC",
|
|
4718
|
+
/** Descending. */
|
|
4719
|
+
DESC = "DESC"
|
|
4720
|
+
}
|
|
4721
|
+
declare enum FacetType {
|
|
4722
|
+
Undefined = "Undefined",
|
|
4723
|
+
/** How many team members with each role */
|
|
4724
|
+
Roles = "Roles",
|
|
4725
|
+
/** How many team members by invite status */
|
|
4726
|
+
InviteStatus = "InviteStatus",
|
|
4727
|
+
/** How many team members in total in the account */
|
|
4728
|
+
Users = "Users"
|
|
4729
|
+
}
|
|
4730
|
+
interface SearchTeamResponse {
|
|
4731
|
+
/** List of facets, as requested. */
|
|
4732
|
+
facets?: Facet[];
|
|
4733
|
+
/** Existing team members and invites sent to join the account. */
|
|
4734
|
+
teamMembers?: TeamMemberV3[];
|
|
4735
|
+
}
|
|
4736
|
+
interface Facet {
|
|
4737
|
+
/** Facet type. */
|
|
4738
|
+
facetType?: FacetType;
|
|
4739
|
+
/** Values and their counters. Values with count = 0 are not returned. */
|
|
4740
|
+
values?: FacetValue[];
|
|
4741
|
+
}
|
|
4742
|
+
interface FacetValue {
|
|
4743
|
+
/** Supported values: `Roles`, `InviteStatus`, `Users`. */
|
|
4744
|
+
value?: string;
|
|
4745
|
+
/** Number of existing items for the value. */
|
|
4746
|
+
count?: number;
|
|
4747
|
+
}
|
|
4748
|
+
interface TeamMemberV3 extends TeamMemberV3MembersOneOf {
|
|
4749
|
+
/** Existing team member data. */
|
|
4750
|
+
user?: UserV3;
|
|
4751
|
+
/** Invited team member data. */
|
|
4752
|
+
invite?: InviteV3;
|
|
4753
|
+
}
|
|
4754
|
+
/** @oneof */
|
|
4755
|
+
interface TeamMemberV3MembersOneOf {
|
|
4756
|
+
/** Existing team member data. */
|
|
4757
|
+
user?: UserV3;
|
|
4758
|
+
/** Invited team member data. */
|
|
4759
|
+
invite?: InviteV3;
|
|
4760
|
+
}
|
|
4761
|
+
interface UserV3 {
|
|
4762
|
+
/** User ID. */
|
|
4763
|
+
_id?: string;
|
|
4764
|
+
/** User's email address. */
|
|
4765
|
+
email?: string | null;
|
|
4766
|
+
/** User's name, when provided. */
|
|
4767
|
+
name?: Name$1;
|
|
4768
|
+
/** URL to user's profile image, when provided. */
|
|
4769
|
+
profileImage?: string | null;
|
|
4770
|
+
/** Date the user joined the team. */
|
|
4771
|
+
joinedTeamAt?: Date | null;
|
|
4772
|
+
/** Mapping of the user's access to an asset and their assigned role. */
|
|
4773
|
+
assignments?: AssignmentV3[];
|
|
4774
|
+
}
|
|
4775
|
+
interface AssignmentV3 {
|
|
4776
|
+
/** Role assigned to the user. To retrieve all available roles, call Get Roles Info. */
|
|
4777
|
+
policyId?: string | null;
|
|
4778
|
+
/**
|
|
4779
|
+
* Unique ID for this specific assignment.
|
|
4780
|
+
* @readonly
|
|
4781
|
+
*/
|
|
4782
|
+
assignmentId?: string | null;
|
|
4783
|
+
/** The asset where a user is assigned access in an assignment. When empty, the role covers all assets, with no restrictions to specific sites or folders. */
|
|
4784
|
+
restrictions?: Restriction$1;
|
|
4785
|
+
/** Identity assigned to the asset in an assignment, referred to as subject. Supported subjects include user IDs, account IDs, and app IDs. */
|
|
4786
|
+
subject?: AssignedSubject;
|
|
4787
|
+
}
|
|
4788
|
+
interface AssignedSubject {
|
|
4789
|
+
/**
|
|
4790
|
+
* Identity ID.
|
|
4791
|
+
* @readonly
|
|
4792
|
+
*/
|
|
4793
|
+
_id?: string;
|
|
4794
|
+
/** Identity type. */
|
|
4795
|
+
subjectType?: SubjectType$1;
|
|
4796
|
+
}
|
|
4797
|
+
interface InviteV3 {
|
|
4798
|
+
/**
|
|
4799
|
+
* Invite ID.
|
|
4800
|
+
* @readonly
|
|
4801
|
+
*/
|
|
4802
|
+
_id?: string;
|
|
4803
|
+
/** Invitee's email address. */
|
|
4804
|
+
email?: string | null;
|
|
4805
|
+
/** Invite status. */
|
|
4806
|
+
status?: InviteStatus$1;
|
|
4807
|
+
/** URL of direct link to accept the invite. */
|
|
4808
|
+
acceptLink?: string | null;
|
|
4809
|
+
/** Date the invite was created. */
|
|
4810
|
+
dateCreated?: Date | null;
|
|
4811
|
+
/** Date the invite was last updated. */
|
|
4812
|
+
dateUpdated?: Date | null;
|
|
4813
|
+
/** A list of assignments that will be applied to the invitees when they accept the invite. */
|
|
4814
|
+
assignments?: InviteAssignmentV3[];
|
|
4815
|
+
/** Invite expiration date. */
|
|
4816
|
+
expirationDate?: Date | null;
|
|
4817
|
+
}
|
|
4818
|
+
interface InviteAssignmentV3 {
|
|
4819
|
+
/** Role ID that will be assigned once the invite is accepted. */
|
|
4820
|
+
policyId?: string | null;
|
|
4821
|
+
/** Assets where the user will be assigned access. When empty, the role covers all assets, with no restrictions to specific sites or folders. */
|
|
4822
|
+
restrictions?: Restriction$1;
|
|
4823
|
+
}
|
|
4824
|
+
interface GetRolesRequest {
|
|
4825
|
+
/** The locale of the predefined roles names and descriptions. Defaults to English */
|
|
4826
|
+
locale?: string | null;
|
|
4827
|
+
}
|
|
4828
|
+
interface GetRolesResponse {
|
|
4829
|
+
/** The predefined roles (by areas) */
|
|
4830
|
+
predefinedRolesAreas?: PredefinedRolesArea[];
|
|
4831
|
+
/** The custom roles */
|
|
4832
|
+
customRoles?: CustomRole[];
|
|
4833
|
+
}
|
|
4834
|
+
interface PredefinedRolesArea {
|
|
4835
|
+
/** The id of the area (e.g "Blog") */
|
|
4836
|
+
areaId?: string;
|
|
4837
|
+
/** The translated area title, according to the request locale, or the original title if translation failed */
|
|
4838
|
+
title?: string;
|
|
4839
|
+
/** The predefined roles belonging to this area */
|
|
4840
|
+
roles?: PredefinedRoleV2[];
|
|
4841
|
+
}
|
|
4842
|
+
interface PredefinedRoleV2 {
|
|
4843
|
+
/** The policy id of this role */
|
|
4844
|
+
_id?: string;
|
|
4845
|
+
/** The title of this role, translated according to the request locale, or the original title if translation failed */
|
|
4846
|
+
title?: string;
|
|
4847
|
+
/** The description of this role, translated according to the request locale, or the original description if translation failed */
|
|
4848
|
+
description?: string;
|
|
4849
|
+
/** The permission-scopes this role's policy contains */
|
|
4850
|
+
scopes?: string[];
|
|
4851
|
+
/** Indicates if the role is deprecated (shouldn't be granted, and only exists for backward compatability) */
|
|
4852
|
+
deprecated?: boolean;
|
|
4853
|
+
/** Indicates if this role should be restricted from assignments of a specific resource type (if RoleLevelRestriction = None, there is no restriction) */
|
|
4854
|
+
restrictFromLevel?: RoleLevelRestriction;
|
|
4855
|
+
/** Experiments that should be open for this role to be visible */
|
|
4856
|
+
experiments?: string[];
|
|
4857
|
+
/** Applications that should be installed for this role to be visible */
|
|
4858
|
+
appDefIds?: string[];
|
|
4859
|
+
/** Editor types this role should be limited to (if empty, available in all editors) */
|
|
4860
|
+
limitToEditorTypes?: EditorType[];
|
|
4861
|
+
/** The visibility of the role */
|
|
4862
|
+
visibility?: RoleVisibility;
|
|
4863
|
+
}
|
|
4864
|
+
declare enum RoleLevelRestriction {
|
|
4865
|
+
NoRestriction = "NoRestriction",
|
|
4866
|
+
Site = "Site",
|
|
4867
|
+
Account = "Account"
|
|
4868
|
+
}
|
|
4869
|
+
declare enum EditorType {
|
|
4870
|
+
UNINITIALIZED = "UNINITIALIZED",
|
|
4871
|
+
EDITORX = "EDITORX",
|
|
4872
|
+
BLOCKS = "BLOCKS",
|
|
4873
|
+
STUDIO = "STUDIO"
|
|
4874
|
+
}
|
|
4875
|
+
declare enum RoleVisibility {
|
|
4876
|
+
/** the role should be visible to the caller */
|
|
4877
|
+
Visible = "Visible",
|
|
4878
|
+
/** the role should be disabled for the caller, because it contains permissions the caller wasn't granted on the call context (site/account) */
|
|
4879
|
+
Disabled_Dependency = "Disabled_Dependency",
|
|
4880
|
+
/** the role should be disabled for the caller, because the role's capability is disabled for the caller */
|
|
4881
|
+
Disabled_Capability = "Disabled_Capability"
|
|
4882
|
+
}
|
|
4883
|
+
interface CustomRole {
|
|
4884
|
+
/** The policy this role grants */
|
|
4885
|
+
policy?: ApiPolicy;
|
|
4886
|
+
/** The visibility of the role */
|
|
4887
|
+
visibility?: RoleVisibility;
|
|
4888
|
+
}
|
|
4889
|
+
interface GetRolesInfoRequest {
|
|
4890
|
+
/** Language of predefined roles names and descriptions to return, in ISO 639 format. Default: `en`. */
|
|
4891
|
+
locale?: string | null;
|
|
4892
|
+
/** Roles to return. */
|
|
4893
|
+
filter?: RolesInfoFilter;
|
|
4894
|
+
}
|
|
4895
|
+
interface RolesInfoFilter {
|
|
4896
|
+
/** Role level to return. Default: ALL. */
|
|
4897
|
+
roleLevel?: RoleLevel;
|
|
4898
|
+
/** Filter for editor-specific roles. Default: ALL. */
|
|
4899
|
+
editorTypes?: EditorType[];
|
|
4900
|
+
}
|
|
4901
|
+
interface GetRolesInfoResponse {
|
|
4902
|
+
/** Predefined roles. */
|
|
4903
|
+
predefinedRoles?: RoleInfo[];
|
|
4904
|
+
/** Custom roles. */
|
|
4905
|
+
customRoles?: RoleInfo[];
|
|
4906
|
+
}
|
|
4907
|
+
interface RoleInfo {
|
|
4908
|
+
/** Role ID. */
|
|
4909
|
+
_id?: string;
|
|
4910
|
+
/** Role title, translated according to the request locale. If translation fails, the original title is returned. */
|
|
4911
|
+
title?: string;
|
|
4912
|
+
/** Role description, translated according to the request locale. If translation fails, the original description is returned. */
|
|
4913
|
+
description?: string;
|
|
4914
|
+
/** Whether this role is restricted from accessing a specific resource type. Default: `NoRestriction`. */
|
|
4915
|
+
restrictFromLevel?: RoleLevelRestriction;
|
|
4916
|
+
}
|
|
4917
|
+
interface CreateCustomRoleRequest {
|
|
4918
|
+
/** The custom role to create */
|
|
4919
|
+
role?: Policy$1;
|
|
4920
|
+
}
|
|
4921
|
+
interface Policy$1 {
|
|
4922
|
+
/** @readonly */
|
|
4923
|
+
_id?: string | null;
|
|
4924
|
+
name?: string | null;
|
|
4925
|
+
description?: string | null;
|
|
4926
|
+
/** @readonly */
|
|
4927
|
+
status?: string;
|
|
4928
|
+
policyType?: PolicyType;
|
|
4929
|
+
statements?: PolicyStatement[];
|
|
4930
|
+
}
|
|
4931
|
+
declare enum PolicyType {
|
|
4932
|
+
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
4933
|
+
PREDEFINED = "PREDEFINED",
|
|
4934
|
+
CUSTOM = "CUSTOM",
|
|
4935
|
+
INLINE_CUSTOM = "INLINE_CUSTOM"
|
|
4936
|
+
}
|
|
4937
|
+
interface PolicyStatement {
|
|
4938
|
+
/** @readonly */
|
|
4939
|
+
_id?: string | null;
|
|
4940
|
+
permissions?: string[];
|
|
4941
|
+
scopes?: string[];
|
|
4942
|
+
effect?: Effect;
|
|
4943
|
+
condition?: PolicyCondition;
|
|
4944
|
+
}
|
|
4945
|
+
declare enum Effect {
|
|
4946
|
+
UNKNOWN_EFFECT = "UNKNOWN_EFFECT",
|
|
4947
|
+
ALLOW = "ALLOW",
|
|
4948
|
+
DENY = "DENY"
|
|
4949
|
+
}
|
|
4950
|
+
interface CreateCustomRoleResponse {
|
|
4951
|
+
/** The newly created custom role */
|
|
4952
|
+
roleCreated?: Policy$1;
|
|
4953
|
+
}
|
|
4954
|
+
interface ChangeRoleV2Request {
|
|
4955
|
+
/** ID of team member being affected. */
|
|
4956
|
+
userId?: string;
|
|
4957
|
+
/** New assignments, including roles, to apply to the team member in this account. To retrieve all available roles, call Get Roles Info. */
|
|
4958
|
+
roles?: AssignmentV3[];
|
|
4959
|
+
/** Existing assignment IDs to remove. To retrieve all existing assignment IDs for a team member, call Search Team. */
|
|
4960
|
+
assignmentIdsToReplace?: string[];
|
|
4961
|
+
}
|
|
4962
|
+
interface ChangeRoleV2Response {
|
|
4963
|
+
/** New roles assigned to the given team member. */
|
|
4964
|
+
roles?: AssignmentV3[];
|
|
4965
|
+
}
|
|
4966
|
+
interface UpdateTeamMemberAssignmentsRequest {
|
|
4967
|
+
/** ID of team member being affected. */
|
|
4968
|
+
userId: string;
|
|
4969
|
+
/** New assignments to apply to the team member in this account. */
|
|
4970
|
+
newAssignments: AssignmentV3[];
|
|
4971
|
+
/** Existing assignment IDs to remove. To retrieve all existing assignment IDs for a team member, call Search Team. */
|
|
4972
|
+
assignmentIdsToRemove: string[];
|
|
4973
|
+
}
|
|
4974
|
+
interface UpdateTeamMemberAssignmentsResponse {
|
|
4975
|
+
/** The new assignments, assigned to the given team member. */
|
|
4976
|
+
assignments?: AssignmentV3[];
|
|
4977
|
+
}
|
|
4978
|
+
interface GetSubjectsAssignmentsRequest {
|
|
4979
|
+
/** The locale of the request. Defaults to en */
|
|
4980
|
+
locale?: string | null;
|
|
4981
|
+
/** list of subjects */
|
|
4982
|
+
subjects?: Subject$1[];
|
|
4983
|
+
}
|
|
4984
|
+
interface GetSubjectsAssignmentsResponse {
|
|
4985
|
+
/** list of subjects with assignments */
|
|
4986
|
+
subjectsAssignments?: SubjectAssignments[];
|
|
4987
|
+
}
|
|
4988
|
+
interface SubjectAssignments {
|
|
4989
|
+
subject?: Subject$1;
|
|
4990
|
+
assignments?: Assignment$1[];
|
|
4991
|
+
}
|
|
4992
|
+
interface FacetValueNonNullableFields {
|
|
4993
|
+
value: string;
|
|
4994
|
+
count: number;
|
|
4995
|
+
}
|
|
4996
|
+
interface FacetNonNullableFields {
|
|
4997
|
+
facetType: FacetType;
|
|
4998
|
+
values: FacetValueNonNullableFields[];
|
|
4999
|
+
}
|
|
5000
|
+
interface NameNonNullableFields {
|
|
5001
|
+
firstName: string;
|
|
5002
|
+
lastName: string;
|
|
5003
|
+
}
|
|
5004
|
+
interface ApiResourceNonNullableFields {
|
|
5005
|
+
resourceType: ResourceType$1;
|
|
5006
|
+
_id: string;
|
|
5007
|
+
}
|
|
5008
|
+
interface ApiConditionNonNullableFields {
|
|
5009
|
+
conditionType: ConditionAttributeType$1;
|
|
5010
|
+
_id: string;
|
|
5011
|
+
}
|
|
5012
|
+
interface ConditionsNonNullableFields {
|
|
5013
|
+
conditions: ApiConditionNonNullableFields[];
|
|
5014
|
+
}
|
|
5015
|
+
interface CompanionResourceNonNullableFields {
|
|
5016
|
+
_id: string;
|
|
5017
|
+
resourceType: string;
|
|
5018
|
+
}
|
|
5019
|
+
interface SiteRestrictionNonNullableFields {
|
|
5020
|
+
_id: string;
|
|
5021
|
+
resource?: CompanionResourceNonNullableFields;
|
|
5022
|
+
}
|
|
5023
|
+
interface RestrictionNonNullableFields {
|
|
5024
|
+
resource?: ApiResourceNonNullableFields;
|
|
5025
|
+
conditions?: ConditionsNonNullableFields;
|
|
5026
|
+
site?: SiteRestrictionNonNullableFields;
|
|
5027
|
+
}
|
|
5028
|
+
interface AssignedSubjectNonNullableFields {
|
|
5029
|
+
_id: string;
|
|
5030
|
+
subjectType: SubjectType$1;
|
|
5031
|
+
}
|
|
5032
|
+
interface AssignmentV3NonNullableFields {
|
|
5033
|
+
restrictions?: RestrictionNonNullableFields;
|
|
5034
|
+
subject?: AssignedSubjectNonNullableFields;
|
|
5035
|
+
}
|
|
5036
|
+
interface UserV3NonNullableFields {
|
|
5037
|
+
_id: string;
|
|
5038
|
+
name?: NameNonNullableFields;
|
|
5039
|
+
assignments: AssignmentV3NonNullableFields[];
|
|
5040
|
+
}
|
|
5041
|
+
interface InviteAssignmentV3NonNullableFields {
|
|
5042
|
+
restrictions?: RestrictionNonNullableFields;
|
|
5043
|
+
}
|
|
5044
|
+
interface InviteV3NonNullableFields {
|
|
5045
|
+
_id: string;
|
|
5046
|
+
status: InviteStatus$1;
|
|
5047
|
+
assignments: InviteAssignmentV3NonNullableFields[];
|
|
5048
|
+
}
|
|
5049
|
+
interface TeamMemberV3NonNullableFields {
|
|
5050
|
+
user?: UserV3NonNullableFields;
|
|
5051
|
+
invite?: InviteV3NonNullableFields;
|
|
5052
|
+
}
|
|
5053
|
+
interface SearchTeamResponseNonNullableFields {
|
|
5054
|
+
facets: FacetNonNullableFields[];
|
|
5055
|
+
teamMembers: TeamMemberV3NonNullableFields[];
|
|
5056
|
+
}
|
|
5057
|
+
interface RoleInfoNonNullableFields {
|
|
5058
|
+
_id: string;
|
|
5059
|
+
title: string;
|
|
5060
|
+
description: string;
|
|
5061
|
+
restrictFromLevel: RoleLevelRestriction;
|
|
5062
|
+
}
|
|
5063
|
+
interface GetRolesInfoResponseNonNullableFields {
|
|
5064
|
+
predefinedRoles: RoleInfoNonNullableFields[];
|
|
5065
|
+
customRoles: RoleInfoNonNullableFields[];
|
|
5066
|
+
}
|
|
5067
|
+
interface UpdateTeamMemberAssignmentsResponseNonNullableFields {
|
|
5068
|
+
assignments: AssignmentV3NonNullableFields[];
|
|
5069
|
+
}
|
|
5070
|
+
interface SearchTeamOptions {
|
|
5071
|
+
/** Free text to search for within team member name and email address fields. */
|
|
5072
|
+
query?: string | null;
|
|
5073
|
+
/** Sort data. */
|
|
5074
|
+
orderBy?: Ordering[];
|
|
5075
|
+
/**
|
|
5076
|
+
* Filter object. Supported values: `inviteType` and `roleId`. For example, `{'inviteType': {'$eq': 'Expired'}}`.
|
|
5077
|
+
* See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more information.
|
|
5078
|
+
*/
|
|
5079
|
+
filter?: Record<string, any> | null;
|
|
5080
|
+
/**
|
|
5081
|
+
* A list of facets to return in the response. Facets count the items within logical groupings.
|
|
5082
|
+
* See [Filters and Facets: An Explainer](https://medium.com/@westontt/filters-and-facets-an-explainer-3b73a9538eca) for more information.
|
|
5083
|
+
*/
|
|
5084
|
+
facets?: FacetType[];
|
|
5085
|
+
/** Pagination. */
|
|
5086
|
+
paging?: Paging;
|
|
5087
|
+
}
|
|
5088
|
+
interface GetRolesInfoOptions {
|
|
5089
|
+
/** Language of predefined roles names and descriptions to return, in ISO 639 format. Default: `en`. */
|
|
5090
|
+
locale?: string | null;
|
|
5091
|
+
/** Roles to return. */
|
|
5092
|
+
filter?: RolesInfoFilter;
|
|
5093
|
+
}
|
|
5094
|
+
interface UpdateTeamMemberAssignmentsOptions {
|
|
5095
|
+
/** New assignments to apply to the team member in this account. */
|
|
5096
|
+
newAssignments: AssignmentV3[];
|
|
5097
|
+
/** Existing assignment IDs to remove. To retrieve all existing assignment IDs for a team member, call Search Team. */
|
|
5098
|
+
assignmentIdsToRemove: string[];
|
|
5099
|
+
}
|
|
5100
|
+
|
|
5101
|
+
declare function removeMember$1(httpClient: HttpClient): RemoveMemberSignature;
|
|
5102
|
+
interface RemoveMemberSignature {
|
|
5103
|
+
/**
|
|
5104
|
+
* Removes a team member from the requesting account.
|
|
5105
|
+
* > **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.
|
|
5106
|
+
* @param - User ID of the team member to remove.
|
|
5107
|
+
*/
|
|
5108
|
+
(userId: string): Promise<void>;
|
|
5109
|
+
}
|
|
5110
|
+
declare function searchTeam$1(httpClient: HttpClient): SearchTeamSignature;
|
|
5111
|
+
interface SearchTeamSignature {
|
|
5112
|
+
/**
|
|
5113
|
+
* Retrieves all team members of the requesting account, based on the provided filters and free text queries.
|
|
5114
|
+
* > **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.
|
|
5115
|
+
*/
|
|
5116
|
+
(options?: SearchTeamOptions | undefined): Promise<SearchTeamResponse & SearchTeamResponseNonNullableFields>;
|
|
5117
|
+
}
|
|
5118
|
+
declare function getRolesInfo$1(httpClient: HttpClient): GetRolesInfoSignature;
|
|
5119
|
+
interface GetRolesInfoSignature {
|
|
5120
|
+
/**
|
|
5121
|
+
* Retrieves all available roles in the requesting account, including predefined and custom roles.
|
|
5122
|
+
* > **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.
|
|
5123
|
+
*/
|
|
5124
|
+
(options?: GetRolesInfoOptions | undefined): Promise<GetRolesInfoResponse & GetRolesInfoResponseNonNullableFields>;
|
|
5125
|
+
}
|
|
5126
|
+
declare function updateTeamMemberAssignments$1(httpClient: HttpClient): UpdateTeamMemberAssignmentsSignature;
|
|
5127
|
+
interface UpdateTeamMemberAssignmentsSignature {
|
|
5128
|
+
/**
|
|
5129
|
+
* Updates the assignments of roles and conditions for an existing team member. Changing assignments changes the team member’s access to account assets.
|
|
5130
|
+
* > **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.
|
|
5131
|
+
* @param - ID of team member being affected.
|
|
5132
|
+
*/
|
|
5133
|
+
(userId: string, options: UpdateTeamMemberAssignmentsOptions): Promise<UpdateTeamMemberAssignmentsResponse & UpdateTeamMemberAssignmentsResponseNonNullableFields>;
|
|
5134
|
+
}
|
|
5135
|
+
|
|
5136
|
+
declare const removeMember: MaybeContext<BuildRESTFunction<typeof removeMember$1> & typeof removeMember$1>;
|
|
5137
|
+
declare const searchTeam: MaybeContext<BuildRESTFunction<typeof searchTeam$1> & typeof searchTeam$1>;
|
|
5138
|
+
declare const getRolesInfo: MaybeContext<BuildRESTFunction<typeof getRolesInfo$1> & typeof getRolesInfo$1>;
|
|
5139
|
+
declare const updateTeamMemberAssignments: MaybeContext<BuildRESTFunction<typeof updateTeamMemberAssignments$1> & typeof updateTeamMemberAssignments$1>;
|
|
5140
|
+
|
|
5141
|
+
type context$1_AccountInvite = AccountInvite;
|
|
5142
|
+
type context$1_AccountResourceContext = AccountResourceContext;
|
|
5143
|
+
type context$1_ApiCondition = ApiCondition;
|
|
5144
|
+
type context$1_ApiInviteAssignment = ApiInviteAssignment;
|
|
5145
|
+
type context$1_ApiPolicy = ApiPolicy;
|
|
5146
|
+
type context$1_ApiResource = ApiResource;
|
|
5147
|
+
type context$1_AreasFilter = AreasFilter;
|
|
5148
|
+
type context$1_AssignedSubject = AssignedSubject;
|
|
5149
|
+
type context$1_AssignmentV3 = AssignmentV3;
|
|
5150
|
+
type context$1_ChangeRoleRequest = ChangeRoleRequest;
|
|
5151
|
+
type context$1_ChangeRoleResponse = ChangeRoleResponse;
|
|
5152
|
+
type context$1_ChangeRoleV2Request = ChangeRoleV2Request;
|
|
5153
|
+
type context$1_ChangeRoleV2Response = ChangeRoleV2Response;
|
|
5154
|
+
type context$1_ConditionOperator = ConditionOperator;
|
|
5155
|
+
type context$1_ConditionOperatorOperatorsOneOf = ConditionOperatorOperatorsOneOf;
|
|
5156
|
+
type context$1_ConditionType = ConditionType;
|
|
5157
|
+
type context$1_ConditionTypeOfOneOf = ConditionTypeOfOneOf;
|
|
5158
|
+
type context$1_ConditionValue = ConditionValue;
|
|
5159
|
+
type context$1_ConditionValueValueOneOf = ConditionValueValueOneOf;
|
|
5160
|
+
type context$1_CreateCustomRoleRequest = CreateCustomRoleRequest;
|
|
5161
|
+
type context$1_CreateCustomRoleResponse = CreateCustomRoleResponse;
|
|
5162
|
+
type context$1_CustomRole = CustomRole;
|
|
5163
|
+
type context$1_DependOnOperator = DependOnOperator;
|
|
5164
|
+
type context$1_Direction = Direction;
|
|
5165
|
+
declare const context$1_Direction: typeof Direction;
|
|
5166
|
+
type context$1_EditorType = EditorType;
|
|
5167
|
+
declare const context$1_EditorType: typeof EditorType;
|
|
5168
|
+
type context$1_Effect = Effect;
|
|
5169
|
+
declare const context$1_Effect: typeof Effect;
|
|
5170
|
+
type context$1_EnvironmentCondition = EnvironmentCondition;
|
|
5171
|
+
type context$1_EnvironmentConditionConditionOneOf = EnvironmentConditionConditionOneOf;
|
|
5172
|
+
type context$1_EqualOperator = EqualOperator;
|
|
5173
|
+
type context$1_ExperimentCondition = ExperimentCondition;
|
|
5174
|
+
type context$1_ExperimentOperator = ExperimentOperator;
|
|
5175
|
+
type context$1_Facet = Facet;
|
|
5176
|
+
type context$1_FacetType = FacetType;
|
|
5177
|
+
declare const context$1_FacetType: typeof FacetType;
|
|
5178
|
+
type context$1_FacetValue = FacetValue;
|
|
5179
|
+
type context$1_FolderResource = FolderResource;
|
|
5180
|
+
type context$1_FullNameResource = FullNameResource;
|
|
5181
|
+
type context$1_FullNameResourceResourceContextOneOf = FullNameResourceResourceContextOneOf;
|
|
5182
|
+
type context$1_GetPeopleRequest = GetPeopleRequest;
|
|
5183
|
+
type context$1_GetPeopleResponse = GetPeopleResponse;
|
|
5184
|
+
type context$1_GetPoliciesRequest = GetPoliciesRequest;
|
|
5185
|
+
type context$1_GetPoliciesResponse = GetPoliciesResponse;
|
|
5186
|
+
type context$1_GetRolesInfoOptions = GetRolesInfoOptions;
|
|
5187
|
+
type context$1_GetRolesInfoRequest = GetRolesInfoRequest;
|
|
5188
|
+
type context$1_GetRolesInfoResponse = GetRolesInfoResponse;
|
|
5189
|
+
type context$1_GetRolesInfoResponseNonNullableFields = GetRolesInfoResponseNonNullableFields;
|
|
5190
|
+
type context$1_GetRolesRequest = GetRolesRequest;
|
|
5191
|
+
type context$1_GetRolesResponse = GetRolesResponse;
|
|
5192
|
+
type context$1_GetScopesRequest = GetScopesRequest;
|
|
5193
|
+
type context$1_GetScopesResponse = GetScopesResponse;
|
|
5194
|
+
type context$1_GetSubjectsAssignmentsRequest = GetSubjectsAssignmentsRequest;
|
|
5195
|
+
type context$1_GetSubjectsAssignmentsResponse = GetSubjectsAssignmentsResponse;
|
|
5196
|
+
type context$1_GetTeamInvitesRequest = GetTeamInvitesRequest;
|
|
5197
|
+
type context$1_GetTeamInvitesResponse = GetTeamInvitesResponse;
|
|
5198
|
+
type context$1_GetTeamRequest = GetTeamRequest;
|
|
5199
|
+
type context$1_GetTeamResponse = GetTeamResponse;
|
|
5200
|
+
type context$1_GetTeamV2Response = GetTeamV2Response;
|
|
5201
|
+
type context$1_GetUsersRequest = GetUsersRequest;
|
|
5202
|
+
type context$1_GetUsersResponse = GetUsersResponse;
|
|
5203
|
+
type context$1_Invite = Invite;
|
|
5204
|
+
type context$1_InviteAssignment = InviteAssignment;
|
|
5205
|
+
type context$1_InviteAssignmentV3 = InviteAssignmentV3;
|
|
5206
|
+
type context$1_InviteResourceAssignment = InviteResourceAssignment;
|
|
5207
|
+
type context$1_InviteV3 = InviteV3;
|
|
5208
|
+
type context$1_JoinedCondition = JoinedCondition;
|
|
5209
|
+
type context$1_JoinedConditionOperator = JoinedConditionOperator;
|
|
5210
|
+
declare const context$1_JoinedConditionOperator: typeof JoinedConditionOperator;
|
|
5211
|
+
type context$1_LikeOperator = LikeOperator;
|
|
5212
|
+
type context$1_OrderField = OrderField;
|
|
5213
|
+
declare const context$1_OrderField: typeof OrderField;
|
|
5214
|
+
type context$1_Ordering = Ordering;
|
|
5215
|
+
type context$1_OrganizationResourceContext = OrganizationResourceContext;
|
|
5216
|
+
type context$1_Paging = Paging;
|
|
5217
|
+
type context$1_People = People;
|
|
5218
|
+
type context$1_PeopleResource = PeopleResource;
|
|
5219
|
+
type context$1_PeopleResourceResourceTypeOneOf = PeopleResourceResourceTypeOneOf;
|
|
5220
|
+
type context$1_PeopleType = PeopleType;
|
|
5221
|
+
declare const context$1_PeopleType: typeof PeopleType;
|
|
5222
|
+
type context$1_PermissionScope = PermissionScope;
|
|
5223
|
+
type context$1_Person = Person;
|
|
5224
|
+
type context$1_PersonPersonOneOf = PersonPersonOneOf;
|
|
5225
|
+
type context$1_PolicyCondition = PolicyCondition;
|
|
5226
|
+
type context$1_PolicyStatement = PolicyStatement;
|
|
5227
|
+
type context$1_PolicyType = PolicyType;
|
|
5228
|
+
declare const context$1_PolicyType: typeof PolicyType;
|
|
5229
|
+
type context$1_PredefinedRoleV2 = PredefinedRoleV2;
|
|
5230
|
+
type context$1_PredefinedRolesArea = PredefinedRolesArea;
|
|
5231
|
+
type context$1_RemoveMemberRequest = RemoveMemberRequest;
|
|
5232
|
+
type context$1_RemoveMemberResponse = RemoveMemberResponse;
|
|
5233
|
+
type context$1_RoleInfo = RoleInfo;
|
|
5234
|
+
type context$1_RoleLevel = RoleLevel;
|
|
5235
|
+
declare const context$1_RoleLevel: typeof RoleLevel;
|
|
5236
|
+
type context$1_RoleLevelRestriction = RoleLevelRestriction;
|
|
5237
|
+
declare const context$1_RoleLevelRestriction: typeof RoleLevelRestriction;
|
|
5238
|
+
type context$1_RoleVisibility = RoleVisibility;
|
|
5239
|
+
declare const context$1_RoleVisibility: typeof RoleVisibility;
|
|
5240
|
+
type context$1_RolesInfoFilter = RolesInfoFilter;
|
|
5241
|
+
type context$1_ScopeArea = ScopeArea;
|
|
5242
|
+
type context$1_ScopeLevel = ScopeLevel;
|
|
5243
|
+
declare const context$1_ScopeLevel: typeof ScopeLevel;
|
|
5244
|
+
type context$1_SearchTeamOptions = SearchTeamOptions;
|
|
5245
|
+
type context$1_SearchTeamRequest = SearchTeamRequest;
|
|
5246
|
+
type context$1_SearchTeamResponse = SearchTeamResponse;
|
|
5247
|
+
type context$1_SearchTeamResponseNonNullableFields = SearchTeamResponseNonNullableFields;
|
|
5248
|
+
type context$1_SimpleCondition = SimpleCondition;
|
|
5249
|
+
type context$1_SimpleConditionOperator = SimpleConditionOperator;
|
|
5250
|
+
declare const context$1_SimpleConditionOperator: typeof SimpleConditionOperator;
|
|
5251
|
+
type context$1_SimpleConditionValue = SimpleConditionValue;
|
|
5252
|
+
type context$1_SimpleConditionValueValueOneOf = SimpleConditionValueValueOneOf;
|
|
5253
|
+
type context$1_SiteResourceContext = SiteResourceContext;
|
|
5254
|
+
type context$1_SubjectAssignments = SubjectAssignments;
|
|
5255
|
+
type context$1_TeamMember = TeamMember;
|
|
5256
|
+
type context$1_TeamMemberV3 = TeamMemberV3;
|
|
5257
|
+
type context$1_TeamMemberV3MembersOneOf = TeamMemberV3MembersOneOf;
|
|
5258
|
+
type context$1_UpdateTeamMemberAssignmentsOptions = UpdateTeamMemberAssignmentsOptions;
|
|
5259
|
+
type context$1_UpdateTeamMemberAssignmentsRequest = UpdateTeamMemberAssignmentsRequest;
|
|
5260
|
+
type context$1_UpdateTeamMemberAssignmentsResponse = UpdateTeamMemberAssignmentsResponse;
|
|
5261
|
+
type context$1_UpdateTeamMemberAssignmentsResponseNonNullableFields = UpdateTeamMemberAssignmentsResponseNonNullableFields;
|
|
5262
|
+
type context$1_UserV3 = UserV3;
|
|
5263
|
+
type context$1_Visibility = Visibility;
|
|
5264
|
+
declare const context$1_Visibility: typeof Visibility;
|
|
5265
|
+
declare const context$1_getRolesInfo: typeof getRolesInfo;
|
|
5266
|
+
declare const context$1_removeMember: typeof removeMember;
|
|
5267
|
+
declare const context$1_searchTeam: typeof searchTeam;
|
|
5268
|
+
declare const context$1_updateTeamMemberAssignments: typeof updateTeamMemberAssignments;
|
|
4072
5269
|
declare namespace context$1 {
|
|
4073
|
-
export { type context$
|
|
5270
|
+
export { type AccountInfo$1 as AccountInfo, type context$1_AccountInvite as AccountInvite, type context$1_AccountResourceContext as AccountResourceContext, type context$1_ApiCondition as ApiCondition, type context$1_ApiInviteAssignment as ApiInviteAssignment, type context$1_ApiPolicy as ApiPolicy, type context$1_ApiResource as ApiResource, type context$1_AreasFilter as AreasFilter, type AssignedPolicy$1 as AssignedPolicy, type context$1_AssignedSubject as AssignedSubject, type Assignment$1 as Assignment, type context$1_AssignmentV3 as AssignmentV3, type context$1_ChangeRoleRequest as ChangeRoleRequest, type context$1_ChangeRoleResponse as ChangeRoleResponse, type context$1_ChangeRoleV2Request as ChangeRoleV2Request, type context$1_ChangeRoleV2Response as ChangeRoleV2Response, type CompanionResource$1 as CompanionResource, type Condition$1 as Condition, ConditionAttributeType$1 as ConditionAttributeType, type context$1_ConditionOperator as ConditionOperator, type context$1_ConditionOperatorOperatorsOneOf as ConditionOperatorOperatorsOneOf, type context$1_ConditionType as ConditionType, type context$1_ConditionTypeOfOneOf as ConditionTypeOfOneOf, type context$1_ConditionValue as ConditionValue, type context$1_ConditionValueValueOneOf as ConditionValueValueOneOf, type Conditions$1 as Conditions, type Contributor$1 as Contributor, type context$1_CreateCustomRoleRequest as CreateCustomRoleRequest, type context$1_CreateCustomRoleResponse as CreateCustomRoleResponse, type context$1_CustomRole as CustomRole, type context$1_DependOnOperator as DependOnOperator, context$1_Direction as Direction, context$1_EditorType as EditorType, context$1_Effect as Effect, type context$1_EnvironmentCondition as EnvironmentCondition, type context$1_EnvironmentConditionConditionOneOf as EnvironmentConditionConditionOneOf, type context$1_EqualOperator as EqualOperator, type context$1_ExperimentCondition as ExperimentCondition, type context$1_ExperimentOperator as ExperimentOperator, type context$1_Facet as Facet, context$1_FacetType as FacetType, type context$1_FacetValue as FacetValue, type context$1_FolderResource as FolderResource, type context$1_FullNameResource as FullNameResource, type context$1_FullNameResourceResourceContextOneOf as FullNameResourceResourceContextOneOf, type context$1_GetPeopleRequest as GetPeopleRequest, type context$1_GetPeopleResponse as GetPeopleResponse, type context$1_GetPoliciesRequest as GetPoliciesRequest, type context$1_GetPoliciesResponse as GetPoliciesResponse, type context$1_GetRolesInfoOptions as GetRolesInfoOptions, type context$1_GetRolesInfoRequest as GetRolesInfoRequest, type context$1_GetRolesInfoResponse as GetRolesInfoResponse, type context$1_GetRolesInfoResponseNonNullableFields as GetRolesInfoResponseNonNullableFields, type context$1_GetRolesRequest as GetRolesRequest, type context$1_GetRolesResponse as GetRolesResponse, type context$1_GetScopesRequest as GetScopesRequest, type context$1_GetScopesResponse as GetScopesResponse, type context$1_GetSubjectsAssignmentsRequest as GetSubjectsAssignmentsRequest, type context$1_GetSubjectsAssignmentsResponse as GetSubjectsAssignmentsResponse, type context$1_GetTeamInvitesRequest as GetTeamInvitesRequest, type context$1_GetTeamInvitesResponse as GetTeamInvitesResponse, type context$1_GetTeamRequest as GetTeamRequest, type context$1_GetTeamResponse as GetTeamResponse, type context$1_GetTeamV2Response as GetTeamV2Response, type context$1_GetUsersRequest as GetUsersRequest, type context$1_GetUsersResponse as GetUsersResponse, type context$1_Invite as Invite, type context$1_InviteAssignment as InviteAssignment, type context$1_InviteAssignmentV3 as InviteAssignmentV3, type context$1_InviteResourceAssignment as InviteResourceAssignment, InviteStatus$1 as InviteStatus, type context$1_InviteV3 as InviteV3, type context$1_JoinedCondition as JoinedCondition, context$1_JoinedConditionOperator as JoinedConditionOperator, type context$1_LikeOperator as LikeOperator, type Name$1 as Name, context$1_OrderField as OrderField, type context$1_Ordering as Ordering, type context$1_OrganizationResourceContext as OrganizationResourceContext, type context$1_Paging as Paging, type context$1_People as People, type context$1_PeopleResource as PeopleResource, type context$1_PeopleResourceResourceTypeOneOf as PeopleResourceResourceTypeOneOf, context$1_PeopleType as PeopleType, type context$1_PermissionScope as PermissionScope, type context$1_Person as Person, type PersonMetaData$1 as PersonMetaData, type context$1_PersonPersonOneOf as PersonPersonOneOf, type Policy$1 as Policy, type context$1_PolicyCondition as PolicyCondition, type context$1_PolicyStatement as PolicyStatement, context$1_PolicyType as PolicyType, type PredefinedRole$1 as PredefinedRole, type context$1_PredefinedRoleV2 as PredefinedRoleV2, type PredefinedRoles$1 as PredefinedRoles, type context$1_PredefinedRolesArea as PredefinedRolesArea, type context$1_RemoveMemberRequest as RemoveMemberRequest, type context$1_RemoveMemberResponse as RemoveMemberResponse, type Resource$1 as Resource, ResourceType$1 as ResourceType, type Restriction$1 as Restriction, type RestrictionRestrictionsOneOf$1 as RestrictionRestrictionsOneOf, type Role$1 as Role, type context$1_RoleInfo as RoleInfo, context$1_RoleLevel as RoleLevel, context$1_RoleLevelRestriction as RoleLevelRestriction, context$1_RoleVisibility as RoleVisibility, type context$1_RolesInfoFilter as RolesInfoFilter, type context$1_ScopeArea as ScopeArea, context$1_ScopeLevel as ScopeLevel, type context$1_SearchTeamOptions as SearchTeamOptions, type context$1_SearchTeamRequest as SearchTeamRequest, type context$1_SearchTeamResponse as SearchTeamResponse, type context$1_SearchTeamResponseNonNullableFields as SearchTeamResponseNonNullableFields, type context$1_SimpleCondition as SimpleCondition, context$1_SimpleConditionOperator as SimpleConditionOperator, type context$1_SimpleConditionValue as SimpleConditionValue, type context$1_SimpleConditionValueValueOneOf as SimpleConditionValueValueOneOf, type context$1_SiteResourceContext as SiteResourceContext, type SiteRestriction$1 as SiteRestriction, type Subject$1 as Subject, type context$1_SubjectAssignments as SubjectAssignments, type SubjectContext$1 as SubjectContext, SubjectContextType$1 as SubjectContextType, SubjectType$1 as SubjectType, type context$1_TeamMember as TeamMember, type context$1_TeamMemberV3 as TeamMemberV3, type context$1_TeamMemberV3MembersOneOf as TeamMemberV3MembersOneOf, type context$1_UpdateTeamMemberAssignmentsOptions as UpdateTeamMemberAssignmentsOptions, type context$1_UpdateTeamMemberAssignmentsRequest as UpdateTeamMemberAssignmentsRequest, type context$1_UpdateTeamMemberAssignmentsResponse as UpdateTeamMemberAssignmentsResponse, type context$1_UpdateTeamMemberAssignmentsResponseNonNullableFields as UpdateTeamMemberAssignmentsResponseNonNullableFields, type User$1 as User, type context$1_UserV3 as UserV3, context$1_Visibility as Visibility, context$1_getRolesInfo as getRolesInfo, context$1_removeMember as removeMember, context$1_searchTeam as searchTeam, context$1_updateTeamMemberAssignments as updateTeamMemberAssignments };
|
|
4074
5271
|
}
|
|
4075
5272
|
|
|
4076
5273
|
interface Contributor {
|
|
@@ -4623,4 +5820,4 @@ declare namespace context {
|
|
|
4623
5820
|
export { type context_AccountInfo as AccountInfo, type context_AppInvite as AppInvite, type context_AssignedPolicy as AssignedPolicy, type context_Assignment as Assignment, type context_BulkGetUserRolesOnSiteRequest as BulkGetUserRolesOnSiteRequest, type context_BulkGetUserRolesOnSiteResponse as BulkGetUserRolesOnSiteResponse, type context_ChangeContributorRoleRequest as ChangeContributorRoleRequest, type context_ChangeContributorRoleResponse as ChangeContributorRoleResponse, type context_ChangeContributorRoleResponseNonNullableFields as ChangeContributorRoleResponseNonNullableFields, type context_ChangeRoleOptions as ChangeRoleOptions, type context_CompanionResource as CompanionResource, type context_Condition as Condition, context_ConditionAttributeType as ConditionAttributeType, type context_Conditions as Conditions, type context_Contributor as Contributor, type context_ContributorLimit as ContributorLimit, type context_ContributorV2 as ContributorV2, type context_ContributorsQuota as ContributorsQuota, type context_ContributorsQuotaOptionsOneOf as ContributorsQuotaOptionsOneOf, context_FieldSet as FieldSet, type context_GetAppContributorsRequest as GetAppContributorsRequest, type context_GetAppContributorsResponse as GetAppContributorsResponse, type context_GetContributorsQuotaRequest as GetContributorsQuotaRequest, type context_GetContributorsQuotaResponse as GetContributorsQuotaResponse, type context_GetCurrentUserRolesRequest as GetCurrentUserRolesRequest, type context_GetCurrentUserRolesResponse as GetCurrentUserRolesResponse, type context_GetSiteContributorsRequest as GetSiteContributorsRequest, type context_GetSiteContributorsResponse as GetSiteContributorsResponse, type context_GetSiteContributorsV2Request as GetSiteContributorsV2Request, type context_GetSiteContributorsV2Response as GetSiteContributorsV2Response, type context_HandleSiteTransferRequest as HandleSiteTransferRequest, type context_HandleSiteTransferResponse as HandleSiteTransferResponse, context_InviteStatus as InviteStatus, type context_LimitedOptions as LimitedOptions, type context_LocalizedRole as LocalizedRole, type context_Name as Name, type context_PendingOwner as PendingOwner, type context_PersonMetaData as PersonMetaData, type context_Policy as Policy, type context_PredefinedRole as PredefinedRole, type context_PredefinedRoles as PredefinedRoles, type context_QuerySiteContributorsFilter as QuerySiteContributorsFilter, type context_QuerySiteContributorsOptions as QuerySiteContributorsOptions, type context_QuerySiteContributorsRequest as QuerySiteContributorsRequest, type context_QuerySiteContributorsResponse as QuerySiteContributorsResponse, type context_Resource as Resource, context_ResourceType as ResourceType, type context_Restriction as Restriction, type context_RestrictionRestrictionsOneOf as RestrictionRestrictionsOneOf, type context_Role as Role, type context_SiteInvite as SiteInvite, type context_SiteRestriction as SiteRestriction, type context_SiteRoleAssignment as SiteRoleAssignment, type context_Subject as Subject, type context_SubjectContext as SubjectContext, context_SubjectContextType as SubjectContextType, context_SubjectType as SubjectType, type context_Team as Team, context_Type as Type, type context_User as User, type context_UserLocalizedRoles as UserLocalizedRoles, type context_UserSubject as UserSubject, context_changeRole as changeRole, context_querySiteContributors as querySiteContributors };
|
|
4624
5821
|
}
|
|
4625
5822
|
|
|
4626
|
-
export { context$
|
|
5823
|
+
export { context$5 as account, context$4 as accountInvite, context$8 as authentication, context as contributor, context$2 as oauth, context$7 as recovery, context$3 as siteInvite, context$1 as user, context$6 as verification };
|