@wix/identity 1.0.92 → 1.0.94
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 +5 -4
- package/type-bundles/context.bundle.d.ts +1702 -505
- package/type-bundles/index.bundle.d.ts +1702 -505
- 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 index_d$
|
|
1242
|
-
type index_d$
|
|
1243
|
-
type index_d$
|
|
1244
|
-
type index_d$
|
|
1245
|
-
type index_d$
|
|
1246
|
-
type index_d$
|
|
1247
|
-
type index_d$
|
|
1248
|
-
type index_d$
|
|
1249
|
-
type index_d$
|
|
1250
|
-
type index_d$
|
|
1251
|
-
type index_d$
|
|
1252
|
-
type index_d$
|
|
1253
|
-
type index_d$
|
|
1254
|
-
type index_d$
|
|
1255
|
-
type index_d$
|
|
1256
|
-
type index_d$
|
|
1257
|
-
type index_d$
|
|
1258
|
-
type index_d$
|
|
1259
|
-
type index_d$
|
|
1260
|
-
type index_d$
|
|
1261
|
-
type index_d$
|
|
1262
|
-
type index_d$
|
|
1263
|
-
type index_d$
|
|
1264
|
-
type index_d$
|
|
1265
|
-
type index_d$
|
|
1266
|
-
type index_d$
|
|
1267
|
-
type index_d$
|
|
1268
|
-
type index_d$
|
|
1269
|
-
type index_d$
|
|
1270
|
-
type index_d$
|
|
1271
|
-
declare const index_d$
|
|
1272
|
-
declare const index_d$
|
|
1273
|
-
declare const index_d$
|
|
1274
|
-
declare const index_d$
|
|
1275
|
-
declare const index_d$
|
|
1276
|
-
declare const index_d$
|
|
1277
|
-
declare const index_d$
|
|
1278
|
-
declare const index_d$
|
|
1279
|
-
declare const index_d$
|
|
1280
|
-
declare namespace index_d$
|
|
1281
|
-
export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type index_d$
|
|
1241
|
+
type index_d$8_Authentication = Authentication;
|
|
1242
|
+
type index_d$8_CallVerifyData = CallVerifyData;
|
|
1243
|
+
type index_d$8_CaptchaToken = CaptchaToken;
|
|
1244
|
+
type index_d$8_CaptchaTokenTokenOneOf = CaptchaTokenTokenOneOf;
|
|
1245
|
+
type index_d$8_ChangePasswordRequest = ChangePasswordRequest;
|
|
1246
|
+
type index_d$8_ChangePasswordResponse = ChangePasswordResponse;
|
|
1247
|
+
type index_d$8_EmailVerifyData = EmailVerifyData;
|
|
1248
|
+
type index_d$8_LoginCallbackOptions = LoginCallbackOptions;
|
|
1249
|
+
type index_d$8_LoginCallbackRequest = LoginCallbackRequest;
|
|
1250
|
+
type index_d$8_LoginId = LoginId;
|
|
1251
|
+
type index_d$8_LoginIdTypeOneOf = LoginIdTypeOneOf;
|
|
1252
|
+
type index_d$8_LoginV2Options = LoginV2Options;
|
|
1253
|
+
type index_d$8_LoginV2Request = LoginV2Request;
|
|
1254
|
+
type index_d$8_LoginWithIdpConnectionIdentifiers = LoginWithIdpConnectionIdentifiers;
|
|
1255
|
+
type index_d$8_LoginWithIdpConnectionOptions = LoginWithIdpConnectionOptions;
|
|
1256
|
+
type index_d$8_LoginWithIdpConnectionRequest = LoginWithIdpConnectionRequest;
|
|
1257
|
+
type index_d$8_LoginWithIdpConnectionTokenParamsOptions = LoginWithIdpConnectionTokenParamsOptions;
|
|
1258
|
+
type index_d$8_LoginWithIdpConnectionTokenParamsRequest = LoginWithIdpConnectionTokenParamsRequest;
|
|
1259
|
+
type index_d$8_LogoutOptions = LogoutOptions;
|
|
1260
|
+
type index_d$8_LogoutRequest = LogoutRequest;
|
|
1261
|
+
type index_d$8_RegisterV2Options = RegisterV2Options;
|
|
1262
|
+
type index_d$8_RegisterV2Request = RegisterV2Request;
|
|
1263
|
+
type index_d$8_SignOnOptions = SignOnOptions;
|
|
1264
|
+
type index_d$8_SignOnRequest = SignOnRequest;
|
|
1265
|
+
type index_d$8_SignOnResponse = SignOnResponse;
|
|
1266
|
+
type index_d$8_SignOnResponseNonNullableFields = SignOnResponseNonNullableFields;
|
|
1267
|
+
type index_d$8_SmsVerifyData = SmsVerifyData;
|
|
1268
|
+
type index_d$8_TotpVerifyData = TotpVerifyData;
|
|
1269
|
+
type index_d$8_VerifyOptions = VerifyOptions;
|
|
1270
|
+
type index_d$8_VerifyRequestFactorDataOneOf = VerifyRequestFactorDataOneOf;
|
|
1271
|
+
declare const index_d$8_changePassword: typeof changePassword;
|
|
1272
|
+
declare const index_d$8_loginCallback: typeof loginCallback;
|
|
1273
|
+
declare const index_d$8_loginV2: typeof loginV2;
|
|
1274
|
+
declare const index_d$8_loginWithIdpConnection: typeof loginWithIdpConnection;
|
|
1275
|
+
declare const index_d$8_loginWithIdpConnectionTokenParams: typeof loginWithIdpConnectionTokenParams;
|
|
1276
|
+
declare const index_d$8_logout: typeof logout;
|
|
1277
|
+
declare const index_d$8_registerV2: typeof registerV2;
|
|
1278
|
+
declare const index_d$8_signOn: typeof signOn;
|
|
1279
|
+
declare const index_d$8_verify: typeof verify;
|
|
1280
|
+
declare namespace index_d$8 {
|
|
1281
|
+
export { type Address$2 as Address, AddressTag$2 as AddressTag, type AddressWrapper$2 as AddressWrapper, type index_d$8_Authentication as Authentication, type AuthenticatorConnection$2 as AuthenticatorConnection, type index_d$8_CallVerifyData as CallVerifyData, type index_d$8_CaptchaToken as CaptchaToken, type index_d$8_CaptchaTokenTokenOneOf as CaptchaTokenTokenOneOf, type index_d$8_ChangePasswordRequest as ChangePasswordRequest, type index_d$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 index_d$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 index_d$8_LoginCallbackOptions as LoginCallbackOptions, type index_d$8_LoginCallbackRequest as LoginCallbackRequest, type index_d$8_LoginId as LoginId, type index_d$8_LoginIdTypeOneOf as LoginIdTypeOneOf, type index_d$8_LoginV2Options as LoginV2Options, type index_d$8_LoginV2Request as LoginV2Request, type index_d$8_LoginWithIdpConnectionIdentifiers as LoginWithIdpConnectionIdentifiers, type index_d$8_LoginWithIdpConnectionOptions as LoginWithIdpConnectionOptions, type index_d$8_LoginWithIdpConnectionRequest as LoginWithIdpConnectionRequest, type index_d$8_LoginWithIdpConnectionTokenParamsOptions as LoginWithIdpConnectionTokenParamsOptions, type index_d$8_LoginWithIdpConnectionTokenParamsRequest as LoginWithIdpConnectionTokenParamsRequest, type index_d$8_LogoutOptions as LogoutOptions, type index_d$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 index_d$8_RegisterV2Options as RegisterV2Options, type index_d$8_RegisterV2Request as RegisterV2Request, type RequireMfaData$2 as RequireMfaData, type SecondaryEmail$2 as SecondaryEmail, type index_d$8_SignOnOptions as SignOnOptions, type index_d$8_SignOnRequest as SignOnRequest, type index_d$8_SignOnResponse as SignOnResponse, type index_d$8_SignOnResponseNonNullableFields as SignOnResponseNonNullableFields, type index_d$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 index_d$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 index_d$8_VerifyOptions as VerifyOptions, type VerifyRequest$1 as VerifyRequest, type index_d$8_VerifyRequestFactorDataOneOf as VerifyRequestFactorDataOneOf, index_d$8_changePassword as changePassword, index_d$8_loginCallback as loginCallback, index_d$8_loginV2 as loginV2, index_d$8_loginWithIdpConnection as loginWithIdpConnection, index_d$8_loginWithIdpConnectionTokenParams as loginWithIdpConnectionTokenParams, index_d$8_logout as logout, index_d$8_registerV2 as registerV2, index_d$8_signOn as signOn, index_d$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 index_d$
|
|
1836
|
-
type index_d$
|
|
1837
|
-
type index_d$
|
|
1838
|
-
type index_d$
|
|
1839
|
-
type index_d$
|
|
1840
|
-
type index_d$
|
|
1841
|
-
type index_d$
|
|
1842
|
-
type index_d$
|
|
1843
|
-
type index_d$
|
|
1844
|
-
type index_d$
|
|
1845
|
-
type index_d$
|
|
1846
|
-
type index_d$
|
|
1847
|
-
declare const index_d$
|
|
1848
|
-
declare const index_d$
|
|
1849
|
-
declare const index_d$
|
|
1850
|
-
declare const index_d$
|
|
1851
|
-
declare namespace index_d$
|
|
1852
|
-
export { type Address$1 as Address, AddressTag$1 as AddressTag, type AddressWrapper$1 as AddressWrapper, type AuthenticatorConnection$1 as AuthenticatorConnection, type Connection$1 as Connection, type ConnectionTypeOneOf$1 as ConnectionTypeOneOf, type CustomField$1 as CustomField, type CustomValue$1 as CustomValue, type CustomValueValueOneOf$1 as CustomValueValueOneOf, type Email$2 as Email, type index_d$
|
|
1835
|
+
type index_d$7_EmailOptions = EmailOptions;
|
|
1836
|
+
type index_d$7_RecoverOptions = RecoverOptions;
|
|
1837
|
+
type index_d$7_RecoverRequest = RecoverRequest;
|
|
1838
|
+
type index_d$7_RecoveryToken = RecoveryToken;
|
|
1839
|
+
type index_d$7_Redirect = Redirect;
|
|
1840
|
+
type index_d$7_SendActivationEmailOptions = SendActivationEmailOptions;
|
|
1841
|
+
type index_d$7_SendActivationEmailRequest = SendActivationEmailRequest;
|
|
1842
|
+
type index_d$7_SendActivationEmailResponse = SendActivationEmailResponse;
|
|
1843
|
+
type index_d$7_SendRecoveryEmailOptions = SendRecoveryEmailOptions;
|
|
1844
|
+
type index_d$7_SendRecoveryEmailRequest = SendRecoveryEmailRequest;
|
|
1845
|
+
type index_d$7_SendRecoveryEmailResponse = SendRecoveryEmailResponse;
|
|
1846
|
+
type index_d$7_TenantType = TenantType;
|
|
1847
|
+
declare const index_d$7_TenantType: typeof TenantType;
|
|
1848
|
+
declare const index_d$7_recover: typeof recover;
|
|
1849
|
+
declare const index_d$7_sendActivationEmail: typeof sendActivationEmail;
|
|
1850
|
+
declare const index_d$7_sendRecoveryEmail: typeof sendRecoveryEmail;
|
|
1851
|
+
declare namespace index_d$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 index_d$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 index_d$7_RecoverOptions as RecoverOptions, type index_d$7_RecoverRequest as RecoverRequest, type index_d$7_RecoveryToken as RecoveryToken, type index_d$7_Redirect as Redirect, type RequireMfaData$1 as RequireMfaData, type SecondaryEmail$1 as SecondaryEmail, type index_d$7_SendActivationEmailOptions as SendActivationEmailOptions, type index_d$7_SendActivationEmailRequest as SendActivationEmailRequest, type index_d$7_SendActivationEmailResponse as SendActivationEmailResponse, type index_d$7_SendRecoveryEmailOptions as SendRecoveryEmailOptions, type index_d$7_SendRecoveryEmailRequest as SendRecoveryEmailRequest, type index_d$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, index_d$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, index_d$7_recover as recover, index_d$7_sendActivationEmail as sendActivationEmail, index_d$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 index_d$
|
|
2382
|
-
type index_d$
|
|
2383
|
-
declare const index_d$
|
|
2384
|
-
type index_d$
|
|
2385
|
-
type index_d$
|
|
2386
|
-
type index_d$
|
|
2387
|
-
type index_d$
|
|
2388
|
-
type index_d$
|
|
2389
|
-
type index_d$
|
|
2390
|
-
type index_d$
|
|
2391
|
-
type index_d$
|
|
2392
|
-
declare const index_d$
|
|
2393
|
-
type index_d$
|
|
2394
|
-
type index_d$
|
|
2395
|
-
declare const index_d$
|
|
2396
|
-
type index_d$
|
|
2397
|
-
type index_d$
|
|
2398
|
-
type index_d$
|
|
2399
|
-
type index_d$
|
|
2400
|
-
type index_d$
|
|
2401
|
-
type index_d$
|
|
2402
|
-
type index_d$
|
|
2403
|
-
type index_d$
|
|
2404
|
-
type index_d$
|
|
2405
|
-
declare const index_d$
|
|
2406
|
-
type index_d$
|
|
2407
|
-
declare const index_d$
|
|
2408
|
-
type index_d$
|
|
2409
|
-
declare const index_d$
|
|
2410
|
-
type index_d$
|
|
2411
|
-
type index_d$
|
|
2412
|
-
type index_d$
|
|
2413
|
-
type index_d$
|
|
2414
|
-
type index_d$
|
|
2415
|
-
type index_d$
|
|
2416
|
-
type index_d$
|
|
2417
|
-
type index_d$
|
|
2418
|
-
type index_d$
|
|
2419
|
-
type index_d$
|
|
2420
|
-
type index_d$
|
|
2421
|
-
declare const index_d$
|
|
2422
|
-
type index_d$
|
|
2423
|
-
declare const index_d$
|
|
2424
|
-
type index_d$
|
|
2425
|
-
declare const index_d$
|
|
2426
|
-
type index_d$
|
|
2427
|
-
type index_d$
|
|
2428
|
-
declare const index_d$
|
|
2429
|
-
type index_d$
|
|
2430
|
-
type index_d$
|
|
2431
|
-
type index_d$
|
|
2432
|
-
type index_d$
|
|
2433
|
-
type index_d$
|
|
2434
|
-
type index_d$
|
|
2435
|
-
type index_d$
|
|
2436
|
-
type index_d$
|
|
2437
|
-
type index_d$
|
|
2438
|
-
type index_d$
|
|
2439
|
-
declare const index_d$
|
|
2440
|
-
declare const index_d$
|
|
2441
|
-
declare const index_d$
|
|
2442
|
-
declare namespace index_d$
|
|
2443
|
-
export { type index_d$
|
|
2381
|
+
type index_d$6_Address = Address;
|
|
2382
|
+
type index_d$6_AddressTag = AddressTag;
|
|
2383
|
+
declare const index_d$6_AddressTag: typeof AddressTag;
|
|
2384
|
+
type index_d$6_AddressWrapper = AddressWrapper;
|
|
2385
|
+
type index_d$6_AuthenticatorConnection = AuthenticatorConnection;
|
|
2386
|
+
type index_d$6_Connection = Connection;
|
|
2387
|
+
type index_d$6_ConnectionTypeOneOf = ConnectionTypeOneOf;
|
|
2388
|
+
type index_d$6_CustomField = CustomField;
|
|
2389
|
+
type index_d$6_CustomValue = CustomValue;
|
|
2390
|
+
type index_d$6_CustomValueValueOneOf = CustomValueValueOneOf;
|
|
2391
|
+
type index_d$6_EmailTag = EmailTag;
|
|
2392
|
+
declare const index_d$6_EmailTag: typeof EmailTag;
|
|
2393
|
+
type index_d$6_Factor = Factor;
|
|
2394
|
+
type index_d$6_FactorType = FactorType;
|
|
2395
|
+
declare const index_d$6_FactorType: typeof FactorType;
|
|
2396
|
+
type index_d$6_Identity = Identity;
|
|
2397
|
+
type index_d$6_IdentityProfile = IdentityProfile;
|
|
2398
|
+
type index_d$6_IdpConnection = IdpConnection;
|
|
2399
|
+
type index_d$6_ListValue = ListValue;
|
|
2400
|
+
type index_d$6_MapValue = MapValue;
|
|
2401
|
+
type index_d$6_Metadata = Metadata;
|
|
2402
|
+
type index_d$6_MfaChallengeData = MfaChallengeData;
|
|
2403
|
+
type index_d$6_Phone = Phone;
|
|
2404
|
+
type index_d$6_PhoneTag = PhoneTag;
|
|
2405
|
+
declare const index_d$6_PhoneTag: typeof PhoneTag;
|
|
2406
|
+
type index_d$6_PrivacyStatus = PrivacyStatus;
|
|
2407
|
+
declare const index_d$6_PrivacyStatus: typeof PrivacyStatus;
|
|
2408
|
+
type index_d$6_Reason = Reason;
|
|
2409
|
+
declare const index_d$6_Reason: typeof Reason;
|
|
2410
|
+
type index_d$6_RequireMfaData = RequireMfaData;
|
|
2411
|
+
type index_d$6_ResendDuringAuthenticationRequest = ResendDuringAuthenticationRequest;
|
|
2412
|
+
type index_d$6_SecondaryEmail = SecondaryEmail;
|
|
2413
|
+
type index_d$6_StartOptions = StartOptions;
|
|
2414
|
+
type index_d$6_StartRequest = StartRequest;
|
|
2415
|
+
type index_d$6_StartResponse = StartResponse;
|
|
2416
|
+
type index_d$6_StartResponseNonNullableFields = StartResponseNonNullableFields;
|
|
2417
|
+
type index_d$6_StateMachineResponse = StateMachineResponse;
|
|
2418
|
+
type index_d$6_StateMachineResponseNonNullableFields = StateMachineResponseNonNullableFields;
|
|
2419
|
+
type index_d$6_StateMachineResponseStateDataOneOf = StateMachineResponseStateDataOneOf;
|
|
2420
|
+
type index_d$6_StateType = StateType;
|
|
2421
|
+
declare const index_d$6_StateType: typeof StateType;
|
|
2422
|
+
type index_d$6_Status = Status;
|
|
2423
|
+
declare const index_d$6_Status: typeof Status;
|
|
2424
|
+
type index_d$6_StatusName = StatusName;
|
|
2425
|
+
declare const index_d$6_StatusName: typeof StatusName;
|
|
2426
|
+
type index_d$6_StatusV2 = StatusV2;
|
|
2427
|
+
type index_d$6_Target = Target;
|
|
2428
|
+
declare const index_d$6_Target: typeof Target;
|
|
2429
|
+
type index_d$6_V1CustomValue = V1CustomValue;
|
|
2430
|
+
type index_d$6_V1CustomValueValueOneOf = V1CustomValueValueOneOf;
|
|
2431
|
+
type index_d$6_V1Factor = V1Factor;
|
|
2432
|
+
type index_d$6_V1ListValue = V1ListValue;
|
|
2433
|
+
type index_d$6_V1MapValue = V1MapValue;
|
|
2434
|
+
type index_d$6_VerificationChallenge = VerificationChallenge;
|
|
2435
|
+
type index_d$6_VerifyDuringAuthenticationOptions = VerifyDuringAuthenticationOptions;
|
|
2436
|
+
type index_d$6_VerifyDuringAuthenticationRequest = VerifyDuringAuthenticationRequest;
|
|
2437
|
+
type index_d$6_VerifyRequest = VerifyRequest;
|
|
2438
|
+
type index_d$6_VerifyResponse = VerifyResponse;
|
|
2439
|
+
declare const index_d$6_resendDuringAuthentication: typeof resendDuringAuthentication;
|
|
2440
|
+
declare const index_d$6_start: typeof start;
|
|
2441
|
+
declare const index_d$6_verifyDuringAuthentication: typeof verifyDuringAuthentication;
|
|
2442
|
+
declare namespace index_d$6 {
|
|
2443
|
+
export { type index_d$6_Address as Address, index_d$6_AddressTag as AddressTag, type index_d$6_AddressWrapper as AddressWrapper, type index_d$6_AuthenticatorConnection as AuthenticatorConnection, type index_d$6_Connection as Connection, type index_d$6_ConnectionTypeOneOf as ConnectionTypeOneOf, type index_d$6_CustomField as CustomField, type index_d$6_CustomValue as CustomValue, type index_d$6_CustomValueValueOneOf as CustomValueValueOneOf, type Email$1 as Email, index_d$6_EmailTag as EmailTag, type index_d$6_Factor as Factor, index_d$6_FactorType as FactorType, type index_d$6_Identity as Identity, type index_d$6_IdentityProfile as IdentityProfile, type index_d$6_IdpConnection as IdpConnection, type index_d$6_ListValue as ListValue, type index_d$6_MapValue as MapValue, type index_d$6_Metadata as Metadata, type index_d$6_MfaChallengeData as MfaChallengeData, type index_d$6_Phone as Phone, index_d$6_PhoneTag as PhoneTag, index_d$6_PrivacyStatus as PrivacyStatus, index_d$6_Reason as Reason, type index_d$6_RequireMfaData as RequireMfaData, type index_d$6_ResendDuringAuthenticationRequest as ResendDuringAuthenticationRequest, type index_d$6_SecondaryEmail as SecondaryEmail, type index_d$6_StartOptions as StartOptions, type index_d$6_StartRequest as StartRequest, type index_d$6_StartResponse as StartResponse, type index_d$6_StartResponseNonNullableFields as StartResponseNonNullableFields, type index_d$6_StateMachineResponse as StateMachineResponse, type index_d$6_StateMachineResponseNonNullableFields as StateMachineResponseNonNullableFields, type index_d$6_StateMachineResponseStateDataOneOf as StateMachineResponseStateDataOneOf, index_d$6_StateType as StateType, index_d$6_Status as Status, index_d$6_StatusName as StatusName, type index_d$6_StatusV2 as StatusV2, index_d$6_Target as Target, type index_d$6_V1CustomValue as V1CustomValue, type index_d$6_V1CustomValueValueOneOf as V1CustomValueValueOneOf, type index_d$6_V1Factor as V1Factor, type index_d$6_V1ListValue as V1ListValue, type index_d$6_V1MapValue as V1MapValue, type index_d$6_VerificationChallenge as VerificationChallenge, type index_d$6_VerifyDuringAuthenticationOptions as VerifyDuringAuthenticationOptions, type index_d$6_VerifyDuringAuthenticationRequest as VerifyDuringAuthenticationRequest, type index_d$6_VerifyRequest as VerifyRequest, type index_d$6_VerifyResponse as VerifyResponse, index_d$6_resendDuringAuthentication as resendDuringAuthentication, index_d$6_start as start, index_d$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 index_d$
|
|
2819
|
-
type index_d$
|
|
2820
|
-
type index_d$
|
|
2821
|
-
type index_d$
|
|
2822
|
-
declare const index_d$
|
|
2823
|
-
type index_d$
|
|
2824
|
-
type index_d$
|
|
2825
|
-
type index_d$
|
|
2826
|
-
declare const index_d$
|
|
2827
|
-
type index_d$
|
|
2828
|
-
type index_d$
|
|
2829
|
-
type index_d$
|
|
2830
|
-
type index_d$
|
|
2831
|
-
type index_d$
|
|
2832
|
-
type index_d$
|
|
2833
|
-
type index_d$
|
|
2834
|
-
type index_d$
|
|
2835
|
-
type index_d$
|
|
2836
|
-
type index_d$
|
|
2837
|
-
type index_d$
|
|
2838
|
-
type index_d$
|
|
2839
|
-
type index_d$
|
|
2840
|
-
type index_d$
|
|
2841
|
-
type index_d$
|
|
2842
|
-
type index_d$
|
|
2843
|
-
type index_d$
|
|
2844
|
-
type index_d$
|
|
2845
|
-
type index_d$
|
|
2846
|
-
type index_d$
|
|
2847
|
-
type index_d$
|
|
2848
|
-
type index_d$
|
|
2849
|
-
type index_d$
|
|
2850
|
-
type index_d$
|
|
2851
|
-
type index_d$
|
|
2852
|
-
type index_d$
|
|
2853
|
-
type index_d$
|
|
2854
|
-
type index_d$
|
|
2855
|
-
type index_d$
|
|
2856
|
-
type index_d$
|
|
2857
|
-
type index_d$
|
|
2858
|
-
type index_d$
|
|
2859
|
-
type index_d$
|
|
2860
|
-
type index_d$
|
|
2861
|
-
type index_d$
|
|
2862
|
-
type index_d$
|
|
2863
|
-
type index_d$
|
|
2864
|
-
type index_d$
|
|
2865
|
-
type index_d$
|
|
2866
|
-
type index_d$
|
|
2867
|
-
declare const index_d$
|
|
2868
|
-
declare const index_d$
|
|
2869
|
-
declare namespace index_d$
|
|
2870
|
-
export { type index_d$
|
|
2818
|
+
type index_d$5_Account = Account;
|
|
2819
|
+
type index_d$5_AccountProperties = AccountProperties;
|
|
2820
|
+
type index_d$5_AccountResponse = AccountResponse;
|
|
2821
|
+
type index_d$5_AccountStatus = AccountStatus;
|
|
2822
|
+
declare const index_d$5_AccountStatus: typeof AccountStatus;
|
|
2823
|
+
type index_d$5_AccountV2 = AccountV2;
|
|
2824
|
+
type index_d$5_AccountsResponse = AccountsResponse;
|
|
2825
|
+
type index_d$5_CoBranding = CoBranding;
|
|
2826
|
+
declare const index_d$5_CoBranding: typeof CoBranding;
|
|
2827
|
+
type index_d$5_CreateAccountAndAssignUserRequest = CreateAccountAndAssignUserRequest;
|
|
2828
|
+
type index_d$5_CreateAccountForMyUserRequest = CreateAccountForMyUserRequest;
|
|
2829
|
+
type index_d$5_CreateAccountOptions = CreateAccountOptions;
|
|
2830
|
+
type index_d$5_CreateAccountRequest = CreateAccountRequest;
|
|
2831
|
+
type index_d$5_CreateAccountResponse = CreateAccountResponse;
|
|
2832
|
+
type index_d$5_CreateAccountResponseNonNullableFields = CreateAccountResponseNonNullableFields;
|
|
2833
|
+
type index_d$5_CreateAccountTenantRequest = CreateAccountTenantRequest;
|
|
2834
|
+
type index_d$5_CreateAccountTenantResponse = CreateAccountTenantResponse;
|
|
2835
|
+
type index_d$5_DeleteAccountRequest = DeleteAccountRequest;
|
|
2836
|
+
type index_d$5_Email = Email;
|
|
2837
|
+
type index_d$5_EmptyResponse = EmptyResponse;
|
|
2838
|
+
type index_d$5_GetAccountRequest = GetAccountRequest;
|
|
2839
|
+
type index_d$5_GetAccountsRequest = GetAccountsRequest;
|
|
2840
|
+
type index_d$5_GetMyAccountRequest = GetMyAccountRequest;
|
|
2841
|
+
type index_d$5_GetMyUserAccountsRequest = GetMyUserAccountsRequest;
|
|
2842
|
+
type index_d$5_GetParentAccountInfoRequest = GetParentAccountInfoRequest;
|
|
2843
|
+
type index_d$5_GetParentAccountInfoResponse = GetParentAccountInfoResponse;
|
|
2844
|
+
type index_d$5_GetSubAccountsRequest = GetSubAccountsRequest;
|
|
2845
|
+
type index_d$5_GetSubAccountsResponse = GetSubAccountsResponse;
|
|
2846
|
+
type index_d$5_GetUserAccountRequest = GetUserAccountRequest;
|
|
2847
|
+
type index_d$5_GetUserAccountsRequest = GetUserAccountsRequest;
|
|
2848
|
+
type index_d$5_IsTeamRequest = IsTeamRequest;
|
|
2849
|
+
type index_d$5_IsTeamResponse = IsTeamResponse;
|
|
2850
|
+
type index_d$5_ListChildAccountsOptions = ListChildAccountsOptions;
|
|
2851
|
+
type index_d$5_ListChildAccountsRequest = ListChildAccountsRequest;
|
|
2852
|
+
type index_d$5_ListChildAccountsResponse = ListChildAccountsResponse;
|
|
2853
|
+
type index_d$5_ListChildAccountsResponseNonNullableFields = ListChildAccountsResponseNonNullableFields;
|
|
2854
|
+
type index_d$5_MarkAccountFlagRequest = MarkAccountFlagRequest;
|
|
2855
|
+
type index_d$5_MarkAccountFlagRequestFlagOneOf = MarkAccountFlagRequestFlagOneOf;
|
|
2856
|
+
type index_d$5_PagingMetadata = PagingMetadata;
|
|
2857
|
+
type index_d$5_RemoveParent = RemoveParent;
|
|
2858
|
+
type index_d$5_SetIsReadOnlyAccountRequest = SetIsReadOnlyAccountRequest;
|
|
2859
|
+
type index_d$5_SsoIdentity = SsoIdentity;
|
|
2860
|
+
type index_d$5_SubAccountInfo = SubAccountInfo;
|
|
2861
|
+
type index_d$5_UpdateAccountRequest = UpdateAccountRequest;
|
|
2862
|
+
type index_d$5_UpdateParentAccountRequest = UpdateParentAccountRequest;
|
|
2863
|
+
type index_d$5_UpdateParentAccountRequestUpdateOneOf = UpdateParentAccountRequestUpdateOneOf;
|
|
2864
|
+
type index_d$5_UpdateParentAccountResponse = UpdateParentAccountResponse;
|
|
2865
|
+
type index_d$5_UpdateSlugRequest = UpdateSlugRequest;
|
|
2866
|
+
type index_d$5_UserDetails = UserDetails;
|
|
2867
|
+
declare const index_d$5_createAccount: typeof createAccount;
|
|
2868
|
+
declare const index_d$5_listChildAccounts: typeof listChildAccounts;
|
|
2869
|
+
declare namespace index_d$5 {
|
|
2870
|
+
export { type index_d$5_Account as Account, type AccountInfo$2 as AccountInfo, type index_d$5_AccountProperties as AccountProperties, type index_d$5_AccountResponse as AccountResponse, index_d$5_AccountStatus as AccountStatus, type index_d$5_AccountV2 as AccountV2, type index_d$5_AccountsResponse as AccountsResponse, index_d$5_CoBranding as CoBranding, type index_d$5_CreateAccountAndAssignUserRequest as CreateAccountAndAssignUserRequest, type index_d$5_CreateAccountForMyUserRequest as CreateAccountForMyUserRequest, type index_d$5_CreateAccountOptions as CreateAccountOptions, type index_d$5_CreateAccountRequest as CreateAccountRequest, type index_d$5_CreateAccountResponse as CreateAccountResponse, type index_d$5_CreateAccountResponseNonNullableFields as CreateAccountResponseNonNullableFields, type index_d$5_CreateAccountTenantRequest as CreateAccountTenantRequest, type index_d$5_CreateAccountTenantResponse as CreateAccountTenantResponse, type index_d$5_DeleteAccountRequest as DeleteAccountRequest, type index_d$5_Email as Email, type index_d$5_EmptyResponse as EmptyResponse, type index_d$5_GetAccountRequest as GetAccountRequest, type index_d$5_GetAccountsRequest as GetAccountsRequest, type index_d$5_GetMyAccountRequest as GetMyAccountRequest, type index_d$5_GetMyUserAccountsRequest as GetMyUserAccountsRequest, type index_d$5_GetParentAccountInfoRequest as GetParentAccountInfoRequest, type index_d$5_GetParentAccountInfoResponse as GetParentAccountInfoResponse, type index_d$5_GetSubAccountsRequest as GetSubAccountsRequest, type index_d$5_GetSubAccountsResponse as GetSubAccountsResponse, type index_d$5_GetUserAccountRequest as GetUserAccountRequest, type index_d$5_GetUserAccountsRequest as GetUserAccountsRequest, type index_d$5_IsTeamRequest as IsTeamRequest, type index_d$5_IsTeamResponse as IsTeamResponse, type index_d$5_ListChildAccountsOptions as ListChildAccountsOptions, type index_d$5_ListChildAccountsRequest as ListChildAccountsRequest, type index_d$5_ListChildAccountsResponse as ListChildAccountsResponse, type index_d$5_ListChildAccountsResponseNonNullableFields as ListChildAccountsResponseNonNullableFields, type index_d$5_MarkAccountFlagRequest as MarkAccountFlagRequest, type index_d$5_MarkAccountFlagRequestFlagOneOf as MarkAccountFlagRequestFlagOneOf, type Paging$2 as Paging, type index_d$5_PagingMetadata as PagingMetadata, type index_d$5_RemoveParent as RemoveParent, type index_d$5_SetIsReadOnlyAccountRequest as SetIsReadOnlyAccountRequest, type index_d$5_SsoIdentity as SsoIdentity, type index_d$5_SubAccountInfo as SubAccountInfo, type index_d$5_UpdateAccountRequest as UpdateAccountRequest, type index_d$5_UpdateParentAccountRequest as UpdateParentAccountRequest, type index_d$5_UpdateParentAccountRequestUpdateOneOf as UpdateParentAccountRequestUpdateOneOf, type index_d$5_UpdateParentAccountResponse as UpdateParentAccountResponse, type index_d$5_UpdateSlugRequest as UpdateSlugRequest, type User$2 as User, type index_d$5_UserDetails as UserDetails, index_d$5_createAccount as createAccount, index_d$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 index_d$
|
|
3370
|
-
type index_d$
|
|
3371
|
-
type index_d$
|
|
3372
|
-
type index_d$
|
|
3373
|
-
type index_d$
|
|
3374
|
-
type index_d$
|
|
3375
|
-
type index_d$
|
|
3376
|
-
type index_d$
|
|
3377
|
-
type index_d$
|
|
3378
|
-
type index_d$
|
|
3379
|
-
type index_d$
|
|
3380
|
-
type index_d$
|
|
3381
|
-
type index_d$
|
|
3382
|
-
type index_d$
|
|
3383
|
-
type index_d$
|
|
3384
|
-
type index_d$
|
|
3385
|
-
type index_d$
|
|
3386
|
-
type index_d$
|
|
3387
|
-
type index_d$
|
|
3388
|
-
type index_d$
|
|
3389
|
-
type index_d$
|
|
3390
|
-
type index_d$
|
|
3391
|
-
type index_d$
|
|
3392
|
-
type index_d$
|
|
3393
|
-
type index_d$
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
type index_d$
|
|
3397
|
-
type index_d$3_GetAccountInvitesRequest = GetAccountInvitesRequest;
|
|
3398
|
-
type index_d$3_GetAccountInvitesResponse = GetAccountInvitesResponse;
|
|
3399
|
-
type index_d$3_InviteAssignment = InviteAssignment;
|
|
3400
|
-
type index_d$3_InviteFailure = InviteFailure;
|
|
3401
|
-
type index_d$3_InviteResourceAssignment = InviteResourceAssignment;
|
|
3402
|
-
type index_d$3_JoinedCondition = JoinedCondition;
|
|
3403
|
-
type index_d$3_JoinedConditionOperator = JoinedConditionOperator;
|
|
3404
|
-
declare const index_d$3_JoinedConditionOperator: typeof JoinedConditionOperator;
|
|
3405
|
-
type index_d$3_LikeOperator = LikeOperator;
|
|
3406
|
-
type index_d$3_OrganizationResourceContext = OrganizationResourceContext;
|
|
3407
|
-
type index_d$3_ParseAccountInviteTokenRequest = ParseAccountInviteTokenRequest;
|
|
3408
|
-
type index_d$3_ParseAccountInviteTokenResponse = ParseAccountInviteTokenResponse;
|
|
3409
|
-
type index_d$3_PolicyCondition = PolicyCondition;
|
|
3410
|
-
type index_d$3_ResendAccountInviteRequest = ResendAccountInviteRequest;
|
|
3411
|
-
type index_d$3_RevokeAccountInviteRequest = RevokeAccountInviteRequest;
|
|
3412
|
-
type index_d$3_RevokeAccountInviteResponse = RevokeAccountInviteResponse;
|
|
3413
|
-
type index_d$3_SimpleCondition = SimpleCondition;
|
|
3414
|
-
type index_d$3_SimpleConditionOperator = SimpleConditionOperator;
|
|
3415
|
-
declare const index_d$3_SimpleConditionOperator: typeof SimpleConditionOperator;
|
|
3416
|
-
type index_d$3_SimpleConditionValue = SimpleConditionValue;
|
|
3417
|
-
type index_d$3_SimpleConditionValueValueOneOf = SimpleConditionValueValueOneOf;
|
|
3418
|
-
type index_d$3_SiteResourceContext = SiteResourceContext;
|
|
3419
|
-
type index_d$3_SubjectInviteAssignments = SubjectInviteAssignments;
|
|
3420
|
-
type index_d$3_UpdateAccountInviteAssignmentsRequest = UpdateAccountInviteAssignmentsRequest;
|
|
3421
|
-
type index_d$3_UpdateAccountInviteAssignmentsResponse = UpdateAccountInviteAssignmentsResponse;
|
|
3422
|
-
type index_d$3_UpdateAccountInviteRequest = UpdateAccountInviteRequest;
|
|
3423
|
-
type index_d$3_UpdateAccountInviteResponse = UpdateAccountInviteResponse;
|
|
3424
|
-
declare const index_d$3_createInvite: typeof createInvite;
|
|
3425
|
-
declare namespace index_d$3 {
|
|
3426
|
-
export { type index_d$3_AcceptAccountInviteRequest as AcceptAccountInviteRequest, type index_d$3_AcceptAccountInviteResponse as AcceptAccountInviteResponse, type index_d$3_AccountInvite as AccountInvite, type index_d$3_AccountInviteRequest as AccountInviteRequest, type index_d$3_AccountInviteResponse as AccountInviteResponse, type index_d$3_AccountResourceContext as AccountResourceContext, type index_d$3_BulkAccountInviteRequest as BulkAccountInviteRequest, type index_d$3_BulkAccountInviteResponse as BulkAccountInviteResponse, type Condition$1 as Condition, type index_d$3_ConditionOperator as ConditionOperator, type index_d$3_ConditionOperatorOperatorsOneOf as ConditionOperatorOperatorsOneOf, type index_d$3_ConditionType as ConditionType, type index_d$3_ConditionTypeOfOneOf as ConditionTypeOfOneOf, type index_d$3_ConditionValue as ConditionValue, type index_d$3_ConditionValueValueOneOf as ConditionValueValueOneOf, type index_d$3_CreateInviteOptions as CreateInviteOptions, type index_d$3_CreateInviteRequest as CreateInviteRequest, type index_d$3_CreateInviteResponse as CreateInviteResponse, type index_d$3_CreateInviteResponseNonNullableFields as CreateInviteResponseNonNullableFields, type index_d$3_DependOnOperator as DependOnOperator, type index_d$3_EnvironmentCondition as EnvironmentCondition, type index_d$3_EnvironmentConditionConditionOneOf as EnvironmentConditionConditionOneOf, type index_d$3_EqualOperator as EqualOperator, type index_d$3_ExperimentCondition as ExperimentCondition, type index_d$3_ExperimentOperator as ExperimentOperator, type index_d$3_FullNameResource as FullNameResource, type index_d$3_FullNameResourceResourceContextOneOf as FullNameResourceResourceContextOneOf, type index_d$3_GetAccountInviteRequest as GetAccountInviteRequest, type index_d$3_GetAccountInviteResponse as GetAccountInviteResponse, type index_d$3_GetAccountInvitesRequest as GetAccountInvitesRequest, type index_d$3_GetAccountInvitesResponse as GetAccountInvitesResponse, type index_d$3_InviteAssignment as InviteAssignment, type index_d$3_InviteFailure as InviteFailure, type index_d$3_InviteResourceAssignment as InviteResourceAssignment, InviteStatus$2 as InviteStatus, type index_d$3_JoinedCondition as JoinedCondition, index_d$3_JoinedConditionOperator as JoinedConditionOperator, type index_d$3_LikeOperator as LikeOperator, type index_d$3_OrganizationResourceContext as OrganizationResourceContext, type index_d$3_ParseAccountInviteTokenRequest as ParseAccountInviteTokenRequest, type index_d$3_ParseAccountInviteTokenResponse as ParseAccountInviteTokenResponse, type index_d$3_PolicyCondition as PolicyCondition, type index_d$3_ResendAccountInviteRequest as ResendAccountInviteRequest, type Resource$1 as Resource, type index_d$3_RevokeAccountInviteRequest as RevokeAccountInviteRequest, type index_d$3_RevokeAccountInviteResponse as RevokeAccountInviteResponse, type index_d$3_SimpleCondition as SimpleCondition, index_d$3_SimpleConditionOperator as SimpleConditionOperator, type index_d$3_SimpleConditionValue as SimpleConditionValue, type index_d$3_SimpleConditionValueValueOneOf as SimpleConditionValueValueOneOf, type index_d$3_SiteResourceContext as SiteResourceContext, type Subject$1 as Subject, type SubjectContext$1 as SubjectContext, SubjectContextType$1 as SubjectContextType, type index_d$3_SubjectInviteAssignments as SubjectInviteAssignments, SubjectType$2 as SubjectType, type index_d$3_UpdateAccountInviteAssignmentsRequest as UpdateAccountInviteAssignmentsRequest, type index_d$3_UpdateAccountInviteAssignmentsResponse as UpdateAccountInviteAssignmentsResponse, type index_d$3_UpdateAccountInviteRequest as UpdateAccountInviteRequest, type index_d$3_UpdateAccountInviteResponse as UpdateAccountInviteResponse, index_d$3_createInvite as createInvite };
|
|
3369
|
+
type index_d$4_AcceptAccountInviteRequest = AcceptAccountInviteRequest;
|
|
3370
|
+
type index_d$4_AcceptAccountInviteResponse = AcceptAccountInviteResponse;
|
|
3371
|
+
type index_d$4_AccountInviteRequest = AccountInviteRequest;
|
|
3372
|
+
type index_d$4_AccountInviteResponse = AccountInviteResponse;
|
|
3373
|
+
type index_d$4_BulkAccountInviteRequest = BulkAccountInviteRequest;
|
|
3374
|
+
type index_d$4_BulkAccountInviteResponse = BulkAccountInviteResponse;
|
|
3375
|
+
type index_d$4_CreateInviteOptions = CreateInviteOptions;
|
|
3376
|
+
type index_d$4_CreateInviteRequest = CreateInviteRequest;
|
|
3377
|
+
type index_d$4_CreateInviteResponse = CreateInviteResponse;
|
|
3378
|
+
type index_d$4_CreateInviteResponseNonNullableFields = CreateInviteResponseNonNullableFields;
|
|
3379
|
+
type index_d$4_GetAccountInviteRequest = GetAccountInviteRequest;
|
|
3380
|
+
type index_d$4_GetAccountInviteResponse = GetAccountInviteResponse;
|
|
3381
|
+
type index_d$4_GetAccountInvitesRequest = GetAccountInvitesRequest;
|
|
3382
|
+
type index_d$4_GetAccountInvitesResponse = GetAccountInvitesResponse;
|
|
3383
|
+
type index_d$4_InviteFailure = InviteFailure;
|
|
3384
|
+
type index_d$4_ParseAccountInviteTokenRequest = ParseAccountInviteTokenRequest;
|
|
3385
|
+
type index_d$4_ParseAccountInviteTokenResponse = ParseAccountInviteTokenResponse;
|
|
3386
|
+
type index_d$4_ResendAccountInviteRequest = ResendAccountInviteRequest;
|
|
3387
|
+
type index_d$4_RevokeAccountInviteRequest = RevokeAccountInviteRequest;
|
|
3388
|
+
type index_d$4_RevokeAccountInviteResponse = RevokeAccountInviteResponse;
|
|
3389
|
+
type index_d$4_SubjectInviteAssignments = SubjectInviteAssignments;
|
|
3390
|
+
type index_d$4_UpdateAccountInviteAssignmentsRequest = UpdateAccountInviteAssignmentsRequest;
|
|
3391
|
+
type index_d$4_UpdateAccountInviteAssignmentsResponse = UpdateAccountInviteAssignmentsResponse;
|
|
3392
|
+
type index_d$4_UpdateAccountInviteRequest = UpdateAccountInviteRequest;
|
|
3393
|
+
type index_d$4_UpdateAccountInviteResponse = UpdateAccountInviteResponse;
|
|
3394
|
+
declare const index_d$4_createInvite: typeof createInvite;
|
|
3395
|
+
declare namespace index_d$4 {
|
|
3396
|
+
export { type index_d$4_AcceptAccountInviteRequest as AcceptAccountInviteRequest, type index_d$4_AcceptAccountInviteResponse as AcceptAccountInviteResponse, type AccountInvite$1 as AccountInvite, type index_d$4_AccountInviteRequest as AccountInviteRequest, type index_d$4_AccountInviteResponse as AccountInviteResponse, type AccountResourceContext$1 as AccountResourceContext, type index_d$4_BulkAccountInviteRequest as BulkAccountInviteRequest, type index_d$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 index_d$4_CreateInviteOptions as CreateInviteOptions, type index_d$4_CreateInviteRequest as CreateInviteRequest, type index_d$4_CreateInviteResponse as CreateInviteResponse, type index_d$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 index_d$4_GetAccountInviteRequest as GetAccountInviteRequest, type index_d$4_GetAccountInviteResponse as GetAccountInviteResponse, type index_d$4_GetAccountInvitesRequest as GetAccountInvitesRequest, type index_d$4_GetAccountInvitesResponse as GetAccountInvitesResponse, type InviteAssignment$1 as InviteAssignment, type index_d$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 index_d$4_ParseAccountInviteTokenRequest as ParseAccountInviteTokenRequest, type index_d$4_ParseAccountInviteTokenResponse as ParseAccountInviteTokenResponse, type PolicyCondition$1 as PolicyCondition, type index_d$4_ResendAccountInviteRequest as ResendAccountInviteRequest, type Resource$2 as Resource, type index_d$4_RevokeAccountInviteRequest as RevokeAccountInviteRequest, type index_d$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 index_d$4_SubjectInviteAssignments as SubjectInviteAssignments, SubjectType$3 as SubjectType, type index_d$4_UpdateAccountInviteAssignmentsRequest as UpdateAccountInviteAssignmentsRequest, type index_d$4_UpdateAccountInviteAssignmentsResponse as UpdateAccountInviteAssignmentsResponse, type index_d$4_UpdateAccountInviteRequest as UpdateAccountInviteRequest, type index_d$4_UpdateAccountInviteResponse as UpdateAccountInviteResponse, index_d$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 index_d$
|
|
3701
|
-
type index_d$
|
|
3702
|
-
type index_d$
|
|
3703
|
-
type index_d$
|
|
3704
|
-
type index_d$
|
|
3705
|
-
type index_d$
|
|
3706
|
-
type index_d$
|
|
3707
|
-
type index_d$
|
|
3708
|
-
type index_d$
|
|
3709
|
-
type index_d$
|
|
3710
|
-
type index_d$
|
|
3711
|
-
type index_d$
|
|
3712
|
-
type index_d$
|
|
3713
|
-
type index_d$
|
|
3714
|
-
type index_d$
|
|
3715
|
-
type index_d$
|
|
3716
|
-
type index_d$
|
|
3717
|
-
type index_d$
|
|
3718
|
-
type index_d$
|
|
3719
|
-
type index_d$
|
|
3720
|
-
type index_d$
|
|
3721
|
-
type index_d$
|
|
3722
|
-
type index_d$
|
|
3723
|
-
type index_d$
|
|
3724
|
-
type index_d$
|
|
3725
|
-
type index_d$
|
|
3726
|
-
type index_d$
|
|
3727
|
-
type index_d$
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
type index_d$
|
|
3731
|
-
type index_d$
|
|
3732
|
-
|
|
3733
|
-
declare const index_d$
|
|
3734
|
-
declare const index_d$
|
|
3735
|
-
declare
|
|
3736
|
-
|
|
3737
|
-
export { type index_d$2_AcceptSiteInviteRequest as AcceptSiteInviteRequest, type index_d$2_AcceptSiteInviteResponse as AcceptSiteInviteResponse, type index_d$2_BulkInviteOptions as BulkInviteOptions, type index_d$2_BulkSiteInviteRequest as BulkSiteInviteRequest, type index_d$2_BulkSiteInviteResponse as BulkSiteInviteResponse, type index_d$2_BulkSiteInviteResponseNonNullableFields as BulkSiteInviteResponseNonNullableFields, type index_d$2_ContributorLimitation as ContributorLimitation, type index_d$2_CursorPaging as CursorPaging, type index_d$2_GetContributorLimitRequest as GetContributorLimitRequest, type index_d$2_GetContributorLimitResponse as GetContributorLimitResponse, type index_d$2_GetSiteInviteRequest as GetSiteInviteRequest, type index_d$2_GetSiteInviteResponse as GetSiteInviteResponse, type index_d$2_GetSiteInvitesRequest as GetSiteInvitesRequest, type index_d$2_GetSiteInvitesResponse as GetSiteInvitesResponse, InviteStatus$1 as InviteStatus, type index_d$2_Paging as Paging, type index_d$2_ParseSiteInviteTokenRequest as ParseSiteInviteTokenRequest, type index_d$2_ParseSiteInviteTokenResponse as ParseSiteInviteTokenResponse, type index_d$2_QuerySiteInvitesRequest as QuerySiteInvitesRequest, type index_d$2_QuerySiteInvitesResponse as QuerySiteInvitesResponse, type index_d$2_QueryV2 as QueryV2, type index_d$2_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$2_ResendInviteOptions as ResendInviteOptions, type index_d$2_ResendSiteInviteRequest as ResendSiteInviteRequest, type index_d$2_RevokeSiteInviteRequest as RevokeSiteInviteRequest, type index_d$2_RevokeSiteInviteResponse as RevokeSiteInviteResponse, type SiteInvite$1 as SiteInvite, type index_d$2_SiteInviteRequest as SiteInviteRequest, type index_d$2_SiteInviteResponse as SiteInviteResponse, type index_d$2_SiteInviteResponseNonNullableFields as SiteInviteResponseNonNullableFields, index_d$2_SortOrder as SortOrder, type index_d$2_Sorting as Sorting, type index_d$2_UpdateSiteInviteRequest as UpdateSiteInviteRequest, type index_d$2_UpdateSiteInviteResponse as UpdateSiteInviteResponse, index_d$2_bulkInvite as bulkInvite, index_d$2_resendInvite as resendInvite, index_d$2_revokeInvite as revokeInvite };
|
|
3670
|
+
type index_d$3_AcceptSiteInviteRequest = AcceptSiteInviteRequest;
|
|
3671
|
+
type index_d$3_AcceptSiteInviteResponse = AcceptSiteInviteResponse;
|
|
3672
|
+
type index_d$3_BulkInviteOptions = BulkInviteOptions;
|
|
3673
|
+
type index_d$3_BulkSiteInviteRequest = BulkSiteInviteRequest;
|
|
3674
|
+
type index_d$3_BulkSiteInviteResponse = BulkSiteInviteResponse;
|
|
3675
|
+
type index_d$3_BulkSiteInviteResponseNonNullableFields = BulkSiteInviteResponseNonNullableFields;
|
|
3676
|
+
type index_d$3_ContributorLimitation = ContributorLimitation;
|
|
3677
|
+
type index_d$3_CursorPaging = CursorPaging;
|
|
3678
|
+
type index_d$3_GetContributorLimitRequest = GetContributorLimitRequest;
|
|
3679
|
+
type index_d$3_GetContributorLimitResponse = GetContributorLimitResponse;
|
|
3680
|
+
type index_d$3_GetSiteInviteRequest = GetSiteInviteRequest;
|
|
3681
|
+
type index_d$3_GetSiteInviteResponse = GetSiteInviteResponse;
|
|
3682
|
+
type index_d$3_GetSiteInvitesRequest = GetSiteInvitesRequest;
|
|
3683
|
+
type index_d$3_GetSiteInvitesResponse = GetSiteInvitesResponse;
|
|
3684
|
+
type index_d$3_ParseSiteInviteTokenRequest = ParseSiteInviteTokenRequest;
|
|
3685
|
+
type index_d$3_ParseSiteInviteTokenResponse = ParseSiteInviteTokenResponse;
|
|
3686
|
+
type index_d$3_QuerySiteInvitesRequest = QuerySiteInvitesRequest;
|
|
3687
|
+
type index_d$3_QuerySiteInvitesResponse = QuerySiteInvitesResponse;
|
|
3688
|
+
type index_d$3_QueryV2 = QueryV2;
|
|
3689
|
+
type index_d$3_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
3690
|
+
type index_d$3_ResendInviteOptions = ResendInviteOptions;
|
|
3691
|
+
type index_d$3_ResendSiteInviteRequest = ResendSiteInviteRequest;
|
|
3692
|
+
type index_d$3_RevokeSiteInviteRequest = RevokeSiteInviteRequest;
|
|
3693
|
+
type index_d$3_RevokeSiteInviteResponse = RevokeSiteInviteResponse;
|
|
3694
|
+
type index_d$3_SiteInviteRequest = SiteInviteRequest;
|
|
3695
|
+
type index_d$3_SiteInviteResponse = SiteInviteResponse;
|
|
3696
|
+
type index_d$3_SiteInviteResponseNonNullableFields = SiteInviteResponseNonNullableFields;
|
|
3697
|
+
type index_d$3_SortOrder = SortOrder;
|
|
3698
|
+
declare const index_d$3_SortOrder: typeof SortOrder;
|
|
3699
|
+
type index_d$3_Sorting = Sorting;
|
|
3700
|
+
type index_d$3_UpdateSiteInviteRequest = UpdateSiteInviteRequest;
|
|
3701
|
+
type index_d$3_UpdateSiteInviteResponse = UpdateSiteInviteResponse;
|
|
3702
|
+
declare const index_d$3_bulkInvite: typeof bulkInvite;
|
|
3703
|
+
declare const index_d$3_resendInvite: typeof resendInvite;
|
|
3704
|
+
declare const index_d$3_revokeInvite: typeof revokeInvite;
|
|
3705
|
+
declare namespace index_d$3 {
|
|
3706
|
+
export { type index_d$3_AcceptSiteInviteRequest as AcceptSiteInviteRequest, type index_d$3_AcceptSiteInviteResponse as AcceptSiteInviteResponse, type index_d$3_BulkInviteOptions as BulkInviteOptions, type index_d$3_BulkSiteInviteRequest as BulkSiteInviteRequest, type index_d$3_BulkSiteInviteResponse as BulkSiteInviteResponse, type index_d$3_BulkSiteInviteResponseNonNullableFields as BulkSiteInviteResponseNonNullableFields, type index_d$3_ContributorLimitation as ContributorLimitation, type index_d$3_CursorPaging as CursorPaging, type index_d$3_GetContributorLimitRequest as GetContributorLimitRequest, type index_d$3_GetContributorLimitResponse as GetContributorLimitResponse, type index_d$3_GetSiteInviteRequest as GetSiteInviteRequest, type index_d$3_GetSiteInviteResponse as GetSiteInviteResponse, type index_d$3_GetSiteInvitesRequest as GetSiteInvitesRequest, type index_d$3_GetSiteInvitesResponse as GetSiteInvitesResponse, InviteStatus$2 as InviteStatus, type Paging$1 as Paging, type index_d$3_ParseSiteInviteTokenRequest as ParseSiteInviteTokenRequest, type index_d$3_ParseSiteInviteTokenResponse as ParseSiteInviteTokenResponse, type index_d$3_QuerySiteInvitesRequest as QuerySiteInvitesRequest, type index_d$3_QuerySiteInvitesResponse as QuerySiteInvitesResponse, type index_d$3_QueryV2 as QueryV2, type index_d$3_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$3_ResendInviteOptions as ResendInviteOptions, type index_d$3_ResendSiteInviteRequest as ResendSiteInviteRequest, type index_d$3_RevokeSiteInviteRequest as RevokeSiteInviteRequest, type index_d$3_RevokeSiteInviteResponse as RevokeSiteInviteResponse, type SiteInvite$1 as SiteInvite, type index_d$3_SiteInviteRequest as SiteInviteRequest, type index_d$3_SiteInviteResponse as SiteInviteResponse, type index_d$3_SiteInviteResponseNonNullableFields as SiteInviteResponseNonNullableFields, index_d$3_SortOrder as SortOrder, type index_d$3_Sorting as Sorting, type index_d$3_UpdateSiteInviteRequest as UpdateSiteInviteRequest, type index_d$3_UpdateSiteInviteResponse as UpdateSiteInviteResponse, index_d$3_bulkInvite as bulkInvite, index_d$3_resendInvite as resendInvite, index_d$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,80 +4006,81 @@ 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 index_d$
|
|
4041
|
-
type index_d$
|
|
4042
|
-
type index_d$
|
|
4043
|
-
type index_d$
|
|
4044
|
-
type index_d$
|
|
4045
|
-
type index_d$
|
|
4046
|
-
type index_d$
|
|
4047
|
-
type index_d$
|
|
4048
|
-
type index_d$
|
|
4049
|
-
type index_d$
|
|
4050
|
-
type index_d$
|
|
4051
|
-
type index_d$
|
|
4052
|
-
type index_d$
|
|
4053
|
-
type index_d$
|
|
4054
|
-
type index_d$
|
|
4055
|
-
type index_d$
|
|
4056
|
-
type index_d$
|
|
4057
|
-
type index_d$
|
|
4058
|
-
type index_d$
|
|
4059
|
-
type index_d$
|
|
4060
|
-
type index_d$
|
|
4061
|
-
type index_d$
|
|
4062
|
-
type index_d$
|
|
4063
|
-
type index_d$
|
|
4064
|
-
type index_d$
|
|
4065
|
-
type index_d$
|
|
4066
|
-
type index_d$
|
|
4067
|
-
type index_d$
|
|
4068
|
-
type index_d$
|
|
4069
|
-
type index_d$
|
|
4070
|
-
declare const index_d$
|
|
4071
|
-
declare const index_d$
|
|
4072
|
-
declare namespace index_d$
|
|
4073
|
-
export { type index_d$
|
|
4009
|
+
type index_d$2_ActionEvent = ActionEvent;
|
|
4010
|
+
type index_d$2_AuthorizeRequest = AuthorizeRequest;
|
|
4011
|
+
type index_d$2_DeviceCodeRequest = DeviceCodeRequest;
|
|
4012
|
+
type index_d$2_DeviceCodeResponse = DeviceCodeResponse;
|
|
4013
|
+
type index_d$2_DeviceVerifyRequest = DeviceVerifyRequest;
|
|
4014
|
+
type index_d$2_DeviceVerifyResponse = DeviceVerifyResponse;
|
|
4015
|
+
type index_d$2_DeviceVerifyV2Request = DeviceVerifyV2Request;
|
|
4016
|
+
type index_d$2_DeviceVerifyV2Response = DeviceVerifyV2Response;
|
|
4017
|
+
type index_d$2_DomainEvent = DomainEvent;
|
|
4018
|
+
type index_d$2_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
4019
|
+
type index_d$2_Empty = Empty;
|
|
4020
|
+
type index_d$2_EntityCreatedEvent = EntityCreatedEvent;
|
|
4021
|
+
type index_d$2_EntityDeletedEvent = EntityDeletedEvent;
|
|
4022
|
+
type index_d$2_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
4023
|
+
type index_d$2_HeadersEntry = HeadersEntry;
|
|
4024
|
+
type index_d$2_InvalidateUserCodeRequest = InvalidateUserCodeRequest;
|
|
4025
|
+
type index_d$2_InvalidateUserCodeResponse = InvalidateUserCodeResponse;
|
|
4026
|
+
type index_d$2_PathParametersEntry = PathParametersEntry;
|
|
4027
|
+
type index_d$2_QueryParametersEntry = QueryParametersEntry;
|
|
4028
|
+
type index_d$2_RawHttpRequest = RawHttpRequest;
|
|
4029
|
+
type index_d$2_RawHttpResponse = RawHttpResponse;
|
|
4030
|
+
type index_d$2_RawHttpResponseNonNullableFields = RawHttpResponseNonNullableFields;
|
|
4031
|
+
type index_d$2_RefreshToken = RefreshToken;
|
|
4032
|
+
type index_d$2_RestoreInfo = RestoreInfo;
|
|
4033
|
+
type index_d$2_RevokeRefreshTokenRequest = RevokeRefreshTokenRequest;
|
|
4034
|
+
type index_d$2_RevokeRefreshTokenResponse = RevokeRefreshTokenResponse;
|
|
4035
|
+
type index_d$2_TokenInfoOptions = TokenInfoOptions;
|
|
4036
|
+
type index_d$2_TokenInfoResponse = TokenInfoResponse;
|
|
4037
|
+
type index_d$2_TokenInfoResponseNonNullableFields = TokenInfoResponseNonNullableFields;
|
|
4038
|
+
type index_d$2_TokenOptions = TokenOptions;
|
|
4039
|
+
declare const index_d$2_token: typeof token;
|
|
4040
|
+
declare const index_d$2_tokenInfo: typeof tokenInfo;
|
|
4041
|
+
declare namespace index_d$2 {
|
|
4042
|
+
export { type index_d$2_ActionEvent as ActionEvent, type index_d$2_AuthorizeRequest as AuthorizeRequest, type index_d$2_DeviceCodeRequest as DeviceCodeRequest, type index_d$2_DeviceCodeResponse as DeviceCodeResponse, type index_d$2_DeviceVerifyRequest as DeviceVerifyRequest, type index_d$2_DeviceVerifyResponse as DeviceVerifyResponse, type index_d$2_DeviceVerifyV2Request as DeviceVerifyV2Request, type index_d$2_DeviceVerifyV2Response as DeviceVerifyV2Response, type index_d$2_DomainEvent as DomainEvent, type index_d$2_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$2_Empty as Empty, type index_d$2_EntityCreatedEvent as EntityCreatedEvent, type index_d$2_EntityDeletedEvent as EntityDeletedEvent, type index_d$2_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$2_HeadersEntry as HeadersEntry, type index_d$2_InvalidateUserCodeRequest as InvalidateUserCodeRequest, type index_d$2_InvalidateUserCodeResponse as InvalidateUserCodeResponse, type index_d$2_PathParametersEntry as PathParametersEntry, type index_d$2_QueryParametersEntry as QueryParametersEntry, type index_d$2_RawHttpRequest as RawHttpRequest, type index_d$2_RawHttpResponse as RawHttpResponse, type index_d$2_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type index_d$2_RefreshToken as RefreshToken, type index_d$2_RestoreInfo as RestoreInfo, type index_d$2_RevokeRefreshTokenRequest as RevokeRefreshTokenRequest, type index_d$2_RevokeRefreshTokenResponse as RevokeRefreshTokenResponse, SubjectType$2 as SubjectType, type index_d$2_TokenInfoOptions as TokenInfoOptions, type index_d$2_TokenInfoResponse as TokenInfoResponse, type index_d$2_TokenInfoResponseNonNullableFields as TokenInfoResponseNonNullableFields, type index_d$2_TokenOptions as TokenOptions, index_d$2_token as token, index_d$2_tokenInfo as tokenInfo };
|
|
4074
4043
|
}
|
|
4075
4044
|
|
|
4076
|
-
interface
|
|
4077
|
-
/**
|
|
4078
|
-
|
|
4079
|
-
/** Whether the contributor account is a team account. */
|
|
4080
|
-
isTeam?: boolean | null;
|
|
4081
|
-
/** Date that the contributor joined the site. */
|
|
4082
|
-
joinedAt?: Date | null;
|
|
4083
|
-
/** Email address that received the invite. */
|
|
4084
|
-
invitedEmail?: string | null;
|
|
4085
|
-
/** Whether the contributor account is a client account. */
|
|
4086
|
-
isClient?: boolean | null;
|
|
4045
|
+
interface User$1 {
|
|
4046
|
+
/** User ID. */
|
|
4047
|
+
_id?: string;
|
|
4087
4048
|
/**
|
|
4088
|
-
*
|
|
4089
|
-
* @
|
|
4049
|
+
* Deprecated.
|
|
4050
|
+
* @deprecated
|
|
4090
4051
|
*/
|
|
4091
|
-
|
|
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[];
|
|
4092
4068
|
}
|
|
4093
|
-
interface
|
|
4094
|
-
/**
|
|
4095
|
-
|
|
4096
|
-
/**
|
|
4097
|
-
|
|
4098
|
-
/** URL for contributor's profile image. */
|
|
4099
|
-
imageUrl?: string | null;
|
|
4100
|
-
/** Contributor's email address. */
|
|
4101
|
-
email?: string | null;
|
|
4102
|
-
/** Contributor's access to assets and their assigned role (`policy`) for that asset. */
|
|
4103
|
-
assignments?: Assignment[];
|
|
4069
|
+
interface Name$1 {
|
|
4070
|
+
/** User's first name. */
|
|
4071
|
+
firstName?: string;
|
|
4072
|
+
/** User's last name. */
|
|
4073
|
+
lastName?: string;
|
|
4104
4074
|
}
|
|
4105
|
-
interface Assignment {
|
|
4075
|
+
interface Assignment$1 {
|
|
4106
4076
|
/** Role assigned to the user. */
|
|
4107
|
-
policy?: AssignedPolicy;
|
|
4077
|
+
policy?: AssignedPolicy$1;
|
|
4108
4078
|
/** Unique ID for this specific assignment. */
|
|
4109
4079
|
assignmentId?: string;
|
|
4110
4080
|
/** Identity assigned to the asset in an assignment, referred to as subject. Supported subjects include user IDs, account IDs, and app IDs. */
|
|
4111
|
-
subject?: Subject;
|
|
4081
|
+
subject?: Subject$1;
|
|
4112
4082
|
}
|
|
4113
|
-
interface AssignedPolicy {
|
|
4083
|
+
interface AssignedPolicy$1 {
|
|
4114
4084
|
/** Role ID. */
|
|
4115
4085
|
policyId?: string;
|
|
4116
4086
|
/** Role title. */
|
|
@@ -4118,77 +4088,77 @@ interface AssignedPolicy {
|
|
|
4118
4088
|
/** Role description. */
|
|
4119
4089
|
description?: string | null;
|
|
4120
4090
|
}
|
|
4121
|
-
interface Restriction extends RestrictionRestrictionsOneOf {
|
|
4091
|
+
interface Restriction$1 extends RestrictionRestrictionsOneOf$1 {
|
|
4122
4092
|
/**
|
|
4123
4093
|
* Deprecated.
|
|
4124
4094
|
* @deprecated
|
|
4125
4095
|
*/
|
|
4126
|
-
resource?:
|
|
4096
|
+
resource?: ApiResource;
|
|
4127
4097
|
/** List of conditions restricting the user's access. Currently only folder conditions are supported. */
|
|
4128
|
-
conditions?: Conditions;
|
|
4098
|
+
conditions?: Conditions$1;
|
|
4129
4099
|
/** Site where the assignment restrictions apply. */
|
|
4130
|
-
site?: SiteRestriction;
|
|
4100
|
+
site?: SiteRestriction$1;
|
|
4131
4101
|
}
|
|
4132
4102
|
/** @oneof */
|
|
4133
|
-
interface RestrictionRestrictionsOneOf {
|
|
4103
|
+
interface RestrictionRestrictionsOneOf$1 {
|
|
4134
4104
|
/**
|
|
4135
4105
|
* Deprecated.
|
|
4136
4106
|
* @deprecated
|
|
4137
4107
|
*/
|
|
4138
|
-
resource?:
|
|
4108
|
+
resource?: ApiResource;
|
|
4139
4109
|
/** List of conditions restricting the user's access. Currently only folder conditions are supported. */
|
|
4140
|
-
conditions?: Conditions;
|
|
4110
|
+
conditions?: Conditions$1;
|
|
4141
4111
|
/** Site where the assignment restrictions apply. */
|
|
4142
|
-
site?: SiteRestriction;
|
|
4112
|
+
site?: SiteRestriction$1;
|
|
4143
4113
|
}
|
|
4144
|
-
interface
|
|
4114
|
+
interface ApiResource {
|
|
4145
4115
|
/** Resource type. */
|
|
4146
|
-
resourceType?: ResourceType;
|
|
4116
|
+
resourceType?: ResourceType$1;
|
|
4147
4117
|
/** Resource ID. */
|
|
4148
4118
|
_id?: string;
|
|
4149
4119
|
value?: string | null;
|
|
4150
4120
|
}
|
|
4151
|
-
declare enum ResourceType {
|
|
4121
|
+
declare enum ResourceType$1 {
|
|
4152
4122
|
UNKNOWN_RESOURCE_TYPE = "UNKNOWN_RESOURCE_TYPE",
|
|
4153
4123
|
SITE = "SITE"
|
|
4154
4124
|
}
|
|
4155
|
-
interface Conditions {
|
|
4125
|
+
interface Conditions$1 {
|
|
4156
4126
|
/** List of conditions. */
|
|
4157
|
-
conditions?:
|
|
4127
|
+
conditions?: ApiCondition[];
|
|
4158
4128
|
}
|
|
4159
|
-
interface
|
|
4129
|
+
interface ApiCondition {
|
|
4160
4130
|
/** Condition type. */
|
|
4161
|
-
conditionType?: ConditionAttributeType;
|
|
4131
|
+
conditionType?: ConditionAttributeType$1;
|
|
4162
4132
|
/** Condition ID. */
|
|
4163
4133
|
_id?: string;
|
|
4164
4134
|
/** Expected value of the condition. When `conditionType` = "FOLDER", this is the folder path. */
|
|
4165
4135
|
value?: string | null;
|
|
4166
4136
|
}
|
|
4167
|
-
declare enum ConditionAttributeType {
|
|
4137
|
+
declare enum ConditionAttributeType$1 {
|
|
4168
4138
|
UNKNOWN_CONDITION_TYPE = "UNKNOWN_CONDITION_TYPE",
|
|
4169
4139
|
FOLDER = "FOLDER"
|
|
4170
4140
|
}
|
|
4171
|
-
interface SiteRestriction {
|
|
4141
|
+
interface SiteRestriction$1 {
|
|
4172
4142
|
/** Site ID. */
|
|
4173
4143
|
_id?: string;
|
|
4174
4144
|
/** Site name. */
|
|
4175
4145
|
value?: string | null;
|
|
4176
4146
|
}
|
|
4177
|
-
interface CompanionResource {
|
|
4147
|
+
interface CompanionResource$1 {
|
|
4178
4148
|
/** Asset ID (referred to here as resource ID). */
|
|
4179
4149
|
_id?: string;
|
|
4180
4150
|
/** Asset type (referred to here as resource type). as predefined in the authorization system */
|
|
4181
4151
|
resourceType?: string;
|
|
4182
4152
|
}
|
|
4183
|
-
interface Subject {
|
|
4153
|
+
interface Subject$1 {
|
|
4184
4154
|
/** ID of identity assigned to the asset. */
|
|
4185
4155
|
_id?: string;
|
|
4186
4156
|
/** Type of identity assigned to the asset. Supported subject types include user IDs, account IDs, and app IDs. */
|
|
4187
|
-
subjectType?: SubjectType;
|
|
4157
|
+
subjectType?: SubjectType$1;
|
|
4188
4158
|
/** Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. */
|
|
4189
|
-
context?: SubjectContext;
|
|
4159
|
+
context?: SubjectContext$1;
|
|
4190
4160
|
}
|
|
4191
|
-
declare enum SubjectType {
|
|
4161
|
+
declare enum SubjectType$1 {
|
|
4192
4162
|
UNKNOWN = "UNKNOWN",
|
|
4193
4163
|
ACCOUNT = "ACCOUNT",
|
|
4194
4164
|
USER = "USER",
|
|
@@ -4199,60 +4169,1260 @@ declare enum SubjectType {
|
|
|
4199
4169
|
ACCOUNT_GROUP = "ACCOUNT_GROUP",
|
|
4200
4170
|
WIX_APP = "WIX_APP"
|
|
4201
4171
|
}
|
|
4202
|
-
interface SubjectContext {
|
|
4172
|
+
interface SubjectContext$1 {
|
|
4203
4173
|
_id?: string;
|
|
4204
|
-
contextType?: SubjectContextType;
|
|
4174
|
+
contextType?: SubjectContextType$1;
|
|
4205
4175
|
}
|
|
4206
|
-
declare enum SubjectContextType {
|
|
4176
|
+
declare enum SubjectContextType$1 {
|
|
4207
4177
|
UNKNOWN_CTX = "UNKNOWN_CTX",
|
|
4208
4178
|
ORG_CTX = "ORG_CTX",
|
|
4209
4179
|
ACCOUNT_CTX = "ACCOUNT_CTX"
|
|
4210
4180
|
}
|
|
4211
|
-
interface
|
|
4212
|
-
|
|
4213
|
-
|
|
4181
|
+
interface GetTeamRequest {
|
|
4182
|
+
/** @deprecated */
|
|
4183
|
+
usersLimit?: number | null;
|
|
4184
|
+
/** The locale of the request. Defaults to en */
|
|
4214
4185
|
locale?: string | null;
|
|
4186
|
+
paging?: Paging;
|
|
4215
4187
|
}
|
|
4216
|
-
interface
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
/** @readonly */
|
|
4222
|
-
_id?: string;
|
|
4223
|
-
/** TODO: amitis - remove this comment after the next merge */
|
|
4224
|
-
destEmail?: string;
|
|
4225
|
-
/** @readonly */
|
|
4226
|
-
status?: string;
|
|
4227
|
-
/** @readonly */
|
|
4228
|
-
acceptLink?: string;
|
|
4229
|
-
invitePurpose?: string | null;
|
|
4230
|
-
policies?: AssignedPolicy[];
|
|
4231
|
-
/** @readonly */
|
|
4232
|
-
expirationDate?: Date | null;
|
|
4233
|
-
/** @readonly */
|
|
4234
|
-
dateCreated?: Date | null;
|
|
4235
|
-
/** @readonly */
|
|
4236
|
-
dateUpdated?: Date | null;
|
|
4237
|
-
}
|
|
4238
|
-
interface GetSiteContributorsRequest {
|
|
4239
|
-
/** The locale of the request. Defaults to en-us */
|
|
4240
|
-
locale?: string | null;
|
|
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;
|
|
4241
4193
|
}
|
|
4242
|
-
interface
|
|
4243
|
-
users?: User[];
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
policies?: Policy[];
|
|
4194
|
+
interface GetTeamResponse {
|
|
4195
|
+
users?: User$1[];
|
|
4196
|
+
invites?: AccountInvite[];
|
|
4197
|
+
accountInfo?: AccountInfo$1;
|
|
4247
4198
|
permissions?: string[];
|
|
4248
4199
|
userId?: string;
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
predefinedRoles?: PredefinedRoles;
|
|
4200
|
+
targetAccountId?: string;
|
|
4201
|
+
policies?: ApiPolicy[];
|
|
4202
|
+
totalUsersInAccount?: string;
|
|
4203
|
+
predefinedRoles?: PredefinedRoles$1;
|
|
4253
4204
|
}
|
|
4254
|
-
interface
|
|
4255
|
-
/**
|
|
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 index_d$1_AccountInvite = AccountInvite;
|
|
5142
|
+
type index_d$1_AccountResourceContext = AccountResourceContext;
|
|
5143
|
+
type index_d$1_ApiCondition = ApiCondition;
|
|
5144
|
+
type index_d$1_ApiInviteAssignment = ApiInviteAssignment;
|
|
5145
|
+
type index_d$1_ApiPolicy = ApiPolicy;
|
|
5146
|
+
type index_d$1_ApiResource = ApiResource;
|
|
5147
|
+
type index_d$1_AreasFilter = AreasFilter;
|
|
5148
|
+
type index_d$1_AssignedSubject = AssignedSubject;
|
|
5149
|
+
type index_d$1_AssignmentV3 = AssignmentV3;
|
|
5150
|
+
type index_d$1_ChangeRoleRequest = ChangeRoleRequest;
|
|
5151
|
+
type index_d$1_ChangeRoleResponse = ChangeRoleResponse;
|
|
5152
|
+
type index_d$1_ChangeRoleV2Request = ChangeRoleV2Request;
|
|
5153
|
+
type index_d$1_ChangeRoleV2Response = ChangeRoleV2Response;
|
|
5154
|
+
type index_d$1_ConditionOperator = ConditionOperator;
|
|
5155
|
+
type index_d$1_ConditionOperatorOperatorsOneOf = ConditionOperatorOperatorsOneOf;
|
|
5156
|
+
type index_d$1_ConditionType = ConditionType;
|
|
5157
|
+
type index_d$1_ConditionTypeOfOneOf = ConditionTypeOfOneOf;
|
|
5158
|
+
type index_d$1_ConditionValue = ConditionValue;
|
|
5159
|
+
type index_d$1_ConditionValueValueOneOf = ConditionValueValueOneOf;
|
|
5160
|
+
type index_d$1_CreateCustomRoleRequest = CreateCustomRoleRequest;
|
|
5161
|
+
type index_d$1_CreateCustomRoleResponse = CreateCustomRoleResponse;
|
|
5162
|
+
type index_d$1_CustomRole = CustomRole;
|
|
5163
|
+
type index_d$1_DependOnOperator = DependOnOperator;
|
|
5164
|
+
type index_d$1_Direction = Direction;
|
|
5165
|
+
declare const index_d$1_Direction: typeof Direction;
|
|
5166
|
+
type index_d$1_EditorType = EditorType;
|
|
5167
|
+
declare const index_d$1_EditorType: typeof EditorType;
|
|
5168
|
+
type index_d$1_Effect = Effect;
|
|
5169
|
+
declare const index_d$1_Effect: typeof Effect;
|
|
5170
|
+
type index_d$1_EnvironmentCondition = EnvironmentCondition;
|
|
5171
|
+
type index_d$1_EnvironmentConditionConditionOneOf = EnvironmentConditionConditionOneOf;
|
|
5172
|
+
type index_d$1_EqualOperator = EqualOperator;
|
|
5173
|
+
type index_d$1_ExperimentCondition = ExperimentCondition;
|
|
5174
|
+
type index_d$1_ExperimentOperator = ExperimentOperator;
|
|
5175
|
+
type index_d$1_Facet = Facet;
|
|
5176
|
+
type index_d$1_FacetType = FacetType;
|
|
5177
|
+
declare const index_d$1_FacetType: typeof FacetType;
|
|
5178
|
+
type index_d$1_FacetValue = FacetValue;
|
|
5179
|
+
type index_d$1_FolderResource = FolderResource;
|
|
5180
|
+
type index_d$1_FullNameResource = FullNameResource;
|
|
5181
|
+
type index_d$1_FullNameResourceResourceContextOneOf = FullNameResourceResourceContextOneOf;
|
|
5182
|
+
type index_d$1_GetPeopleRequest = GetPeopleRequest;
|
|
5183
|
+
type index_d$1_GetPeopleResponse = GetPeopleResponse;
|
|
5184
|
+
type index_d$1_GetPoliciesRequest = GetPoliciesRequest;
|
|
5185
|
+
type index_d$1_GetPoliciesResponse = GetPoliciesResponse;
|
|
5186
|
+
type index_d$1_GetRolesInfoOptions = GetRolesInfoOptions;
|
|
5187
|
+
type index_d$1_GetRolesInfoRequest = GetRolesInfoRequest;
|
|
5188
|
+
type index_d$1_GetRolesInfoResponse = GetRolesInfoResponse;
|
|
5189
|
+
type index_d$1_GetRolesInfoResponseNonNullableFields = GetRolesInfoResponseNonNullableFields;
|
|
5190
|
+
type index_d$1_GetRolesRequest = GetRolesRequest;
|
|
5191
|
+
type index_d$1_GetRolesResponse = GetRolesResponse;
|
|
5192
|
+
type index_d$1_GetScopesRequest = GetScopesRequest;
|
|
5193
|
+
type index_d$1_GetScopesResponse = GetScopesResponse;
|
|
5194
|
+
type index_d$1_GetSubjectsAssignmentsRequest = GetSubjectsAssignmentsRequest;
|
|
5195
|
+
type index_d$1_GetSubjectsAssignmentsResponse = GetSubjectsAssignmentsResponse;
|
|
5196
|
+
type index_d$1_GetTeamInvitesRequest = GetTeamInvitesRequest;
|
|
5197
|
+
type index_d$1_GetTeamInvitesResponse = GetTeamInvitesResponse;
|
|
5198
|
+
type index_d$1_GetTeamRequest = GetTeamRequest;
|
|
5199
|
+
type index_d$1_GetTeamResponse = GetTeamResponse;
|
|
5200
|
+
type index_d$1_GetTeamV2Response = GetTeamV2Response;
|
|
5201
|
+
type index_d$1_GetUsersRequest = GetUsersRequest;
|
|
5202
|
+
type index_d$1_GetUsersResponse = GetUsersResponse;
|
|
5203
|
+
type index_d$1_Invite = Invite;
|
|
5204
|
+
type index_d$1_InviteAssignment = InviteAssignment;
|
|
5205
|
+
type index_d$1_InviteAssignmentV3 = InviteAssignmentV3;
|
|
5206
|
+
type index_d$1_InviteResourceAssignment = InviteResourceAssignment;
|
|
5207
|
+
type index_d$1_InviteV3 = InviteV3;
|
|
5208
|
+
type index_d$1_JoinedCondition = JoinedCondition;
|
|
5209
|
+
type index_d$1_JoinedConditionOperator = JoinedConditionOperator;
|
|
5210
|
+
declare const index_d$1_JoinedConditionOperator: typeof JoinedConditionOperator;
|
|
5211
|
+
type index_d$1_LikeOperator = LikeOperator;
|
|
5212
|
+
type index_d$1_OrderField = OrderField;
|
|
5213
|
+
declare const index_d$1_OrderField: typeof OrderField;
|
|
5214
|
+
type index_d$1_Ordering = Ordering;
|
|
5215
|
+
type index_d$1_OrganizationResourceContext = OrganizationResourceContext;
|
|
5216
|
+
type index_d$1_Paging = Paging;
|
|
5217
|
+
type index_d$1_People = People;
|
|
5218
|
+
type index_d$1_PeopleResource = PeopleResource;
|
|
5219
|
+
type index_d$1_PeopleResourceResourceTypeOneOf = PeopleResourceResourceTypeOneOf;
|
|
5220
|
+
type index_d$1_PeopleType = PeopleType;
|
|
5221
|
+
declare const index_d$1_PeopleType: typeof PeopleType;
|
|
5222
|
+
type index_d$1_PermissionScope = PermissionScope;
|
|
5223
|
+
type index_d$1_Person = Person;
|
|
5224
|
+
type index_d$1_PersonPersonOneOf = PersonPersonOneOf;
|
|
5225
|
+
type index_d$1_PolicyCondition = PolicyCondition;
|
|
5226
|
+
type index_d$1_PolicyStatement = PolicyStatement;
|
|
5227
|
+
type index_d$1_PolicyType = PolicyType;
|
|
5228
|
+
declare const index_d$1_PolicyType: typeof PolicyType;
|
|
5229
|
+
type index_d$1_PredefinedRoleV2 = PredefinedRoleV2;
|
|
5230
|
+
type index_d$1_PredefinedRolesArea = PredefinedRolesArea;
|
|
5231
|
+
type index_d$1_RemoveMemberRequest = RemoveMemberRequest;
|
|
5232
|
+
type index_d$1_RemoveMemberResponse = RemoveMemberResponse;
|
|
5233
|
+
type index_d$1_RoleInfo = RoleInfo;
|
|
5234
|
+
type index_d$1_RoleLevel = RoleLevel;
|
|
5235
|
+
declare const index_d$1_RoleLevel: typeof RoleLevel;
|
|
5236
|
+
type index_d$1_RoleLevelRestriction = RoleLevelRestriction;
|
|
5237
|
+
declare const index_d$1_RoleLevelRestriction: typeof RoleLevelRestriction;
|
|
5238
|
+
type index_d$1_RoleVisibility = RoleVisibility;
|
|
5239
|
+
declare const index_d$1_RoleVisibility: typeof RoleVisibility;
|
|
5240
|
+
type index_d$1_RolesInfoFilter = RolesInfoFilter;
|
|
5241
|
+
type index_d$1_ScopeArea = ScopeArea;
|
|
5242
|
+
type index_d$1_ScopeLevel = ScopeLevel;
|
|
5243
|
+
declare const index_d$1_ScopeLevel: typeof ScopeLevel;
|
|
5244
|
+
type index_d$1_SearchTeamOptions = SearchTeamOptions;
|
|
5245
|
+
type index_d$1_SearchTeamRequest = SearchTeamRequest;
|
|
5246
|
+
type index_d$1_SearchTeamResponse = SearchTeamResponse;
|
|
5247
|
+
type index_d$1_SearchTeamResponseNonNullableFields = SearchTeamResponseNonNullableFields;
|
|
5248
|
+
type index_d$1_SimpleCondition = SimpleCondition;
|
|
5249
|
+
type index_d$1_SimpleConditionOperator = SimpleConditionOperator;
|
|
5250
|
+
declare const index_d$1_SimpleConditionOperator: typeof SimpleConditionOperator;
|
|
5251
|
+
type index_d$1_SimpleConditionValue = SimpleConditionValue;
|
|
5252
|
+
type index_d$1_SimpleConditionValueValueOneOf = SimpleConditionValueValueOneOf;
|
|
5253
|
+
type index_d$1_SiteResourceContext = SiteResourceContext;
|
|
5254
|
+
type index_d$1_SubjectAssignments = SubjectAssignments;
|
|
5255
|
+
type index_d$1_TeamMember = TeamMember;
|
|
5256
|
+
type index_d$1_TeamMemberV3 = TeamMemberV3;
|
|
5257
|
+
type index_d$1_TeamMemberV3MembersOneOf = TeamMemberV3MembersOneOf;
|
|
5258
|
+
type index_d$1_UpdateTeamMemberAssignmentsOptions = UpdateTeamMemberAssignmentsOptions;
|
|
5259
|
+
type index_d$1_UpdateTeamMemberAssignmentsRequest = UpdateTeamMemberAssignmentsRequest;
|
|
5260
|
+
type index_d$1_UpdateTeamMemberAssignmentsResponse = UpdateTeamMemberAssignmentsResponse;
|
|
5261
|
+
type index_d$1_UpdateTeamMemberAssignmentsResponseNonNullableFields = UpdateTeamMemberAssignmentsResponseNonNullableFields;
|
|
5262
|
+
type index_d$1_UserV3 = UserV3;
|
|
5263
|
+
type index_d$1_Visibility = Visibility;
|
|
5264
|
+
declare const index_d$1_Visibility: typeof Visibility;
|
|
5265
|
+
declare const index_d$1_getRolesInfo: typeof getRolesInfo;
|
|
5266
|
+
declare const index_d$1_removeMember: typeof removeMember;
|
|
5267
|
+
declare const index_d$1_searchTeam: typeof searchTeam;
|
|
5268
|
+
declare const index_d$1_updateTeamMemberAssignments: typeof updateTeamMemberAssignments;
|
|
5269
|
+
declare namespace index_d$1 {
|
|
5270
|
+
export { type AccountInfo$1 as AccountInfo, type index_d$1_AccountInvite as AccountInvite, type index_d$1_AccountResourceContext as AccountResourceContext, type index_d$1_ApiCondition as ApiCondition, type index_d$1_ApiInviteAssignment as ApiInviteAssignment, type index_d$1_ApiPolicy as ApiPolicy, type index_d$1_ApiResource as ApiResource, type index_d$1_AreasFilter as AreasFilter, type AssignedPolicy$1 as AssignedPolicy, type index_d$1_AssignedSubject as AssignedSubject, type Assignment$1 as Assignment, type index_d$1_AssignmentV3 as AssignmentV3, type index_d$1_ChangeRoleRequest as ChangeRoleRequest, type index_d$1_ChangeRoleResponse as ChangeRoleResponse, type index_d$1_ChangeRoleV2Request as ChangeRoleV2Request, type index_d$1_ChangeRoleV2Response as ChangeRoleV2Response, type CompanionResource$1 as CompanionResource, type Condition$1 as Condition, ConditionAttributeType$1 as ConditionAttributeType, type index_d$1_ConditionOperator as ConditionOperator, type index_d$1_ConditionOperatorOperatorsOneOf as ConditionOperatorOperatorsOneOf, type index_d$1_ConditionType as ConditionType, type index_d$1_ConditionTypeOfOneOf as ConditionTypeOfOneOf, type index_d$1_ConditionValue as ConditionValue, type index_d$1_ConditionValueValueOneOf as ConditionValueValueOneOf, type Conditions$1 as Conditions, type Contributor$1 as Contributor, type index_d$1_CreateCustomRoleRequest as CreateCustomRoleRequest, type index_d$1_CreateCustomRoleResponse as CreateCustomRoleResponse, type index_d$1_CustomRole as CustomRole, type index_d$1_DependOnOperator as DependOnOperator, index_d$1_Direction as Direction, index_d$1_EditorType as EditorType, index_d$1_Effect as Effect, type index_d$1_EnvironmentCondition as EnvironmentCondition, type index_d$1_EnvironmentConditionConditionOneOf as EnvironmentConditionConditionOneOf, type index_d$1_EqualOperator as EqualOperator, type index_d$1_ExperimentCondition as ExperimentCondition, type index_d$1_ExperimentOperator as ExperimentOperator, type index_d$1_Facet as Facet, index_d$1_FacetType as FacetType, type index_d$1_FacetValue as FacetValue, type index_d$1_FolderResource as FolderResource, type index_d$1_FullNameResource as FullNameResource, type index_d$1_FullNameResourceResourceContextOneOf as FullNameResourceResourceContextOneOf, type index_d$1_GetPeopleRequest as GetPeopleRequest, type index_d$1_GetPeopleResponse as GetPeopleResponse, type index_d$1_GetPoliciesRequest as GetPoliciesRequest, type index_d$1_GetPoliciesResponse as GetPoliciesResponse, type index_d$1_GetRolesInfoOptions as GetRolesInfoOptions, type index_d$1_GetRolesInfoRequest as GetRolesInfoRequest, type index_d$1_GetRolesInfoResponse as GetRolesInfoResponse, type index_d$1_GetRolesInfoResponseNonNullableFields as GetRolesInfoResponseNonNullableFields, type index_d$1_GetRolesRequest as GetRolesRequest, type index_d$1_GetRolesResponse as GetRolesResponse, type index_d$1_GetScopesRequest as GetScopesRequest, type index_d$1_GetScopesResponse as GetScopesResponse, type index_d$1_GetSubjectsAssignmentsRequest as GetSubjectsAssignmentsRequest, type index_d$1_GetSubjectsAssignmentsResponse as GetSubjectsAssignmentsResponse, type index_d$1_GetTeamInvitesRequest as GetTeamInvitesRequest, type index_d$1_GetTeamInvitesResponse as GetTeamInvitesResponse, type index_d$1_GetTeamRequest as GetTeamRequest, type index_d$1_GetTeamResponse as GetTeamResponse, type index_d$1_GetTeamV2Response as GetTeamV2Response, type index_d$1_GetUsersRequest as GetUsersRequest, type index_d$1_GetUsersResponse as GetUsersResponse, type index_d$1_Invite as Invite, type index_d$1_InviteAssignment as InviteAssignment, type index_d$1_InviteAssignmentV3 as InviteAssignmentV3, type index_d$1_InviteResourceAssignment as InviteResourceAssignment, InviteStatus$1 as InviteStatus, type index_d$1_InviteV3 as InviteV3, type index_d$1_JoinedCondition as JoinedCondition, index_d$1_JoinedConditionOperator as JoinedConditionOperator, type index_d$1_LikeOperator as LikeOperator, type Name$1 as Name, index_d$1_OrderField as OrderField, type index_d$1_Ordering as Ordering, type index_d$1_OrganizationResourceContext as OrganizationResourceContext, type index_d$1_Paging as Paging, type index_d$1_People as People, type index_d$1_PeopleResource as PeopleResource, type index_d$1_PeopleResourceResourceTypeOneOf as PeopleResourceResourceTypeOneOf, index_d$1_PeopleType as PeopleType, type index_d$1_PermissionScope as PermissionScope, type index_d$1_Person as Person, type PersonMetaData$1 as PersonMetaData, type index_d$1_PersonPersonOneOf as PersonPersonOneOf, type Policy$1 as Policy, type index_d$1_PolicyCondition as PolicyCondition, type index_d$1_PolicyStatement as PolicyStatement, index_d$1_PolicyType as PolicyType, type PredefinedRole$1 as PredefinedRole, type index_d$1_PredefinedRoleV2 as PredefinedRoleV2, type PredefinedRoles$1 as PredefinedRoles, type index_d$1_PredefinedRolesArea as PredefinedRolesArea, type index_d$1_RemoveMemberRequest as RemoveMemberRequest, type index_d$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 index_d$1_RoleInfo as RoleInfo, index_d$1_RoleLevel as RoleLevel, index_d$1_RoleLevelRestriction as RoleLevelRestriction, index_d$1_RoleVisibility as RoleVisibility, type index_d$1_RolesInfoFilter as RolesInfoFilter, type index_d$1_ScopeArea as ScopeArea, index_d$1_ScopeLevel as ScopeLevel, type index_d$1_SearchTeamOptions as SearchTeamOptions, type index_d$1_SearchTeamRequest as SearchTeamRequest, type index_d$1_SearchTeamResponse as SearchTeamResponse, type index_d$1_SearchTeamResponseNonNullableFields as SearchTeamResponseNonNullableFields, type index_d$1_SimpleCondition as SimpleCondition, index_d$1_SimpleConditionOperator as SimpleConditionOperator, type index_d$1_SimpleConditionValue as SimpleConditionValue, type index_d$1_SimpleConditionValueValueOneOf as SimpleConditionValueValueOneOf, type index_d$1_SiteResourceContext as SiteResourceContext, type SiteRestriction$1 as SiteRestriction, type Subject$1 as Subject, type index_d$1_SubjectAssignments as SubjectAssignments, type SubjectContext$1 as SubjectContext, SubjectContextType$1 as SubjectContextType, SubjectType$1 as SubjectType, type index_d$1_TeamMember as TeamMember, type index_d$1_TeamMemberV3 as TeamMemberV3, type index_d$1_TeamMemberV3MembersOneOf as TeamMemberV3MembersOneOf, type index_d$1_UpdateTeamMemberAssignmentsOptions as UpdateTeamMemberAssignmentsOptions, type index_d$1_UpdateTeamMemberAssignmentsRequest as UpdateTeamMemberAssignmentsRequest, type index_d$1_UpdateTeamMemberAssignmentsResponse as UpdateTeamMemberAssignmentsResponse, type index_d$1_UpdateTeamMemberAssignmentsResponseNonNullableFields as UpdateTeamMemberAssignmentsResponseNonNullableFields, type User$1 as User, type index_d$1_UserV3 as UserV3, index_d$1_Visibility as Visibility, index_d$1_getRolesInfo as getRolesInfo, index_d$1_removeMember as removeMember, index_d$1_searchTeam as searchTeam, index_d$1_updateTeamMemberAssignments as updateTeamMemberAssignments };
|
|
5271
|
+
}
|
|
5272
|
+
|
|
5273
|
+
interface Contributor {
|
|
5274
|
+
/** Contributor's metadata. */
|
|
5275
|
+
metaData?: PersonMetaData;
|
|
5276
|
+
/** Whether the contributor account is a team account. */
|
|
5277
|
+
isTeam?: boolean | null;
|
|
5278
|
+
/** Date that the contributor joined the site. */
|
|
5279
|
+
joinedAt?: Date | null;
|
|
5280
|
+
/** Email address that received the invite. */
|
|
5281
|
+
invitedEmail?: string | null;
|
|
5282
|
+
/** Whether the contributor account is a client account. */
|
|
5283
|
+
isClient?: boolean | null;
|
|
5284
|
+
/**
|
|
5285
|
+
* Contributor's user ID.
|
|
5286
|
+
* @readonly
|
|
5287
|
+
*/
|
|
5288
|
+
_id?: string;
|
|
5289
|
+
}
|
|
5290
|
+
interface PersonMetaData {
|
|
5291
|
+
/** Contributor's account ID. */
|
|
5292
|
+
_id?: string;
|
|
5293
|
+
/** Contributor's full name. */
|
|
5294
|
+
fullName?: string | null;
|
|
5295
|
+
/** URL for contributor's profile image. */
|
|
5296
|
+
imageUrl?: string | null;
|
|
5297
|
+
/** Contributor's email address. */
|
|
5298
|
+
email?: string | null;
|
|
5299
|
+
/** Contributor's access to assets and their assigned role (`policy`) for that asset. */
|
|
5300
|
+
assignments?: Assignment[];
|
|
5301
|
+
}
|
|
5302
|
+
interface Assignment {
|
|
5303
|
+
/** Role assigned to the user. */
|
|
5304
|
+
policy?: AssignedPolicy;
|
|
5305
|
+
/** Unique ID for this specific assignment. */
|
|
5306
|
+
assignmentId?: string;
|
|
5307
|
+
/** Identity assigned to the asset in an assignment, referred to as subject. Supported subjects include user IDs, account IDs, and app IDs. */
|
|
5308
|
+
subject?: Subject;
|
|
5309
|
+
}
|
|
5310
|
+
interface AssignedPolicy {
|
|
5311
|
+
/** Role ID. */
|
|
5312
|
+
policyId?: string;
|
|
5313
|
+
/** Role title. */
|
|
5314
|
+
title?: string | null;
|
|
5315
|
+
/** Role description. */
|
|
5316
|
+
description?: string | null;
|
|
5317
|
+
}
|
|
5318
|
+
interface Restriction extends RestrictionRestrictionsOneOf {
|
|
5319
|
+
/**
|
|
5320
|
+
* Deprecated.
|
|
5321
|
+
* @deprecated
|
|
5322
|
+
*/
|
|
5323
|
+
resource?: Resource;
|
|
5324
|
+
/** List of conditions restricting the user's access. Currently only folder conditions are supported. */
|
|
5325
|
+
conditions?: Conditions;
|
|
5326
|
+
/** Site where the assignment restrictions apply. */
|
|
5327
|
+
site?: SiteRestriction;
|
|
5328
|
+
}
|
|
5329
|
+
/** @oneof */
|
|
5330
|
+
interface RestrictionRestrictionsOneOf {
|
|
5331
|
+
/**
|
|
5332
|
+
* Deprecated.
|
|
5333
|
+
* @deprecated
|
|
5334
|
+
*/
|
|
5335
|
+
resource?: Resource;
|
|
5336
|
+
/** List of conditions restricting the user's access. Currently only folder conditions are supported. */
|
|
5337
|
+
conditions?: Conditions;
|
|
5338
|
+
/** Site where the assignment restrictions apply. */
|
|
5339
|
+
site?: SiteRestriction;
|
|
5340
|
+
}
|
|
5341
|
+
interface Resource {
|
|
5342
|
+
/** Resource type. */
|
|
5343
|
+
resourceType?: ResourceType;
|
|
5344
|
+
/** Resource ID. */
|
|
5345
|
+
_id?: string;
|
|
5346
|
+
value?: string | null;
|
|
5347
|
+
}
|
|
5348
|
+
declare enum ResourceType {
|
|
5349
|
+
UNKNOWN_RESOURCE_TYPE = "UNKNOWN_RESOURCE_TYPE",
|
|
5350
|
+
SITE = "SITE"
|
|
5351
|
+
}
|
|
5352
|
+
interface Conditions {
|
|
5353
|
+
/** List of conditions. */
|
|
5354
|
+
conditions?: Condition[];
|
|
5355
|
+
}
|
|
5356
|
+
interface Condition {
|
|
5357
|
+
/** Condition type. */
|
|
5358
|
+
conditionType?: ConditionAttributeType;
|
|
5359
|
+
/** Condition ID. */
|
|
5360
|
+
_id?: string;
|
|
5361
|
+
/** Expected value of the condition. When `conditionType` = "FOLDER", this is the folder path. */
|
|
5362
|
+
value?: string | null;
|
|
5363
|
+
}
|
|
5364
|
+
declare enum ConditionAttributeType {
|
|
5365
|
+
UNKNOWN_CONDITION_TYPE = "UNKNOWN_CONDITION_TYPE",
|
|
5366
|
+
FOLDER = "FOLDER"
|
|
5367
|
+
}
|
|
5368
|
+
interface SiteRestriction {
|
|
5369
|
+
/** Site ID. */
|
|
5370
|
+
_id?: string;
|
|
5371
|
+
/** Site name. */
|
|
5372
|
+
value?: string | null;
|
|
5373
|
+
}
|
|
5374
|
+
interface CompanionResource {
|
|
5375
|
+
/** Asset ID (referred to here as resource ID). */
|
|
5376
|
+
_id?: string;
|
|
5377
|
+
/** Asset type (referred to here as resource type). as predefined in the authorization system */
|
|
5378
|
+
resourceType?: string;
|
|
5379
|
+
}
|
|
5380
|
+
interface Subject {
|
|
5381
|
+
/** ID of identity assigned to the asset. */
|
|
5382
|
+
_id?: string;
|
|
5383
|
+
/** Type of identity assigned to the asset. Supported subject types include user IDs, account IDs, and app IDs. */
|
|
5384
|
+
subjectType?: SubjectType;
|
|
5385
|
+
/** Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. */
|
|
5386
|
+
context?: SubjectContext;
|
|
5387
|
+
}
|
|
5388
|
+
declare enum SubjectType {
|
|
5389
|
+
UNKNOWN = "UNKNOWN",
|
|
5390
|
+
ACCOUNT = "ACCOUNT",
|
|
5391
|
+
USER = "USER",
|
|
5392
|
+
USER_GROUP = "USER_GROUP",
|
|
5393
|
+
MEMBER_GROUP = "MEMBER_GROUP",
|
|
5394
|
+
VISITOR_GROUP = "VISITOR_GROUP",
|
|
5395
|
+
EXTERNAL_APP = "EXTERNAL_APP",
|
|
5396
|
+
ACCOUNT_GROUP = "ACCOUNT_GROUP",
|
|
5397
|
+
WIX_APP = "WIX_APP"
|
|
5398
|
+
}
|
|
5399
|
+
interface SubjectContext {
|
|
5400
|
+
_id?: string;
|
|
5401
|
+
contextType?: SubjectContextType;
|
|
5402
|
+
}
|
|
5403
|
+
declare enum SubjectContextType {
|
|
5404
|
+
UNKNOWN_CTX = "UNKNOWN_CTX",
|
|
5405
|
+
ORG_CTX = "ORG_CTX",
|
|
5406
|
+
ACCOUNT_CTX = "ACCOUNT_CTX"
|
|
5407
|
+
}
|
|
5408
|
+
interface GetSiteContributorsRequest {
|
|
5409
|
+
/** The locale of the request. Defaults to en-us */
|
|
5410
|
+
locale?: string | null;
|
|
5411
|
+
}
|
|
5412
|
+
interface GetSiteContributorsResponse {
|
|
5413
|
+
users?: User[];
|
|
5414
|
+
teams?: Team[];
|
|
5415
|
+
invites?: SiteInvite[];
|
|
5416
|
+
policies?: Policy[];
|
|
5417
|
+
permissions?: string[];
|
|
5418
|
+
userId?: string;
|
|
5419
|
+
loggedInAccountId?: string;
|
|
5420
|
+
pendingOwner?: PendingOwner;
|
|
5421
|
+
contributorLimit?: ContributorLimit;
|
|
5422
|
+
predefinedRoles?: PredefinedRoles;
|
|
5423
|
+
}
|
|
5424
|
+
interface User {
|
|
5425
|
+
/** User ID. */
|
|
4256
5426
|
_id?: string;
|
|
4257
5427
|
/**
|
|
4258
5428
|
* Deprecated.
|
|
@@ -4512,6 +5682,33 @@ interface GetContributorsQuotaResponse {
|
|
|
4512
5682
|
/** Quota information for contributors on the given site. */
|
|
4513
5683
|
contributorsQuota?: ContributorsQuota;
|
|
4514
5684
|
}
|
|
5685
|
+
interface GetAppContributorsRequest {
|
|
5686
|
+
appId?: string;
|
|
5687
|
+
/** The locale of the request. Defaults to en-us. */
|
|
5688
|
+
locale?: string | null;
|
|
5689
|
+
}
|
|
5690
|
+
interface GetAppContributorsResponse {
|
|
5691
|
+
contributors?: Contributor[];
|
|
5692
|
+
invites?: AppInvite[];
|
|
5693
|
+
}
|
|
5694
|
+
interface AppInvite {
|
|
5695
|
+
/** @readonly */
|
|
5696
|
+
_id?: string;
|
|
5697
|
+
/** TODO: amitis - remove this comment after the next merge */
|
|
5698
|
+
destEmail?: string;
|
|
5699
|
+
/** @readonly */
|
|
5700
|
+
status?: string;
|
|
5701
|
+
/** @readonly */
|
|
5702
|
+
acceptLink?: string;
|
|
5703
|
+
invitePurpose?: string | null;
|
|
5704
|
+
policies?: AssignedPolicy[];
|
|
5705
|
+
/** @readonly */
|
|
5706
|
+
expirationDate?: Date | null;
|
|
5707
|
+
/** @readonly */
|
|
5708
|
+
dateCreated?: Date | null;
|
|
5709
|
+
/** @readonly */
|
|
5710
|
+
dateUpdated?: Date | null;
|
|
5711
|
+
}
|
|
4515
5712
|
interface SiteRoleAssignmentNonNullableFields {
|
|
4516
5713
|
roleId: string;
|
|
4517
5714
|
assignmentId: string;
|
|
@@ -4623,4 +5820,4 @@ declare namespace index_d {
|
|
|
4623
5820
|
export { type index_d_AccountInfo as AccountInfo, type index_d_AppInvite as AppInvite, type index_d_AssignedPolicy as AssignedPolicy, type index_d_Assignment as Assignment, type index_d_BulkGetUserRolesOnSiteRequest as BulkGetUserRolesOnSiteRequest, type index_d_BulkGetUserRolesOnSiteResponse as BulkGetUserRolesOnSiteResponse, type index_d_ChangeContributorRoleRequest as ChangeContributorRoleRequest, type index_d_ChangeContributorRoleResponse as ChangeContributorRoleResponse, type index_d_ChangeContributorRoleResponseNonNullableFields as ChangeContributorRoleResponseNonNullableFields, type index_d_ChangeRoleOptions as ChangeRoleOptions, type index_d_CompanionResource as CompanionResource, type index_d_Condition as Condition, index_d_ConditionAttributeType as ConditionAttributeType, type index_d_Conditions as Conditions, type index_d_Contributor as Contributor, type index_d_ContributorLimit as ContributorLimit, type index_d_ContributorV2 as ContributorV2, type index_d_ContributorsQuota as ContributorsQuota, type index_d_ContributorsQuotaOptionsOneOf as ContributorsQuotaOptionsOneOf, index_d_FieldSet as FieldSet, type index_d_GetAppContributorsRequest as GetAppContributorsRequest, type index_d_GetAppContributorsResponse as GetAppContributorsResponse, type index_d_GetContributorsQuotaRequest as GetContributorsQuotaRequest, type index_d_GetContributorsQuotaResponse as GetContributorsQuotaResponse, type index_d_GetCurrentUserRolesRequest as GetCurrentUserRolesRequest, type index_d_GetCurrentUserRolesResponse as GetCurrentUserRolesResponse, type index_d_GetSiteContributorsRequest as GetSiteContributorsRequest, type index_d_GetSiteContributorsResponse as GetSiteContributorsResponse, type index_d_GetSiteContributorsV2Request as GetSiteContributorsV2Request, type index_d_GetSiteContributorsV2Response as GetSiteContributorsV2Response, type index_d_HandleSiteTransferRequest as HandleSiteTransferRequest, type index_d_HandleSiteTransferResponse as HandleSiteTransferResponse, index_d_InviteStatus as InviteStatus, type index_d_LimitedOptions as LimitedOptions, type index_d_LocalizedRole as LocalizedRole, type index_d_Name as Name, type index_d_PendingOwner as PendingOwner, type index_d_PersonMetaData as PersonMetaData, type index_d_Policy as Policy, type index_d_PredefinedRole as PredefinedRole, type index_d_PredefinedRoles as PredefinedRoles, type index_d_QuerySiteContributorsFilter as QuerySiteContributorsFilter, type index_d_QuerySiteContributorsOptions as QuerySiteContributorsOptions, type index_d_QuerySiteContributorsRequest as QuerySiteContributorsRequest, type index_d_QuerySiteContributorsResponse as QuerySiteContributorsResponse, type index_d_Resource as Resource, index_d_ResourceType as ResourceType, type index_d_Restriction as Restriction, type index_d_RestrictionRestrictionsOneOf as RestrictionRestrictionsOneOf, type index_d_Role as Role, type index_d_SiteInvite as SiteInvite, type index_d_SiteRestriction as SiteRestriction, type index_d_SiteRoleAssignment as SiteRoleAssignment, type index_d_Subject as Subject, type index_d_SubjectContext as SubjectContext, index_d_SubjectContextType as SubjectContextType, index_d_SubjectType as SubjectType, type index_d_Team as Team, index_d_Type as Type, type index_d_User as User, type index_d_UserLocalizedRoles as UserLocalizedRoles, type index_d_UserSubject as UserSubject, index_d_changeRole as changeRole, index_d_querySiteContributors as querySiteContributors };
|
|
4624
5821
|
}
|
|
4625
5822
|
|
|
4626
|
-
export { index_d$
|
|
5823
|
+
export { index_d$5 as account, index_d$4 as accountInvite, index_d$8 as authentication, index_d as contributor, index_d$2 as oauth, index_d$7 as recovery, index_d$3 as siteInvite, index_d$1 as user, index_d$6 as verification };
|